skysight-inc/HackerNews huggingface dataset:
The Second Amendment isn't well represented, by either side of the political aisle. The original intent wasn't for frontier justice, recreational hunting or self-defense. The second amendment was a check on government power, no different than the checks and balances between different branches. An armed populace was always a potential risk, the idea was that freedom was worth that risk.

The core societal question is do we still believe that?

If one believes that it isn't, then the constitution should be amended to reflect the tradeoff between safety and security the populace is willing to accept.

If one believes it is, then one must look for other ways to moderate risk and accept that any group that has power will sometimes abuse it.
>> Remote work is bad for the economy.

> I've seen this claim a few times now. Are we actually sure it's true? Or does it just shift long-term spending trends?

Yes. This is a very good example of what is known in economics as the "broken window" fallacy. It's very easy to only account for the effects you measure and ignore what might otherwise have happened. [1]

"It is not seen that as our shopkeeper has spent six francs upon one thing, he cannot spend them upon another. It is not seen that if he had not had a window to replace, he would, perhaps, have replaced his old shoes, or added another book to his library. In short, he would have employed his six francs in some way, which this accident has prevented."

[1] https://en.wikisource.org/wiki/Essays_on_Political_Economy/T...
Translation: We can't harvest your data and grow our spyware empire.. please come back when you are ready to be exploited.
The article seems to be available to everyone at https://sci-hub.st/10.1016/j.envint.2020.105878
Actually, I would be surprised if anyone thinks, that WFH always beats working in an office. But that doesn't mean, that there are not a ton of jobs where it does, or just part time, even if the job requires a lot of on-site presence.

But a company shouldn't have to mandate in-office work permanentely and for all. It should be obvious from the job profile and the working conditions, when it is advantageous to be in the office rather than at home.
Hilarious parodies like these are copyright infringement, yes, but also open-and-shut fair use defense. (You're confusing the issue of transformativeness and fair use defense.)
What works for me is a playlist on Spotify.

Putting the earphones in and listening to music gets me in flow.

I don’t tend to listen to music at other times.

Completely contrary to Peopleware, but I find that too much silence is just as distracting as too little. I get disturbed by my own thoughts and the music trims them down enough to get the work done.
Ask HN: Interest in a Complete Code Example of Change Data Capture?
Morning y'all,

I've been a software engineer, with a partial-focus/lean-towards the data engineering space since ~2014, and one of the problems I've seen in this space (and others), is that there just aren't many available code (read: actual code, not diagrams), examples of complex (ish) problems that you can trust.

So, I wanted to gauge interest in two things:

Are any of you interested in a Complete Code Example: Change Data Capture from RDBMS to Data Warehouse

Are any of you interested in building/selling access to a Complete Code Example: Change Data Capture from RDBMS to Data Warehouse

A brief survey is linked below, and I'll follow up with the results, because, depending on your use case (being a maker/consumer of the CDC example), it'd be nice to know how many people want this example or can produce it.

SURVEY: https://docs.google.com/forms/d/e/1FAIpQLScewADlsyO4-KfjAE-mgr_bqML1gVBn88rH7ifaEVUS-y5GSg/viewform?usp=sf_link

I've personally implemented CDC and ingestion systems, and if you respond and post in this thread, I'll give you a year of access to a complete implementation once it's completed in the next few weeks via https://umkr.com/

Thank you,

Mo
> The government controls some things. Companies control some other things.

The government actually controls companies. In fact they wouldn't exist as legal entities without the government.

I feel there is a common misconception that "private companies can do whatever they want", belied by the existence of government regulation, but nonetheless a misconception regularly employed to dismiss antitrust concerns, for example.
> I think there is a little more rationale than simply not caring.

You're right in one more way: both Google and Microsoft offer email hosting solutions for small businesses. Their main (and, if you've got more than 8-10 accounts or so, the only) selling point is that it makes managing email hassle-free. Making it as painful as possible for small businesses to host their email server helps these services tremendously. If they had real interoperability (either of their own accord or because it were forced upon them through regulatory measures), the biggest cash cows of these services -- companies that are well into "enough accounts that your own server would be much cheaper" territory but not large enough to afford or risk large infrastructure changes -- would evaporate pretty quickly.
They're saying you, the would-be recipient of later messages, would have to initiate by sending a message.
I was pretty anti-electronic shifting on my bikes...but once you have it, it's hard to go back. The automatic derailleur tuning to always have snappy, responsive shifts it pretty amazing. And then not having to change cables out is a nice bonus, though not a deal breaker. And even the aesthetics of a cable free bike begins to grow on you. luckily, battery charging is pretty simple, and I've been always having to charge a bike computer for the past 15 years anyway, so not a big deal to plug it in every couple of month. (This is coming from someone who used to single-speed mountain bike a lot, for the "simplicity" and because I was lazy to have to maintain much on my MTB). I'm kind of looking forward to a day when they get the internal hub thing dialed in and lightweight and can handle a lot of torq and not have the drag penalty, etc....

That said, I don't use any integrated shifting->head unit functionality. Not really sure what someone would use it for other than checking battery levels? Which is super simple to see on the hardware itself. And which is easier to just get off my phone.

Also, firmware updates are typically pretty simple these days due to the pretty decent phone app support. I've done firmware updates on both a Wahoo computer and SRAM shifting, and it was really straightforward, and never for a critical item, yet, only to get more features (though I'm not an early adapter in any of this). I guess I'll find out mre about Di2 specific integrations when my next bike arrives...
> we are to believe that photographs are not biometric identifiers (they are excluded in the text), but photographs once processed with readily-available software are biometric identifiers?

Yeah, I mean the law itself is a money-grab by a bankrupt state, would you expect it to make sense? This is the same place with the city that taxes residents for the privilege of watching Netflix within its borders. I think as a community we need to stop assuming any kind of good faith for a lot of these laws and start looking more critically at following the money.
Quoting one publication about MISRA [1]:

"From the data obtained, we can make the following key observations. First, there are 9 out of 72 rules for which violations were observed that perform significantly better (α = 0.05) than a random predictor at locating fault-related lines. The true positive rates for these rules range from 24-100%. Second, we observed a negative correlation between MISRA rule violations and observed faults. In addition, 29 out of 72 rules had a zero true positive rate. Taken together with Adams' observation that all modifications have a non-zero probability of introducing a fault, this makes it possible that adherence to the MISRA standard as a whole would have made the software less reliable."

[1] https://repository.tudelft.nl/islandora/object/uuid:646de5ba...
Yes that's the go-to copypasta reply. ("Literally" here meaning "not literally.")

Twitter changed their policy in response to criticism of the Biden tweets to "no longer remove hacked material unless it’s directly shared by hackers or those working with them" including the rally database, and they restored previously removed tweets about Biden.

So by your own measure, very believable.
Propaganda hit piece with no substantial arguments beyond "big money bad".
Executive narcissism affects knowledge transfer among business units
> The real story is nobody cares.

Exactly. Why should the major players care about those too small to matter?

> Sure you would have to catch people buying a "good" domain that expired

Adding to my earlier point, Google and Microsoft are well-enough connected to the domain registrars to know when that scenario has happened as well. If they put any effort into it, they could reliably determine whether a new IP address for an established domain is legitimate or a fraud. But as we've said, why put any effort into it when the only people complaining are not important?
Perhaps, but it takes years, if not decades, to completely change a company's culture like that. The e-commerce side is the (much) older sibling and I assume still the majority of the revenue.
What is this mysterious "nature of people" that is neither physiological nor the result of learned behavior?
Good. As long as Google can structure their options to not take the feature away from the rest of us, 100% on-board with requiring them to comply with state privacy laws.

It'd be a shame to lose the entire feature because it's the only way I have to find some family photos that isn't a long and tedious image-by-image scrub.
I share your exact concerns. I would love for FastAPI to one day be as productive as Django for "full stack" apps. I do think it has the potential, and I've started working on a boilerplate/template toward that end [1], but still find Django to be much more expedient.

[1] https://github.com/ttymck/fastapi-fullstack-boilerplate
I see Roku too, from your Profile. That means you've worked on three of my favorite platforms!
Firefox doesn't show the Reader icon (right of the url bar). If trying to force reader mode with

about:reader?url=https://cakephp.org/

it displays the error:

Failed to load article from page

As it is, the text in super light grey is completely unreadable.
For real symmetric matrices, the n-dimensional coordinate scaling is still a nice visual picture of what's happening in the real case of the spectral theorem.
Off topic but why did tic toc start showing me diy air filter videos right after I read this article?

Is there some kind of tracking?
Interesting claim, but a typo in the first few paragraphs of this article [0] immediately makes me doubt its veracity.

[0] "Price, his brother Lucas and their father Ron worked as sales agents for a another credit card processor named Axia Payments"
> You'll do whatever you can to maintain the fragile worldview that you haven't been the beneficiary of a class-based system that discriminates and gives you an unfair advantage.

I find this POV extremely fascinating outside India. Here's the thing in case you are unaware: in India, roughly 50-60% of jobs in the government sector, seats in government funded colleges and private colleges (and soon probably even in private companies) are set aside for the "lower" castes and tribes[1]. I use scare quotes here, because there is a whole other discussion of how many "lower" castes actually need this kind of affirmative action since they are extremely well off that I won't get into here. I come from an "upper" caste family (scare quotes here because I find the terminology stupid and divisive, I definitely don't consider myself "upper" in any way) where my grandfather was a dirt-poor farmer who moved from the village to the city, died dirt poor as well (think Slumdog Millionaire level poverty). My father worked hard, educated himself and got himself a job in the government sector despite having nothing "reserved" for him. I did the same too with nobody handing me anything. This is the same story across millions of families across India. So tell me, what unfair advantage or privilege did this system really afford me? And then I see this enlightened person on the Internet who has probably heard/read about caste in the last couple of days have a fully formed opinion on all things caste, with no real intention of really understanding the issue. A superficial understanding is only going to get you so far without descending into all out stereotypes and bigotry, like another commenter on here who equated wearing the sacred thread with a Klan hood. But then I guess you are right in a way: we're all just different groups of chimpanzees with tools.

[1]. https://en.wikipedia.org/wiki/Reservation_in_India
Nope, that’s the syntax for a one-dimensional array of strings. I wanted to keep the syntax as close to JVM internal type names as possible.
I don't remember the leave-a-message one, but I do remember the dial in service. One day I went down to the local library and found an old phone book from the 90s and sure enough, it had all the codes. Here are some photos from the Toledo, OH Ameritech 1996-7 phone book if anyone else is curious:

https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar...
https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar...
https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar...
https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar...
https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar...
https://cdn.remarkedusercontent.com/file/remarked-prod/1/mar...
man all this is is a fancy Photoshop. i bet you could find all of these in Google Images or something.
> Conclusion:
Moderate consumption of unsweetened and sugar-sweetened coffee was associated with lower risk for death.
How far back did you look? It wasn't that long ago that Telsa had problems with the drive units failing early, there've been a number of recalls for assembly problems, overly verbose logging and eMMC failures, touchscreen failures, etc.
Automate Customer Support with Dialogflow
Physical outsells Digital downloads. The switch happened two years ago, largely due to the growth of vinyl and streaming replacing downloads.
> We've found that, while the feature work is a bit slower in Rust than in other languages the company used to use (mostly Python), they tend to require a lot less maintenance down the line (less bugs, easier refactoring), and so it ends up canceling out a bit.

Python to Rust is a pretty radical swing from one approach to language design to another. I'd expect you could solve most of the maintenance problems with Python by switching to something statically typed but with garbage collection (e.g., C#, Java, or go), without incurring the costs of moving to Rust.
Show HN: Plasmo – a framework for building modern Chrome extensions
Hey HN, we're excited to have people try out our framework! When we built out a Chrome extension earlier this year, we noticed that the config was too imperative. You had to constantly tell Chrome via the manifest.json file where your files were, what your permissions should be, etc.

So we thought it might be interesting to build a more declarative framework. When we built a proof of concept, we enjoyed working with it and decided to invest more time into making it usable and adding more features.

We're still pretty early in building it out, and there's a bunch more we want to add, but this feels like a good time to showcase it and hear what people think!
I don't think leaks need to have strategic implications to be significant. I'm no expert but the information on armor and APFSDS could have meaningful impacts on the survivability of a tank. Or maybe all of this is common knowledge that every relevant actor has aquired through HUMINT, who knows.
Mental math is great for training your brain to stay focused.

Also, do whatever you can to be healthy. That's quite a broad topic.
Random, but this reminded me of the mid 2000s when you could text google for info. GOOGL was the SMS code I believe. I miss it still. You could send them a query and they would respond with directions, phone numbers, and other kinds of results. You could also call Goog-411 or some variant to get similar info.
Barry Sussman, Washington Post editor who oversaw Watergate reporting, has died
Use static electricity to attract the dust from air, completely quiet.
oh hi, sorry for the late reply. indeed you are right; i was typing from my phone and was a bit too hasty. i am not a fan of poetry after reading these; TLDR poetry does not support PEP621 about pyproject.toml either, and i feel this is the direction the python community has been going towards recently.

* https://iscinumpy.dev/post/bound-version-constraints/

* https://iscinumpy.dev/post/poetry-versions/

also pdm is developed by frostming, who's on PyPA (Python Packaging Authority) and more libraries are extending support for pdm (streamlit just today).

but in general i am not against poetry. it's a good tool and it pushed package managers a fair bit further - providing a superior alternative to conda imho
It would be better if the logs can be exported.
There is a crucial difference: the human artist does this choosing themselves.

If DALL-E just spits out 1000 images and then a human goes through them and picks the best 2-3, and those are good - it's impressive, but the human was still a crucial part of the process. On the other hand, if DALL-E were to generate 10 billion images, and choose the best 2-3 itself and give those as output, and if at least one of those 2-3 would be consistently great, then DALL-E could be indeed considered to be creating (good) art.
https://en.wikipedia.org/wiki/TempleOS

That was my first thought too.

Sometimes I fear falling into a similar manic rabbit hole, wheels within wheels spinning.
Doesn't it mean that, when you compute - say - sin(123.45) then the resulting computed value is - of all the finite numbers of possible floating point values that the underlying MPFR representation can encode - the one that is closest to the true value of sin(123.45)?

That may not be what it does, but that's certainly what I'd expect "correct rounding" to do.
The people who committed those atrocities were erratic.
Thanks for your generosity
Quite far, as the folks who replied below have demonstrated. College admissions today have almost nothing to do with academics, and once enrolled, the programs themselves are as much about grievance and political nonsense as they are about learning.

We started with this idea that everyone should go to college to learn useful knowledge and skills, but ended up with just a huge population going to these expensive institutions just to party and protest.

Now that college doesn't teach things of any value, we are in need of new institutions that do what college was meant to do.
Also that problem a few years back in the Tour was when the tech was new, wasn't it? Don't hear as much about that as much anymore. Flat tires are still far more common.
Maybe that's why the stack ranking/up-or-out systems are so pervasive. When companies cut 10% of employees every year there is no writing on the wall. When they want to reduce headcount by 10% they just slow hiring but keep firing that year. Much less obvious as a signal to get out, than a large axe.
I could bet that most of mails from new IPs are spam because there are much fewer people willing to set up a mailserver than there are spammer operated mailservers. It is cheap to buy a new IP(comes free with many $2 hosting plans). The problem of identifying if a new IP is used for spam is not easy to solve.
Yes. And it's on your home IP address. I see things based on what others in my household have done with Tok Tok
Seconded regarding workspaces (multiple desktops for me, on Windows).

I also like to have the code editor/IDE open on the left 2/3 of the screen, then the terminal window in the top 2/3 of the remaining right hand 1/3, and finally a text window (Notepad, similar) open in the remaining bottom right quadrant. In that notepad window I keep a running list of my next steps, checklist of things to figure out or get working, and also paste handy command lines I'm using, identifier names from the code that I might want to search for (yes ideally the IDE would have features that make this unnecessary).

If I need to web search (e.g. SO, API docs) for something I use a browser window with one tab, in the coding desktop and minimize when I'm done.

With this approach if I have an interruption, I flip to my interruption desktop where my email, slack live, then when I flip back everything I need to get back into context is on the top layer of windows, I consult my checklist and carry on.
Expressed less formally:

https://everything2.com/title/SNAFU+Principle
Although with 20 years of use, those gear cables are likely to fail. Presumably you do things like lube the chain, inspect your tyres, keep them inflated to the correct level?
>Most people don't change their political ideology based on sexual assault accusations

That's not the ordering of events I'm suggesting. People have commented over time how Elon has been "moving right" for some time now. I'm suggesting it's possible that the accusation re-surfaced in response to how his political alignment shifting overall. Him saying he's "switching parties" is a soundbite for the last 5 years of his politics.
Every bill in America is becoming scammy. I am half thinking I should scam the scammy businesses by not making the payment at all. Alternatively, just paying the menu/advertised amount by cash.
Ah, yes, jury nullification.

Knowing about it is your civic duty, but if you let on that you've heard of it, they'll kick you off the jury
> > A first comment is that it would have been better for each individual to have done both "Heads up"and "Tails up" tosses (which was part of the intended protocol, but on this aspect of the protocol there was a miscommunication)
I have a SRAM eTap groupset on my roadbike and really enjoy it. The batteries are super convenient, I only charge them "defensively" once in a while and have never actually run out on a ride. If I had, I could have swapped the one of the front derailleur, which is significantly less used, with that of the back derailleur, and ride another few hundred (thousand?) kilometers. You could even carry an extra battery just in case. From what I understand, to charge Di2 you need to fully stop and couldn't even charge with a portable battery while moving, but I could be wrong.
Seems like SRAM isn't as feature-rich, but is more straightforward and reliable.
Accept that "work" does not mean 8 hours a day heads-down actively writing code. Humans did not evolve to spend 40 hours a week staring at a box of light, mashing plastic buttons while slumped in a chair and if you can't do that it's an attention disorder. The six hours of what managers might call "non-productive" time in my day is requisite for the two hours of "productive" code-writing mixed in. That's 8 hours of "real work" in my book, and I would wager higher quality than that of someone who forces themselves to just grind out code against their body's will.