skysight-inc/HackerNews huggingface dataset:
> What about host language access? I'd rather not give up using existing JS and Lua libraries.

Easy:

$ npm i leftpad
$ LUMEN_HOST=node lumen
> (require 'leftpad)
function
> ((require 'leftpad) "foo" 10)
"0000000foo"

> I can see there's REPL, but is it possible to have dynamic evaluation while running inside web browser?

Yes, the entire codebase is only 3k lines. You can use browserify, or simply concatenate all the JS files together. Lumen is unopinionated.

I've done this before, and I'm more than happy to set you up with a copy-pastable solution if you want.

> Have you used this inside Nginx's Lua module and/or OpenResty?

No, but there's no reason it wouldn't work. Here's an example of it working in a WASM Lua implementation: https://news.ycombinator.com/item?id=13900453

> Why not Python as one target host language? Lists and hashmaps (dictionaries) are pretty prevalent there and I believe continuously developed Lisp dialect is still missing.

I've spent time on this! It's a difficult problem. In Lua and JS, you can attach keys and values to arrays. In other words, an array can also be a hashmap. Not so in Python -- or rather, not with the standard Python dict() type. And then you run into problems of interoperability and performance: if it's a non-standard type, other libraries run into problems consuming it. This is less true of Python than other languages, though, so I've been trying to find a happy medium.

There are ways of using solely arrays, but it involves having some sort of Keyword type. A normal lisp has those, and typically they use '(a b :x 42) to create an "array" where the first two elements are "a" and "b" and the key "x" has value 42. You can do something similar for Python, and it's an active area of research for me.

> Any example apps or sample code anywhere?

This is Lumen's strength and weakness. Very few people know about Lumen because of a lack of examples and documentation. However, it's incredibly cool and quite mysterious, and I like that it has a very small following. It makes changing the language much easier.

Here's an extensive example: https://github.com/sctb/motor

Note that it won't run on the latest Lumen, because dot syntax was recently removed. You'll need to revert to commit `c146de`. But you see how easy it is to morph the language into whatever shape you want, and how powerful it can be.
At least Microsoft created a patch for wannacry for XP

Security Update for Windows XP SP3 (KB4012598) https://www.microsoft.com/en-us/download/details.aspx?id=552...

And of course the other MS OS's https://answers.microsoft.com/en-us/windows/forum/windows_10...
I've only built relatively small, POC applications, but I've been using flask to host an API that gets called by whatever application.

It depends on how often you want to update your model, how complex it is, how much data it requires to infer, etc. I think splitting up the services/code will be helpful if we get to the point where there are multiple teams working on this stuff.
> Online dating is good for people who simply have NO other avenue to meet people

Like everything, in moderation it works great. I'm a male software engineer and can relate to your feelings of not being able to meet single women naturally. But relying exclusively on online dating is kinda... uncreative. You mentioned bars. But also: coffee shops. Art shows. Music festivals. When used in conjunction, Online dating is great, because now you can invite the women you meet online to join you in the other fun activities going on in your life.
Author here...

I agree that time to market is really important, but when a company is searching for the product that will work, the most important thing that you can have is code that is easily refactored, which generally means low coupling.

TDD is one way to get there for some people, and it's not 2x the amount of time. My experience is that TDD takes a little bit longer (say 30%) than just writing the code, but my bug rate with TDD code (and I don't do TDD for all my code) is very small. Bugs are so damn expensive that 30% to not have them is a small investment, even if that were the only benefit you got.
But the blockchain doesn't actually deal with either of the problems the insurance industry aims to solve (assessing the legitimacy of claims, and keeping amounts paid in premiums in line with amounts paid in claims)

If people use your system honestly, it's likely more expensive than an insurance scheme, because your maximum claim in a given time period is a low multiple of your premium. If people don't use your system honestly and claim what they want when they want (because who cares if the permanent record says they made three maximum claims in consecutive months when there's no central authority to object) it's less stable than a Ponzi scheme.
>But there are lots and lots of doctors who's ethics say that steak dinners with drug reps are off limits.

There are a lot more that think it's not their job to care about those things. They think they are only responsible for curing the sick regardless of time or money constraints or conflicts of interest.

They say they don't do this, especially in regards to money, but talk to all sorts of docs about how much of their patients' time they waste every day and they get real defensive. They think they are owed anything and everything and fuck running an efficient practice, fuck your time because they're a doctor and they are over in a different room performing miracles.

The egos in medicine do WAY more harm than good.
You can have your cake and eat it by mixing both. I've been reading through the Fuchsia [0] source, and they essentially have a monorepo setup that's made up of multiple repos.

They wrote a tool called jiri [1], and track projects in a manifest [2] repo.

[0] https://fuchsia.googlesource.com/?format=HTML

[1] https://fuchsia.googlesource.com/jiri/

[2] https://fuchsia.googlesource.com/manifest/
Here are a few benchmarks results from a recent rayon pull:

https://github.com/nikomatsakis/rayon/pull/379

So, for a dual-core with HT 8.26s vs 4.55s
This is a good question, at what point does an extensive abstraction, a library on top of a language to extend the language to make it accessible for a specialized use-case, turn into a "DSL"?

I also never saw Numpy/Pandas as a DSL but rather a extensive layer on top of Python whose complexity is largely a result of the usecase rather than being the result of attempting to be a full DSL on top of the language ala Matlab for Python.

This is likely one of those scenarios where DSL's are one of many options available to particular languages to solve a particular problem set but are hard to identify in practice. Not to mention the many times it doesn't make sense to develop a full DSL layer but regardless the ease of creating them in some languages makes it a commonly abused trope (as many OO-related concepts are applied to everything where other old solutions are far superior).

It's difficult to differentiate between the functional utility vs purely aesthetic optimizations of various abstractions, so I wouldn't be quick to blame negligence as much as communicating the best tools for the job on a language-by-language basis.
Uber driver 'attacked passenger and the app biz did nothing. Then he raped me'
I was doubting the effectiveness of my CPAP machine and decided to take the night off. I usually sleep close to eight hours with 3 to 4 hours of deep sleep; without the machine I sleep about the same time but log only 30 minutes to an hour of deep sleep.
It's a stock photo, you're reading into it too much. I doubt the guy went on a date and then asked the gal to strike a pose: "I'm writing an article about how I'm dating 150 girls, can you please pose for a photograph?"
Perhaps "thought leader" is simply a misnomer.
Day One introduces Premium subscription.
Love it!

However, Chrome (IE 11 too) reports, "You browser does not support WebVR. Falling back to non-VR mode"? Perhaps I'm misunderstanding what I need for a client. I would like this demo to have WASD or arrow key support too.

It would be neat if this could be used to tour a home design online prior to building it for real. Maybe a type of Minecraft app to where I could assemble a space (from generic parts) then show my design to a real engineer who could fabricate it.
I'm in first few chapters of Relevant search book. So far, great!
And if wannacry got you, there maybe hope to get your files if you don't have some sort of data recovery in place

https://github.com/gentilkiwi/wanakiwi
Subjectivity exists, but surely you aren't going to claim we can't make any distinction whatever that most reasonable people would accept between superficial and deep consideration of something.
I might not know too much about the topic, but imo American healthcare system has a lot of learn from the Indian healthcare system. My guess is that America should simply copy-paste India's model and it should be good to go.

For the resources that it spends on healthcare, the Indian healthcare systems offers perhaps the most efficient system in the world. There is insurance if you want, but you can choose your health providers in the free market too.

Hospitals, Doctors, Medicines, Tests, Procedures, Post-op care/services - everything can be comparison shopped. And if you have more time than money, you can show up at any one of the almost-free govt. funded hospitals to get treated by who is often a very good doctor.

The inefficiency of the American system might as well be a result of extensive litigation around healthcare, but I suspect that its simply an oligopoly defended by pocketed politicians.

I would guess that for any hospital expense above a few thousand dollars, and for someone who cant afford, it might make a lot of sense to just hop on a plane to India.
What do you think about the fact that, in general, the percentage of Americans who move is on the decline?

> In the mid-1960s, about 20 percent of the population moved in any given year, according to the United States Census Bureau. By 1990, it was approaching 15 percent. Today it’s closer to 10 percent. The percentage that moves between states has fallen by nearly half since the early 1990s.

https://www.nytimes.com/2016/05/21/opinion/how-to-get-americ...

Also, https://www.citylab.com/equity/2017/02/american-mobility-has...
Uber reaches 5B rides around the world
Akamai handles 15-30% of all web traffic on any given day with 200k-300k servers...does Facebook have that kind of load in a day?

The problem is mostly a CDN one, crunching data and writing to the servers are second to actually serving users fast.

For example, I don't necessarily need to see the latest posts, comments, etc. so you can queue up the writing and sync data later, but when I hit fb.com, I have to see stuff...
If you don't have access, fine. You can't make use of this functionality. Stick with what is available today. Nothing lost. If you do have access, like 99% of the domains out there, you now get access to more functionality. Win-win.
> Below operating costs. Rent plus utilities plus relevant salaries plus amortized cost of equipment.

It's worse than that - it's below COGS (direct materials). So even before you account for rent/utilities/salaries/amortized costs, they're still making a loss, unless they operate in a CAH.
> the moment a customer becomes more trouble than they are worth, they are dropped.

Insurance is a business. I don't think any business would want customers that are more trouble than they are worth.

> they are too protected by our legal system for them to not do it.

Solving the risk issue with patients who will never be able to afford their healthcare is not an insurance problem. These people are uninsurable. There's a known cost to pharmaceuticals associated with being a hemophiliac. There's a known cost to the outpatient care associated with kidney disease. There's no "risk" associated with those costs.

We need to re-frame the discussion around socialized healthcare, not health insurance. Health insurance, apart from high-deductible, low-cost plans, doesn't exist. The US already has socialized healthcare, the problem is that it is a split private/public model.
Yeah, it's kind of gross really. These guys prey on the inability of certain income-classes to get credit, obtain loans, etc. Rent-a-Center is the same way :(
I don't think of it as an API to integrate into your service, but more of an easy to remember thing like http://http.cat/503 http://http.cat/404 etc.
Doesn't seem to like any Unix timestamps less than 10 characters long?
Sift: Highest ranked early stage finance startup in the app store
You can't do this in regular Python:

Numpy array * 10

Pandas column A + column B

Pandas Dataframe[ column C < 10 ]

Numpy array 1 / array 2 where the second array has 0s and NaNs in it. Numpy has overridden division to allow division by 0 and NaN (Numpy added data type) in addition to vectorization.

Moreover, you're encouraged to not iterate (generally a lot slower) if you can help it when using these libraries.
http://gigworks.blogspot.com/2017/04/moonlight-work-for-soft...
Author here...

This discussion on what happens - or doesn't happen - after the tests are passing is precisely the point of the article.

The idea of TDD is that every test you look at the existing code and improve it. The majority of developers I've seen trying TDD do this with small code but do not with significant codebases, and you end without the benefits.
Where does "for you" occur? I can't seem to place it...
I have never seen anyone propose writing all the tests before writing a single line of code.
It may have been routed to call center in that area, who in turn broker the call, etc.

Yep. I was a 911 dispatcher for a while and can confirm this. I worked for Brunswick County (NC) 911, which borders New Hanover County (NC), Columbus County (NC) and Horry County (SC). Cell phone calls were usually sent to the right place, but if you were way out in the boonies on highway 211 near the Brunswick / Columbus line, if was about 50/50 which 911 center would get the call. And we'd occasionally get a call that was dialed in New Hanover County, Horry County, and - rarely - even further away. So on those calls, we had to try and quickly determine exactly where the caller was, so we could relay the information to the other county for dispatch. Sometimes if we weren't exactly sure and the call seemed to be near the line, we'd dispatch units and request the neighboring county to dispatch theirs as well, and then let the responders figure it out when the arrived.

I took a call once that, as far as I could tell, turned out to be several counties over... something like Pender or Duplin County. We didn't even have their contact info logged anywhere, since it was thought (at the time) that there would never be any need for us to contact, say, Duplin County. I had to call New Hanover County, ask them if they had the number for Pender (who they border), then call them, etc. The term "clusterfuck" comes to mind, but luckily that only ever happened once that I can remember.

Note that this was in the mid 90's and I'm not sure if things are better, worse, or the same now.
Yes they are watermarked for security
I had this issue as well but I realized my Sleep Sensitivity setting was on "Sensitive" rather than "Normal". Once I changed it, my average nights rest went up to 6h+
A tiny nitpick, and I don't mean to be pedantic, but "in-flight" usually is used to describe an instruction in the functional units, not "in the pipeline".

Other than that it's a pretty good introductory article!
If you'd like something a little heartier, but still not quite Hennessy and Patterson's QCA (although I highly recommend it), try this article: http://www.lighterra.com/papers/modernmicroprocessors/
Say you bought a new coffee maker and a few days later the price drops! That has to be one of the worst feelings in the world! Fortunately, price protection is a little known feature available on over 50% of credit cards which will allow you to get reimbursed for this. Getting your money back can be a pain but Sift will automatically take care of automatically getting your money back when something like this happens! We have already gotten back over $200,000 for consumers over the past year and Apple featured us today on their main page with Pokemon and Sonic! We have also been featured in Techcrunch, Huffington post, Pymnts, Silicon Valley Business Journal, and on hundreds of newspapers through Associated Press (which called us “Credit card Treasure Hunt”).

Most Americans, who average between two and four credit cards, are aware of their common benefits such as points, merchandise rewards, and travel. But credit card perks are like an iceberg – some of the most valuable benefits are underneath the surface, hidden behind jargon and fine print or are hard to take advantage of. Outside of price protection you have things like flight delay insurance, 90 day theft and damage, extended warranties etc.. We couldn’t believe that so much money was being left on the table when it belonged in the pockets of consumers!

With Sift we set out to turn this upside down and build an experience to bring these benefits to the forefront.
Ford forms robotics research team to explore AI beyond cars
Marketing momentum metrics and startup productivity
> I’m a fat, bald, short guy whose only quality is that he isn’t an ax murderer... But I’m bad at small talk, and I jump too fast to intellectual conversations, making it awkward.

None of the engineering addressed root causes. Solve the confidence first, and then hack your way to a better physique, and maybe pick up some interests that are universal and easy to chat about.
Put your lighters up for Pandora
Scaling the Elastic Stack in a Microservices Architecture
I aint'n't dead :-D

Largely, Ugarit is ticking along nicely in my production setup, doing backups of my servers; when I get time I work on (a) performance, which is still weak in some cases and (b) archive mode, which is a fun spare-time project rather than something urgent I use. But the core case of doing backups Just Works(tm).
> You have to resort to hacks in Python to reload modules, which has unclear semantics.

This is the crux of the issue. Even in Python 3 the semantics for reloading modules is wrong:

Other references to the old objects (such as names external to the module) are not rebound to refer to the new objects and must be updated in each namespace where they occur if that is desired.

If a module imports objects from another module using from ... import ..., calling reload() for the other module does not redefine the objects imported from it — one way around this is to re-execute the from statement, another is to use import and qualified names (module.name) instead.

If a module instantiates instances of a class, reloading the module that defines the class does not affect the method definitions of the instances — they continue to use the old class definition. The same is true for derived classes.

https://docs.python.org/dev/library/importlib.html#importlib...

In principle Python has a runtime with type-tagged objects that you can inspect and code you can load, so it should be dynamic. Because of the way module and class loading behavior is defined you cannot actually take advantage of this dynamic runtime. Python does not really have a REPL, it has script loading akin to most Unix shells, and a second-class REPL that is useful for some limited debugging. This unnecessary dichotomy imposed on code loading makes it very different from Lisp and Smalltalk.
What's wrong with granting loans to people who have bad credit? What are they supposed to do if there's a shortfall or a car breaks down, pawn a wedding ring?

I used to work for LendUp. They're the most caring and altruistic people I've ever met. I mean that literally.

LendUp uses machine learning & data science to decision people with more granularity than a credit score, and can therefore approve much deeper than banks or credit card companies ever would. On top of that, as LendUp learns you're a reliable borrower, it will lower your interest rate as far as it can for you, give you more favorable terms, and even extend a credit card for those that qualify.

LendUp helps people improve their credit when almost no one else will lend to them, and has been shown in independent studies to both improve credit scores and decrease the costs of borrowing for subprime borrowers. These are folks for whom the only other option is payday loans or pawn shops if there's a shortfall, and LendUp uses tech to give them much better options.

It's a noble mission, and one I'm damn proud to have been a part of.
What about people who date few individuals (2-3), break up 1-2 times and their partners were neither closet racists nor violent nor anything that grave. That would describe majority of people I know.
Or to be socially-connected to organizations that the health insurance company doesn't want to piss off. My family wasn't rich at all growing up, but we never had a problem with health insurance, because my mother worked for the government. The one organization that insurers will never piss off is the federal or state government, because then they will lose the right to do business in that state.

I do think that this increasing preference for the rule of power over the rule of law is pretty disturbing, and makes a mockery out of the claim that we live in a democracy. Sure we do...if you have leverage over the companies that would violate your rights. But that's the very definition of corruption, when you need to rely on inside information, relationships, or other proprietary tools to get people to do what you want, rather than your rights as a citizen.
The report didn't tell the background about the private firms managing the lab, this is a much cleaner report:
https://www.aps.org/publications/apsnews/201006/losalamos.cf...

Another related story
https://www.washingtonpost.com/world/national-security/safet...
Thoughts on Insurance

By Aaron Harris
That is probably because what he and we are talking about here is the technical definition of "delegation".

If you just call a method of another object and then that object perhaps but not necessarily sends some messages back to the original sender, to get further information, that could conceptually be seen as "delegation". But technically that's just normal (bi-directional) message-exchange.

"Delegation" needs to refer to something more technically specific to warrant its existence as a technical concept.
> Did everyone already forget how hollywoodization of "I, Robot" turned out?

It didn't happen. An almost completely unrelated work, done almost completely without any intention of connection, got the title and a couple org/character names and other window dressing from Asimov's work added to it.

Not at all a guide to how a project setting out to adapt Asimov's work would end up. Sure, the latter might end up badly, but the former is an unrelated thing that provides no guidance.
Haven't followed its development for a long while but Light Table might be what you're looking for: http://lighttable.com/
Getting of your browser?
The Bloomberg of Weather Forecasting
Show HN: Decentralized LAN based P2P file sharing commandline application- iWant
Insurance is Socialism for Profit
I don't really have solid arguments against it, I just never found it particularly helpful, or ended up with a result that seemed to justify always working this way, or even defaulting to working this way.
We have dedicated staff whose job it is to audit calls. ALL calls are recorded and we do screen snaps every 5 seconds, or, anytime the screen changes. Were talking terabytes of data. We keep it going back many years.

I'll vouch for the stress of the job. If I f'up. Somebody can die. Same thing for the operators. They get 3 months of training before handling calls. Most wash out before their training is completed. Most, shortly after that. The churn is unbelievable. We hire constantly. All operators max out their sick/vacation days. It's an unpleasant, boring, terrifying job.
I've similar issues once in a while. Taking a month's course of magnesium usually helps. Your reasons and results may vary though, I'm not a doctor.