skysight-inc/HackerNews huggingface dataset:
> - How does the world move on from bad influences

This is probably the most difficult to answer as reckless youth is often a driving force of change. Aging has negative impact on our mental capabilities, so it seems reasonable to expect the average person to change their mind if they stay young.

> At what point is it ok to choose when we can die

It should be ok right now. In fact it is ok in my country.

> - Will over-population become a serious issue

Maybe, but there is no reason why a bigger population can't use less resources. Longer lifespan might incentivize more sustainable politics

> - How do we support a larger aged population?

If you stop aging, then you increase the population of people who have bodies of healthy 20-30 year olds, not the population with bodies of 70 year olds. This frees up enormous resources that go in elderly care or treating age related disease.

> - Do we expect to also extend "working years" ... and then why?

Probably, but right now, nearly halve of our lifespan is "unproductive". 20-30 hour weeks with 6-12 weeks off per year forever seems better than 25 years getting an education, working 40 hours per week for 40 years with 5 weeks of vacation, followed by 20 years of retirement.

> - Does extending life cheapen our perception of it?

Why would it? If you die when you are 30 you lose around 50 years. Without aging, you would lose so much more.
Depends on the implementation:

https://matttomasetti.medium.com/websocket-performance-compa...

https://hashrocket.com/blog/posts/websocket-shootout
There is a lot of talk about monoliths vs microservices lately.. I just want to throw into the ring that you can do both at the same time. easily. And noone is going to kill you for it either.

maybe we are getting caught up in sematics because its christmas, but "monorepo/monolith/microservices/etc" is -just- the way you organize your code.

Developing a montolith for years but now you have written a 15 line golang http api that converts pdfs to stardust and put it into on a dedicted server in your office? welp thats a microservice.

Did you write a 150 repo application that can not be deployed seperatly anyway? welp thats a monolith.

You can also build a microservice ecosystem without kubernetes on your local network. We have done it for years with virtual machines. Software defined networking just makes things more elegant.

So dont stop using microservices because its "hard" or start writing monoliths because its "easy", because none of that is true in the long run.

What is true is that you have a group of people trying to code for a common goal. The way you reach that goal together defines how you organize your code.
Ant Colonies Have Memories That Their Individual Members Don't Have
Mutating to lower virulence isn't a law of nature. https://medium.com/a-microbiome-scientist-at-large/do-viruse...
Crichton wrote interesting books but not all his science was robust.
I'm not familiar with the GNOME story, but removing features takes courage and is actually a form of sincerity.

A developer team can be insincere and avoid outrage by just leaving half-broken features in the software, stop testing them, and ignore all complaints about it. Low quality and inactivity doesn't make for as good a story on social media.
Microservices aren't implemented to solve technical problems,

rather they are used to solve organizational problems. Having 10 developers working on a single monolith? Probably fine. 100? Good luck managing that.

Yes they add technical complexity. But they reduce organizational complexity.
Strangers from the internet paid for my MacBook Air: my 4th year of indiehacking
I wonder if a FP compiler should actuall be able to produce faster code than for imperative style: imho knowing intention and context could lead do far superior optimizations (for loop with var for summing vs. List.sum)
> it does mean that they have effectively banished these people from the US.

This is quite irrelevant to the vast majority of Earth's population. I know some Americans consider the US to be the center of the world, but I doubt that sentiment is prevalent in Russia of all places.
Bitcoin – Committing to Quantum Resistance [pdf]
Mmh, I don't think so. Beside logging most other libraries will already sanitize user input since it is a more commonly known attack vector for those kind of libraries. I would compare the vulnerability to https://github.com/frohoff/ysoserial.
Working with Log Files in Emacs
In the same vein: I'm very used to "printf debugging". When I use a language where it's harder to do that, I feel like I improve as a programmer because I spend more time reasoning and thinking about my code instead of directly trying to fix the problem I have right now.

As a more general thing: you can learn a lot by removing tools that you usually use from your toolbox. For example, going from a managed language to manual memory management. Going from an IDE to shell commands. Removing tools like language servers. Each time I did one of those things, I learned a lot. However, there are lots of things to learn and I don't know if this was the "most effective use of my time".

Another example of hard to balance learning: I'm currently working for a company. Should I focus my learning on their business and our codebase, or on general technology? General technology is a transferrable skill, and I'm scared of being "trapped" in a company if I focus on their specific parts too much. But on the other hand, companies want to recruit efficient people, and I think focusing on the business and our codebase would make me more efficient.

I'm a junior engineer, so maybe that's due to a lack of experience. If anyone has insights to share about that, I'd love to hear them.
5-10 minutes. I specialize in developing CRUD/line of business applications, and need to do this several times a week sometimes.

I've created a framework in Python, on top of FastApi(or Flask)/SqlAlchemy/React that allows me to create web apps with built-in authentication/authorization/payments/admin/email etc. It has several features that makes it really fast to create database models and CRUD functions.

2-3 minutes for the cli to create the base application and install dependencies. 1-2 minutes for the database models and UI. ~5 minutes for ansible-playbooks to bootstrap the server (hardening, installing docker). Another few minutes start the application on the server (build docker images, push to registry, deploy docker-compose scripts to server, run the app, bootstrap the database).

It would probably take several hours if I'm starting from scratch and using only open-source frameworks.
Better search for natural sockets instead of natural gas reservoirs I guess.

Heating water with electricity is expensive and depending on energy production not more ecological. The expensive part is probably secondary for people building in NYC anyway, but I don't think it should be a general recommendation.

I work for a company that also builds electrical water heaters and heat pumps and business is very good, not complaining, but electricity is a high value form of energy and I don't think we are in a place to switch yet.

It is worthwhile for someone with a house and if some parameters are right and you also invest in solar and batteries, you can have a pretty nice setup. It still requires a lot of up front investment and you can break even at some point. But at first you would only do it for your love of nature.

At least that is the situation in the northern part of Europe, the situation might be different in the US.
I've observed "trial and error coding" many times in my life. This isn't caused by a short feedback loop at all. The people who work like this will work like this with a long feedback loop too, they will just take a lot longer to do anything. These people are simply incompetent programmers.
DB isn't needed. Our microservices pipeline either uses MQ, EFS or S3 for the destination for another pipeline to pick up. Unless you count those 3 as DBs ;)
Some folks were asking for a survivorship bias-less(?) write up on trying to be a successful indiehacker, so this how 2021 went for me.

Previous years:

- https://maxrozen.com/indiehacking-3-year-review

- https://maxrozen.com/2019-further-reflections-trying-to-star...

- https://maxrozen.com/2018-review-starting-an-internet-busine...
The double contrast is a huge smell for writing. Consider the general form:

Proposition A

However, Proposition B

In Contrast (or any other contradictory linking phrase), Proposition C

Have you considered it? Now answer two questions:
- Do you think Proposition C is in contrast to A or B? or neither?
- Have you ever seen this general form in _good_ writing?
>"Jenkins is not necessary, you can still deploy stuff with a local bash script and you need containerization whether you are on Microservices or Monolyth architecture"

This is what I do. Single bash script when ran on bare OS can install and configure all dependencies, create database from backup, build and start said monolith. All steps are optional and depend on command line parameters.

Since I deploy on dedicated servers I have no real need for containers. So my maintenance tasks are - ssh to dedicated server and run that script when needed. Every once in a while run the same thing on fresh local VM to make sure everything installs, configures, builds and works from the scratch.
This is where I stop understanding modern ui frameworks. Instead of making an ui inner machinery (controllers) as a set of modules which could in theory run even in a non-browser environment, they pile up everything together into dom/etc. UI could be just a thin layer over usually testable ui-controllers, whose methods could be called by either controls or offline test suites (as in most desktop frameworks). But nope, they do mountains of “smart” views and test them instead as a whole.

…I just googled for “React TDD” and the top no-money result suggests finding divs in containers and spying on dom changes. It’s like testing your cli app by hooking into tty driver’s section in /dev/mem.
> It's been a long established medical fact that viruses evolve to become less severe over time

HIV, Smallpox and Rabies would like a word.
No.. but they should trust those who do.
Probably this fork[1] could be a good starting point.

[1] https://github.com/alephsecurity/xnu-qemu-arm64
C# is much further towards readability on the readability/conciseness scale, and I don't expect that to change. Sure, it gets many similar features over time, but compare e.g. pattern matching and how much clunkier it is. Or pipelining.
Leveraging SIMD: Splitting CSV Files at 3Gb/S
Yes it definitely can! The most important optimisation (imo) is to replace pure code on immutable data-structures with imperative code on mutable data-structures.

Why not just write imperative code? Because it’s really hard to reason about.
Such a shame. I get where they're coming from but cooking on an eletric stove is just not the same. I recently moved to Germany, and it's the same here, I don't think I've seen a single flat with a gas stove and it really put a damper on the move.
Normally you'd open a transaction, run the unit test, then roll back the transaction.

That makes each test start at the same, clean state.
Ah, I misunderstood then.
Hi! Why do you share it today? You have updated something recently in it?
I mean for AzureAD auth, so for "applications", as in OAuth/OIDC. Although I'd like to be able to use the key for primary workstation auth, as I can do on Linux.

By hardware tokens I mean U2F, in my case a Yubikey.
This freaked me right out! I'm not sure which is more terrifying, the beginning or the end. Or the middle.

All this generated from a prompt? What what the prompt? Be truthful now.
Bangalore has fairly moderate climate, and also, they are providing wall mounted fans instead of ceiling fans.
you are right, I loved that feature too.

another thing I forgot to mention:

what I was missing: "dotting into" in the sense that I have a object/data I want no manipulate and quickly see what can be done with an data in FP

after getting into FP some years ago I have significantly altered my programming style in C#, using much more extension methods for pure functions, and recently NonNullable, pattern matching etc...
This is the same argument in favor of manual photography with film, instead of a digital SLR, or a camera phone.

While you might learn more if forced by the constraint, the opportunity cost is quite high, and these days you'll never replicate the experience of going off with your glass plates and camera packed on a mule to photograph the Sierras.

Not only all of that... but Ansel Adams spent a TON of time in the darkroom, and pretty much invented most of the techniques that Photoshop emulated in their early versions. Even faced with limited chances at exposing a negative, he iterated the heck out of the development process when making prints.

I share your view that there is value in the focus, but I don't think that anyone can afford the opportunity costs.
However the Drop trait still has some safety issues, right?

It appears to be more like Ada's Unchecked_Deallocation as it comes with some "use with care" footnotes.

I remember reading something about it.
UTF-8 is allowed, but it's a trap.

Nowadays it's less of an issue, but back in the days windows, mac and linux all used different default encodings. This meant that opening and saving the source file in one of the system could mess it all depending on the editor and how careful the devs are.

Also, there is the canonical writing issue, where you can write different utf-8 strings that all end up displayed the same. It's not an issue if it's just display text, it's a different story if you have a method that doesn't get called because the byte sequence was different, or more subtly hash indexes that seem to match but actually don't.

BTW there are companies that write some of the UT methods right in Japanese, as it matters less, and it's quite fun as there is less restrictions on what can be put in the identifier (full-width parenthesis, spaces, comma etc, are allowed in that context)
This is something I've worked to get right my entire career. Whenever I start a new project, I make sure the feedback loop is small. If it's a new technology for me, this can take a while to get to a process I'm happy with, but it's worth it.

Way back when I was at uni I remember watching over people's shoulders at the painfully slow iteration process. I couldn't believe not a single one thought of doing anything about it. They looked more like factory workers, endlessly turning the same handle and waiting. If you spend your time doing this, you will have no time left for creativity.
authoritarians can remain irrational far longer than their economies can remain functional.

there's a reason why Orwell said a boot stamping a human face forever instead of a boot stamping a human face until it became economically disadvantageous to do so.
Hypothetical mac minis with m1 max might be of interest in that regard.
Not yet, but it's now in the category of "You won't get fired for picking X". It's seen as enterprise-y and 'safe' and yes, is definitely quite used.

The fact it's used internally at Google and MS alone means it's got traction. I'm willing to bet lots of enterprise shops are using it for things, even if it's not #1.
> > I have subscriptions to both

> I'm not sure how you have a subscription to Lichess when it's a free site. Do you donate?

It's a sign they have actually not used Lichess, and just writing FUD.
Startups to Watch Article for Newsbreak
Yeah, “Reddit is going down because they only converted three million new users in the last month.” Is probably not the argument that will convince anyone who’s ever built a b2c of your point.
I never realized the overlap in terminology before, that's quite interesting. "Router bits" and "shortest path".
> Add to that, based on the numerous implementations I've seen of Azure AD, Microsoft doesn't have a sandbox/preview instance (or it's cost prohibitive), so testing it with your app before going live with your new app is ... challenging.

I haven't seen any sandbox feature either. The way we handle this is by creating a "test" app if it requires special rights, so we end up with SomeApp-test and SomeApp-prod. I don't know if there's any limit on the number of "apps" you can have.
Cool site! I tried making something https://animasci.com/play/f7607788-b0a8-4a2c-acb5-81471952d8...
I'm pretty sure this was 1999--2000 or thereabouts.

It's possible that standards were still too rough, but the statistic left a strong impression on me. I believe the general concept is validated elsewhere as well --- I'm pretty sure Jacob Nielsen has a similar finding.
I see, so in this very specific, imaginary scenario blockchain will provide access to information that could also be accessed with a VPN?

That's incredible potential! I better get in now and shill a bit on HN to convince people that it's a good investment so that the price goes up.
If you are in France, Spain or if you agree to relocate in one of this two countries, I have a company for you.
What does popular mean? Used by X% of people or used by X people?

Ruby developers is small in % but rather large as an absolute number.
I was literally trying to find this yesterday but couldn't remember the name. Thank you!

It's nice seeing some of the stuff I wrote on less trafficked pages or far from the centre on popular pages is still there after ten years!
What really gets me is people who don't seem to understand how to search for information online. If you go to something like /r/wearethemusicmakers (a sub for music making, mostly based around computers and software) you'll see people asking questions like "what is an audio interface and why do I need one?"

You can type that question into google verbatim and find dozens of high production value Youtube videos explaining exactly what an audio interface is. Yet a shocking number of people opt to type this question into Reddit and then wait 8 hours for other users to post answers.

Are people really this incompetent at finding information online nowadays?
That is what astonishes me. I thought these things would have to be 24 million light years away, not just 24 hundred. That is practically our backyard.

Radiating away 8 million tons per second, and barely noticing the loss.

I marvel that these things aren't magnetars. We will be lucky if no magnetars are found within 500 ly, because a minor disturbance on one that close could end life on Earth. Life in a galaxy is a risky affair. Anybody capable would get far away from the galactic disc, as soon as possible, if they value life. It is no surprise they don't visit us. It is dangerous here.
I doubt the redesign matters to the vast majority of users, despite the vocal nature of the minority who dislike it.
This simply isn't accurate.

Blockchain isn't new. Guess what? People were implementing distributed ledger technology way back in the 2000s. By the early 2010s, this was already mainstream. I implemented tracking and tracing for a Japanese multinational pharmaceutical company over a decade ago--which allowed for traceability throughout every step in the supply chain, from manufacturing to consumer. Other friends and acquaintances did the same for the agricultural industry, facilitating rapid and immediate tracing of contamination events (e.g. E. coli outbreaks). And they made a fortune doing so.

NFTs are somewhat comically reminiscent of Windows install CDs. If you're not familiar, find a tech-savvy millennial (or anyone of a prior generation), and ask them what the coveted CDs were like. They were carefully wrapped in plastic, surrounded with multiple folds of high-quality heavy duty paper. And once unfurled, buyers were presented with a holographic rainbow explosion of colors. All of which was intended to connote "ownership", and to carefully shroud the all mighty "Product Key" (aka crypto token).

Such elaborate technology. And yet, how many people actually payed for Windows? NFTs appear to be the modern equivalent. iOS will happy record what's on my screen, no matter the purported DRM, and at high resolution nonetheless. What's to stop someone from sharing a photograph of the Mona Lisa NFT?

I'm only suggesting to take a step back, and zoom out from the hype. Plus ça change, plus c'est la même chose. Everything old is new again, my friend.
I don't think the toxicity plays into profitability that much; if anything it might even help. Facebook is doing great financially.
It should also be okay to write words in a censored form if the writer wishes.
I consider Casio one of the few under-exposed brands in the world. You could credibly taken them into several other adjacent product areas than the ones they currently occupy.
haha no he never worked for chess.com, wonder where you heard that one :D

lichess is not one guy either, there's a whole community of developers, moderators etc.
Wasn't git invented for that?

In what way do Microservices even help? It seems to me you still have to synchronize to be sure that the Microservice from team B does exactly the things that are specified in the new version?

Is it not easier to have a pull request that says "this will do thing x", you merge it into your monolith, and then you can see in the git log that this version will indeed to x?

How do Microservice organizations even manage that? Is it the reason that Atlassian has a billion dollar evaluation, because people need it to keep track?
I agree with you, it shouldn't, as evidenced by another of their properties which works fine: GitHub.

I don't know the actual answer to this question. My speculation is they don't want to have to support too many platforms, so they just flat out refuse to serve them.
> Lots of people are stuck on low-bandwidth links so a codebase optimized for slower connections would absolutely fly (and consistently so, for everyone, under lots of conditions), and everyone always wants to use less bandwidth anyway.

You would think so but why have solutions like Mumble[0], which allows for extremely low-latency and high-quality voice calls and has existed at least since the mid 2000s, not become more popular during the pandemic? Or why didn't people at Zoom and MS Teams at least learn from Mumble?

[0]: https://www.mumble.info/
I'm mostly a C# programmer by trade, and having tried F# multiple times (last time by doing half of the AoC in F#) , I haven't felt that I'd be ready to make the jump.
My main issues were:

- Much of the functional stuff like map/filter is available in C# as Linq, which granted, is not as nice, but the difference is not huge.

- Much of the new stuff in C# like ValueTuples does make it into F# but with a godawful syntax, I don't think this is the language's fault, but rather is the result of Microsoft's inattention

- I'm still not sold on the idea of functional languages - much of the stuff in them, like map/filter, option chaining, high quality type inference, pattern matching has shown up in procedural languages (they are all available in C# with the exception of option chaining), and the downsides, like immutability making some algorithms impossible to implement, is great. Imo, local mutation is not that bad, and functional languages actively prevent it, while global mutation is still a thing, which tends to be more problematic

- The generated .NET IL is not great. seq turns into an IEnumerable, list is some sort of linked list, I'm pretty sure you'd get pretty terrible performance if you did this.
Monoliths and microservices are two bad ways to develop software. Monoliths are rife with hidden dependencies and microservices tend to collapse from even simple faults

Need to rightsize the modules. More than one, but just a few with boundaries chosen around recovering from faults
Don't ask man :D. I found it really fun and decided to build the most stupidest and simple website I ever built. Contrary on working on complex projects, developing it for 4 years and not launching on HN, this felt super great.

I saw a huge spike in Google search for that keyword "can devs do something" so I decided to do it.