skysight-inc/HackerNews huggingface dataset:
USSR fell apart in the 90s. 1992, iirc?

I’d just remind the discussion that the US just pulled out of its wars. Also, war has a way of pushing past any debt discussions. Nowadays, people assume kinetic war is out precisely because of the threat of nuclear war and economic integration of economies. Russia is really assuming anything it does won’t trigger nuclear war nor cut off its ability for economic exchange. Same with China.

Taken to a logical extreme, what Russia and China want to do in expanding their borders IS war, they just think there’s fuzziness about what triggers all out kinetics. But of course small steps of expansion are the mechanics of all out war.

Edit-Further, the wide rise of nationalistic forces across the globe are signs of growing openness towards war. This path isn’t as unilaterally beneficial to Russia nor China as those parties believe. And if this were a game of risk, the opposing forces of China/Russia expansionism would be looking to unite the rest of the globe against it by whatever means at least undermine the threat of war or economic integration with R/C.
> I've never used rspec but it sounds like pytest and hypothesis would do the job

Sorry it really does not, having factorybot + rspec + rspec-mocks really is a super power when it comes in testing.

The issue is that most of the time I land on a django project, it has really poor testing whereas most of the time I land on a Rails project, it has very close to complete testing. The reason is that the tests are more tedious to write.

And this culture trickles down to your dependencies as well. Anything you install with rails is almost guaranteed to have the upmost quality of testing.
Isn’t this just a question of ease of substitution? If it’s a trivial to substitute hang yourself from x vs y or substitute Hanging for handful of pills - is the marginal benefit really there? I suspect not, but I do think from an administrators standpoint this has the effect of a) looking like they are doing something, b) pushing [embarrasing] suicides off campus/out of sight.
I find the ORM API in django to be very clean, especially when combined with custom querysets. It also has great postgres support (https://docs.djangoproject.com/en/4.0/ref/contrib/postgres/).

The migration framework just works, I can't really compare it to rails because I haven't used rails in a long time.

DRF seems much more fully featured than rails-api, it comes with a browsable API and OpenAPI integration.
Look up whataboutism, the "tu quoque" fallacy, and the fallacy of moral equivalence.
It’s around and popular, but it doesn’t have zealots to suck all the oxygen out of the conversation.

Look at the people in this comment section that are emotionally upset that the author didn’t prefer JS over ruby. They’re calling the author stupid, saying the author is bad at bootstrapping or just not using the right frameworks.

People don’t seem to be emotionally connected to Rails in the same way.
For me it actually boils down to the language. I hate almost everything about JavaScript, its syntax, the decisions made and steps taken in its development, and writing Ruby, any Ruby, not just the Rails flavored kind, feels like a breath of fresh air after suffocating in the JS dungeon. My productivity takes a huge hit each time I have to work on a JS codebase, because my brain just doesn't enjoy thinking in JavaScript.

(Yeah I know this post isn't terribly informative, but neither is the article, so I'm expecting some light-hearted posts)
I think AdonisJS comes quite close to overcome this.
The degree with which the Russian propaganda regarding vaccine safety has permeated the Russian populations in Estonia and Lithuania (and Latvia as well) has opened my eyes considerably into how strongly connected those communities are still to Russia. They are Russian first, and Latvian, Lithuanian and Estonian second.

Now, Lithuania has only a relatively small number of ethnic Russians compared to the rest of the population, and in Estonia the it's somewhere in the middle (15% or so). Latvia is roughly 50/50.

And yes, the governments of those countries are well aware of the risk, but that is not the same as not having that risk in the first place.
Yes! And their defense industrial base is massive, not only are they just spending for internal use, but they also are making improvements constantly because they sell these weapons abroad (e.g. S-400's which piss of America to no end)

https://www.aljazeera.com/news/2021/9/26/erdogan-turkey-coul...
As someone who understands Japanese, the blog is a treasure trove of things in Japanese that well, don't carry over as nicely, hence those TL notes. So many "Yeahhh I know that feel" moments there! Especially amaeru, which I struggle to carry the meaning across in English as well...!

I highly recommend reading it even if you don't watch anime; it's a treasure trove of daily Japanese life references that don't usually turn up on mainstream media. It's also due to Kobayashi's Maid Dragon being set in modern day Japan with several slice-of-life elements, and Kyoto Animation tends to do an extremely good job of portraying those small moments of happiness.

Thanks for sharing this, didn't know it existed. :)

(R.I.P Mr. Takemoto, Director of Season 1. We lost so many great minds...)
I don't know. I totally agree on the premise that developers should be involved in ops as well.

But I'm a developer by heart and my heart aches whenever I see what we devs have wrought in the ops space. (Insert joke about the CNCF technology landscape map.)

There's just so many tech/tools/etc. involved that just reasonably "doing the ops stuff" on the side seems way unrealistic.
Sometimes I feel that all we've accomplished was job security for legions of consultants.
A land value tax for names? Or well copyrighted ones. I suppose brand reputation could have a value. It could also lead to companies cycling names for cheapness. Imagine say using Toyota-2022 as the offical name for Toyota.

The notion sounds a bit silly on the surface, but good enough at least for serious classroom discussions and evaluation.
So I don't disagree with anything you said. Where I do disagree is in your thinking that this capability can somehow be repressed. The technology is here. This is the world we live in now. Shit is going to get really weird. OpenAI is just gatekeeping. They represent the opposite of the hacker ethos.
I would not conflate slow feedback loops with intentional breaks

For me slow feedback loops push me into dopamine seeking activities, intentional breaks push me into relaxation and deep thought

Recently I got a treadmill desk and the physical exertion reminds me to take breaks where I can get off and relax and potentially think about a problem

Slow tests running causes me to not write tests and look at YouTube

https://youtu.be/f84n5oFoZBc
For those interested in pass for use in shell script based contexts, you may also find encpass.sh (https://github.com/plyint/encpass.sh) useful. This is a simple tool I wrote (a while ago now) to encrypt/decrypt secrets and store them in a manner very similar to pass, except it uses OpenSSL instead of GPG. Since it is also just a shell script and it's only real dependency is OpenSSL, then it can be used in a wide array of environments where installing additional software may not be an option. It also has hooks in the code to write your own extensions, which can be used to add features or utilize an entirely different backend instead of OpenSSL. Check out the Keybase extension as an example. (https://github.com/plyint/encpass.sh/blob/master/extensions/...)
Your rating being higher on Lichess doesn't mean that the competition is better, Lichess ratings just start higher, see https://lichess.org/page/rating-systems

On the contrary, there are more Grandmasters playing on Lichess (like the World Champion), and if you check your percentile on both sites, you'll most likely see that you're better than a higher percentage of chesscom users than Lichess - which would indicate that Lichess players are better on average.

And yes, I also think Lichess is superior to chesscom i nearly every way.
Rest In Peace to Kyoto Animation victims.
Tried it. Had issue with integrating packages and developing across Windows/Linux platform.

Deploying was also hell.

But it was fast, stable and once you solve a problem it is solved 100% .
Similarly to Rails, I believe you're using PHP framework?
TruAnon digital identity answers “who are you?”
Oh yeah, I definitely use 4 frequently too - for basically any bug ticket, or for any more complex change/new feature, I want to run the full app. Having this be fast/easy/reliable is huge. If it’s a service oriented app, and I’m modifying a single service, I especially love tools like https://www.telepresence.io/ - run my service locally, with an “auto recompile/reload on save” setup (and sometimes a debugger), while all the other services are running in the cloud, but communicate with my local service.

However, a lot of changes are just small, trivial tweaks, and if 1 and 2 are strong, I don’t even have to bother with 3 or 4.
Means restriction is an effective way of preventing a lot of things. To the point we have phrases like "If all you have is a hammer, everything looks like a nail".

Food for thought.
My experience of light tinkering with frameworks in the Rails/Django mode is that they are outstanding if the task at hand falls withing their paradigm.

If one has a requirements shift, and is told to integrate some other prior art, then deep exptertise on both the language and the framework are needful.

That is: the silver bullet is mainly available at the gun range.
I worked in lots of projects like this. The most amazing part is most devs didn´t care. Never understood why.

In one of those projects the code got so big and bloated that it took around 1 minute (sometimes more) to move from one line to the next while debugging. For me it was a torture, it was ok for most.
This is a problem even with classics that are merely sufficiently old, rather than being entirely in a foreign language. "Whan that Aprille with his shoures soote, the droghte of March hath perced to the roote..." is inaccessible for the modern English speaker without considerable investment, but translations, while still being enjoyable, inevitably lose the original's poetry, and even after translation - unless the translation is so loose as to essentially become a rewrite - one still needs to do yet more work to correctly understand meanings of references in the text that have no instantly accessible equivalent in modern culture.

This causes an issue with intuitions about a text: relative inaccessibility and the need for extensive study is common for works that have stood the test of time simply because of their age, and as we encounter this over and over, the very presence of these properties causes us to lean towards mentally filing a work in the "highbrow" category, and the lack of them otherwise accordingly - and thus "this is pop culture" or even "this is popular" become shortcuts for "this is worthless", without one actually needing to do the work to demonstrate the worth or its lack.

However, inaccessibility is neither sufficient nor necessary nor even particularly desirable for a work to be worthwhile; many classics of today were popular culture in their time, and so we must fight the instinct that causes us to think of the two categories as being mutually exclusive.
If you think that America has the moral authority to demand other states stop their human rights abuses, you probably don't know a thing about the extent nor magnitude of America's own human rights crimes. A nation that drops bombs on innocent people every twenty minutes for twenty years has zero moral authority when it comes to calling out other nations' human rights abuses - until their own abuses are appropriately addressed.

Anything less is just a failure to understand basic ethics. You can call anything a fallacy - the idea that Americans have a higher moral authority on the subject of human rights is just ludicrous and worthy of a great deal of ridicule in light of the statistics of "Americans killing other innocent people for fundamentally racist/bigoted reasons" .. the real fallacy is that the American people think their nation has a 'right' to act with moral authority over any other nation. They really, really don't.
Almost all the comments that are unhappy with the LoTR trilogy are upset that they didn't add every single thing from the book. Tom Bombadil adds nothing to the story. Glorfindel can and was easily swapped. I believe the books have ~160 different characters with speaking roles. If they were accurate with the books it would cost way too much and they would need 30 hrs of runtime.
I'm seeing the very same. Because I had some Rails experience in the 2.3/3.x days, I get recruiters constantly bombarding me to come work with their Rails monoliths. The few companies that I've actually spoken with are all trying to get AWAY from those massive Rails apps. They're moving to Elixir "microservices".

My read on this is that many of these apps were begun as PoCs/MVPs and as the original engineers have tried to scale, they've lost interest. So we have a large amount of 5-10 year old code bases that are looking for maintainers. One friend in particular contacted me and asked if I knew anyone who'd be willing to contract with his firm to upgrade a Rails 5.x app. This tells me, they had no one on staff that could do so.

So yes, the need for Rails devs is large. The popularity of it? At least in my area... not so much.
Yup, but there is more. I think overall we as a community appear to show good taste in what we do (this is opinionated) and if we do something it tries to be as complete as possible.

When I think of all the half backed JS projects I’ve looked at when searching for a solution and compare that with Ruby, there is a difference.
Just a quick question from someone who left Java behind a long time ago:

Can anyone explain to me why in hell a logging-framework needs the capability to load code from a remote server in the first place?
Show HN: Play Secret Santa with Flask and Twilio
That first document is fake. This is the problem with the conspiracy crowd. They have to fake things to make their argument.
Django I knew had pretty weak testing tools compared to Ruby/Rails mostly because the culture was no there. It was way harder to find a Rails App with had little to no tests. Quite a contrary in Django world.

Rails is a Web Framework. I don't understand the point about ML. Those categories are totally different. I guess it might be a tiny plus, but not very practical. Going this route one might conclude that game studios should build Websites in C++?
Well now, this is the question isn't it: what's going on with Russia? They've had a (smarter, more violent) version of Trump in power for 20 years, using violence to repress dissent, using fraud to fake poll numbers, cheated so bad at the Olympics they got a forever ban, and state-run media to broadcast propoganda. For the Russians, communism failed, then capitalism failed, and the national economy is the size of Italy suffering from rampant corruption. So what is it? They are deep in the bad corner of the Nash equilibrium, bitter about losing the Cold War, and determined to achieve some vestige of glory using the two levers that remain to them: nukes and gas? (Plus a 3rd lever: world-class hackers and online propagandists.)

I find it hard to imagine that in this environment there's much of a middle-class that cares about the best 3rd wave coffee in Moscow and which is the best Montessori school (e.g. the petty problems that remain once you feel safe in your society). Those Russians left for Germany or the US long ago, is my impression.
Bujvivivi
Another rails dev (10 years) it’s not the bright shiny new toy it used to be. But it’s still used by many, the jobs are plenty (I get tons of recruiter calls), and experience in it tends to pay very well.
Yes but Israel operates under the US defense umbrella at least implicitly even despite their extraterritorial attacks against Iran. If Lithuania or Estonia started hitting Russian military targets, I'm pretty sure they'd be booted from NATO asap. Also, if they used nukes against Russia or even postured like they would it'd be a disaster. St. Petersburg is super close to Estonia, Belarus borders the baltics, so if you did even a first strike you'd probably end up with a nuclear cloud hanging over your own country a few hours later.
Lemmings was such a great and innovative game, I still have the original box and floppy and will have to play it again soon.

Does anyone know of a web emulator that would save me some time?
unfortunately Metaverse is that name
I thought that sounded ridiculous so I did the math and 99.9999999 uptime allows for 1.314 _seconds_ of downtime every 1000 years. It would take approximately 2.7 million years to acquire just an hours worth of allowable downtime, that's how long it takes light from the second nearest spiral galaxy and farthest visible object to the eye in perfect conditions [1]. Within a single quarter of a year, that's 328.5 μs (microseconds) or about 1200 blinks of an eye [2] or about 3 times faster than a typical electric capacitor camera flash [3], also approximately, and interestingly enough, less than 1% of my current ping to my ISP let alone Amazon's servers.

So yeah, having done that I now understand that it was probably a joke but it really puts into perspective just how ridiculous things can get with a few 9's.

[1] https://earthsky.org/clusters-nebulae-galaxies/triangulum-ga...

[2] https://www.verywellhealth.com/why-do-we-blink-our-eyes-3879...

[3] https://en.m.wikipedia.org/wiki/Flash_(photography) (wikipedia's won't let me deep link on my phone, it's in electronic flash section under types)
our definitions of experimental are very different.

you also assume that if issues didn’t arise shortly after vaccination that issues won’t arise down the road, this is why we do lengthy drug trials and not “5 min express” approvals.

and if it’s so safe then how come the companies developing them still have immunity? if it’s safe and not experimental we can remove that and open them up to lawsuits right?
that's not true https://www.reuters.com/article/eu-baltic-energy-idUKL8N2GT2...

EU grants Baltic grids 720 mln euros to unplug from Russia
I've said this before on here, but the Rails philosophy really clicks with me. Working with Rails is just more fun than with any other language/framework, especially JavaScript. I understand that this is subjective, but it's good that different choices, including Rails, exist.

Rails is opiniated, and I love that: https://rubyonrails.org/doctrine/

Edit: Oops, looks like the new website they release somehow fudged the doctrine page. Here's the Wayback Machine link: https://web.archive.org/web/20211126010919/https://rubyonrai...

Update: Oh, they changed the link, here you go: https://rubyonrails.org/doctrine/en
Things like Turbolinks, HotWire, LiveView, and similar html over the wire tools don't reload the whole page. LiveView(Elixir/Phoenix) and HotWire (Ruby/Rails) can update something as small as a single html tag attribute and if you want to, a lot of people sprinkle on something like Alpine for purely cosmetic changes in the UI.

It's really quite amazing what you can do now with these HTML focused frameworks.
Apple is TSMC's #1 customer and they account for 25% of their revenue
Most monoliths are modular based like any other large solutions. At least in the languages I work with.

One code base is something I totally agree with. I would like this to include every dependency, at least the OSS once.
> If your developers are writing crap code in a monolith they're going to continue writing crap code in microservices but now you have new problems of deployment, observability, performance, debugging, etc etc.

Anecdotally I witnessed this once. There was this huge ball of mud we had that worked okay-ish. Then the architects decided "hey microservices could solve this", so we started building out microservices that became a distributed ball of mud. Every microservice shared and passed a singular data model across ~30 microservices, which made things interesting when we needed to change that model. Also, we took mediocre developers and asked them to apply rigor they didn't have in developing these services to that they were "prepared" for the failures that happen with distributed systems.

The big upside to management though was that we could farm out parts of the system to different teams on different sides of the planet and have each of them build out the microservices, with each team having different standards as to what is acceptable (what response messages look like, what coding standards should be, ect). All of this was less of a technical problem and more of a managment one, but we felt the pain of it as it was made into a technical problem.
How to share Google Calendar and merge your actual availability
Lemmings. I can see those little no-brained creatures everytime I (wrongly) do something in my computer 'cause I didn't thought of all consequences.
I’ve known 4 people that have had COVID, none vaccinated and none needed hospitalization. it’s almost like getting COVID isn’t a death sentence.
I'm surprised that iMessage doesn't restrict content to a subset of predefined, preapproved, battle hardened types and variants. Any other content has to be converted before transport. Otherwise that content is just treated as payload (attachment).

Why use a library to support every format ever made? To inline image previews? Just show a thumbnail.

Why do anything with PDF? Just show a thumbnail.

I'm pretty sure iMessage already down samples the puppy pictures I send to my mom, and doing some kind of conversion to tunnel across MMS for non iMessage recipients (eg Android phones).
Nest.js really helps to put a solid structure around Node.js/Express.js projects . I have found the teams much more productive, with strict conventions to help them build solid and scalable backend platforms.

As you mentioned, the Node.js ecosystem is full of specialised libraries to achieve typical use cases such as authentication/authorisation, ORM/persistence, etc. The Nest.js documentation is a great reference as they include a list of recipes for all those common scenarios and how to implement them in a Nest.js backend.
CLMUL in general is a bit weird to wrap your head around, but a CLMUL with -1 isn't too tricky: it's like a running 1-bit sum, or in other words, each bit in the result is the parity of all the bits up to that point in the multiplier.

> In our tests, going byte to byte for more iterations to keep the alignment when hitting the "else case" performed worse than making the unaligned loads, but as you say "just use CLMUL" (as all loads will be aligned) :D

I was talking about using bitwise operations with the quote/escape/newline masks already computed (like in the blog post I linked), rather than a byte-by-byte loop. But yeah, CLMUL is better anyways :)
What’s the jankiest piece of tech you’ve seen a company depend on?
Yeah sure, but the risk of taking a vaccine and deciding not to take it or holding up a sign outside of a hospital (I mean, plenty of hesitancy in the US too with no or very little Russian propaganda) is super different than taking up arms to support little green men coming across the border and I don't think really comparable. If we were back in '07 with the situation in Estonia, maybe, but now I'm super skeptical.
First you publish the next version of your service with the new data, then the disparate teams in charge of 12 clients (not you) update the rest of the application, then the old version is retired and every team has coordinated properly. Microservices allow lean coordination, basically just asking every team when they think they'll be ready without anyone messing with someone else's code.