skysight-inc/HackerNews huggingface dataset:
Huh tactics are pretty great. Say exactly what you want and the computer programs itself!

It's unfair to just compare development time between tactic-generated programs in a dependent language with manually written programs in a non-depenendent language. The end result in the dependent language is much more valuable.
And then, of course, there is most:
http://www.jedsoft.org/most/
here's a full code example:

import Data.String

-- takes two integers, and a proof that x < y, and yields an integer
add :
(x : Integer) ->
(y : Integer) ->
(prf : x < y = True) -> -- require a proof that that x < y
Integer
add x y prf = x + y

main : IO ()
main = do
sx <- getLine -- read string from input
sy <- getLine -- read string from input
let Just x = parseInteger sx -- assuming int parse is ok, else error
let Just y = parseInteger sy -- assuming int parse is ok, else error
case decEq (x < y) True of -- decEq constructs a proof if x < y is True
Yes prf => print (add x y prf)
No => putStrLn "no prf, x is not less than y"

lets say I mess up the sign of the comparison on the case line and write decEq (x > y) instead... then I'd get a type error

When checking argument prf to function Main.add:
Type mismatch between
x > y = True (Type of prf)
and
x < y = True (Expected type)

there's no way to construct the prf value artificially, or sneak in different parameters that are unrelated to the prf value.

it's either a compile error or it's valid.
AI’s Research Rut
Both cocktail and this http://jamesbond.wikia.com/wiki/Vesper_Lynd_(Eva_Green)
> Ideally insurance companies would price the plans correctly, operate efficiently, and break even.

Well, if by "break even" you include the opportunity cost on their capital, yes, though that's not an accounting break-even.
You work in a Big 4? There are probably other opportunities elsewhere in your current company, and it might be much easier to move within than out.

You should talk to a mental health professional. "I used to be ... Now I'm ..." means something's changed, and it's not likely that you aren't smart anymore.

You might also talk to that same professional about how to ask your wife for support.
> Unlimited Lifetime Benefits is a pretty awesome term.

I can only speak for Switzerland, but an educated guess is that this is the default just in about every European health insurance system.

And no, you can't be denied (basic) insurance (which covers everything necessary) for a pre-existing condition.
I get nothing at all. Maybe that's because I have never clicked on or published anything related to politics, I only share "sciency" links (and none related to politics). I long ago decided that the best way to "lose friends and alienate people" [0] is to push political content to your network.

[0] To those (few?) who don't know, that's a(n inverted) book reference.
Which TOS?

I might have accepted terms when I created a Google Account but in no way do I agree to a TOS by visiting a URL.
I don't see the problem here. I said that Idris will reject the program if the proof fails. That's what you're saying too, unless I'm very confused. (It's late, so maybe I am?)
Prometheus unfortunately has limited long term storage support and it's explicitly not one of their goals. Their goal is "operational monitoring", not analytics.

I found that by trying to see if it could be used as a metrics DB but stumbled upon a few issues like configuring retention times per target. See for example https://github.com/prometheus/prometheus/issues/1381

Prometheus has lots of potential but it's not a metrics DB at this point or in the near future. I just wish they'd made that a bit clearer on the page.

"We make design decisions that presume that Promtheus data is ephemeral, and can be lost/blown away with no impact."

That viewpoint pretty much limits them to be an ops tool. I wish they'd reconsider this point.
Ya you're right I didn't do the exact math so I don't know what the numbers are.

For 7% of a 800k MRR fast-growing rocket, you can probably get multiple really veteran execs from your industry (healthy snacks in this case), each bringing on their own industry connections (e.g. to wholefoods etc).

800k MRR is 9.6million ARR, so even if you don't grow monthly, that's a lot of money. With that ARR you can probably raise much more than 120k with 7%. Every dollar counts in a startup

Maybe they did the math and it looks to be worth it. Or maybe when they joined YC they had $0 MRR and YC helped them get to 800k by graduation day. I can only guess with limited info from Techcrunch so my guess may not be accurate!
A Haskell library to scrape and crawl web-pages
>Chinese parents have begun to question Confucian orthodoxy in pedagogy

Do you have a source for this? This is the first I've heard of it.
* I assume this refers to embedded Like buttons and similar?*

Probably, and most likely regardless of you actually clicking the button or not. I suppose they count a page view as a weak interest, a Like click as a strong interest.
Depression: a revolution in treatment?
Yes I've watched some of his talks. Good stuff.
I think you're right; the thousand-year-old model of administration in China actually has lots in common with real communism as it was implemented in China, and in Soviet Union. The names are different; there's no Emperor and no Mandarins but there's a General Secretary and there are party officials.
Instapaper'd the link!
From the article:

I am not a fan of Solaris's long standing refusal to touch anything.

This is what people often deeply misunderstand about traditional UNIX operating systems: one of Solaris' greatest features, in stark contrast to GNU/Linux, is the insistence on not breaking backward compatibility. Solaris has however delivered less(1) as standard since Solaris 8, so there is nothing stopping one from configuring their PAGER to it. In fact, I do the exact same thing in my OS builds of Solaris and SmartOS. It's called system engineering.

illumos has the entire GNU userland in /usr/gnu and it's packed with new features under the hood, but those will almost never be introduced such that they break someone else's stuff; it's the very advantage differentiator illumos provides over anyone else! And it's good engineering, adding new funtionality while not breaking existing one.
I'm not comparing dependent types vs. no dependent types. I'm comparing higher-order dependent types (Agda, Idris, Coq, etc.) vs. first-order dependent types: https://news.ycombinator.com/item?id=12350147

Seriously, Coq-style proof scripts are utterly unredable when they grow past a certain size. The only way to understand them is to replay them, so that you can see the intermediate hypotheses and goals.
Excellent gesture, excellent thought, worth replicating like others have.

OP - I'm also happy to do a mock interview for free. Feel free to reach out (info in the profile), whenever you feel ready. [Disclaimer: I run a for-profit in the space, but we're all humans first]
At least Ex supports torrents and also has some custom p2p software which you can run (serves content) from which data can be siphoned off.

And what is served through their website is resized. So web-scraping is an inferior approach.
I am interested in the idea of loomio points. Have you codified the conditions that will activate this being paid out in part or full?

Another way of asking this is what does success look like :)
Turning SEPT2 into a date in the current year doesn't seem like really doing the right thing to me.
Though this is a troll, this is one of the very few answers that takes some heat off the ongoing converstations.

PS: I didn't downvote
Yes, but it might also reject correct programs. that's the point I'm trying to make.
It's a shame, because common logic and good reporting should require no real domain knowledge.

I wish there was some more level headed mainstream commentary on financial markets beyond what Matt Levine gets down for Bloomberg.
> It's generally (or maybe universally) more difficult to "get" dependent typing than plain old ML-family static typing.

That's true, but Haskell has come a long way since a direct comparison like that would make sense.

> I mean, this HN comments page alone has multiple threads where people don't think that the "x > y" proof example even works.

I think this is because people have some preconceived idea about what dependent typing is before they come to dependently typed languages. So, not only are they learning about dependent types, but they are also fighting their preconceived notions. That was certainly the case for me.

It's an interesting facet of the human condition; every time we learn a new tool, we have to be reminded that it's not magic.

Now, having become proficient, I have a better intuition for how to get my complex Idris programs to type check than my complex Haskell ones. Idris is actually simpler, it's not just about line counts.
Price elasticity also depends a lot on the type of app and marketing. I've seen the sales numbers for an app where increasing the price from $0.99 to $1.99 and ultimately to $2.99 had corresponding drops in sales where the revenue was actually kept the same. This app is very popular through word-of-mouth and blog recommendations which is the key. If you're relying on sales through search results and rankings it might be more price-sensitive.
Software going out of fashion shouldn't be an issue if you take care to use applications that have open data formats, or can at least export their data to something usable by other software. Hardware became a commodity; software is on its way there too thanks to its face-paced nature and devaluation from "applications" to trendy, cheap "apps". But your data will likely always be valuable, so whatever you choose to use, make sure to have continuation plans.

There is no vendor lock-in if your data stays yours. Some inconvenience perhaps; the sort of inconvenience that comes with freedom.
Synthetic Biology Presentation [pdf]
> Deregulate the industry ... Let health insurers decide rates and demographics they wish to cover.

You seem to have a detailed plan. Do you know of any example countries where healthcare went that route successfully?
Funny, I'm reading this at 4am.
That doesn't contradict the quote that you provided. The quote just says "the compiler will reject the program at compile time [if there's no valid proof]", which is true.
I dunno, I'm a long term *NIX person (Solaris 1994-2011, Linux on and off 1994-2006, Linux mostly 2006-now) I am now involved in more Powershell scripting on Windows than I have ever done before.
I don't see -
Get-Content -Tail 10 FILE
as an improvement on -
tail -10 FILE

I think when it comes to the combination of intuitive command names and terseness when required, VMS' DCL is still unsurpassed. Having commands with sensible names that can the be shortened and a really useable HELP system was a major plus and I've not seen anything match that since.
One advantage I find of more over less, is that it doesn't clear the terminal on exit. It's often nice to see what you have looked at above the command prompt. There is a "-X" option for less, but this also breaks mouse wheel scrolling.
A lot of people are focusing on the depression and job issues, but it sounds like your marriage could be a big part of the problem. You already know what you want to do--this decision is yours, not your wife's.

I know fighting sucks, but this one is worth the fight. You aren't doing either her or yourself any favors by condemning yourself to misery.
Wow. Apparently my interests include 'production' (nice and ambiguous) and 'com files'!
What's inconsistent about them?
I wish you guys good luck. Freedom from Coq-style proof scripts should be the goal.
Well 2011 fish not was yet there. Someone should update it with fish becoming more popular.
Where have to live (for work), there is nobody I'd want to hang out with, more than I want to do what I like after work, the decision is easier in such cases...
Singapore to review VPN technology as part of proposed changes to Copyright Law
QuickCheck is for testing Erlang code, not the Erlang VM itself.
That is somewhat amusing (my hobbies include "bark"). More interestingly my fitness interests included "braid" (image of a braided rope goes here) - because I liked a page related to "braid". Unfortunately, I don't think this fitness-braid includes rewinding time.

The peril of strings.
Both serverless and cloud are words that essentially mean that you are running back-end stuff on someone else's computer. That's not necessarily a problem, but these words appear chosen for their hype value and lack of actual semantic meaning. They are also irksome and downright impractical when you want to get down to what it really is or does due to all the marketing fluff and misinterpretation surrounding them.

If you want to talk nuts and bolts about some cool technology or interesting concept; why not use an unambiguous term that means just that one thing — e.g., platform-as-a-service (PaaS), function-as-a-service (FaaS), or simply a hosted solution.
> Oleg Rogynskyy and his team at People.ai want to help companies understand what sales teams are doing on a daily basis. People.ai integrates with calendars, phones, and emails and logs sales activity that leads to closing deals. The idea is that sales teams can track best practices from top performers and close more deals.

I'm all for taking human bias out of learning, but isn't there a great danger of cargo-culting a sales team based on this? Perhaps diversity is important to generate both long and short term growth, as well as the fact that there's a danger that if everyone is operating in a more similar manner that activity shifts from growth to a zero-sum game.
Threading for a crawler is just a dirty way of not handling distribution.
When you will need more than one server your threads won't save you.
It has nothing to do with Node.js and thread support.
Plus who would use these weird script language. Common! Even bash scripting it's more easy that powershell!
Whilst they mean well, I find this a fundamentally deceptive — the arduous parts of "real world" scraping simply aren't in the parsing and extraction of data from the target page, the typical focus of these "scrape the web with X" articles.

The difficulties are invariably in "post-processing"; working around incomplete data on the page, handling errors gracefully and retrying in some (but not all) situations, keeping on top of layout/URL/data changes to the target site, not hitting your target site too often, logging into the target site if necessary and rotating credentials and IP addresses, respecting robots.txt, target site being utterly braindead, keeping users meaningfully informed of scraping progress if they are waiting of it, target site adding and removing data resulting in a null-leaning database schema, sane parallelisation in the presence of prioritisation of important requests, difficulties in monitoring a scraping system due to its implicitly non-deterministic nature, and general problems associated with long-running background processes in web stacks.

Et cetera.

In other words, extracting the right text on the page is the easiest and trivial part by far, with little practical difference between an admittedly cute jQuery-esque parsing library or even just using a blunt regular expression.

It would be quixotic to simply retort that sites should provide "proper" APIs but I would love to see more attempts at solutions that go beyond the superficial.
All the reference links for cloud functions go to Google. Half life 3 confirmed.
> In a sane world, Unix vendors would have either replaced their version of more with the clearly superior less

But that's just the thing - 'less' isn't "clearly superior" to 'more'. It is (or was, maybe this has changed) heavier weight and offers more functionality that may not be needed. Having both commands lets script writers use exactly the tool they need for the job. And it's not like the extra 35KB of keeping the 'more' binary around is really breaking the bank.
There are so many cheap hosting solutions, I do not understand why he does not keep this project as a hobby project in a kind of zomby state.

All the clients will be very sad that their (paid) application stop working.
Bell Labs Centenary Homage to Claude Shannon
Any tips and tricks you are able to share about the technologies you guys developed? It would be especially interesting to see what you use for text extraction from HTML.
What bother me the most is that recently I wanted to extract and archive of all the threads I participated in from an Internet forum. The webmaster told me that the BBS he use don't provide such a function and that I just had to download each thread manually... (300+ thread in my case).

He then say that it don't bother him if I scrape theses thread. And I'm currently figuring out how to manage his site's cookie protected search feature, so that my painstaking effort (I'm not a dev, more a DB guy) could be reproducible more easily by other users of this service.

But this shouldn't appen in the first place because all post of this service are stored in a cleanly organized MySQl DB. Yet as no method is provided the only way to get back structured data is by scrapping (as the webmaster told me that no, he won't run custom SQL because "he don't want to mess his DB").

So even if all the data is publicly available through the internet forum only a geek can download a personal archive... or google because google scrape and store everything.
http://dropsafe.crypticide.com/wp-content/uploads/2013/08/Se...
Don't you think it has more to do with the fact that it's
difficult to convince a lot of women to have sex with you?

This statement depends on who you are. Attractive males and females both get more sex than unattractive ones. Society has a systemic problem however, regarding how women are viewed.

is shaming not an appropriate tool to improve society

Ideas A & B are moot. It's bad for society to oppress classes of people based on their gender (discrimination). Shaming people for their gender in the name of "improving society" is pretty ludicrous.

do you believe that sex has the same effect on women that
it has on men and that the sort of personality traits that
cause a woman to seek out sex with men other than a life
partner are the sort of personality traits that men find
desirable in life partners?

What I believe is that people (but mainly men) should not look for sex toys as life partners. That's what objectification is, and it's unfortunate that every society currently has varying levels of objectifying women built-in; that is, this is not something on just an individual basis but something systemic which is my broader point.

Generalizing about the effects of sex on men vs women is pointless; sex means something different to every person and affects every person differently.
@OP: You should be able to sensibly talk about your problems with your wife, and she should be suggesting and planning measures you can take, not vetoing your plans.

@Mz: Divorce is no joke, maybe he hasn't communicated properly with his wife yet.
It seems to offer the same feature set as beanstalkd.

We have been using beanstalkd for years to process gazillions of jobs without an issue and I guess many readers are in the same position.

Why would I choose Workq over beanstalkd ?
Fish shell – a command line shell for the 90s
Using powershell left a really sour taste in my mouth. I felt I was promised that objects and types would prevent errors, but it just feels like everything is harder and mistakes are just as easy.

For example, 'diff (cat a.txt) (cat b.txt)' does something very different from what you'd expect, but works OK for most inputs. The perfect combination for putting bugs into production.

I still like that powershell exists. Especially on Windows where they needed it most. On Linux, though, I'd rather stick with the devil I know.
HTT: Building the Hyperloop with vibranium… but no funding or wages
My profile lists my UK political preferences as all the three major parties (Labour, Lib Dems and Conservatives), as well as an interest in Religion and the Bible (I'm an atheist).
Npm, Inc. Status – “fs” unpublished and restored
I was pretty sure this is incorrect for at least Debian 8 / Jessie based on recollection. And now I'm 100% sure it's false -- sigh https://www.xkcd.com/386/ -- having just installed it in a VM with only "standard system utility" selected (it is selected by default), and verified that less is installed.
Functional Programming in Rust – Part 1: Function Abstraction
Shadowbroker's ExtraBacon can commandeer new versions of Cisco/ASA
This topic is very much in line with yesterday's discussion of ADHD.[1]

I was particularly moved by this quote:

"Collecting data on human learning based on children’s behavior in school is like collecting data on killer whales based on their behavior at Sea World."

[1] https://news.ycombinator.com/item?id=12344589
> I've never totally loved the shell

I don't understand your point, PowerShell is a shell too, just like Bash or Zsh.
When you call less, more or any other tool from Powershell, you still retain all the problems that are mentioned in the article. I think the article was focusing more on the ecosystem than anything.
Much of the Olympics wasn't live for the west coast even if you watched on TV.
The interaction of relativistic spacecrafts with the interstellar medium
Ask HN: Should being a public personae be an engineering job requisite?
20+ years ago I was an active phreaker/hacker and avid member of the community until the scene became more about young male aggression than exploring and breaking the rules.

SJWs are a great analogue to the hacker scene. Imagine if on top of public attacks, they sent SWAT teams to your house, made accusations to your employers, ruined your credit,, and much worse.

Seeing this brutal lottery of acceptance has lead me to maintain a low profile. I use throwaway accounts on mailing lists, forums, irc, github, and slack.II refuse to allow a bio or photos to be posted on my employers' websites, and keep LinkedIN locked down. I don't do social.

As an extrovert and diligent networker this hasn't hindered my career. Lately, however, job listings have trended towards candidates who enjoy the limelight, seeking proof of community involvement, public code discussions, publications, and speaking at conferences.

I see these as valid tools for promoting a company's in a highly competitive hiring market, proving to upper management that you can attract recognized subject matter experts, and in assessing technical and team-work abilities through code samples and community involvement.

All of these are valid tools for employers, but can also lead to discriminatory hiring practices and assessments of your value based on factors other than the merits of your work.

How do you feel about this? Has a tendency towards privacy (or publicity) negatively affected your career? Outside of community management/evangelist oriented roles, do you feel this is a valid elimination reason for eliminating a candidate? Do you measure a candidate/co-worker/employee on their social media presence, or lack thereof?