skysight-inc/HackerNews huggingface dataset:
Here's a better explanation of the visitor pattern than Wikipedia: https://sourcemaking.com/design_patterns/visitor

^ Helped me understand why-on-earth anyone would introduce this pattern
Yeah, I'd like to know more about what it can do.

Can it optimize sequences of shuffles?
If so, it'd be worth a try, even if it takes hours (probably doesn't take that long?), I could let it run until it finds faster sequences than what I have now, and update my code.

But for it to be worth the time for me to figure out how to install and use it, I need some sort of expectation for what I'd get out of trying this instead of something else.
LOL, I cannot get enough of this shit! Can you point to some cool implementation tricks that you used to achieve that? I guess there's quite a bit of ## concatenation to create temporary names and stuff?
23andMe to Go Public via Virgin
- proper strings and arrays, bounded checked by default.

By the way, it doesn't need to be Rust, there are plenty of alternatives, some of them like NEWP and PL/I variants are about 10 years older than C.
Regarding the installation of self-contained tools, this is a problem already solved by pipx, which is very simple to use. I wished such a system was included as part of official python installers.
It goes the other way with Kraftwerk, that released every single album both in German and English, except for Tour de France which is appropriately available in German or French
Top New Year's Resolutions 2021
As the new year approaches, it's time to look over the past year and choose what you want to change about your life in the new year. For many people, New Year's resolutions are an opportunity to make a clean page.
DevOps Engineer: the one with a holistic view
As a job function, DevOps is still in its nascent years but has been showing great results. In addition to improving collaboration across development and IT teams, DevOps also enhances reliability, scalability, security, and speed throughout the entire process of software development.
This article explains the main responsibilities, tools and what to expect!
Quite - I wasn't meaning to imply that I thought it was a good idea!
Ignoring your no true Scotsman, you're insinuating that essentially either airlines/cruise/rail/trucking/etc are managed just fine, or there's no true conservatives still in power.
In some ways content was more discoverable back then. There was less of it, and it was objectively harder to get it online thus making the quality higher for the stuff that was there.

Plus Web Directories, and Link lists where IMO better than keyword searches. They allowed you to find and follow topics faster.

The explosion of content and google has made discovery harder unless you are one of the Top sites or platforms. All it takes it being on one of them, not being a good quality content.

Want to sell a widget, you better sell it through amazon because chances are Google is going to index those results as the Top Results not your webstore. Even manufacturers that want to sell direct have to also have Amazon stores because the Amazon listing is the one of the only ways to get a top search spot
Eh, I would count this just as some people not being comfortable with the social changes happening.

If you look at most of the pop culture that comes out from East Asia, the typical male archetype seems to be gentle, boyish looking men who are chivalrous and act cute at the same time. Typical masculine features like beards are generally considered unattractive on males. I guess, some people might not like it.
Too often that I find the C extension projects introduced here on HN would omit examples for dynamically allocated objects. In the binary tree example, apparently I can't just memcpy an existing tree to a malloc'd tree because the nodes would point to the ones on the old tree. I was halfway writing a copy function that recursively traverses the source tree,

void copy(BinaryTree *dest, const BinaryTree *src) {
match(*src) {
of(Leaf, x) {
*dest = TREE(Leaf(x));
}
}
}

then realised that this still points to a leaf on the stack. Need a way to replace all the pointers to be relative to the destination tree...
Not GP, but it is. Chinese believe that the govt has to have a heavenly mandate to rule over them, and that when they lose favour with the heavens, they end up in decline. And Chinese govts know fully well about the cyclical nature of government in the country. If you see recently, most of the moves by the CCP recently have been to advance the image of Xi as the modern equivalent of an emperor.
https://mediacenter.23andme.com/press-releases/23andme-merge...
Which could be done with a little help from std::any, just as info for others.
Well, mostly I use idioms from the Cloak Wiki (https://github.com/pfultz2/Cloak/wiki/C-Preprocessor-tricks,...). It takes some time to realise them :)
The process is also not difficult for individual developers. Most of the steps to publish on Maven Central have to be done only once and there is good documentation about how to do it. Meeting some minimum requirements, such as proving namespace ownership or defining a license, improves the quality of a public artifact repository significantly. Who wants to use artifacts from a repository where everyone can just dump their stuff whithout any checks? Or who wants to use software that is based on such dependencies? Although Maven Central is not a perfect place either, you can at least be sure that the artifacts there meet some basic requirements.
Just use asciidoc.

E.g.

- https://github.com/Mogztter/asciidoctor-web-pdf/tree/master/...
- https://asciidoctor.org/docs/asciidoctor-revealjs/
Yes you're using nested venvs you're really making it harder on yourself.

Way way harder on yourself.
I’m pretty sure that a lot of cash tips go unreported as income, which many recipients see as a feature.
At 83 internet shutdowns in 2020, India holds dubious world record
I am probably in the minority, but my experience is the complete opposite. I had more trouble trying to set up a gradle project in university than I ever had with Python.
Hollywood does this with productions from other countries, for example "City of Angels" [1] for "Der Himmel über Berlin" [2],
or "Vanilla Sky" for "Abre los ojos" [4]. And not only do the use American casts, they re-shoot the whole movie.

The result is inferior most of the time.

[1] https://en.wikipedia.org/wiki/City_of_Angels_%28film%29

[2] https://en.wikipedia.org/wiki/Wings_of_Desire

[3] https://en.wikipedia.org/wiki/Vanilla_Sky

[4] https://en.wikipedia.org/wiki/Open_Your_Eyes_%281997_film%29
Very interesting, if it has indeed the video capabilities that Shairport (& shairport-sync, ...) lacks.
And this is how the fear of subtitles began...
When I read it my first thought was: "damn no one wants to host them they are trying to convince someone to host them by having a huge invoice"
> Those big cases where an existing app gets dinged are often justified, but are also extremely rare.

There have been many cases ( like Hey ) where Apple justification for removing apps was "We saw you're making money, therefore give us money, even tho we provide zero added value".
Yeah, I read that too and thought he made some good points.

I probably should have been more careful to qualify my enthusiasm above. I’m definitely not suggesting that everyone that has a Python packaging problem should go out and solve it with Docker. As with all things, there are trade-offs and you should satisfy yourself that Docker is the right tool for your particular problem before diving in.

I just wanted to highlight the fact that - as a VS Code user who has some experience with Docker and writes in a couple different languages and ecosystems - I’ve had a great experience with this modality and find that overall it simplifies my workflow.
Dunfield 6809 Portable
Very valuable. Do other DBMSes have this feature? It’s quite incredible how much you can put the database to work. So much less application code to write.
Agree 100% RSS was one of the best things in the open web. I use it everyday to browse through headlines on my favorite sites.

Here's what I use to view my RSS feeds: http://freerss.robdelacruz.com/ you can use it to drag/drop and rearrange your feeds into an album like layout.
No, this is nothing like lightbulbs. If you take the complaint at face value (limiting ad tracking for others more than yourself) it is a classic antitrust case: leveraging your earned position in one market to gain unearned advantage in an unrelated one. This disrupts the efficient functioning of markets, which makes it a problem.
I started just right I suppose. My first modem was 28k. Windows 95 was just out (I had used win 3.1 a bit before that). Slackware was my Linux distribution. I was in high school. Doom was just out. We made Doom maps and dialed each other up to play. My kids are 14 and 9. I am CTO at my own small consulting firm now.

I’m no industry titan, but I have been around the block. Many came before me, but I have seen the modern Internet rise from almost nothing. We all have to start somewhere. I still use Reddit, guess I am too old for it, but I started when it was all about programming, and had just launched. I was a developer first, but also a sysadmin for a startup. Did that from 2000-2006, before we called it DevOps. Someone had to keep the servers up. I was huge into MUDs and coding/building them... I actually kept track of a couple of the people I played with over all these years, but only a couple.

YC, Paul Graham, and the entrepreneurial spirit is built into me now. I read every Pg essay when it came out. In my career I only worked at a larger company for a few years in my 22 year career in tech this far. Tech is weird some days.

Now get off my lawn and all you kids stop using NoSQL and JavaScript and quit writing electron apps ;)
Reading that just reminded me of why I hate OOP so much. It's confusing.
That someone is perhaps a member of the Chinese People's Political Consultative Conference. I think a close equivalence is an MP in the UK or a congressman / congresswoman / senate in the US.

They make proposals on various aspects of life in China. Those proposals aren't official policies.

BBC should really have done a better job here.

It is also funny to see the top thread a few minutes ago quickly developed into something like military might and "China must be stopped".
Big fan of RSS. Feel free to try out my RSS reader tool: http://freerss.robdelacruz.com/

Drag/drop rearrange rss feeds in an album-like layout. Open source too.
seriously. What next, Jeff Bezos can throw around 100 million without being accused of corruption because it's such a % of his overall worth?

I can't even think of a way that attitude makes sense.
Like a lot of functional programming writing, this piece seems impenetrable because it comes at a problem from a peculiar angle: given that I have this hammer, what nails can I hit?

Starting from the recognition that there’s a trick you can do with typed lambdas to represent ‘types’, it then proceeds to show that you can use pattern matching on those ‘types’ to implement something like the visitor pattern.

It never even comes close to showing what that wins you. We found a gang-of-four shaped nail. Done.

But the thing is the visitor pattern is a response to a particular problem: double dispatch. You have some logic that needs to vary based on two different types. The classic example is a game where you want to calculate damage effects for different kinds of attack against different kinds of monsters.

If you start from a problem like that, the visitor pattern turns out to be useful (but is not the only way to solve it).

It’s possible - hard to tell from first reading - that what this article is actually suggesting is that Church Encoding can be used to solve double dispatch problems, by letting you encode a visitor pattern in a particularly elegant way.

Which would be a much more interesting insight!

It’s far more likely that you are facing a double dispatch problem and looking for a programming tool to solve it with, than that you have elected to use Church encoding to build some types for some reason and are now looking to determine which gang-of-four patterns you can implement in your new type calculus...
This suggests he is representative of the people, or that the people are allowing themselves to be dominated by a strongman.

I don't believe that, any more than I believed that America would just get another Trump, after Trump.
The question is why it's installed by default?

Also why would the admin in Raspberry Pi forum remove threads related above issue.

It's suspicious.
Dido Harding tries to convince MPs that £14m for canned app was money well spent
JavaScript's package management is significantly better than Pythons:

- There's one tool to use, and it comes pre-installed

- You don't have to deal with virtualenvs or packages from different projects conflicting.

- Native code dependencies "just work".
> Also, Hua wei isn’t the ccp. I’m sure there is influence for sure

Actually, the CCP controls all companies in China, and has agents on site in each company over about 40 employees. The founder is PLA, which reports to the CCP.
Much of the enjoyment of the meal is predicated on good service though.

Were the dishes served appropriately together or was one person’s salad served 5 minutes after the others? Were the courses paced appropriately? Were the drinks continually available? Were the main dishes served hot and together?

I don’t need a server asking me every three minutes if everything is okay, but I do need them looking things over and ensuring that the things that would negatively affect any diner’s enjoyment are being silently taken care of.
Upthread there was a claim by evgen that the way the US vs Soviet approach to the space race had been characterised by mempko was incorrect, and that the current safety of the Soyuz was (at least in part) paid for with the lives of cosmonauts.

You go on to state that Russia beat the US into space (which is a non-sequitur), and later expand that "The USSR, had it not had to fight a cold war against the US, could very well have been a much better system not just for space flight, but for a way to structure and run society in general."

When challenged by alentist, who asked "why did the USSR and its satellite states have to systematically mass murder people who wanted to leave this wonderful society?" you countered with "If it was such a bad way of doing things, why did the US actively go out of it's way to sabotage it" which is moving the goalposts, and starts to slide into whattaboutism.

Specifically you claimed that the USSR "could very well have been" a better way to structure a society, and alentist provided strong evidence that it was not - people were murdered when they tried to leave. Instead of trying to prove your point you deflected, and shifted the goalposts from "this could very well have been a good system" to "the US didn't like it therefore it couldn't have been bad".
Yeah, I was about to say they came out around the same time. Even Doom and Quake is only three years apart, but I feel like it was much more. Maybe because I was younger at the time.
That paper reminds me of Connections by James Burke.

High incomes leads to better spending on food leading to more cattle production leading to more soy use and more dairy consumption, which leads to more intake of oestrogen in water, leading to lower testosterone counts in consumers, leading to lower fertility rates.
From what you quoted:

> we suggest a type constraint any that is equivalent to interface{}.

That's my point. They chose the keyword any to disambiguate the type constraint interface{} from the type interface{}.
You are assuming there is a "project", but Python code with massive dependencies can (and often should) be a bare script in an arbitrary folder that runs by invoking the Python interpreter on it, without "installing" anything except missing dependencies.
Wannahireme jobs – Latest curated remote jobs as per your preference
Pangloss, who was as inquisitive as he was argumentative, asked the old man what the name of the strangled Mufti was. ‘I don’t know,’ answered the worthy man, ‘and I have never known the name of any Mufti, nor of any Vizier. I have no idea what you’re talking about; my general view is that people who meddle with politics usually meet a miserable end, and indeed they deserve to. I never bother with what is going on in Constantinople; I only worry about sending the fruits of the garden which I cultivate off to be sold there.’ Having said these words, he invited the strangers into his house; his two sons and two daughters presented them with several sorts of sherbet, which they had made themselves, with kaimak enriched with the candied-peel of citrons, with oranges, lemons, pine-apples, pistachio-nuts, and Mocha coffee… – after which the two daughters of the honest Muslim perfumed the strangers’ beards. ‘You must have a vast and magnificent estate,’ said Candide to the turk. ‘I have only twenty acres,’ replied the old man; ‘I and my children cultivate them; and our labour preserves us from three great evils: weariness, vice, and want.’ Candide, on his way home, reflected deeply on what the old man had said. ‘This honest Turk,’ he said to Pangloss and Martin, ‘seems to be in a far better place than kings…. I also know,” said Candide, “that we must cultivate our garden.’

-- Voltaire, Candide
Japan. Phenomenal service every single place I went and some was so good we tried tipping only to be chased into the street to have the “mistake” fixed.
Scissor or articulated boom lifts. From $90 / 4 hour hire, and up very quickly.

Edit: sorry, is that 75 "feet"? If so, no can do with a lift, they top up at 60 feet (20 meters).
Slashdot is still around. It’s amusing when I find old Slashdotters I know in the wilds of the Internet. It’s effectively gone though.
Are we all living in the Matrix? Behind a documentary on simulation theory
The BBC is very quick on jumping to anything that can portray China in a negative light at the moment.

Now, there are many things that do, but a more prudent and balanced approach with more research would serve the BBC well.
we as a society will move on from it at some point. It's not really about winning the cultural war, it's about the elites manipulating the population and thus using the language du jour.

20-30 years ago it would have been about family values, christian values, and down with the gays. In 20-30 years it'll be something else, but what won't change is those in power stay in power.
And some of the best jobs in finance (9 to 4, regular hours, high pay, stability) tend to be in family offices too.
Basically this: https://getmemex.com IIRC
github really needs to add R Markdown Notebook rendering support (that's the ones that end in extension .nb.html)
Fa Loon Gong pays big bucks if you're willing to sabre rattle for them.
But that's what we call a mountain :-)

Is Silicon Valley actually a valley though? Isn't it a plateau? We have plenty of those.
This isn't specifically the job of the architect. Any idiot can explain how the tool they built works. So the software engineer or the product manager can do this as well. Explaining how something works is not a magical skill reserved for software architects.

What is a skill reserved for architects? If you find yourself spending 100% of your time creating a powerpoint to explain things in a way that makes you sound smart and takes all the credit away from engineers then what you did there is a skill exclusive to architects.
Ad-fraud is a disturbing reality. HN's anti-business consensus is a disturbing nightmare.
> Whatever China does lately seems to be

... doing what countries run by a dictator tend to do. I don't think we fully understand how much Xi Jinping has changed the PRC. The Chinese system was already autocratic, but Xi turned it into full-blown dictatorship. There are no balances to his power, there is no limit to his rule, there is no incentive for anyone in China to oppose anything he does or to develop alternative political lines. This situation requires an increasing amount of chest-thumping to justify itself.

> must be aware that one day, one of their client countries will rebel

A lot of these client countries are not even in Asia, and the Chinese have never been "expeditionary". Their force projection is typically limited to their close interests. The PRC leadership has traditionally played the long game, but justifying a dictatorship has costs that must be paid for; Xi needs to show gains in a much more overt way than his predecessors. That's basically what it is. From what I can see, their only major objective is still to get the South-East off American control, and that will be it.

> The question is what is the rest of the world going to do.

You're already seeing it: periodic waves of anti-Chinese action in civilian fields. Full-on cold-war seems fundamentally impossible in a world where most "Western" money effectively runs on items manufactured almost-exclusively in China - which is not just "a major industrial power", it's effectively unique in whole sectors and dominant in others. "We" will continue with the tit-for-tat and occasional offensive like on 5G.
A Devil of a Time: How Vulnerable Is NTP to Malicious Timeservers? [pdf]
Nice to meet you! I was a paying customer about 9 years ago. Enjoyed the service. It was the best hosting platform I could find at the time that served my needs. I remember calling in support one time, a guy answered, and I thought "gosh, sounds like someone working out of their bedroom". Congratulations!
What's that advantage of using markdown? html is far more expansive in visual options.

Not Everything needs to be markdown.
This is not intended to be a justification for why I don't want to pay for this service, it's intended as honest feedback about the shock I had seeing the price, and why I think it might be, in the hope that it helps the team iterate their offering.

This price feels wrong, and I think part of it is the pricing of the other similar sorts of service we use for our app, and that I suspect others use.

Ultimately this service and the others are about improving reliability and quality in some sense, so while different markets I think they are comparable as teams can opt to focus on quality in different areas.

- CI, we pay $100-200 for this, and it obviously consumes a lot of compute resources and needs to regularly. Price feels ~reasonable.

- Crash reporting, we pay <$100 for this. It scales with user base, and while low cost per user this does feel like it has some scale to it. It's also essentially user-facing, so very high uptime requirements.

- Code coverage, $5. It's basically a few database records behind an API with a special interface. Feels like it's worth very little, but fantastic price, worth it. Also coverage is similar metric to app size – a small change is probably ok, but long term trends are an issue, so in a way it provides a similar type of value.

- And then we come to this. $500. The analysis is a complex bit of code I'm sure, and the company should be able to charge for that, but there isn't compute, (significant) storage, or high SLAs as a necessary part of the product. It feels "wrong" next to these other services.

I think all of these feelings roughly boil down to intuition around the cost of goods sold (COGS). Logic that has already been written has a low COGS, and while that doesn't mean it should be free at all, it does make it hard to justify over being, say, a standalone piece of software that one buys once. Perhaps a way to circumvent this is to go hard on the constant evolution of the platform as Apple changes their technologies.

Maybe this is all from the viewpoint of someone who would likely be on the free plan! And so maybe this is a non-issue, but we'd happily pay for this, it just feels like it's a $50/mo service not a $500/mo one.
Why R Users Should Tap Python to Up Their Programming Game