skysight-inc/HackerNews huggingface dataset:
Note: Q(m + 1, n) =

each valid quad of Q(m, n) moving an edge to another possible one in the new line +
each valid quad of Q(m, n) moving a vertex to the new line +
the same thing moving each unique valid quad of Q(m, n) to the new line.

The number of new possible edges on the new line is n * (n - 1) / 2 . The problem is: moving each edge of each quad that can be generated in Q(m, n) to the new possible edges may generate quads that break the rules.

The number of new possible vertices on the new line is (m + 1) . The problem is: moving each vertex of each quad that can be generated in Q(m, n) to the new possible vertices may generate quads that break the rules.

Finding a way to calculate both terms looks like good progress.
From my understanding, Amazon's teams have a lot of autonomy so I wouldn't be surprised if a team took that approach.

Also (and this includes Amazon) I've never had anyone on a loop/hiring manager tell me how to prep for an interview. That has entirely been the recruiter.
I can’t help but draw a comparison between metaverse, and meta as is used describe an optimal play strategy in competitive games. In the latter, the meta is controlled by the company pushing out new content. In the former, I imagine the company formerly known as Facebook will have control over the metaverse in a similar way. The difference being one is an entertaining game and the other will have real effects on the real world.
>who would ever expect 'view-source' to have a blacklist or be controllable by the web page

i would expect that when a browser displays source code at a url that looks like view-source://the-url-of-the-page, and gives me a pattern-matching blacklist feature, then blocking view-source://* would block urls matching that pattern. having a blacklist feature that selectively doesn't work on certain types of URLs seems like a bug to me.

removing a special-case exclusion is hardly unintuitive behaviour, unless you're using the definition of "unintuitive" that means "something i don't like"
> If you ever code something that "feels like a hack but it works," just remember that a CPU is literally a rock that we tricked into thinking.

Is the "rock" "thinking" though? What _is_ "thinking"? Another way to look at a CPU is as a rock that we "carved" to conduct electricity in a specific way. It doesn't think - we interpret how the electricity flew and "think".
it seems people would rather be divided than united. they like to be outraged at X, i think its emotionally satisfying?
Unless I missed it, this article doesn't mention how rich the non-poorest people got in the same time frames. So the headline doesn't have much to do with the content.
apparently they thought

> sure, california is basically uninhabitable as it is, might as well leave the door open to make it official.

didn't deserve to be downvoted.
Its still open to discussions that can't really be held eslewhere anymore, so some of the flames have been bottled up longer and gotten hotter as a result.

Also there's a lot more users now than there were 10 years ago; so despite the incredible community that it is, there's still been changes.
Doing c# for over 9 years. I never ran into async/await issue that everyone seems to encounter. I’ve used it from creating libraries, CLIs, WPF, Winforms and doing web server with ASP.
But this hypothetical "written without taking the proper care" code is buggy. Like I said it's just the same situation as a bad implementation of Index but more convoluted.

Rust's standard library takes this very seriously. In many languages if I try to sort() things which refuse to abide by common sense rules like "Having a consistent sort order" the algorithm used may blow up arbitrarily. But Rust's sort() is robust against that. You may create an infinite loop (legal in Rust, causes Undefined Behaviour in C++) and the result of sorting things without a meaningful ordering is unlikely to be helpful if it does finish, but it's guaranteed to be safe, you won't get Undefined Behaviour.
Teaching Children Personal Finance
I SLAMMED coffee the first few weeks and would also drink like a gallon of water a day. Helped a lot. I think the key is to choose the schedule that works for you.
> whatever quiz system they are using

Google Forms
> Does Europe not offer a Pre-check type program?

I'm not aware on any European wide unified airport security structure. The closest to that would probably something EU related [0], but I couldn't find anything related to "pre check" type programs being a thing.

My personal international airtravel experience, living in Germany, has been rather limited in the last decade; I flew on vacation to Turkey for a few weeks. There was pretty much zero security theater.

The biggest time waste was the slowness of everything, waiting in lines for luggage, pass/ID clearance, traversing the long distances across the different airport wings, really long time window for boarding.

Apparently the same airport also offers an "evening before pre-check in", but the website for that seems to have become another pandemic victim. It seems to be the biggest thing that skips is luggage check in and formalities/getting boarding pass, by allowing passengers to do that the evening before.

[0] https://europa.eu/youreurope/citizens/travel/security-and-em...
You are not powerless. Cities & states have huge power to help curb emissions. Check out the work by David Roberts over at Volts on WA’s amazing climate legislation that was passed in the last year.

Legislation like that is possible because of average citizens. Find a local political climate group in your area. Work with them.

Check out the recent Green Amendment that was passed in NY. That movement started from the everyday person. It’s passing as huge implications for future environmental law cases in the state. A similar amendment in other states has stopped the passage of expanding fracking operations, etc

Keystone XL was stopped by everyday people. Line 3 is facing a resistance made up of everyday people.

This narrative that we are “powerless” is exactly what the powers against us want. Research shows that climate anxiety increases inaction. Research also shows that people involved in community campaigns have lower rates of climate anxiety.

If you live in WA or FL feel free to PM me. I have a lot of resources that could get you started
British Airways Avios services are down for 5 days of planned maintenance
It’s amazing that no one has done this yet.

Just get Johnny Depp to play Jack Shaftoe.
> The shift to plastic, as I understand, mostly has to do with freight economics: glass is heavier and more fragile.

Having tried to do online pasta sauce, I can confirm glass is expensive to ship. 6 jars cost us $30USD to ship and some would break. We insured the shipment and made more on the broken reships than a normal sale.
Surprisingly little past discussion:

Metaobject protocols: Why we want them and what else they can do (1993) [pdf] - https://news.ycombinator.com/item?id=12641917 - Oct 2016 (1 comment)

Richard P. Gabriel's Review of "The Art of Metaobject Protocol" - https://news.ycombinator.com/item?id=1306177 - April 2010 (1 comment)

More in comments:

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
How dare you impugn my emotional wanking! I have nothing else to be emotional about!

... nope. Not that satisfying. I think it's a tribal thing; moderation just gets one pissed on from both sides.
It's very easy and simple to write Rust in Rust. Compiler is your friend and helps you all the time.

It's possible to write C++ or Java or Haskell in Rust but then compiler becomes your enemy and you fight it at every turn.
Fixing Recent Validation Vulnerabilities in OctoRPKI
Here is a writeup:

http://dammfine.com/projects/funwheel/
I had Borg fail me the same way with index corruption. Since moving to Restic I haven't had any issues backing up or restoring, and it seems quicker too.
Nothing insulting. Just... really unsure what was expected of them to do.

If you dig in to their stints in Hamburg, Pete never really gelled with the other three.

Unsure, but wouldn't surprise me if Aspinall didn't acknowledge Roag for some time. Not saying it was right if he did that, but probably understandable for some folks.

> Do the right thing could have been as simple as being honest and straight forward

Lennon was quoted a couple of times as saying Pete wasn't a very good drummer. That was being simple and honest and straight forward. Wasn't helpful to Pete, was it?

I'd read he was suicidal for a bit, but seemed to get past that and just moved on for a time. I thought he was worked in a bakery (but might be confusing him with someone else), not as a janitor. Something else I read just indicated he worked for the civil service, which might be anything.

Again though... "being honest" from the Beatles' perspective was "we didn't think he was all that great, and we used him for a while as a drummer". Doesn't paint him in a great light. Releasing statements from George Martin at the time saying "I don't want Pete on studio recordings" - again, honest, but wouldn't have been terribly kind at the time.

Could they have just paid him some money in the 60s? Maybe. Unsure how much he got in '69 from the defamation lawsuit.
100% agree. I tried running Pop OS as my main system a few years ago and got sucked into ricing, WMs, extensions and themes. Spent all my time customizing and fixing the bugs that arose, hated it and went back to Windows.

Now I'm back on Pop but this time I know enough to not customize too hard and it works great. A DE/WM is meant to function as one cohesive piece even if its built out of many components, so if you take a functional DE and start poking around then of course it will break. Even the amount of customization I can do easily without breaking anything is far above what Mac/Windows offer.
Yeah maybe this is nice the first time. But do you know what? The second time everyone knows. The third time paper tests are back.
Perhaps a jet fuel tax? If we bring the the lifetime cost of atmospheric carbon recovery and disaster response to flight, might we make air travel with using ICE engines less routine?
Right… So if such a massive site uses it whats the excuse for the next CRUD app?
What Hacker News Says – Get This Extension for Firefox (En-US)
Very interesting. I need to start collecting libraries that are capable of manipulating incomplete dates; twice I’ve had to implement that for work projects (Erlang and Python), but this and pdd look promising.
Ok. Sometimes Rust fits good, sometimes it fits bad. If you don't want to deal with that, that's fine. I don't want to deal with memory leaks and stuff, so I use Rust instead of C/C++ when low-level, and I deal with the bad fits.

I'd still recommend learning Rust though. I find the way (the clean ways, not the ugly ways like Weak/Cell/etc.) it forces you to structure your programs is a very useful pattern when dealing with unrigid code like in C or C++, since its performance is near those languages. Then when coding C/C++ you can just break out of that pattern when you need to (e.g. self-referential structs).

BTW, what languages do you usually work with? I've been eyeing up Zig since it's nearly adjacent to C, but I'm waiting until stabilization.
I don't know how to phrase this without it sounding like an attack which I absolutely do not mean it to sound like. But when considering if I would like to receive this same message, I would be more discouraged if someone didn't try to respond because they were afraid to upset me, than if they said something I (or wy ego) didn't want to hear. This preamble is only to make it clear that I'm not trying to be mean, for whatever small value that may be.

I've responded here https://news.ycombinator.com/item?id=29213370 I'd bet it's pretty obvious the internet thinks this was a mistake (and we all know how sound and reasonable the internet always is :D ) but I thought the why it's so infuriating was important to point out too.
I use my external display as a USB-C dock. I run it at its native 3840 x 1600 resolution at 120Hz or 144Hz, connected to my MacBook Air 13" running retina native resolution at 60Hz. Never had an issue with this setup on macOS.
Dude, Cloudflare is not encouraging ddos to then benefit from it, it existed and will exist with or without them.
Big Minolta fan as well. About 10 years ago I found an RD175 at a flea market and restored it to working order, it was a great talking point about the history of digital cameras. https://en.wikipedia.org/wiki/Minolta_RD-175

Contax is another underdog. I still shoot 35mm with a Contax N and G, both are incredible pieces of technology and product design.
Reminds me of scenes in the new dune movie with spice harvesters that look like they weigh hundreds of tons being lifted with lifting gas balloons. Bunch of huey is what it is.
As a hopeful founder here in Michigan, it's been interesting to watch this at the ground level. The article alludes to it, but the University of Michigan in Ann Arbor has been the driving force behind several startups in the area. Many of these are robotics or automotive startups, like May Mobility. The software world is sparser; Duo Security was a big success, but with a lot of mixed feelings around their sale to Cisco.

An big issue is brain drain. UM is a major recruiting school for entrenched Silicon Valley corps (Google/Facebook/etc), and getting software tech talent to stay in-state is a challenge. California has a certain for new grads (though many are disabused of this mystique after a few years).

Beyond that, for senior level talent, you quickly run into ceilings where working remotely for a California company nets you a 50% compensation bump vs a comparable Michigan company. Founders can have a tough time finding quality local talent in early stages.

I personally love my life in Michigan. I can afford and enjoy a lifestyle that would be difficult in California. It's definitely an exciting time here.
If OK doesn't provide the same level of services to its residents as does CA, and if the federal government has to step in instead (because people still need services), then yeah it stands to reason that OK residents ought to be willing to pay more to the feds.
Wow, it's as if they modeled the night view off a pinball machine. How offensive to the eyes. Bad example.
> This analogy doesn't make sense.

Do you truly think this doesn't apply at all? I see a lot of people say "it's a vaccine, we know how vaccines work", just like I'm saying "it's a car, we know how cars work".

In reality, implementation details matter. A Tesla isn't a Ford (and especially wasn't for the first GA model). You can predict some things, like maybe the body will rust in similar places. But what does a gas tank tell you about how a battery will hold up over time?

> Because the vaccine can't continue to affect the person when it's out of their system. The vaccine is entirely gone within a couple of months, and only the immune system's "learning" remains.

This is a prediction that comes from our experience with other makes/models of vaccines, and one that will hopefully come true. In the case of a never infected/never vaccinated person, I'd put my money on that prediction based on what I've heard about covid. For a person who has already recovered, leaning on that prediction feels unnecessarily risky, especially when as you say, we don't fully understand the long term risks of covid either. Why add more risk on top of that?
Heavy SG user here and while it's still pretty functional and not problematic enough to move away from, it's not as good as it used to be.

Before being acquired, SG's support was fantastic. There are also various oddities that have cropped up, such as how they're currently hitting our webhook endpoint with the same event every 20 seconds for the past 8 days (a similar problem occurred last year too). They also seem to have suffered some dings to their IP reputation in numerous places due to, I assume, this: https://krebsonsecurity.com/2020/08/sendgrid-under-siege-fro... .. I continue to encounter numerous systems that flat out refuse any email from any IP I can muster at Sendgrid and we have a bunch on different subnets. So anyone who works at Red Hat, Packt, Akqa, Zendesk, etc.. they're not getting our mail.

We use Postmark as a fallback for users when we get the inevitable error messages back, and they have been pretty good, although I find their API a little too slow to move everything over to them and SG has a fantastic "delayed send" feature which is a must for deliverability to iCloud addresses.

Pragmatically I prefer Sendgrid, but Postmark is very good and feels somewhat more wholesome to use, particularly if your levels are low. I'd use Postmark for the same reason I'd rather use a local bakery than buy presliced at a supermarket.
If the people addicted to social media disappear behind VR headsets, that will be so nice.
‘Flash in the Pan’: The Long Life of a Fleeting Flintlock Failure
Apart from the screen locking bits, everything works for me in Arch
My Windows laptop has no problems with this. And neither do the Mac laptops that visitors sometimes bring to the office.
You could say you should take care of making them right. And add a few safety rules if you want to sell them.
That’s on your phone now
Holy crap that's just `pkg install borgbackup`. I had no idea (my phone is already rooted anyhow, so this will also be able to get data folders). This changes everything. There is also `pkg install restic` btw. Based on the problems with append-only in borg and the lack of those in restic's implementation (I did a short audit on that part of the `restic/rest-server` code, looks solid but don't take my word for it), I might go with the latter but this is a great tip regardless.
I do like to think that the effort put into software development with each iteration is actually making software better: optimizing performance, fixing bugs, closing security vulnerabilities, etc. So I've been happy with Arch-based distros and most Windows updates, at least. When I take the long-term view, I'm amazed by the improvements in software since I started using a computer in the 1990s. Many more things "just work" now (e.g. Linux on a laptop). Home computer operating systems and applications can run for years now without breaking, whereas reinstalling everything (e.g. the cesspool of Windows 95/98/XP) was almost a monthly requirement back in the day. An operating system that used to take 5-10 minutes to fully boot now takes only seconds on a typical machine.

I know that this isn't always true. Sometimes it's just feature bloat, or a design change for the sake of design change, which introduces more bugs and vulnerabilities.

Maybe what I really want is the newest version of the software that I already have, as opposed to the newest software.

At work we still use Red Hat Enterprise Linux 6 on some mission-critical systems. So that's version 2.6.32 of the Linux kernel with equally old applications, and I'm not sure what we get for updates from the vendor in 2021. The problem is that there are recurring bugs and serious vulnerabilities in that system which will never get fixed at this point. You could argue that we know what the bugs are, at least.
For people that love Project Euler, check out project rosalind!
http://rosalind.info/about/

Conceptually similar, but the problems are focused around bioinformatics. Most lot of the problems contain some background context that teaches you a little biology/statistics as well.
I'm thinking the only way forward is building an alternative power structure to electoral politics that bullies the politicians around. Corporations and money control the government - it's a truism at this point. Place that which controls the government under democratic control and you have a democracy. So either building organized labor power within existing corporations or starting entirely new democratically-run cooperative companies to outcompete existing corporations.

People want to keep politics separate from work, but this seems like nonsense to me. Reductively, politics revolves around who does the work, who pays the costs of that work, and who receives the benefits from that work. To separate politics from work when politics is about work is to throw away the greatest power you have - your contribution to the world through work. Voting every few years is so unimaginably paltry compared to using your economic output to have a say.

People have this idea that cooperatives are inefficient, but ensuring profits stay within the company instead of being extracted off to people who had no hand in its creation is a burden they do not share.

Microsoft spends $250k/employee/year on dividends and stock buybacks for shareholders.

If this idea sounds interesting read the book Democracy at Work.
So much this. I think the issue is that the fix was packed up as the solution for broken test-taking software (or misuse of Google Forms for that intention), and people everywhere are complaining that it's not a valid reason, with which I agree.

However, there are legit environments where people might want to prevent users from accessing devtools and view-source functionality, like when using it as a kiosk software.

From security standpoint, it might be also reasonable to disable at least devtools in enterprise environments, since users can not necessarily be trusted with such access (which is the reason why many sites, such as Facebook, display warning to not enter anything in the console, especially if someone instructed them or they found it online).
You're already getting downvoted by people who don't appreciate the sarcasm. Which really is a shame, because I thought this was hilarious!
My only grief with ISO8601 is that the way the timezones are denoted is somewhat unfortunate. Would have been nice if we could somehow have: 19:00+02:00 = 21:00+00:00 = 23:00-02:00, but alas.

I suppose I should also be annoyed that I somehow never manage to type dates in the correct format if I need to write them by hand, but I'm not sure if I can blame ISO for that.
Memory of time with friends and family will be more soft for you as you age than thinking about projects that usually go no where. Unless you have a special kind of drive, independent projects tend to dissolve without networks. I'm speaking with some regret.
Features: DW statistic software.Right critical values for autocorrelation,RNN,AI
They also routinely go after journalists and critics, in at least one case by using antisemitic tropes (as you noted).
Attention Approximates Sparse Distributed Memory
But would Johnny Depp still be willing to reprise his role of syphillitic Jack?