skysight-inc/HackerNews huggingface dataset:
TL;DR if you wish: World now is transitioning from G7 (which is G1 really) to real G20.

Globalization caused rise of powers: China, India, Russia, Brazil, etc.

I think that world will be in better shape after that - concurrency and need for consensus among more than one player.
What are the biggest mistakes to avoid?

I am itching to start piping around change data capture Debezium logs so tell me now before I inflict a horror on my co-workers.
I haven't read them all and it's not wrong that they aren't the same article or the same discussion but it's HN-wrong. It's definitely disappointing if you have a big J. Winnfieldean 'allow me to retort' lined up but it works that way for pretty decent, time-tested reasons which I think have also been explained in great detail in the various moderation parables and proverbs.
I want to believe in prolog. I'm having trouble, like pg saying the definition of append is really really good and it's all downhill from there. Also Jet Propulsion Laboratory has a prolog dialect that's non-turing complete for its inspection of its internal systems.

prolog looks like a third way, not C and not Lisp.
The last 20% has so little impact on the final color it’s impossible to guess. There are just too many colors to choose from.
I’ve done the product management and people management roles. Product management, when done well, is hugely impactful to the company. Product management when done poorly rarely turns out a bad product, as there’s too much of a safety net to fail. People management when done well, becomes a well oiled machine that accomplished miracles. People management when it goes poorly - is an absolute nightmare. I’ve been in all those scenarios, and hesitate to recommend people management.
Laurel Canyon 40 years ago. Second best: a farm in Redmond, WA, so that’s where I am.
People recommended books a lot for some reason when I was starting out programming. I tried them once or twice and it they just didn't work for me. Instead I just followed random internet guides and asked questions in IRC, then eventually went to college. All worked out.

I think a good self learner will just find what works for them on Google, not that that can't be books for some people.
I’m sure the Iowans are also grateful his brother didn’t move in.
A less extreme(Since change can be it's own danger) solution would be an audible pilots fighting warning system.
> And, by the by, more 'smarts' can be applied to automatic f-string determination. If "{variable-that-exists} foobar" is seen it could plausibly be converted to an f-string.

One obvious and dangerous application of these "smarts" is when people expect curly braces to be treated as string literals. What if a string contained an example f-string that contained {sensitive-server-information}? It's reasonable to expect that code like that wouldn't later become vulnerable to injection attacks.
Like no electricity/internet remote?
Reminds me of how "letters to the editor" have worked for ages. A good faith editor picks out the best responses both praising and criticizing.
I like this and this thread needed you. So much cynicism!
Pretty simple here: I'm a big Queensrÿche[0] fan, and have been ever since a friend introduced me to their absolutely mind-blowing Operation:Mindcrime[1][2] album.

The word "mindcrime" appears as a plot element in the OM story and it always stuck with me. When I got my first (dial up!) Internet account back in the mid 90's, I picked "mindcrime" as my username, and to this day I use it nearly everywhere. The few exceptions are places where somebody else had already grabbed the name. :-( In a few such cases (Slashdot, Reddit) I use a slight variation: "psykocrime".

[0]: https://en.wikipedia.org/wiki/Queensr%C3%BFche

[1]: https://en.wikipedia.org/wiki/Operation:_Mindcrime

[2]: https://www.youtube.com/watch?v=oLi46MAgxqc
This is a better use of technology than leeching money out of venture capital by trading tokenized assets on shitty blockchain #3428
Well, yeah, that's your suspicion but it is not an argument, it's just a suspicion that something nefarious is going on. I don't think you've really responded to any of the explanations of why HN works this way. That doesn't mean the way HN works is right but you have to bring something more to it than aspersions if you want to argue for change.
So, is the Talmud just a bunch of hacks???
I think most people interpret that, and similar, numbers incorrectly.

The way it needs to be interpreted is that one can get a $200K job in a high cost of living area such as the SF Bay Area, and other similar areas.

Additionally, one can get a correspondingly high salary, whatever that number might be, in an area with a different cost of living.

In other words, in most areas one can get a good paying tech job relatively easily for that area.
Use any of a dozen random online name generators. Pick ones that have no connection to your life. Rotate regularly.
I don't see why anyone is shocked. The Western world is at financial war, the bill from ten trillion dollars in stimulus spending is coming due, and 2022 is the median year at which the baby boomers retire.
Biden Seeks to Rob Putin of His Top Scientists with Visa Lure
I actually don't think it's gambling, tbh.

There's an interesting discussion to be had about truly free markets, for sure.

However, the modern stock market is neither fair nor random. It's not accessible to you or I in the same way that it is to financial institutions. Front-running and dark pools are accepted as normal. https://www.youtube.com/watch?v=bP74RBTE8kI

I would also suggest that Warren Buffett does not see the stock market as random or gambling. When he buys a company, it comes after huge amounts of research. A good stock trader obsessively researches the companies that they invest in. While it might not be anything like a guarantee of success, I sure hope you have better than Vegas odds when investing in a company that you've learned everything you can learn about without becoming an employee.
Yeah what's after Signal? I'm a big believer in divulgation as a form of privacy (post-torture). Spill my guts myself, here on HN, in public, in place of an urchin who swore to do the same on the sidewalk, swearing in front of one hundred witnesses.

And hey, no matter what happens I will still be able to read my own account, and overcome the memory lapses of torture, and see myself for whom I am at some point in the future, when I reread this and whatever else is left.
What is a good desktop-first budgeting application?

I've been using Homebank[1] for a few years now but I'm open to suggestions.

[1]: http://homebank.free.fr/
turtleSpaces is a 3D Logo environment that allows fit pretty straightforward creation of simple 2D and 3D games in the browser using turtles and can provide a bridge between Scratch and Python https://turtleSpaces.org
Of course it’s hurting Americans. These companies are saying that lower wages are more important than Americans, period. Your instincts are dead on.
But no tin. No bronze. Copper alone sucks. Meh.
Thanks for the reply, what you wrote makes sense to me. I want to expand on the copying GC ideas:

> I want to make this GC moving at some point and didn't think the rooting system would be a limitation.

Currently the rune RootSet is "a list of pointers to be treated as roots" and so long as the pointer is in the list, the GC will not collect it, and you are free to pass around copies of that pointer. But if the heap object were to be moved, the GC could only update the pointers in the RootSet, not those on the native C (err, Rust) stack. So you would get dangling pointers, which is bad.

One solution for this is double indirection:

1. StackRoot changes from "a pointer which should be rooted" to "a location in memory containing a pointer which should be rooted, and this location is known and updated by the GC."

2. You stop passing around copies of pointers, you pass around pointers to a StackRoot which itself contains a pointer. We do this because the GC may change the pointer stored in a StackRoot at any collection point. Hence double indirection: we have a pointer to a location which is known by the GC, which in turn contains a pointer to our data.

This approach is mind-bending and took me a while to grok.
China to build a lunar communications and navigation constellation
This subsection is one of the best things I've ever read on how to use space in design, with lots of great examples. Really eye-opening for someone with no knowledge of these approaches:

https://99designs.no/blog/tips/how-to-use-space-more-effecti...
+1 for automation

https://automatetheboringstuff.com/ may be a good place to start. Python is powerful with only a few lines of code.
I’m working on a similar product at https://mygraph.ca and always looked up to James and Actual. Great product and well engineered.

It was amazing to see how productive he has been the past few years working on it while also being at Stripe. Not surprised to hear it got to be a bit much.
I usually check out the GitHub Trending page for a programming language. Amusingly, the project you linked is the only result for Prolog this month on GitHub.

https://github.com/trending/prolog?since=monthly
“Crap” is in the eye of the beholder. It is an attitude problem more than a code problem. The worst developers I have ever worked with thought that everything was crap. Either because they were extremely arrogant, and code that wasn’t done their way was automatically “crap”, or because they had real trouble understanding code written by other developers, no matter how skilled and experienced those developers were. The smartest developers I have ever worked with can jump into any code base, written in any style, and be productive fast. They might make fun of some parts of the code, but they know there are often good historical reasons why the code was done that way, and they will be the first to admit that they themselves probably have done stuff like that in the past. So in conclusion, if you think all code is crap, your attitude might be the problem more than the code.
I think checks made a lot more sense to people when no consumer transactions were electronic, and cash was the only instant transfer people dealt with.

Bad checks were an easy concept to understand when everyone was carrying around a handwritten checkbook register
Looks like a nice course
trains absolutely solve the last mile problem and there is no better example of their modern usage than in switzerland where your ikea would be supplied by a single boxcar once a week
Agree. Although applying efficiency principles learned from the market seems wise, even under socialized policing.
I've been using Mint for several years and it's been slowly getting more and more useless since the Intuit acquisition.

As a technical user, does Actual let me do similar things myself, and now with the ability to contribute to code? Or is this completely different?
I am virtually certain you have not watched Mignonnes. It is really quite good, and treats its subject matter with care. You have fallen for propaganda. Just watch it. It isn't long and I promise you won't wind up scarred for life. If you hate it, at least you will have come to that decision yourself.

Until you watch the film, I couldn't possibly care what you have to say about it.
An app you can clone: https://owen-wow.glideapp.io/
I wish they didn’t try to look like a console.
neither will ever happen
Not sure 100% how this works, but sounds cool. In terms of an application being able to bypass it, can it?
Thank you for sharing, I'm going to speak to my wife about this for our son. Cheers.
There's actually zero legal reason any of those companies need to comply with emergency data requests.

Refuse them and ask for a court order. If a cop comes to your house and asks to take a look around without a warrant you are under no obligation to comply. These weak and spineless corporations and people like Alex Stamos who vehemently support emergency data leaks (he blames rural police for not having good security, while he presides over a security disaster) are to blame 100%.
Same with HBO. Their UX needs a bunch of work and it just makes me miss Netflix. But you gotta go where the content is.
Do you know if those are all using the same upstream kernel as the rest of Arch? If so that's a pretty useful list, it's hard to find.

Even if rpi kernels aren't exactly upstream at least I can know the people paid to work on https://github.com/raspberrypi/linux are fairly responsive, and someone else will have hit an issue first.
The transport triggered architecture is the most interesting. Similar ideas find real use, and I suspect anyone familiar with ASM could program for one.

It's almost like sneaking other instructions in the back door.
The felony murder rule is, if you commit a felony, and a person dies as a result of your crime, then you are guilty of murder. The classic example is the getaway driver in a bank robbery. If the bank robbers go in and shoot the security guard, a clerk or two, and a customer, and all you do as the getaway driver is drive the robbers away from the crime, you will still go to jail for murder even though you had nothing to do with pulling any triggers and may not have expected or wanted anyone to die. A less intuitive consequence of this is, if you are a bank robber, and the security guard shoots your fellow robber, and the other robber dies, then you are also guilty of murder because your felony (robbing the bank) led to the death of the other robber.
Disney+ is seriously confused about credits - at times it instantly minimizes and threatens you with the next episode/movie (often when there is still “stuff” happening) and other times it makes you sit through literally ten minutes of credits in every language known to man and some unknown before advancing to the next.
Ask HN: What is the fastest way to serve code behind an authenticated endpoint?
It absolutely will show them because they cost nothing. 0 will show up in the profiler which is how much deallocations cost with GC.
Gotta be honest, I’m a little concerned about your use of the past tense. You better not have switched over to pale Nikki imitator Cardi B!
I'd say number of privately owned residences / (number of unmarried adults + number of married couples) would be a better figure. What you really want is the number of unique owners among all owned residences, not just the number of owned residences but that's probably harder to get and I suspect that the mean number of homes owned per homeowner is pretty close to one anyways.
Politics was literally divided into pro-slavery and anti-slavery during a pivotal moment in american history. We can't really discuss american political and cultural history without referencing this. The impact from this event directly comes up in politics to this day and it is weird to ignore it.
That's true, 'normal' strings are the common case -- IF what you are doing requires the use of 'normal strings'. If you are doing formatting for output, then the 'normal' string is an f-string.

As to 'injection' attacks -- I have no sympathy for somebody who takes user input, does not check it, and throws it at SQL. All user input should be checked 7 ways from Sunday before it's even passed to a part of the program that's supposed to deal with said input.

From my perspective, I'm just trying to say "there has got to be a better way". yes, we can survive, but -- as the OP shows -- a bunch of auto-fixed bugs went away. Why were the bugs there in the first place?

I have a saying that programmers spend too much time debugging; and if they would just not put the bugs in, in the first place, debugging could be reduced. To do that, you need help from your language. Other things also matter, sure. But give me constructs that make it hard for me to screw up.
Wouldn't it be interesting if that weren't the case?
MS claims Russian aligned hackers cyberattacked Ukraine before invasion
Microsoft researchers say six Russian-aligned, state-sponsored hacking groups launched 237+ cyberattacks on Ukraine before the invasion. Over 40% of the attacks were aimed at organizations in critical infrastructure sectors.
I have barely touched Go, but, from what I've seen, I think I might be able to add a couple more to that:

Java is more intimidating to get in to. It starts with "Oh dear, which JDK do I use?", proceeds to, "Oh dear, now I have to pick a build tool and every single one has a near-vertical learning curve by modern standards." Then you're on to, "I want to do X. Why are there 28 competing libraries for X, and why are the most popular ones invariably the most hated?" And so on.

There's a strong case to be made that procedural is a better paradigm than object-oriented for a lot of the niche that Go targets.

You mentioned concurrency ergonomics, but I just wanted to emphasize that I doubt that Java's concurrency story can ever be a match for Go's. There's too much legacy baggage that can never be unloaded.
I suspect Apple snapped up some very long rights early on which means they’re not going to bother trying to compete directly as they’d only have their own songs.

Same way that a bunch of studios waited for their Netflix/Prime contracts to wind down before opening their own streaming service.
I made a cold email subject line generator
Folks are coming to Christ out of every culture all of the world -- esp. the Hindu and Muslim world. Scripture is replete with characters knowing God from all over -- Abraham came from a pagan culture, Moses father in law was a priest from Midian, Ruth was a Moabite, Rahab was a prostitute from Jericho (those last two are in the line of Christ). Namaan the Syrian, Nebuchadnezzar eventually humbled himself to God, ... In the NT the gospel begins as a small group of folks emboldened by the resurrection of Christ which has now reached every corner of the globe. I know Christians from many walks of life all over the world. The scene of heaven in John's vision in Revelation 7 contains "from every nation, from all tribes and peoples and languages, standing before the throne and before the Lamb." Narrow is the way and few find it, but those few come from a cross section of people from all cultures and all times in history.
I didn't realize it had that connotation for some people, I'll be more careful about that in the future.
Why not tweet at him while it’s hot on hacker news?
> All you're saying is that you like your narrative & you intend to stick to it despite any contradicting evidence that may be presented.

Not at all.

I’m simply saying that anyone can fudge the numbers and claim to have “data” to support their argument.

> Also, statistical data doesn't offer solutions; it only presents a broader perspective than one's collection of anecdotes.

It offers an easily distortable “perspective”, and the same dataset is often misrepresented and twisted for convenience.

It’s a recurring theme, especially in leftist politics. Using “data” to spin a narrative and tell people the sky is pink when they can clearly see it’s blue.
Neat art on the post
Careful assuming these terminological subtleties are universally shared. Where I work now, 'ratholing' is something you do in conversations, where you go deep into a specific problem that isn't relevant to the real purpose of the meeting.

'rabbitholing' is more tumbling down a series of investigative avenues to see where they lead, to a single purpose - and it's not necessarily a bad thing! sometimes you come out of the rabbithole with a solution.

And 'yak shaving' is tedious work that is not obviously actually doing the task at hand, yet nonetheless, and in spite of your best efforts to find an alternative, it turns out to be necessary before the real work can begin.

None of which I think comport exactly with OPs definitions.
Are You Muted? A Privacy Analysis of Mute Buttons in Video Conferencing Apps
> I think we also need to recognize that almost all real gains since 1985 have gone to the top 5%.

Cars are a lot safer now and last longer. I think houses are bigger. The Internet is new. Most consumer electronics are new, and TV's are way better.
I'm here all week
Here is the actual link to request removal : https://support.google.com/websearch/answer/9673730
Check out redbean. It's a single cross platform exe which is also a zip containing html and also supports Lua script.

But that doesn't support Markdown I think. Yours is probably simpler to setup too.
It is a real thing, but it's a design decision that dates back to around 1990 when Haskell was very much purely a research language.

Haskell's type class capability (similar to traits or interfaces) was still new/experimental at that time, and one benefit of strings as lists is it allowed them to easily be manipulated using the same syntactic and semantic machinery - pattern matching, recursive processing etc. - as other list data.

These days real, non-trivial code uses much more optimized string representations, but the original String type still exists and is used in various standard library functions, like "error". But as the original commenter pointed out, "you can just upgrade strings like any other dependency," so if you want, you can always import some other library that uses e.g. the Text type for error message, if you care for some reason.
There's a lot of prejudgements based off of very little knowledge that goes on. I remember a comment section in a YouTube video about the eruv in New York where all the comments were either like "interesting do you know [innocent question]" and all the replies would be like "not a Jew but [patently wrong information]" or else were just pointing at the othered minority and their silly ways. I'm not Orthodox anymore, but my otherness from the Orthodox community is different from someone who didn't grow up in it and judges it or its teachings or trappings nonetheless.

In this case, the comments are pretty neutral to positive, but I was rather worried there would be a lot of "Jews study this silly ancient text full of nonsense" going about.
What changes if the Jews call people non-Jews v. gentiles? The context and intent is identical. Unless we just want to be offended by existance of Jews and the idea of a Jew/non-Jew divide existing.
> File discovery - Scan devices, drives and cloud accounts to build a directory of all files with metadata.

How well does this scale? For instance, I have millions of objects totaling >10TB on Google Drive. Tools that attempt to index them all tend to break down because (1) the files/list API has a page size limit of 1000; (2) accidentally nonlinear complexity.
Good luck finding anything at all. This is not a problem exclusive to Raspberry Pis and there is not a huge amount they can do about it.
Anatoly Fomenko is not unique by any means. The boredom, forced bullshit, and strict conformance requirements of the developed socialism phase of USSR gave birth to the Soviet New Age of a sort. Some people invented spiritual practices and started their own cults, others turned to ufology, conspiracy theories and writing "new histories", like Fomenko or Yuri Petukhov, the rather infamous pulp fiction writer and self-described anthropologist who claimed that all people on Earth descended from Ruses and all languages are developed from Russian.

It peaked in early 90s in Russia, Ukraine, and other post-Soviet republics, ending up in a massive wave of new-age cults and pulp fiction, but Fomenko has been particularly persistent.
I would also strongly recommend these tutorials for Unity:

https://www.gamedev.tv/

They've got a ton of videos and you could go broke buying them all, but they do good work, they're actually decent educators and the intro 3D game dev on Unity course has 30 hours of content in it and 5 different minigames it walks you through building.

All their courses are also on udemy.com and you should be able to buy them there for $10-$20 each during the "sales" that they have every other week (unfortunately there's a bunch of mildly scammy patterns there to try to create a sense of urgency, but never buy a course for "full price").
Stevey's Blog Rants: My save-excursion
Breathing isn’t dangerous. I’d rather not rehash the statistics on covid, but if you’re not quite old you’re going to be fine.