skysight-inc/HackerNews huggingface dataset:
> What are the practical applications of recursion though ?

Traversing and transforming nested data structures.

Just last month I had to write code that maps flat data from one system into a nested structure required by another system.

We wrote mappings as map literals and the code traverses them creating a new instance of the map filling the leaves with data from the input row and running some business logic on it.
My triple screen set-up for effective online presentations
Scientists Have Finally Calculated How Many Hot Dogs a Person Can Eat at Once
The closed form solution is technically O(phi^N), so still exponential. It comes mostly from exponentiation not being constant time, see https://stackoverflow.com/questions/360748/computational-com.... It'll only be constant time if your values fit into a hardware register and you can leverage the exponentiation instructions of your CPU.

There is a O(log(N)) solution involving matrix exponentiation though, if you really need to get the big numbers.
Not just spent, but every loc written adds a small amount of maintenance cost to the TCO. I find non technical people like when engineers use their vocabulary.
The CIA's new license to cyberattack
I think the Atkins diet was low carbohydrate but not low enough to induce ketogenesis.
Diesel-Electric locomotives do it that way because there's no clutch mechanism that would sustain the load being put on it, they have to use the magnetism for load coupling.
Not to ape your message but this, exactly. Element is much better than riot. Now if only I could find it in fdroid or GP.

Joke: I think I'm starting to see the hacker news version of the gell-mann amnesia effect, when you read something you have no opinion of, the hacker news people sound so smart, but when you read something, form your own opinion first, and then arrive at the HN comments to see everyone melting down, you wonder "where did all the smart people go?" 5 minutes later, you are back to being part of the concern mob. :)
Kinda weird right. I guess it shows how little consideration there was for remote working in Australia pre COVID.
I can 100% agree regarding the evolution of etcd as I used several versions of it and the amount of workarounds I had to use on every version went from 0 to "too many moving parts to know whether I will get a call over the weekend".

With gRPC came as well came as well incompatibility of many clients with less popular architectures and as the article describes, being that a super specialization (because that's the only thing that it is), we are losing the qualities that made OSS legendary.
BigQuery Omni for multi-cloud data analytics
How does that work? If it's open source, I can get the source and run it for free, hell, I could even redistribute it for free. What's stopping me from doing this? I assumed it was that the non-free features were distributed under a proprietary license which comes with an invoice attached?
Outlook.com supports Exchange
Comparing the nitrogen problem with the problem of CO2 emissions is apples to oranges IMO:

- Nitrogen is very abundant in the atmosphere and bound nitrogen (i.e. fertilizer) has an inherent short-time value that is higher than the cost of nitrogen fixation (i.e. fertilizer production). So this is something that the market readily solves via technological progress.

- On the other hand CO2 emissions result from extracting energy stored in fossil carbon. Currently a significant part of the energy needs of the whole planet are satisfied by extracting energy from fossil carbon (e.g. burning coal). Removing CO2 from the atmosphere does not have any short-time value to whomever does that. No market force working towards that. Also, removing the CO2 probably needs (depending on technoligy much) more energy than was extracted from the carbon in the first place. Humanity does not currently seem to have any energy sources available to "return" the energy havested from fossil carbon. Good luck waiting for a magical technology that can easily satisfy the energy needs of a whole planet-wide civilization with less negative side-effects than combustion of fossil carbon. Also the deadline for undoing CO2 related damage may be quite close [1] so that any such technologies would need to be available for global deployment within a few decades.

- Climate engineering [2] may be a way to compensate CO2 related damage without having to remove CO2 at all. But again, no short-time benefit to whomever does that and all available technologies would also incur immense cost and do not evenly undo greenhouse-gas induced temperature changes over the whole planet (plus all the other possible side-effects)

[1] https://en.wikipedia.org/wiki/Tipping_points_in_the_climate_...

[2] https://en.wikipedia.org/wiki/Climate_engineering
That's a bold claim. You can very much solve Fibonacci with recursion efficiently. It's just not in the naive way. (You can look up "accumulator")
Mattermost PM here, thank you for the feedback! We are exploring the ability for users to choose if they want to collapse threads.

We’re very excited about it and are currently testing prototypes with the Mattermost community and some customers, with development starting soon after.

We'd love for you to join the Folded Reply Threads channel (https://community.mattermost.com/core/channels/folded-reply-...) on our community server as we share progress updates and gather feedback.
> One is a statement made by a candidate that is at best insensitive to people of different races.

It sounds like the parent thought the dev wouldn’t fit in with the other team members and so didn’t hire him.

> The other is a poorly specified scenario where a black person does not fit in?

It’s hard to fit in when you are a small minority.
Excellent blog
“Blue Eyes, Brown Eyes” – The Return of Jane Elliott
Apple Wins Major Tax Battle Against EU
>> Not to start a flame war over book choice but forcing kids to read the Bible, Homer's Iliad, and Shakespeare are probably what is causing such marked disinterest in the first place

In my experience what's causing young people disintrest in reading is that noone teaches the physical skill of reading correctly.

I mean, I never really took any speed-reading courses, but still, when I take a test my speed is usually 400-500 wpm. I read somewhere that typical high school student reads about 100-120 wpm. If I were to read a lenghty book, like any of Dickens of Tolstoy works at that speed I would probably also give up very quickly.
I'm not sure what it is with companies just picking a name from the English dictionary. You could be a little more inventive and come up with something either foreign or new-ish. Even a wrong but witty spelling of an existing word would do, but things like Apple, Amazon, Slack, Bird, Riot, Glassdoor... come on.

Not to take away from the tremendous work they're doing but that name really isn't good.
> In the health insurance industry, for example, many insurance portals offer one account that has to be used by a team.

Sorry, but are you kidding me? Do these companies pass security audits?

This only shows that security is near the bottom of the priority list for these companies, probably right above privacy.
I’m not sure it’s my fault that a bunch of racists replied to this that you had to moderate.
> Why would that be?

One password that you send to the server to authenticate.
The other is a passphrase used to seed an encryption key for the data you store on the server securely in a manner the server has no access to.
Copilot generates CloudFormation templates based on the Copilot-specific config files. There’s a place where you can add your own additional resources in CloudFormation syntax IIRC. It also has the ability to create a CodePipeline for app deployment. That creation is also done by generating a CloudFormation template and deploying it for the user. I’m not sure why it’s not clearly documented that this is happening, but it is a selling point to me because if I want to, I can “eject” from Copilot and just maintain/enhance the CloudFormation templates.
What Happens When You’re Disabled but Nobody Can Tell
The people who want to use apps that violate American morals win, that's enough. Sure, there may be a shitstorm or two, but that will pass once people get used to the law.
Discord may be starting to regret their own name as they finally move away from gamer-centric branding and start broadening their marketing.
Swedish authorities did a study about this for that very reason. The conclusion was that it's unlikely that people will want to move halfway across the World only go get a job changing old peoples' diapers.

Alas, the PDF seems to have been taken off-line.
This name is not mediocre, it's sub par. It's not searchable, memorable on its own or memorable in relation to what it's for. You need at least one of those.
How to bargain online before booking a travel package? 5 BEST TIPS
For some values of "easily" and "fixed".
Mattermost PM here - we are actively working on improving threads, would love to hear your feedback!

Would you be open to sharing them in our feature proposal forum (https://mattermost.uservoice.com/forums/306457-general/sugge...) or join the Folded Reply Threads channel (https://community.mattermost.com/core/channels/folded-reply-...) on our community server?
The accidentally resilient design of Athens apartments
Congressional Request To Apple: Warn customers of risks of foreign apps [pdf]
If society is set up to serve up what's coming to people that lie, cheat, and steal, then and only then do they get what's coming to them.

McCarthyism style snitching would be making vague and unspecific accusations towards ones personal enemies; making evidenced accusations of wrongdoing out of a sense of responsibility is pretty much the opposite.
The analogy here is: "Imagine making a new, incompatible protocol and NOT fixing the 'Referrer' spelling error, because the old protocol had that spelling error"

Python 3 is the version with breaking changes from 2.x and while stuff is being broken, they decided to fix the print statement.

Python 3 wasn't invented to fix the print statement.
>>I just doubt the "not illegal, not unethical" explanations.

They are not killing or aborting anything. They are opting to not have kids. Another section can opt to not even have a single kid, or not even marry. None of this illegal, or unethical. It's not exactly a crime for opting to not have kids, or refusing to marry.

>>Is it the conception of male children being more likely?

Yes. Because it's being carefully done so. On the very larger view of things, birth of a boy vs girl appears random(Or by your admission slightly skewed towards boys) if left to nature alone(that is precisely equal percentages). But on individual couple level, very clearly some couples only have boys, and some only have girls. Some have 1 boy and 1 girl. Some have 2 boys and a girl, and some 2 girls and a boy. This is for 1 - 3 kids per couple(The avg Indian family). The ones that are only likely to have girls, or more than one girl, are now opting to not have anymore after the very first one. The couples who now have 2 - 3 boys will struggle to find brides.

Your argument about randomness doesn't hold at the individual level. And the balance that needs to arise at a larger level doesn't work if the rules of impartiality are not adhered equally by each participating couple.

>>we have very good evidence that about 51% of children are conceived male.

That is if you leave nature to take its own course, of course.
The same people are ok with using government provided GPS and drive on government provided roads.
I feel like these are poor choices.

* linked lists shouldn't be used anyway. and if they are used, you should use the standard implementation

* directly applying fibbonacci is trivial.

* sort: This is just a memorisation task, what's the point? (99% of the time, you shouldn't implement your own sort)

although, I agree with the open-book approach in the problem solving part.
How much would the average takedown cost the victim then?
I think the parent poster is trying to make the point that it's unreasonable to ask people to pay attention.

In any case the fault is most certainly not merely marketing, it's a fundamental design flaw. You cannot expect people to maintain constant attention when that attention almost never leads to anything; people simply aren't capable of that. That's also why similarly "boring" tasks are so failure prone (e.g. https://www.forbes.com/sites/michaelgoldstein/2017/11/09/tsa...) and why all kinds of creative measures are needed if you really need people to stare at stuff looking for black swans until their eyes glaze over.

Better marketing is not a solution to that problem. That's merely a solution to the fraudulent advertising (also worth solving - sure!)
Thanks, an interesting paper. I wrote a word-wrapping algorithm once so this will be a good read to see how bad mine was.
Even if we completely stop all manmade CO2 emissions right now, there still is too much CO2 in the atmosphere already. Actually removing the CO2 from the air in some way will be necessary if we want to stop global warming from getting even worse.
HIPAA Grouse
A side-project jam where we'll buy you a domain, and be your first customer
Solution for this is already seen somewhat. Basically the rich will get brides, settle for somewhat less dowry.

The mid to lower middle class people neither get brides nor dowry. Poor manage some how.

I have even seen people these days waiting till age 35 - 40 for brides to get the right match(that is everything else plus dowry).
I always wondered how plumbuses got made.
"pay what you want" feature is too risky, but quite interesting and affordable. Just curious - How do you think how many companies will pay more that $1?:)
Clarifications on Deep Dive: NewSQL Databases
Show HN: Bizzfect – business social network built without code
how else could you do it? you expect bureaucrats to inspect the hardware themselves?
Thanks for the clarification! Just wanted to ask about this and noticed that my question is already answered.

So that's a combined population of ~4,8 million, which is only about 5,7 % of Germany's total of ~ 83 million...
I would also add 3) analysing the Bible as the source of many literaly genres.
With URLs like that, it makes me wonder if they are telling the whole story.

I don't understand why people make science "pointed"? Do people get extra credit for not being the status quo?

Heck all I want in Nutrition is some objective data. Someone be that scientist.
I actually wrote a very similar article recently: https://algodaily.com/blog/does-studying-for-whiteboard-inte...

I'm not sure how people in the comments are saying that the "advanced stuff is never used", when the author used the A* search algorithm at work! I'm especially fond of this passage:

> You should also know about basic data structures that are pretty common, like hashtables, queues, or stacks. But specific algorithms like Dijkstra or A* are not ones you'd need to memorize: you'll have a reference for this, just like I had when implementing crypto.

Everyone complains about the lack of applications for these interviews, but there's not really an expectation to go beyond the fundamentals.
Nope, with that too [1]. It seems to come with the territory.

[1] https://business.time.com/2013/03/19/why-the-better-business...
I hope that humanity doesn't grow until we actually have that room beyond Earth available to us. Martin Rees believes with a vegan diet, no travel and spending most of the time in VR, Earth could sustain 20 billion people.

We're already using resources in an unsustainable manner. Human greed will keep it that way.

Now, once we have those O'Neill cylinders out there, sign me up! Just building a single one in space is going to require an incredible amount of resources, however.
Hmm, this is the kind of software I'd sooner the developer have a liability for rather than "You get what you pay for" when my passwords are leaked.
The downside is that if there’s one thread with active discussion, everything else gets buried.
> I'm now desperately wishing for a world of OCaml/Haskell, but where are you going to find teammates using those?

Having walked that way I can recommend you to look at F#, and if you aren't a solo developer (or you want to get real regarding jobs and colleagues) make sure you do not have allergy to C# interop.
So many of these comments just feel like bikeshedding.

By most arguments here basecamp is an awful name for a company and hey is a terrible name for an email application - it doesn't seem to be holding them back though.

For those not familiar with bikeshedding
please see: http://bikeshed.com/
generics with begin and end?
About 11 years ago (I think) I switched to the Colemak layout. It's a pain to switch at first but you do quickly get used to it.

That forced me to always touch type, a good thing. It also has the advantage that the layout is pretty consistent across physical keyboard layout.

That's not the case for UK Qwerty; UK Apple is different to UK ISO is different (obviously) to ANSI. Where as Colemak is pretty consistent. So it's been helpful when moving between machines and OSs.

...it's also been the generator of hilarious memories, such as when someone changes their layout to Colemak for me to type something and then we logout their machine and discover they can't type their password or change layout back to Qwerty. Ah, good times...
Show HN: Gact/Key
This is kind of dumb because most of the examples just involve built-in language implementations or libraries that implement the stated algorithm.

For example if you use dict a lot in Python, that’s not at all the same as writing your own hash table with a custom chaining or probing algorithm for collision resolution.

The original quote from the whole homebrew saga is talking about needing to seriously implement these algorithms entirely yourself for a task. It was not talking about casually knowing a few fundamentals you loosely keep in your mind while using built in libraries.

Whiteboard hazing trivia interviews are also all about obscure implementation specifics, and they are not at all about knowing the coarse fundamentals. That was the entire point of criticizing Google’s parochial barrier to entry hazing crap.

While this author’s stated experience is cool, I think they entirely missed the point of what they are responding to.
Slightly o/t but would anyone know an XMPP browser client? The focus here wouldn't be so much E2E encryption/OMEMO but having a persistent chat. Like in a simple traditional chat log (with the option to create new "elements", of course).
I agree. If this trend of pouring of billions of $$$s of Big Tech money into the Jio platform continues, it won't be long until Jio becomes the monopoly in the country, especially given the founder's proximity to the current administration. [0]

And imo, even though this is bad for overall competition and culture of innovation in the country, this is a smart move by both Facebook and Google, especially given the recent backlash against Chinese tech and software, which have come to dominate India's tech scene; Indian government quite recently banned almost all the popular China-origin apps [1] and there is a growing anti-China sentiment in the country. I feel there has never been a better opportunity for Jio to step up its game and fill in the void left by the government-mandated bans, and from that perspective, these investments from the Big Tech firms make sense.

[0] https://telecom.economictimes.indiatimes.com/news/contracts-...

[1] https://techcrunch.com/2020/06/29/india-bans-tiktok-dozens-o...
Are you saying that Apple doesn't pay VAT?
But they don't exist at the moment you make them, so before they exist you have no reason to sacrifice anything for _them_ because there is no _them_.

If you give up a job to move somewhere to move to a city to meet your future partner, you didn't sacrifice your job for them, at least not in the sense that any nobility can be derived from that act. You gave something up, yes, but not for _a person_ because you don't even know them yet. You can make sacrifices for a person that you have personal love for, but you cannot have personal love for someone who doesn't exist yet.

Once the children exist you can make sacrifices for them of course. But at the moment of choosing to have kids, you are not making sacrifices in the same sense (unless you are having kids for the good of society etc.). So deciding to have kids, even if you have to give something up, is not some selfless or noble act, as parent said.
Or a basically finished joint
Blame it to the abundance of endocrine disruptors in the ambient. Thyroid problems are in an all time high, specially in women.
Have you seen aws-cdk or pulumi? Does exactly that with TypeScript to boot :)
Ecoterrorism, I’d guess is the idea. Especially since it’s attached to a mini manifesto.
What Is in the Future
Earth had the ingredients to allow Humans to evolve. It is possible that Universe has the ingredients to evolve a cosmic body with consciousness. Starts of with the development of a membrane around a massive cosmic body, which has the ability to resist gravity. Inside this cell, evolves a nucleus and the tools(Galactic RNA and enzymes etc) of communication.This may take a very very long time.
You work on this?

Writing storage engines for MySQL or even Postgres isn’t that hard.
You were raised to a healthy adulthood, and educated you to a point where you are internationally employable. Your parents/neighbors/society didn't have to do that. There are a lot of places on this earth where mom and pop would have sold you into the sex trade or worse. After all of that, skipping off to Indonesia to get yours just sounds kind of mercenary to me.

Blue collar vs white collar makes no difference. I'm not really interested in bringing more mercenaries to my country. Instead of building-up the place, they will operate just like the paperclip maximizers that employ them: flee to another country as soon as the market changes.
The agreement was made in the 80s and it single handedly brought Apple to multiple locations in Ireland instead of other European countries. I believe Apple is one of the largest employers in Cork.
A Canadian Province Killed 463 Wolves for No Good Reason
Can You Measure Developer Productivity?
Do you realize what Wt does is exactly the same thing PHP, Rails and others do and have been doing for decades?

So:

1. It does scale and it's easy to scale. In fact, one of the use cases of Wt is massive applications (e. g. Facebook apps)
2. No, it does no interfere with client's ability to decide how they want to present the information. What Wt does is the same thing any other web toolkit is doing: gracefully degradation, fallback, etc depending on your browser, browser version, and whether you have JavaScript enabled or not
3. How is Wt's output not interlinked, clear-text, markup which the client renders?

It seems you only know Angular, React and other client-side toolkits. The server-side approach has been (an is still) working for decades, do not disregard it.
Corporate taxes are idiotic. Companies relentlessly dodge them and then individuals can argue against proper capital gains taxes under the BS of double taxation. Just get rid of corporate taxes worldwide. These court battles are such a waste of time and energy.
Steve Jobs Interview – Moving to Ireland (1980)
If Python wants to come closer to a functional style of programming, then they should allow inline lambda functions which span multiple lines and still follow the normal syntax (i.e., escaping newlines would be cheating).
Even as someone who has kind of been following along with Matrix development and this renaming thing, this post is really confusing.

If you go through a major rebrand, you've probably spent something like 1000 hours thinking about names and what they mean.

Your users haven't.

Get someone else to write the explanation of the rebrand. You can't do it yourself when you're too involved.