skysight-inc/HackerNews huggingface dataset:
I guess another way to put it is that TDD is an attempt to do old school "waterfall" in code form.

Way back before anyone really understand how software engineering should be done, people would begin a software product by attempting to pre-specify ahead of time every nuance of the system. They'd write these massive books of requirements. Then they'd get to work coding to these requirements.

This rarely worked out well and usually resulted in huge amounts of wasted effort. When you get coding you realize the spec is either wrong or there's a much, much better way to do it. Do you do it the bad way to stick to the spec or do you deviate from the spec?

The other problem with this approach is that the requirements are often as hard to write as the code and contain as much information. Why not just write the code?

TDD is just "the spec" written in code instead of as a massive design document. Attempting to achieve 100% test coverage often means writing a test set that is a kind of negative image of the code to be written and is equal in complexity. As such the tests often end up containing bugs, which is the same problem as the classical "when we got going we found that the spec was wrong." Do you code to the bugs in the tests?

This is not to say tests should be skipped. Automated tests are great. I just think the 100% test coverage TDD dogma is oversold and doesn't really work well in practice. Test where you can. Test where you must. Keep going.

Of course I am not a fan of "methodologies" in general. I see them as attempts to replace thinking with rote formula. That categorically does not work outside domains that are purely deterministic in nature, and those can be fully automated so humans aren't needed there at all.

There is no formula, or alternately the formula is general intelligence continuously applied.

Edit:

The same evolution has happened in business. Nobody writes a "business plan" anymore. As soon as you get into business you have to toss the plan so why waste your time. Planning is a false god.
>The human brain consists of 100 billion cells called neurons, connected together by synapses. If sufficient synaptic inputs to a neuron fire, that neuron will also fire. We call this process “thinking”.

86 billion neurons, with many thousands of synapses between each.

If enough action potentials from presynaptic neurons arrive within a little enough amount of time, the postsynaptic neuron will _probably_ also fire.

We do not call this process "thinking".
Sort of, that's conflating all free SSL certs with self signed certs. The whole point of an SSL cert is to provide authentication that the server you're talking to is really the server you were trying to reach at www.example.com . They are talking about self signed certificates which is basically the remote server saying "I'm www.example.com, you can trust me because I said so". Let's Encrypt is the same as other CAs out there in terms of authentication. In fact, if you see a certificate that's signed by Symantec, it's more likely to be mississued than a certificate signed by Let's Encrypt.
> The article spends many paragraphs on the complexities of the B2B and B2C players in insurance, their distribution channels, and how they get paid.

The article is primarily focused on commercial lines - primarily P&C, but there are similarities in A&H. The distribution stack is complex and is a natural starting point to start looking at opportunities. The general tech community probably isn't going to look at risk pricing and the ancillary services associated with that - there's a whole discipline built around it and I don't know how many in YC's catchment would be FSA/ASAs or excited by that particular aspect. Plus, for traditional products in P&C and the Disability side of A&H, the industry is pretty good at pricing the risk. Nobody's squeezing growth from their underwriting ratio, they're doing it through products and distribution.

Anyhow, not trying to give you a hard time, just another angle.

> It's all done in spreadsheets.

No it isn't!
This may partly be Stockholm syndrome, but I'm actually somewhat fond of Gradle (a Groovy DSL for configuring builds/managing dependencies for Java projects). It's certainly not perfect and I think it would be overkill for simple builds, but I find the DSL well suited to writing custom build tasks.

As an example, I wrote a Gradle plugin for a project I work on that lets you write:

apply plugin: 'mycompany.service'

mainClassName = 'mycompany.Main'
service {
id = 'serviceid'
port = 1234
}

This results in a `buildImage` task being added which builds a Docker image that runs `mycompany.Main` and exposes the specified port (and does some Docker tagging with the service id).

Implementing this plugin was straightforward, less than 50 lines of Groovy, most of which is invoking another DSL[1] for creating a Dockerfile.

[1] https://github.com/bmuschko/gradle-docker-plugin#creating-a-...
That's not everything: This website contacted 56 IPs in 6 countries across 47 domains to perform 100 HTTP transactions. In total, 3 MB of data was transfered, which is 5 MB uncompressed. It took 4.103 seconds to load this page. 37 cookies were set, and 8 messages to the console were logged.

https://urlscan.io/result/b2e27a08-1298-491a-863f-8cadc45e73...
Is there no Hangouts app for iOS?
Some context:

Americans pay 2.5x more than the average first-world single-payer system.

2.5x...

This funds demonstrably and starkly worse outcomes on the metrics we should collectively care about: life expectancy. Incidence of chronic disease. Infant morality.

The reason we pay much more for much less is simple: for-profit health care optimizes for profits, not outcomes. That is exactly what it has done; exactly what it will do.

The public sector already does single-payer in this country with an order of magnitude less overhead cost than the private sector.

When I discuss these facts with conservatives and libertarians, I usually discover that most of this is decreed "fine," because we disagree about whether or not health care is a right.

For that reason, I've stopped suggesting that it is, and focused on another stark fact:

Failure to provide basic health care to all, through straightforward means, merely means that it is provided through partially hidden means (like ER rooms) at vastly greater cost, not least because emergency care cannot perform preventive and chronic care, which in many cases would provide better outcomes for two orders of magnitude less cost.

Morality is a matter of instinct and choice. The costs of the existing broken system are however obvious, and render any defense IMO irrational.
I find this to be allegorical to "housing prices will never go down, and the demand will only increase over time".

Imagine some big tech companies go down from some fundamental shift - suddenly there are floods of coders on the market. Its the most common job in many states, and growing. The housing market can crash - the tech sector (as we know it) can crash.
> For most of the insurance world, the hardest and most important thing to find is effective distribution and customer acquisition.

This is absolutely true. If you look at how regional, family-owned P&C carriers got their start, you'll find they started as brokers. These brokers found a profitable niche (call it motorcycles in California, or non-standard auto in Texas) that they wanted to own, moved on to become MGAs, and then admitted carriers offering multiple lines of business.

If you can find a way to own the customer as a distributor, you own the life-blood of the entire business downstream. As a result, P&C insurance companies are huge spenders on marketing (GEICO, spends $1.7B/year). It would be game-changing if this cash was used to provide utility to their customers above and beyond the insurance transaction.

I'm of the opinion that insurance premiums could be the new ad dollars - used to create products that promote lock-in, and much more consumer-centric insurance companies.
Nice work! I am a believer in the "don't break the chain" notion used to motivate continuation of habits. As an aside, I've read a few accounts of Jerry Seinfeld recommended this technique when asked about productivity tips.

For me, the idea mentioned by others of having a "skip a day" pass or something similar to the Duolingo system that allows one to "get out of jail free" is important. Since the goal of the app (I assume) is to help people form positive habits, users (especially paying customers) must be able to customize their experience.
Ask HN: Growth hackers, how do you organize your outreach?
Do you keep a list of all the influencers you have reached out to? Do you use excel, google sheets, etc...
welp, time to pack our bags, if it's not a problem for wcummings, then clearly it's not a problem for anyone.
Migrating to Git LFS for Developing Deep Learning Applications with Large Files
What Is the iPhone? Its Creators Explain
To be fair, we didn't have an electricity grid when we had our civil war. ;-)
You probably meet some people who happen to believe that. I highly doubt anyone in China now believe that did not happen, let alone those who live in Bay area.

Why does the government go to such extreme lengths to suppress the information then? More people than you admit don't believe or admit it happens. The government is playing a long game here, as the younger you are the less likely you are to have had access to the information, and it gets worse over time.
Ahh, got it. I was including "regular web surfing" along with "check your email". Just saying that higher bandwidth things like videos, spotify, etc, weren't feasible.
Exactly, I'm reminded of Berkshire Hathaway's Cort Furniture. It's been a couple years, but when I walked into a nearby retail presence they had the prices were fairly reasonable. They also do delivery and complete setup. What does this offer that Cort and other companies don't? An online presence?

https://furniture.cort.com/storefront/

Just browsing through here suggest they offer more flexible renting periods, (starting at 1 month vs Feather's 3 month requirement), and a website ui and design that looks fairly modern and easy to navigate.

Cort seems to have higher prices for similar goods (only looked at sofa's), but competing against a much larger corporation on price seems to be a bit of a bad business strategy. In the long run I would guess that if feather seemed like a threat, Cort would simply undercut their pricing in the competing market. I don't see what feather has to offer other than the YC branding and a younger target market.
> And now ask somebody to type those unicode chars on the top of his/her head...

That's about the only problematic thing with this, though your editor should let you do it relatively easily; if it doesn't, find a one that doesn't suck ;).

> Plus how do you look what it does in google ? In a a documentation ? How do you generate documentation for those ?

Like with any other piece of API code. There's nothing special here.

> And then what's the exact implementation behind it ? Does it do something funny ? So I have to mix the dozen of funny details of all the code from the guys who though the 20 times they do this super-important-operation they need to recreate a whole new syntax ?

Check the associated documentation, or source code if available.

I get the impression programmers nowadays are afraid of reading the source of stuff they use.
You can try it out by calling me at https://www.buzzie.me/c/callarvind
The Gang of Four book is wrong about delegation (2012)
You don't need a psychologist. Trump is on many people's minds right now, hence they mention him often. Are you asking why he's on many people's minds?
I was talking about 4chan users trolling the system with fake data =P
Odd that as a child growing up in the 80s every kid in my public school (in rural Kansas no less), as well as the surrounding schools I encountered, was taught programming in 6th-8th grades and also was required to take at least one high school course. Of course this was also a time when computers shipped with BASIC, users were confronted with a blinking cursor command prompt upon startup, and the very idea of a "computer" meant "tool to do things."

Nowadays the modern conception of "computer" is more akin to "consumer appliance," a more interactive television experience. For the majority of people learning to program a computer makes no more sense to them than learning how to make television shows... and the very same tech companies that drove the industry into the consumer appliance category now bemoans the fact that everyone appears to be consumers rather than producers.
Why should it be a requirement? Should plumbing be a requirement? What about electrical engineering, economics, cooking, or basketweaving?

Maybe a better approach is to have it as a required elective offering, and let interested students find it if they want to?
> A lot of students end up moving places due to 1) lease change 2) internships. Might be useful to them.

True, then again, established furniture rental firms [0] target them; what's Feather's distinct advantage here?

[0] e.g., https://www.cort.com/student
> Delivery costs $99. Pickup cost varies with the size of your order - if you’re just renting a few items, we’ll keep it between $99-$149, but if you’re outfitting a whole apartment on a 4th-floor walkup, pickup is likely to be a bit more. There is a $99 refundable deposit - we charge you on the first day of your lease, and as long as the furniture is in good shape when we pick it up, it’ll be returned after pickup! There will be a $49 charge added for a weekend delivery.

That's approximately how much IKEA charges for delivering an order though they only charge based on distance. It doesn't matter if you have a single tea light candle or furnishing an entire 25-bedroom castle.

Delivery costs aside, I'm wondering who would pay the steep premiums for these items. Take this bed for example: https://rentfeather.com/collections/bedroom/products/remy-up...

It's listed as $28/month assuming you commit to a 12-month term. That's $336 in total.

What appears to be the same bed is listed on Wayfair to buy for $338: https://www.wayfair.com/Langley-Street%E2%84%A2-Rasmussen-Up...

The annual cost is the same with the difference being at the end of the year you own the bed rather than being on the hook for an eventual "return fee".

So who would willingly enter such a deal? Is the market targeting people who don't have the credit to buy the items out right?

Or is the moving in/out aspect the real kicker? Sure it's a pain in the ass but that's a steep price to pay to avoid one phone call to a moving company (or even just a CraigsList "Free bed ... just pick it up" posting).

EDIT: Here's an even better example. I'm pretty sure these are exactly the same bed as the pictures are identical:

Purchase Queen for $200 w/ free shipping: https://www.wayfair.com/Zipcode%E2%84%A2-Design-Colby-Uphols...

Rent from Queen for $28/month = $336 + $99 shipping: https://rentfeather.com/collections/bedroom/products/dunham-...
You can't find "the one" without having a good conversion rate from your audience. Also, some of dating is about finding your hidden biases and becoming better the next time about being honest about them.
If the dating site allows publicly linking to social media profiles or if you have a real name/number you can do a little research. Identifying common interests or topics to avoid can be helpful.

In my experience you don't really know if you are going to like the new job until after you have been working for a period of time. Research can give you clues but sometimes judging what the position will be like by how it sounds or by what you think you want can backfire. Many times the job changes the moment you are hired or shortly after. The only constant I've found is if you don't have a phone on your desk you will have time to actually do the work which will generally make most people happier.
[NPAV] Net Protector Antivirus 2017 Crack and Product Key [Working]
Finally, after two days, Maersk is starting to come back on line. They've managed to get a status page up.[1] Some of their biggest and most automated ports are still completely down. Maasvlakte II (Rotterdam) is completely down; their main Rotterdam port is down except for ship loading.

Some US ports are up with manual operation; Port Elizabeth (NJ) is loading and unloading ships and trains, but not trucks. Los Angeles is totally down.

The Asian ports are mostly up.

The shipping industry is very worried about this.[2]

[1] http://www.maersk.com/~/media/20170629-operational-update/20...
[2] http://splash247.com/back-future-maersk-wake-petya-attack/
No, it's causation. The probability that everything goes right in a sufficiently complex system is zero and the probability that a single failure will cause runaway feedback loops or cascading side effects is extremely high, which causes a stable system to go unstable and makes total failure almost inevitable. Without diversity, you can't recover from these failure modes (drastic changes in the ecosystem causing extinction in the case of evolution, limits of physics or economics causing a dead end in science and engineering, changes in the rest of the economy causing centrally planned economies to fall apart, etc).
Well, sure, there's workarounds. But most people aren't going to be running a VPN.

And the documentation for in-flight WiFi explicitly instructs you not to take voice calls, out of consideration for other passengers. You wouldn't be out of line politely asking somebody to stop.
Besides the fact that one of the most popular modern books teaching Common Lisp is available as an online website for free (Practical Common Lisp), introductions to popular programming languages – including a few other books on Lisp – can generally be readily found on pirate ebook communities. There are some domains where you are forced to "buy" or "borrow" books to learn, but coding is definitely not one of them.
Thanks. I'm going to give these a swing. I'm definitely guilty of going into a k-hole when I work and generally only stopping once I'm hungry.

I've stopped resting my wrist. I made a little tack strip that I'd lay on my laptop while I was working to train me not to rest them.

Have you tried Dvorak? I've considered it multiple times but always worry about if I'll lose the ability to use a standard keyboard. Although - how often do you use someone else's keyboard :/
I am not an expert, but maybe look into recurrent neural networks [0]? These things can turn a sequence of inputs of possibly arbitrary length into a fixed size internal representation, and can output a single value derived from this representation.

[0] https://en.wikipedia.org/wiki/Recurrent_neural_network
Ethereum decentralizes the server. There are advantages to being able to trust a server without running it yourself.
> A control group on the machine in front of me tells me that you are wrong about two more things.

But the problem is that the slices you showed are given to you by systemd. If systemd didn't want to give them to you for whatever reason, you couldn't use cgroups.

And you've not responded to any other part of my comments that relate to how the design of cgroupv2 is clearly geared towards management processes controlling subtrees as opposed to programs controlling themselves (the key point being that the root tree has to be controlled by someone).

> Unprivileged subtree delegation exists

But it requires a privileged user to "allow" it, making it less useful in most cases because it has to be automated (allowing for possible exploits) or done manually (not useful).

> Tejun Heo is interested in subtree delegation to unprivileged users

That's very odd, and is not the impression I got after discussing these issues with him last year. In particular I proposed something like his "nsdelegate" patch in early 2016 so it's nice to see that he's come around on that topic. But if he's changed his mind, that's great! Note though that the first patch is not directly related to unprivileged subtree delegation.

> systemd is not the sole user of version 2 control groups.

Can you give an example? I'm also fairly certain they're the only user of "hybrid" cgroup versions.
>The tests get in the way. Because my design does not have low coupling, I end up with tests that also do not have low coupling. This means that if I change the behavior of how class <x> works, I often have to fix tests for other classes.

At this point you should be realizing your code is untestable and needs to be refactored.
Believe it or not, some people aren't entirely motivated by money.
We certainly agree on the bulk of your points (see my top-level post elsewhere in this thread). There is opportunity, though in my opinion, a really good way to get there is to work with an incumbent on a "modern" strategy. That's really hand-wavy, I know, but you gotta find the guy who's willing to piss off its brokers and start there.
Computer Architecture for Network Engineers
> John Carmack: You wind up getting this sense of partisanship or just taking sides. It’s human nature, I suppose, but when it gets away from a strict technical discussion, then you start getting your ”army of followers.” I suppose that’s part of having influence, but it’s not a part that I’m particularly comfortable with.

This is so pervasive (politics, technology) and damaging (less so in technical world but there's still the price of stunted intelligence to pay) that I wish along with me more people in the world would read this and pledge to making every discussion interesting and productive.
GDP, if you are an American, has not been related to wages for a very long time. The median American has not received a real wage increase in over four decades.

If you're a libertarian, which some are here, this should worry you.
You can certainly expect it short to medium term yes. Longer term I don't think so.
Ok, so remove IDisposable from class declaration and fix compilation issues. My2Cents.
Ask HN: Good online issue tracker with CLI
HN, is there an online issue tracker with a good CLI around the issue API? I've been using bugs-everywhere for my own repos but I'm not very satisfied with it, I can't place a finger on why. I want to be able to create/list/tag/delete issues from the command line. I know both bitbucket and gitlab offer APIs but I wonder if they have a nice usable wrapper around it?
Plenty of such project-specific microDSLs can be seen in Lisp world. They do a great job at reducing the boilerplate one would otherwise have to write, and they're relatively easy to inspect, if you need to know what's being done underneath.
I'm not judging, I get every situation is different. It sounds like you're referring to a specific incident, 10 year+ relationship, things change, spouse is a drug user.

Sounds awful. My opinion is still that one should leave the relationship ASAP, regardless of how difficult it is financially. Support groups, family, part time work, driving uber, whatever it takes. I think it's unethical to stay in a relationship for financial security while trying to find a replacement.

Even if there was emotional or physical abuse my answer would be the same. Exit the relationship, find support, don't have an affair.
The (Un)Scientific Method
Facebook's Aquila has successful second flight
> Far better to focus on the 10 you really want do the research and put in the effort to really wow the interviewer.

Sounds like you haven't been on online dating before.
> Most responders don't even have the ability to map a long/lat. So at this point, the accuracy is moot.

This is genuinely surprising to me. The operators having trouble makes sense, because phones are something of a rolling disaster, but responders aren't using GPSes that can do this?
It's probably not a stockpile of viruses/trojans.

It's more likely a list of exploits across different devices that give you various levels of access to do as you wish with. Some are probably nothing to worry about, some might be something that gives you the ability to get into the machine and encrypt whole sections.