jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
If this article has made you more curious about Awk itself, I highly recommend The Awk Programming Language [1] by Aho, Kernighan and Weinberger. It's a terrific book all around (look at the list of authors), and Awk really is worth knowing if you use the command line a lot. (Credit where it's due: silentbicycle always recommends this book, and I read it on his advice. But I seem to have beaten him to this thread.)

[1] http://cm.bell-labs.com/cm/cs/awkbook (This link seems dead at the moment. I'm very much going to hope that's temporary.)
Well, the simple answer is don't have marketing interns. Really, you should not have people in the company manually doing work that could be automated in minutes - I've even seen people manually do joins (yes, two Excel sheets open, look up one product manually on the right, copy the value over on the left, next product, next, next...). It's bewildering that tech companies who should know better and who have people who know better still insist that there be people who day in, day out, 6 hours a day, process files by hand.

Next best thing is to sanitize your data; hash any personal information like emails or phones, take a day or two to build a rudimentary BI database that has sanitized information on it before giving people access, use work emails to manage access to everything and log it (my team built https://github.com/zalora/sproxy for this purpose), silo access, teach people SQL, and so on.

But honestly, to most management teams security is dead last on the list of priorities; it's just another tail risk that probably won't happen, if it happens it doesn't matter that much, doesn't cost that much, and there are a thousand other things on their mind like growing the company which are more important ('compliance is for when we'll be profitable' or 'we're not a bank, it's ok'). You can't do very much when working in such a company.
"The 5th amendment protects US citizens from being forced to reveal their encryption keys."

Tell that to Ladar Levison. ;)
I'd be amazed if the Zuck ever heard about it.

Also, I think this is something that could co-exist with Insta, Facebook, and WhatsApp.
I'd want to use both. Using private media is more reliable if you remember everyone relevant but that's hard.
I still have my autographed copy of Mark Pesce's 1995 book "VRML - Browsing & Building VRML", subtitled "The definitive resource for VRML technology." I am pretty sure I met Mark and got that autograph at a SIGGRAPH meeting in Boston, MA that year. There was so much excitement and energy at the time.

[edit] I came back thinking, "We have got to take advantage of this." For a little while, there was an effort. The bigger players got involved, 'standards' started shifting, and the realities of our business network sunk in. Sigh.
You are making an argument for different places having different speed limits. Yes places should match their limits to the local conditions, but people should still get in trouble for breaking the law.
The SX makes it practically a 286, right?
I would like to add that optimizations may also be performed in addition to type-checking (type-checking, by the way, depends on safety optimization level). What's also handy is that you can specify the optimization levels (space, safety, speed, debug) per function or per file (or in a `locally' block).

Function return types may also be specified, with serapeum's ->, it may be as simple as (-> f (fixnum fixnum) boolean) for instance, right above the function.

Classes and structs let you specify types for slots.

Expressions may be typed with `the' special operator aka (the fixnum (first list)).

PS CL has gradual typing.
If they are I haven't read about it.

I'm also not sure what network they could even buy in SLC, since as far as I know there is no iProvo-like network there (most fiber is owned by telephone/cable companies who aren't leaving).

What they should do is buy Utopia from Layton city (north of SLC). It is essentially iProvo all over again, and they're even looking to sell it (an Australian company is interested).

So if Google stepped in and purchased Utopia, and built out their SLC network, they would already own a massive swath of northern Utah.
I meant the mentality, which started with URL static file mapping and continued with web routing. Not all URL path routing is bad, but with SPAs you get more focus on what the customer uses URLs for (i.e. URL paths for sharing a picture, etc.) rather than parsing page functionality out across different paths.

It's my opinion this URL simplicity makes a better user experience, but that's just my opinion.
The common-lisp.net page for ITERATE has this example for finding the longest list in a list of lists:

(iterate (for elt in list-of-lists)
(finding elt maximizing (length elt)))

But what's wrong with this?

(reduce (lambda (a b) (if (> (length b) (length a)) b a))
list-of-lists)

Okay, you have to do a little more work if you only want to take the length of each list once instead of twice. But if you don't care about that, this is quite elegant and introduces no new vocabulary. (Unless the lists are very long, calling LENGTH twice isn't anywhere near twice the cost of calling it once, because of cache effects.)
It feels like browsers in general has become to commoditized for people to even bother. How much does it really matter these days if you use chrome, firefox,opera etc. It used to be that it DID matter that you used IE because they were so hopefully after (after they were before netscape) but these days it more of a popularity contest.

Every browser pretty much presents webpages correctly according to modern CSS standards.

Every browser is fast enough that the difference is negligible

Not many people use any major add-on features of browsers, except like adblocker and stuff like that.

I really don't understand why this is an area that's worth competing in anymore, except providing an browser for your mobile ecosystem (chrome for android, spartan for windows phone, safari for apple, whatever). Webpages are still needed but apps are sweeping the field and providing better UX for the webpages that people use the most.

And downvote me as you might but firefox days are sadly counted
Absolutely, sunir. It becomes even more powerful when these tools start feeding into each other. For example, what if you can identify that one user is having a bad experience based on their Olark conversations and usage data, then put them on a special drip campaign to help them re-engage. Each tool becomes more automated/insightful when it accesses the data from the others.
Seriously? Your solution to showing syntax highlighted code snippets is images???
It can depend highly on your needs. We have a small team but a large number of private repositories. Github basis prices on number of repositories, which makes them incredibly expensive for us. Bitbucket basis prices on team size, which made them cheap for us.
I appreciate the thoughtful discussion. Thank you for that.

In your second paragraph, I'm going to suggest that automation is a function of capital, intellectual effort, personal will and the freedom to act in one's self-interest. Remove any of these and I don't think automation is likely to occur.

Thank you for the comment about the rentier class and inheritance.

If a person owns a certain amount of wealth, and he gives it to someone else, should anyone else somehow obtain title to some or all of it? I say no, on the basis that this undermines property rights.

If I own a gold coin, and give it to my daughter, by what justification does anyone else claim even a fraction of that coin?

I recognize that many people will have a different view. I'm genuinely interested in the logical basis for different views.

As regards the large mass of displaced workers, whose labor is said to be obsolete in the scarcity economy.

I wish to ask, is it really, absolutely, the case that these men and women, if they are free to use their minds, and do choose to use their minds, cannot be productive in a changed economy?

I don't know a lot about it, but I'm wondering if the idea that these people will necessarily be unemployed forever, because "all they have to offer is their labor" (quotes mine) is a projection of the mind-body dichotomy?

I have to get back to work, but in closing, your comment about utility catches my eye as well. For the record, I'm not an advocate of utilitarianism, if that's part of this discussion.

In closing, thank you for a thoughtful reply.
It's not like rich people are all that much better at investing in companies anyway. They're just better able to afford the consequences of their ignorance.
Dropout seems to significantly reduce catastrophic forgetting. So does very sparse activations, supposedly. It's worth noting most NNs are trained with SGD which is an entirely online algorithm.

Not that it's a solved problem but its not unsolvable. Mostly it's that researchers don't care much about online learning since its not too difficult to train offline on stored data.
Oops! Just updated the page. Thanks for the heads-up! http://realm.io/pricing/
By what virtue is this a standard? The very generic name? For HAL, there is at least an internet draft: https://tools.ietf.org/html/draft-kelly-json-hal-06
You (as well as this article, though less so) are conflating wealth and income. Wealth is a stock; income is a flow.

In any economy what is produced is split between wages and profits. Wages are the returns to labor, while profits are the return to capital. Income to households can be both returns on wealth or returns on labor, so clearly higher income will be correlated with higher wealth, and wealth inequality can be both cause and effect of income in equality.

What the Oxfam article fails to mention, is that quality of life and income have improved DRAMATICALLY for billions of people over the past 50 years, and ironically what is standing in way of the bottom 50% are often legal and cultural obstacles to accumulating capital -- wealth -- at both the individual and national level.
Just don't use pointed sticks like Newton.
Thank you for pointing out that fossil fuels are the best solution we have for generating power today.
I think programmers should need to know complexity theory, because if there is a "programmer" type job that can be done without knowing it, then we should be working hard to eliminate that job through automation. In other words, dissolve the class of programmers that supposedly don't need to know complexity theory.

Also, big-O is not the be-all, end-all of complexity theory. What a ludicrous sentiment.
Update: Managed to get it installed to its own hard drive in virtualbox by hacking the install script to allow it. Unfortunately, it kernel panics during boot. I'll try again, this time with a Linux live cd
There's a Dutch conversion specialist who actually gave a pretty cool talk about the System 1 vs 2 distinction in relation to persuasion.

Definitely worth a watch: https://www.youtube.com/watch?v=8mOgWH5JZkg
Customers (and people in general) shouldn't let themselves be so easily deflected. Stay on target.

When you buy a Sony-branded consumer good from SomeCo, you haven't done business with Sony, you've done it with SomeCo. If SomeCo isn't willing to back the quality of the products they stock, they should. not. stock. those products.

If you that argument does not sway whoever takes returns at SomeCo, get your credit card company to issue a chargeback. <-- USA-specific; Unfortunately I don't know what protections are available to consumers in most of the world.
Indeed, you don't!

And we all look forward to your app being featured on http://accidentallyquadratic.tumblr.com :)
Off topic, but I recall a YouTube video I watched a while back from maybe around a decade ago. There was some man out in LA who had experienced homelessness in his youth and wanted to help people in that situation. To do this, he crowed funded a project where he would build small shelters for people that had locks, and a solar panel feeding into an outlet. A lot of the people indicated that this was a major upgrade to their lives on the streets.

Of course the city, and more importantly, the homeowners were livid. There were complaints about having these shelters out and visible for worry of property values. Additionally there was complaints of these being on the sidewalk and that creating safety issues. The city ordered them to be seized and destroyed. The coordinators offered to have them moved , but they were met with not cooperation, and one of the men’s who had lost his shelter reported a cop sneering about how he should “get a job”. There was a city official going on about how this project wasn’t helping anyone and continued to allude to his vague plan to “end homelessness”. Wonder how that worked out for them.

Additionally there are a few channels that interview various people on the street and I recall one quote where a man said something along the lines of “I wish my family wouldn’t look down on me for being homeless”. In another, a man claimed he tried to reinitiate contact with his family, who had him arrested. Both of the men seemed sober, mentally stable, etc. in fact, the latter man ended up getting his life together in a stroke of luck. I have to wonder if these more to these stories, but disowning someone simply due to their economic status alone is absolutely insane to me.
after setting up all the boilerplate I lost my steam.
> The US government is quick to say that most prisoners at Guantanamo are not technically in solitary confinement because they can yell at each other through the gaps underneath their cell doors; they can talk to one another during recreation time; and they are allowed periodic ICRC and lawyer visits. The reality, nonetheless, is that these men live in extreme social isolation, cut off from family and friends, and even, to a large extent, from each other. They spend most of their days alone in totally enclosed cells ... [1]

So, I guess, technically, the students are not in solitary either.

[1]: https://www.hrw.org/report/2008/06/09/locked-alone/detention...
The problem starts when your "targeted" advertising will send flyers to only those homes where both husband/wife work and have little free time; or households that have very young children or household with single parent or the household that owns very old lawnmower that was repaired recently etc. Then your "targeted advertising" starts charging more from households that have only senior citizens etc.etc.
Feeds could be crafted to expose us to new ideas and to find the content we are interested in. But instead they are optimized to create an addictive experience and generate revenue.

Twitter removing the linear feed reduced the value of the website for me because I couldn't see all the tweets of the people I follow anymore. I don't want to have to go to each persons twitter page just to see if there are updates.

I think it comes down to the 'free' advertising based model of these companies. As long as any paid advertising is allowed online we can't really trust feeds controlled by other people.
Ah, sorry about that. I haven't updated the lab in some time and it's likely not tracking changes that went in to enable FSK mode. I'll make a note to come back to this later. The lab could use a lot of love in general.
Is US pop-culture racial discourse really the arbiter of truth for discussions on HN? I understand that it can appear slightly confusing to people here in the united states, but over a billion people who you don't consider asian, refer to themselves as asian.
I think that's reasonable, but is syntactic sugar really going to help you modify a path when the vector points will look more like this in reality:

(path (M 368.296, 1.514) (c -0.908, 0 -1.818, 0.011 -2.716, 0.021)
(c 0.053, 0, 0.106, 0, 0.159,0) (c 147.196, 0.836, 265.306, 94.672, 267.029, 183.784)
(c 0, 0.581, 0.065, 35.087, 0.065, 35.087) (h 49.415)
(v -33.471) (h 37.094) (v -31.376)
(C 719.342, 77.099, 575.826, 1.514, 368.296, 1.514)
(z))
What they want to track with prepaid cards is money laundering. And this is not money laundering of the corner drug dealer, it is the laundering of the wealth of entire nations by transnational crime syndicate masquerading as governments (e.g., see RUS, VNZ), and transnational gangs which are large enough to warrant military attention, which is currently driving geopolitics. And yes, your tiny prepaid card is probably an irrelevant bit of collateral damage in that picture, but that is why they'll ask your name.

And, no, FINCEN DGAF if you spend it at any of those places. They DO care if it turns out some of those places are laundering a lot of crime money, and they DO care if you get dozens of those cards and spend 90% of it at one of the launderer's places. they will also care if you are working in a scam organization that convinces marks to send payment as prepaid card codes, and you are cashing those cards...

If it is untraceable and at all scaleable, you can guarantee that organized crime is using it to launder money, and that there will be real efforts to make it traceable.
Circular: We value gold be cause we (banks) value gold.

It's not wrong, but it's not a "reason".
I've been pirating all I can since the first time I got my hands on a computer: from Windows to AutoCAD,etc. Fast forward some years, and I'm the one in the company who decides that we need more and more from Microsoft,so the bills just keep going up. I often download an ebook, read a few pages,if it's any good,I buy it from Amazon. I can't recall really reading any pirated book for more than a few pages, as I either delete it or just get a hard copy.
This is a SUPER important topic. I don't think Dracula Pro would be as successful if it was a subscription. There's definitely a subscription fatigue going on, and people who invest on one-time purchase models will be able to benefit from that
I have a box of n95 masks I bought a few years back while living in Singapore (there is an annual smoke “haze” there from neighboring countries burning forest to clear land for palm oil production). I tried to give them to a nurse to distribute to other medical staff, but they couldn’t use them because they are a year or so beyond the expiration. News to me that masks even have an expiration date.
I agree 100%. Hurricane season will start before we're through this. You've still got tornadoes in the midwest. We could have major storms/flooding. All the normal disaster risks are still here.
Analysing the "Turn mbox into JSON" section

http://paste.lisp.org/display/145050
I'd argue that it should be within our rights to have discussions about breaking laws we don't agree with.

Last week a lot of people were disagreeing and openly discussing breaking the government rules about sending kids back to school which was tolerated by tech platforms. I strongly suspect it's only because this example of disobedience isn't seen as favourably by US tech leaders that they are targeting it.

Selective censorship seems to be the norm on YouTube though. It's perfectly acceptable to push left-wing conspiracies or support violence and looting if it's for a cause like BLM, while right-wing conspiracies or support of violence is quickly removed (perhaps rightly so).

I share your lockdown-related mental health struggles though. I've suffered with depression most my life and one of the few things that helps me is being out in nature, especially if I'm with friends and family. As someone with almost crippling anxiety it's been quite nice not having to go into the office, but in general I've also found it very difficult this year. I was in quite a rough spot a few years back and the only thing keeping me going back then was the support of my friends. Although even then things could have gone either way. I guess I'm grateful this has come at a time I'm more mentally prepared to cope with it all, but I know it's not been as easy for everyone.
I imagine there is a lack of incentive to take on additional 0% loans unless legally required, due to the repayment becoming a loss for not even covering inflation.
”The Fine Article” that this discussion is about :-)
Sid, when can we expect the same thing happen at GitLab?

PS: I'm trailing the comments and it is very interesting to see how this post is turned into a competition about GitLab vs. GitHub vs. BitBucket. But fellas, this is not about tech, it's about the people who use it. In particular about a thriving community of talented and young developers who have been ignored, sanctioned, and betrayed over and over both domestically and internationally.
We have a pretty tight oncall (5 min response time).

I think the steps you can take are:

1. Make it clear to your manager this is unacceptable, and you will end up looking for alternate teams/jobs if this goes on

2. Make the same thing clear to your skip level

3. Quit / change teams, citing oncall as the issue

There's no point of doing anything else, in my experience. It's someone else's job to make sure that your oncall experience is prioritized. It sucks to leave an otherwise good job.

For extra credits - try to propose some solutions. Why are some issues not solvable by engineering? Would simply resetting expectations mitigate the largest issues/waking up at night?
Except that electrolyzers have plunged in cost in way that's catching many people off guard. And 2030 is just 9 years from now. Even if what you say is true, disruption is still within a decade's time. If you wait until that event has already happened before you start investing, then it will be too late. So basically everyone has to start investing in fuel cells right away or risk being disrupted.

I don't think people fully grasp that hydrogen is made from water, and has a theoretical lowest possible cost of almost $0. A tank of hydrogen is just a dumb tank too, not a series of sophisticated battery cells. It's batteries that will have trouble keeping up on cost, not hydrogen. In fact, on a cost per range basis, the latest Mirai is already cheaper than competing battery electric cars. This suggests that the crossover point is nearly reached.

So we should stop thinking about batteries as if they have any kind of permanent lead here. The real missing logical link is ignoring the speed of hydrogen and fuel cell advancement, not the other way around.

What about the PR from big battery and electric car companies? These companies might too be dead within a decade or so. And yes, the hydrogen boosters very much say that fuel cell cars will be cheaper than battery powered cars. Toyota thinks fuel cell cars will be as cheap as the Corolla is today.

Some fuel cell cars use a capacitor instead. You only need 1-2 kWh for a passenger car for that purpose anyways. Probably anything past 100 miles will make more sense using fuel cells than batteries.
That's not what most of the surrounding countries want. Almost all of the Iran's neighbours actively work to keep US pressure on it.
Fuligin was the word that stuck with me.
As soon as this starts happening, hire a lawyer and get as much evidence as you can.
DDIA is a fantastic 2017 book but a few things went from must-do to avoid or at least think about it before doing it. we ve seen big changes into client side frameworks such as angular/react, nosql is less and less seen as something to look for first, scalability got somehow more complex and more achievable with cloud new features, client server best practices evolved a bit too. things like message queues or kafka are not as sexy

is there a good ressource to add on the top of DDIA that will reflect some recent changes in system design?
At least not on any non-experimental release.
The limited empirical data I've seen shows the idea of superstar programmer in terms of efficiency may be a facade, unless superstar is a 1.5-2x efficiency developer (the slides are concise, there's a corresponding paper published I can't seem to find this morning):

https://resources.sei.cmu.edu/library/asset-view.cfm?assetid...