skysight-inc/HackerNews huggingface dataset:
Compared to other languages, I've found Clojure makes it much easier to iteratively turn an idea into code.

Say you're writing a pure function...

You start with just data and a sense of how the output might look. Let's say I have APIs providing me with a user record and a list of transactions, and I want to get that person's balance...

Maybe you start with some canned data

(let [person {:name "Matt"
:id 12345
:current_balance 100.10}
txns [{:person_id 12345 :amt 10}
{:person_id 44444 :amt 0.5}
{:person_id 55555 :amt 10}
{:person_id 12345 :amt 11}
{:person_id 12345 :amt -5}
{:person_id 66666 :amt 3}]]
(->> txns
count)
)
=> 6

and maybe you want to filter the transactions to just that user

(let [person {:name "Matt"
:id 12345
:current_balance 100.10}
txns [{:person_id 12345 :amt 10}
{:person_id 44444 :amt 0.5}
{:person_id 55555 :amt 10}
{:person_id 12345 :amt 11}
{:person_id 12345 :amt -5}
{:person_id 66666 :amt 3}]]

(->> txns
(filter #(= (:id person)
(:person_id %)))
count)
)
=> 3

then you want to extract the amount for each of those

(let [person {:name "Matt"
:id 12345
:current_balance 100.10}
txns [{:person_id 12345 :amt 10}
{:person_id 44444 :amt 0.5}
{:person_id 55555 :amt 10}
{:person_id 12345 :amt 11}
{:person_id 12345 :amt -5}
{:person_id 66666 :amt 3}]]

(->> txns
(filter #(= (:id person)
(:person_id %)))
(map :amt))
)
=> (10 11 -5)

and sum those amounts

(let [person {:name "Matt"
:id 12345
:current_balance 100.10}
txns [{:person_id 12345 :amt 10}
{:person_id 44444 :amt 0.5}
{:person_id 55555 :amt 10}
{:person_id 12345 :amt 11}
{:person_id 12345 :amt -5}
{:person_id 66666 :amt 3}]]
(->> txns
(filter #(= (:id person)
(:person_id %)))
(map :amt)
(apply +))
)
=> 16

and add that to the existing balance

(let [person {:name "Matt"
:id 12345
:current_balance 100.10}
txns [{:person_id 12345 :amt 10}
{:person_id 44444 :amt 0.5}
{:person_id 55555 :amt 10}
{:person_id 12345 :amt 11}
{:person_id 12345 :amt -5}
{:person_id 66666 :amt 3}]
bal-change (->> txns
(filter #(= (:id person)
(:person_id %)))
(map :amt)
(apply +))]
(+ bal-change (:current_balance person))
)
=> 116.1

the function is done!

(defn update-person-balance [{:keys [id current_balance]} txns]
(let [bal-change (->> txns
(filter #(= id
(:person_id %)))
(map :amt)
(apply +))]
(+ bal-change current_balance)))

I posted here as a series of snippets, but this would have been a single block of code, refined and evaluated and refined and evaluated, over and over, in a REPL-integrated editor. It feels like sketching a portrait or sculpting clay.

"But I can do that in any ol' REPL!" you might say. Try Clojure -- really try it, with an nREPL connected to your running application and to your editor, capturing inputs, playing them back, writing evaluation output as comments -- and then tell me you want to go back to your old REPL. A notebook environment is similar, though clumsier IMO.

Come for the REPL-driven-development, stay for the immutability, the Java library ecosystem, the lisp syntax, the concurrency support, etc. I know going on and on about how great Clojure development is is basically a meme at this point, but that's because it's really great!
Break it up into small units and resell the commercial space to businesses and offices that can actually make money? This is the kind of thing real estate managers are great at so no worries. Some will rot but my bet is most will be resold and developed.

Too bad. They had great blankets.
This is both heartbreaking and terrifying. Mass food insecurity can be a precursor to increased violence. Where is the leadership??

I have an idea: everyone with over $20 million liquid splits the cost between them of expanding food banks and keeping them stocked. Call it a temporary COVID-19 tax and let them deduct it from their next IRS bill. [I know, I'm dreaming.]
Yeah I doubt that much water is stolen from hydrants in the US. I have heard of business using it, but as I understood it they are required to get permitting and pay for usage by monitoring their flow, at least in California.
Besides which, this is about farmers buying water by the acre-foot, not residential drinking water. It's also about trade within a watershed or water system, because moving large amounts of water for farming in any other way isn't economical.

Cities are always going to be able to outbid farmers, in some cases by buying farmland for the water rights. The worst-case result of that is that some farmers in dry areas go out of business and more food is imported.

Food is a global market, water isn't. It's easier to import food than water since it's much lighter for the price.
but it helps
It's going to blow your mind, in the US 61.23% of phone users use iOS. (It's not as bad in the rest of the world.)
3D printed 3-sided cryptocurrency themed LED lamp
I'm proud of my work, I hope all of you like it too :)
Hubble pins down weird exoplanet that behaves like the long-sought 'Planet Nine'
So whats the book value of anybody’s shares here?

Any recent employees able to talk about a standard price and quantity range they earned shares at?

What does YC own?

How about the founders?

I want to salivate over some numbers about the least probable IPO until the market got super frothy. If only Adam Neumann waited a year he really could have shoved WeWork down our throats.
>Done correctly they save a lot of IT time

Not really, computing done correctly is about avoiding all of the pitfalls and finding ways to get zero cost benefits, free computation out of necessary redundancy, etc. Selling cloud computing is about creating options around every pitfall and finding ways to charge for every mitigation that will be necessary and charge for redundancy in the mitigation strategy for the mitigation strategy..

Even if you pay for all the redundant managed blah they offer to not lose your business by having any single point of technical failure in their network, their billing and IAM are your single points of failure, if you diversify to multiple clouds all the guarantees either cloud offers is now pointless redundancy so you are paying 10X pricing for an inadequate redundancy layer.

If you look at Google's own model for computing, they didn't fall for this themselves, the computers they used were intentionally unreliable to not recursively pay for reliability and redundancy at any layer that can't provide the needed guarantee.

You can basically go all in with one of these clouds and become a franchise add-on with roughly the same rights as your average mcdonald's store owner, or you are managing a strategy that is far more complex because of the complexity of these offerings than just using metal and free software.
<p><i><span class="redacted">XXXX XXXXX XXXXX XXX XX</span> a Soviet upper-stage space vehicle.</i></p>
I'm sure there's a lot of excitement on moving in to a new potential venture, and there are many good stories of those who pull it off!

Unfortunately luck plays a big role in the mobile games market. Some simpler games (like flappy bird) make a ton of money, but most indie games often get only short bursts of cash flow.

Because you did not indicate that you have worked on a game before, I'd strongly urge you to not burn the bridges with your current job. Perhaps go for a 50:50 for work:game.

It's great that you have a long runway. Most games only take 4-5 months to develop. Try to get the product out as early as possible.

You might need to invest a significant amount of money on advertising. They are relatively cheap in CPC, but it will be a significant cost early on nonetheless.
exactly, that's already pretty fucked up in my book. Same for weed apps, they're banned. I can't use the PAX app on my phone.
Yeah, no worries, I wasn't even continuing with the argument in my previous reply, I was just curious about XM3 vs. XM4.

And on that note, for other people who are interested, XM4 had recently a really good deal on Amazon (US) for something like $250. At that price point, it is def a really good bang for the buck.

At least until Airpods Max come out, XM4 are unilaterally imo overall the best pair of wireless headphones with ANC. Not trying to imply that Airpods Max will take over that spot as soon as they get released, they might completely flop and be trash, who knows. But either way, XM4 is currently imo the best, and even if Airpods Max somehow manages to become a magical pair of headphones, XM4 is still a great pair, and is definitely still gonna be a better bang for the buck than Airpods Max (while i pre-ordered those, I don't have any illusions about me not paying the "apple tax" on those). So for anyone hesitating or not into the idea of paying $500+ for wireless headphones with ANC, i heavily recommend Sony WH-1000XM4.
Retailers didn't ignore Amazon, they were just very bad at technology since they were never technology driven companies. They spent decades fighting each other in a very low margin business and were optimized for that. Walmart did the best but that was through buying out other companies and even they didn't do great.
Perhaps, our definitions of survival are very different. One might say people steal playstations to survive.
I would wonder how much of a role chargeback issues played as well. Other similar sites like OnlyFans or online gambling fall under the "high risk" category for payment processors, so PornHub might have been borderline.

It's also worth noting that MindGeek, Pornhub's parent companys other holdings are, consisting of the majority of other free sites (redtube, youporn, xtube gaytube etc)[1,2] and even production studios (Brazzers, Reality Kings) the Playboy site, but don't seem to be affected.

[1]
https://twitter.com/rosekalemba/status/1274593099445153795

[2]https://en.wikipedia.org/wiki/MindGeek
While I think your tone is a bit more critical than it needs to be, as many very intelligent people have made the same mistake, I think the sentiment is correct. But 'standing up to management' is literally not possible if they don't want it to be. They get to make the decisions if they want to, more or less by definition of 'management'. He did say 'we need to bail' to his boss at one point.

But, essentially, your final paragraph's point is the bottom line. This was not fundamentally a tech problem, it was a too-many-cooks-in-the-kitchen problem. That's a business decision.
I agree with a lot of the points so I will just comment on the one I disagree with strongly. Social mobility in higher in Europe than it is in the United States, but they face the same pressures in terms of cheap labor from other countries.
Mall to condo conversions are a thing. There's probably better links, but I think this one has decent pictures: https://www.popsugar.com/home/Providence-Shopping-Mall-Conve...

Living like Logan's Run could be just what we need to break out of the dull pandemic mood?
I believe they were not random applicants either, but had been walked in by a YC founder. So no points to YC for choosing them out of the applicant pool on their own merits.

The Airbnb founders seem to be good at Making Friends and Influencing People. Which is clearly a valuable trait in Silicon Valley but not all that admirable. Neither is the business they built, which has caused perhaps as much misery in the world as it has eliminated.

YC set out to create the next generation of tech companies like Google/Microsoft/Apple. Instead, YC has only helped to launch some pretty mediocre companies that will be hardly be footnotes in history. Sure, they made money, but they were already rich.

The Airbnb and DoorDash IPOs are evidence of YC's failure to achieve its real mission rather than evidence that it succeeded. If it had succeeded, we'd all be talking about the Google-killer or Apple-killer they launched, and not these super boring room rental and food delivery services they're left with as a consolation prizes.

It'd be awesome to see YC's original mission fulfilled. It was a grand idea and would be great for the world.
About a decade ago, I got an iPod Touch, on the basis that it would be a portable computer that I could hack around with. Instead I find that it was entirely locked down, and required permission to install any software. Heck, even the developers kit required a $100 license fee, which was outside of my hobbyist budget at the time. For my own device.

The phone ecosystem has already gone to hell, and Apple paved the way there.
At the same time, personal savings rate is through the roof:

https://fred.stlouisfed.org/series/PSAVERT

and household debt service costs are lowest in recent history:

https://fred.stlouisfed.org/series/TDSP

People have received thousands of dollars in stimulus checks. Thanks to extra $600/$300 that the feds have added to federal unemployment, those that lost their jobs received in many cases significantly more that they were originally making, especially those making around minimum wage. At the same time, there are fewer avenues to actually spend that money, and the result of all of this is increased personal savings.

No, shoplifting is not increasing because people lack cash. Rather, people do it because they can, as the justice system declines to prosecute and punish people for it. Crime rate is significantly up, and for property crime it's even worse than stats imply, because people don't bother reporting, as there's no point -- you can see that by comparing car theft rate to other property crime. Car theft is much higher, because people report most of them, as they need police report for insurance claim.

All of this is, of course, entirely unsurprising.
Yeah, but then you start getting ads for skinny capris and pumpkin spice frappuccinos.
Like others have said, no book will cover it all, which is why I am recommending a daily newsletter: https://dailydad.com/

Sometimes the advice is really good, other times it's repetitive, often I don't even read it. But I like getting a reminder each day that I should be present with my kids, work can wait, I should put down my phone and just be with my kids and let them have all of my attention.
Those who can't afford can get aid at the local food banks and shelters. This is no different than it has been previously. These are good people down on their luck and need help; and we need to find ways to help and preserve their dignitiy.

Those blatantly stealing are the ones who don't see it as doing anything wrongful as society owes it to them. These are the same folks who riot and clean out the Targets -- it was not food being taken if you noticed. To them laws apply to others.
Is anyone else disappointed it was not 42?
They've been pretty direct about that these past couple of weeks.
This is a pretty recurring theme in history. Read any Charles Dickins story for example.
FYI - you are an outlier. In my experience once you teach someone about immutable systems, they never want to go back. There are sometimes corner cases where you want mutability. Usually for performance reasons; and in those cases it's helpful to have an escape hatch, but also, I would argue that most programmers don't need performance, even when they think they do, something else is the bottleneck.

Because this in HN: Yes, some people are writing operating systems, video games, database engines. Most people are not.
Nonviolent Communication by Marshall Rosenberg. This book helped me with empathy, boundaries, and self-criticism.

Boundaries by Dr. Henry Cloud helped me to step back from taking responsibilities for people & things that are not mine. It also helped me to face choices I’ve made. Note: this book is tied to Christianity.
OP here.

Thanks for sharing!

I have no idea what they did internally, but something like this was my guess. I only communicated through customer support channel and replied to emails, and shared my doc (which cited all the loopholes) with them.

It took them 10-15 days to get back and make a one-time good will contribution. The contribution didn't cover logging cost, so we did pay few hundred dollars.
I'm not a UPS driver, but roughly follow this rule when driving and pick routes based on it. I've done so since before I heard about the whole UPS thing, as it makes sense to me, so when I heard that UPS did it too I was like, oh so it's not just me. But alas... maybe it truly is just me.
You could effectively build your own fiber optic I/O hub via fiber optic Thunderbolt cable to a Thunderbolt dock. Alternatively, build one via a combination of (1) fiber ethernet, (2) fiber HDMI/DP extender(s), and (3) fiber USB extender(s).
Bryce Bayer was my father. Hopefully I have a few more decades before I'm "debayered".
Second link is through 2Q20. Long time ago. Good points though
The US can just print money, with much better effect. It actually does that.
>
I'm an ardent supporter of executable config languages

Me too. I feel like there should be some eponymous law about this. Every declarative language that starts out trumpeting "simplicity and not being Turing complete is a feature!" ultimately grows features until it is an imperative language, or gets replaced by one that is.

If you're gonna get there anyway, you may as well design for that instead of bolting on features poorly after the fact.
You only wrote half the story and no technical details...... why even write a post at all, it's just clickbait and you give no other information how what went wrong, how it got fixed, what exact technical problem was...
Surprises in the Facebook Antitrust Lawsuits
To me, it seem ridiculous to call this "the first clear example of tool use in honeybees". I actually think there must be some big misunderstanding somewhere.

The argument is that by taking animal dung and coating the entrance they are "taking something and manipulating it to shape their environment", which they think qualifies as tool use.

But we've already known for ages that bees gather sap from trees and coat the inside of their hives with it (propolis), to seal gaps and prevent bacterial growth. I cannot think of any reasonable definition of tool use that would include dung coating but exclude sap coating.

Ctrl+f of "sap" and "propolis" in the original paper gave 0 results.

Edit: Upon further reading, they seem to define a tool as a "a non-plant solid", which seems specifically tailored to make dung the first tool. The fact that they fail to mention propolis even once in the paper to highlight what they think is the important difference does not impart confidence.
I'd like but not to Mozilla though, only to the dev teams.
Political and methodological biases in entrepreneurship research
Despite an almost universally accepted belief outside academia that entrepreneurial activity is a positive driving force in the economy, the accumulated evidence remains largely inconclusive. The paper positions the increased interest in entrepreneurship since the 1980s within its historical context and highlights the significant methodological problems with its analysis. Taking these problems into account it re-evaluates the performance of entrepreneurial firms in terms of innovation, job creation, economic growth, productivity growth, and happiness to show how both positive and negative interpretations can emerge. A pattern of increasingly positive interpretation is observed as one moves from analysis to policy. To address this bias, the paper suggests the single category ‘entrepreneurial firms’ be broken up along a continuum from the large number of economically marginal, undersized, poor performance enterprises to the small number of high performance “gazelles” that drive most positive impact on the economy. This would allow a more realistic evaluation of the impact of entrepreneurs by avoiding a composition fallacy that assigns the benefits of entrepreneurship to the average firm.
EU/US regulators breaking up Facebook would “kill Oculus” warns Robert Scoble
It evaporates out of the leaves of the almond trees.
And this seems to be about providing Google-only search result content that no competitor could equal since it's literally built on google's tech, RE: "Your story can then be surfaced in relevant Google Search results and Discover."
*expropriating
I'm still shocked that people beleive this. Well I'm not - It has been a reinforced Democratic talking point for months now.

Why should the federal government bail out state governments when the federal government had nothing to do with the state's actions? The state governors could choose to end lifestyle restrictions at any moment but choose not to.

Why should the federal government pay for the choices of states and counties?
Except those people heavily dictate how the system operates. "Systems" don't just operate without human input or decision-making.
You make a lot of good points here.

So I should elaborate, global overpopulation is impossible. Local overpopulation and resource shortages are possible, but this is not due to too many people (as the resources exist somewhere on earth to support them) but due to inefficient resource management.

Local shock increases in population are due to migration, not birth rate explosion, since birth rate follows resource availability. And again, a sudden migration from one place to another of large numbers of people (which we see in urbanization) is another example of inefficient resource allocation.

The increase in resource demand from a person as they grow into adulthood is a consideration, but an indicator that resources are strained is child mortality. The fact that it is decreasing worldwide tells us that we are not at the edge of carrying capacity. Even if we were, the result would be either decreased standard of living or increased child mortality, and thus the problem self corrects. My assertion again is that human population cannot exceeded carrying capacity globally.

Some creatures can consume resources that humans need to process before consuming, but in aggregate the amount of biomass stays the same and so the resources are always available. It is a question of production, not availability. An increase in livestock that depletes the food store of the herd is essentially the same scenario as a local increase in population of humans that strains locally available resources. And like I pointed out talking about that scenario, the issue is inefficient resource allocation, not overpopulation.
These water futures are in California, and would predominately be used by farmers. The units fit the use. Water futures in another part of the world would use units that fit their use.
Epic passed they savings on to their customers. Even retroactively, something Apple would rather burn in hell than ever do.
As a person that uses Go and is quite fond of the language, I think it's kind of a misnomer to suggest that Go projects will be sane/built well due to the language. I think that Go invested a tremendous amount of time into making their syntax simple and formattable. I don't think that at, say, 10m LoC, a Go project is any more sane or performant than other languages, I just think the syntax and style of every file is probably more consistent.

Basically I think that Go makes it easy to open and read almost any file, regardless of what you know about the rest of the project. I think that's great, but I also don't really think that it prevents you from building bad software.
Mandatory quarantine centers? The Chinese used office buildings for this.