skysight-inc/HackerNews huggingface dataset:
I think someone's ability to understand and explain recursion like am a child is very undervalued. It's not about testing whether you know the base case or the fact that you write less lines of code in recursion but the fact that there is a built-in stack for you to use without creating one.

What are the practical applications of recursion though ? Other than sorting and DFS ( well even DFS can be done iteratively with stacks ). I'll be curious to know.

I find testing for HashTable/HashMap knowledge to be far more practical than testing for LinkedLists simply because you can't escape HashTables in today's world.
Please support DDG!
We tried to trademark Element and another generic abbreviation as a combined name and even that was not possible. The german trademark bureau just sent us printed wikipedia articles of both words as "proof" that it's not possible.
Household names for a very specific set of households :)
Even if your code is written in English, some text still has to be written in your own language (in particular, anything the end user will happen to read). And, although you can write English from a (say) French keyboard, writing French from an English keyboard is a PITA.
Ironically, it is cheaper to have "more stuff" than to have "less clutter, more experiences!".
Kind of strange that the Trump administration would pull back on this one considering they locked up kids of illegal immigrants in cages ... there must be lots of GOP Harvard alumni then.
I agree with you. The message is mixed. You shouldn't have kids because climate change / woman should go into workforce, yet on the other hand we need people to support our eldery.

So which is it? You can pile up immigrants to support eldery, but why don't we work on baby boom within our communities? Why don't western woman have 6-7 kids, like their African counterparts?
I propose hexagonal storage pods. Even though the bees may be gone, we can carry on their legacy.
> You are dealing with a society that's ridiculously good at not having daughters. A practice perfected for decades.

I agree. I just doubt the "not illegal, not unethical" explanations.

> If you have families where 3 boys are born in a series, and a family on the other hand stops at the first daughter. Or a family that has 2 boys + 1 girl - Compared to a family having just one girl. Do this for a billion people, and you will the see things start going real bad soon.

No, this is precisely the kind of "family planning" that mathematically won't be able to affect the expected gender ratio at all. The ratios are skewed in India, but that's definitely caused by something else. Is it the conception of male children being more likely? No, probably not, we have very good evidence that about 51% of children are conceived male. So it's caused by something else. Selective abortions would be my best guess, but that's not "not illegal, not unethical".
Court sides with Apple, Ireland in appeal of €13B EU tax order
Google was also clearly[1] acting in bad faith:

> Google claiming that the complaint has no basis since it was brought against Google Belgium while the data controller is Google LLC

Nobody cares how many shell companies you try to hide behind.

[1]https://www.dataguidance.com/news/belgium-belgian-dpa-fines-...
The latter, as I always mention, platform languages always have the edge even if not as fancy as guest languages.

In the context of Docker and k8s, Go is the platform language so to speak, and although there are extension points for other languages, one has less integration headaches when using Go as well.
Use Accelerate Kit to calculate PI number
One Trillion Connections – Nebula Graph Database at WeChat
Thanks, I usually refer to them as immutable, haven't actually come across the term persistent for these, but seems sensible.
I play classical piano, it's really just not the same hehe. At least, the consumer technology is not quite yet there.
Agree entirely.I see this being implemented as a column type on analytics DBs such as Snowflake or Bigquery (feature of a bigger product) rather than a specific DB designed for ML.

The reason being that as you pointed out, this would be most useful for "easy" problems. These problems live with analysts who are using analytics oriented DBs as part of their Business Intelligence workflow.
I can vouch that I avoided deploying it in corp environments due to the questionable name. "Element" is fine and is generic just like "Matrix". So name really does matter (specially in formal/corporate environments).
This is the correct answer. User-controlled blocking systems will work well.
A Review of Soviet Celestial-Mechanics Literature
That's not how natural selection works. Most of us want sex because of that gene. But we do know about contraception, which natural selection knows nothing about.
> - lack of mobile apps has not been issue

Why hasn't it been an issue? How do I access my passwords with Passbolt on my mobile device when I'm offline?
DDR5 Sdram
But you don't bring kids into this world. You bring them into the world of the future, even if this future is only 9 months away.
> you don’t understand babies are killed (rares Nowadays) and selective abortions (million a year ) if it is not boy.

I do understand. I know that the skew exists. I'm saying precisely that the propoposed "not illegal, not unethical" explanations do not explain the skew; in fact, it's mathematically impossible for the style of family planning strategies (e.g. stop having children if the first one is a girl) to cause this kind of skew.
Trends everywhere Launched, What's next?
So my micro-product, Trends Everywhere got to 3rd spot on PH.

This is it: https://trendseverywhere.com/

Now what? This started as a side project but obviously has a lot of potential and traffic now.

What would you like to see in a product like this? What would make it really stand out? Which features would you like me to add?

Go crazy, everything is possible!
I think it is good that you have interviewed people that you know and I definitely see the branding appeal of having some big names around. It is just some of the wording in the book could be better, especially since the topic is productivity (not a career success where the argument is definitely stronger).

I am not selling the book yet, I have just a sign up page for now (https://efficientdeveloper.com). My take will be more about software development as a whole rather than just the productivity part, with productivity being just an angle of what I will cover in the book.
Also on a company home/about page.
Yeah. A system that doesn't take into account human failings is a flawed system.
The HN headline for a BBC link excludes the key nation; this is about a change in U.S. trade policy towards Hong Kong:

> US President Donald Trump has signed an order to end preferential economic treatment for Hong Kong, after China enacted a new security law there.
Yes indeed its pretty universal for PLCs to do it.

Some examples to demonstrate

[1] ...LexisNexis® CounselLink®, a leading cloud-based enterprise legal management solution for corporate law departments, today announced the release...

[2] ...RecVue, Inc., the fastest growing next generation order-to-cash automation platform, today announced...

etc

[1] https://www.prnewswire.com/news-releases/lexisnexis-counsell...
[2] https://www.prnewswire.com/news-releases/recvue-achieves-soc...
Oops yes. But there is also Performance Co-Pilot (pcp)
Serious request, as a developer who would probably code a naive Fibonacci that doesn't meet your standard: Could you provide a code sample that does meet your standard? This looks like an important learning opportunity for me. Thanks.
Do you have an example of when a name change has generated such discussions?
There is nothing nice about it. Not even in a REPL. Preventing a simple move of the cursor does not justify complexity and yet another way to apply a function.
I already don't want the job because of the interview process. Talking to someone about code they have written and the decisions and thinking around their own code is so much more respectful and gives better signal. You should be doing everything you can to put the candidate on their own turf and letting them shine. I have a lot of advice about interviews but one of the best I've heard over the years: whatever impression you have of the candidate try to prove yourself wrong. Using that advice, I've found a lot of great programmers that other companies skip over. Some people who are great at coding are bad at interviews and bad at live problem solving with an audience. If you really feel the need for a test, a paid take home coding assignment will give you the best signal.
Well, there is Tramp with the sudo edit method.

To access the remote machine via ssh and then use sudo to root access the files:

/ssh:user@localhost|sudo:localhost:/path/to/file

This is using the multi-hop solution as explained here:

https://www.gnu.org/software/emacs/manual/html_node/tramp/Ad...

https://emacs.stackexchange.com/questions/17725/how-to-sudo-...
The person I knew who had the most people visit in his old age was as far as I know childless. Through a chance encounter he welcomed me to San Fransisco when I moved there. Everytime I'd visit he'd seem to have a new guest over, but most of them he had known for many years.
> iterating with a for loop

I'm struggling to understand what you mean? This is a learning opportunity for me, if you wouldn't mind posting a code sample or elaborating further.
Non-Staggered Keyboard Layout
Iterative non-staggered keyboard layouting for better user experience, visual consistency, and efficient manufacturing
Yes, Joel Spolsky and IIRC Jeff Atwood have written somewhat extensively about it.

We are in a bubble, if we read programming blogs and think about programming in our free time, we are definitely not the kind that FizzBuzz exists to filter out. But from the perspective of companies, it makes sense if they really understood pointers or recursion or graph manipulation, because there are so many people lying on their resumes, not having sufficient analytical skills despite doing some resume driven cargo cult development etc.. And as an industry we don't really have an alternative to these algorithm interviews at scale, at the point we rely on non technical HR people to filter out resumes for us and they literally grep for framework/language experience.
So the game developer is now the Linux distro.
No way. Really very informative, thank you! And I will stick with C++, thank you!
It's not a matter of writing speed, it's familiarity. I've been programming for 30 years and I don't think I've ever written code down on paper. Why ask an interview candidate to do something they've never done before and will never do again? You might as well ask them to type their code using only one hand.
Also a massive fan of this project - seems a no brainier compared to the original for personal use.

My big recommendation is to backup the binary at the same time as your sql backup.

They've got a github sponsors link too FWIW.
I used to work as a professional trader. I see this question so often, but it's just a strange question to ask. You are asking something like "I want to learn programming, you know, to make stuff like Apple or Google" - If you ask a dozen developers they will give you a dozen different answers depending on what their background is. Some will tell you to learn Javascript and React, some will tell you to understand infrastructure and Go, some will tell you to look at REST and Ruby on Rails, and some will tell you to look at Flutter for making mobile apps, and so on. None of them is wrong, but you're getting all these wildly different answers because you're asking an imprecise question.

Trading is the same. There are dozens of different types of "trading" and everyone you talk to will have a slightly different take, depending on their background. They may talk about portfolio management, directional trading, market making, HFT, arbitrage, options trading, exotics, long-term investing, all of this over different time horizons, technical analysis, fundamental analysis, and so on. None of them are wrong and all of these things are related (just like REST and JS may be related), but you need to be more precise in what you are asking. Someone trying to manage a diverse portfolio and trying to get a low-risk return over several years is using a completely different set of technologies and methods than someone working in HFT. It's like comparing someone writing low-level C++ driver code to someone iterating on HTML and CSS. It's just different, but both are programming.

As a side note: 99% of what you find online are gurus trying to sell you something. They are making a living selling and re-purposing educational content, but have never built anything profitable themselves. And even if they have, what worked 10-20 years ago is no longer relevant today. Books that teach fundamentals are generally of higher quality. [0] and [1] are a good starting point, but again, they are quite specific to certain types of trading.

[0] https://www.amazon.com/Trading-Exchanges-Microstructure-Prac...

[1] https://www.amazon.com/Concepts-Practice-Mathematical-Financ...
It doesn't really make sense to try to pinpoint an exact number, but I think you are right in answering to another subtly different question: the real people that would move, given just the opportunity, and nothing more. E.g. my grandmother would not move, most non-white people would face racial difficulties there that might not be present in their home country and would not consider moving, a lawyer might not be able to maintain a bar status there, etc.

But if you read your parent post caritatively, and the context to which it is responding, they are discussing just location - so the implicit question is more of "would a random world citizen complain about moving to Georgia, in the conditions that a US citizen would move (belonging to society, job prospects, no issues with recognition of citizenship, education, job experience, no language issues, etc. etc.)". He is just answering to the dismissal of the Georgia standard of living.

So yeah, answering to that second question, and speaking as a western european, I do think that most (more than 50%) of my acquaintances would take the chance (I think this because most barriers would be being far from friends and family and language issues, but following the spirit of the initial complaint, we are talking about an american who already lives probably far away from friends and family, in LA or NY). Obviously this is also just opinion and I did not run a poll, but I thought the rose-shaded glasses thing was a red herring.
A friend of mine who works in UX always uses literal paper prototypes.

Not screens that look like doodles, but actual paper and cardboard and maybe some Blue Tac or paint.

Ordinary users apparently behave very differently, because it's obvious that a piece of paper can be changed and they know how to do it so it only takes a little nudging to find out what the customer actually thinks the system should look like.

She still has all the CS background to estimate that a change maybe that seems simple to the user just isn't viable, but using the paper prototypes encourages users to leave that to her and not second guess themselves into accepting a bad design because they're mistakenly assuming it would be hard to make a change when actually this is the perfect time to make such a change.
> Once you get above a fairly low level and the pill becomes affordable, something else becomes the bigger factor.

The life choices of women are an important factor. Having both a career and children is still difficult today and more women choose careers.
Coming from a family of farmers from both my father and my mother sides I remember my father mentioning this technique to me as I was a kid and we were seeing a "wild" fire in the distance (Beauce/Sologne region in France).

He would say farmers would do it and pretend it was accidental, out of any legal context. I don't know if the practice is fully forbidden or just very restricted. But it's probably well known.
I think calling it contagion misrepresents that this quality of emotional transfer is the original internet
I wondered this too. It's not like there's a part of a language you MUST use. Perhaps they are fearful that it'll grow and grow and add features in that will make it difficult to learn and unwieldy. Stroustrup always said that new languages seem fast and easy to learn precisely because they are new languages and don't have the features of maturity. Perhaps this is the case here.
I wonder why there are no email providers that offer an infinite number of aliases that cannot be associated with the primary address. Simply offering any aliases would soon fill out easy-to-remember addresses, but can't email providers offer a feature to add a randomly-generated address such as 098f6bcd4621d373cade4e832627b4f6@email.provider? This way, users can use a different email address on a different web service when registration, which would reveal no information about the user and drastically improve users' privacy. In addition, it is easy to track down which web service is at fault in the event of receiving spams via sold user data.
Only if it's proper GPL3. Google and Microsoft touch linux everywhere: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
Usually not a promise, usually “best effort”.
Many software engineers do indeed go for long periods without using anything but the most rudimentary algorithms. Needing to know or at least be familiar with many complex algorithms is more of a broad specialty now, and you get shunted into different sorts of work depending on your knowledge of algorithms.
Writing speed probably would be the bottleneck for me - plus whatever I wrote would almost certainly be illegible to anyone else.
> To pay for things we need the ratio of workers:transactions to increase.

Human health is also a component of that inequation. How are you factoring that in with profit?

Also, all of that growth is meaningless unless it somehow makes people healthier and happier. So I would say that having a huge and successful healthcare industry is one of the goals of the rest of the economy (as are food production, entertainment, knowledge production and others).

So, if we have enough wealth but not enough healthcare, food, fun or knowledge, than we can trade some of that wealth for more important things, like healthcare workers, or garbage collection, or agricultural work, or mathematics research, etc. Or child care, though I suppose you view stay-at-home parents as deeply unproductive by this measure.
Roach is often used as a synonym for cockroach
https://github.com/matrix-org/matrix-doc/blob/matthew/msc177... is the plan for revamped communities, ftr
At what point we, as an industry, failed to mandate a level of technical education for being a manager? Almost always the non technical people who can't think beyond quarterly profits and their resumes are the biggest problem of this industry.
I was in here earlier and the vast majority of comments were something along the lines of "I did the social maths and children have been determined unworthy, QED" so the GP I think was just responding with their anecdote to provide another perspective.

It's not surprising that someone immediately jumped on it to argue the maths so to speak, but it is slightly disappointing even if predictable. IMHO it should be ok for someone to recommend something to you that you don't like without it being seen as an invitation to a fight.
Is there any resource, either online, print of any other form, that lists many data structures in a ordered, searchable manner?
Something close to a dictionary or compendium that you could, for example, search what data structures had better performance for the search of an element, or insertion/deletion of an element, stuff like that.
I learned the basics ones in uni, but I still find many new (new to me anyway) ones, mostly at random, I wish I knew.
Most books on the matter that I read don't go much beyond the basic set of most common ones either.
Show HN: How to integrate with the Google Sheets API in 5 minutes
Agree, it would of been better to focus on a name where getting the .com was feasible. At least element is better than riot.
You may be thinking of a different chapter, but O'Brien's apartment wasn't in the Ministry, it was in a different "quarter of the town where they lived" where "the whole atmosphere of the huge block of flats, the richness and spaciousness of everything, the unfamiliar smells of good food and good tobacco, the silent and incredibly rapid lifts sliding up and down, the white-jacketed servants hurrying to and fro—everything was intimidating".
Has Twilio ever killed anything it bought before it’s time?

I don’t think it’s appropriate to paint every company with the Google brush, some companies still buy others for the tech rather than just the skill!
> can win

That's not really a victory though, when it's something forced upon users by State. It's nothing but an undue burden and cost for users.
>I believe that in the future, violence will occur to stop co2 emissions by force,

By whom? All the most effective military forces in the world belong to the industrialised nations that are doing the emissions.

Do you think Tokelau is going to land their marines in South China and Houston to shut down production?
What industry requires a relevant 'practitioner' education for being a manager?
I don't like algorithms as an interview structure but I do think they have one property that people way underestimate. Algorithms test your ability to manipulate a complex problem in your head without being able to break it down.

Most coding problems can be broken apart and the individual components tackled one by one. But that has two problems. One, it doesn't stress-test the programmer. Two, the most beneficial changes to a codebase come from a high-level understanding of the system. Implementation might be segmented, but the more of the system you can simultaneously understand & manipulate in your head, the better placed you are to manipulate the architecture.

Complex algo questions force you to manipulate a fundamentally complex problem. You can break it apart in some ways, but in general you have to be able to think about the entire basic algorithm in your head. Reversing a binary tree? You have to be able to visualise the datastructure you're manipulating and figure out what changes you need to make before you start writing. It's a stress test, it tests horsepower.

Granted, you can game that system by doing practice questions which undermines it to an enormous degree but I'm not sure what else you can do to test that.
What does this have to do with the bulk of the article (which is about algorithms the author used at his jobs, and only tangentially (IMO) about the use of algorithmic questions in interviews)?
Create unique Social Media Posts in bulk
Elena 5.0 Is Out
I don't care about SEO, but as an infrequent user I always liked that Riot was a snappy, two syllable, memorable name (I never forgot it). Synapse and Matrix are also easy for me to remember, I must add. I suspect I may forget Element--too close to a word I use every day (HTML elements, chemical elements, etc.) We'll see. Either way I expect I can get there by looking up "matrix client," of course.

EDIT: one -> two
Luckily, the success rate with children is much higher than startups. (I think? and hope? Don't actually have data on this.)
I use this, and it has been nothing but great.

I switched from 1Password when all the subscription nonsense started, and while 1Password has (much) better integration in various systems (desktops and mobile), Pass does what it says, and it does it well.

I (briefly) evaluated Bitwarden, but the lack of support for storing 2FA tokens without a subscription threw me off. I'm aware of bitwarden_rs, which presumably supports 2FA tokens, but i've not yet had time to experiment with it. Besides, hosting a git repository is not exactly rocket science, and it's a much simpler setup compared to Bitwarden with database and server parts that needs to be running.