skysight-inc/HackerNews huggingface dataset:
What do you run it on? A big part of the problem is that most IP ranges assigned to public clouds and VPS providers have garbage reputations, so email from them can get yeeted into the recipients spam folder no matter what you do on your end. And even if it works today, if any of the big mail providers decides to stop trusting your IP range tomorrow then delivery will silently break, with no recourse other than to beg an opaque monolith like Google to pretty please let you send emails again.
Did I mention Kotlin?
Ask HN: What's the best coding advice you've ever received?
Who gave it to you, and in what context?
How to use Twillio's API in Haskell*

I thought this was going to be about using an actual radio module with a SIM card and communicate with a cell tower or something
I think it's fair to wonder, if the job is that varied, then was it ever the correct design approach in the first place to presume to ever be able to predict and handle the unpredictable infinite permutations?

This is init vs systemd. 50 years ago, they could not predict all the crazy infinite things a unix system would want to do. And yet they made a system that handled it all possible needs by knowing enough to avoid making assumptions about the infinite other end users or the infinite future. They knew the most important thing which was not to pretend to know the unknowable.

They made a simple base framework and a toolbox, and everyone was able to serve their own crazy individual needs, still 50 years later.

And it still works. Systemd did not need to come along to fix some deficiency, it just came along anyway because for every wise engineer there are 10 clever engineers, and after 50 years of rapid growth the population of linux admins is less than 1% people that know how to reject a shiny new bad idea and 99% kids who do not. Plus of course a few huge businesses who just want that kind of appliance system for their own business reasons and don't care one turd about engineering or empowering the end user or anything like that outside of their own walls.

It's at least fair to look at grub2 and wonder if it's not just a huge self-inflicted wound from trying to deny the undeniable.

Maybe it should be something more like a library of smaller scope scripts that the end user uses a bit more manually.

The common cases can still be handled automatically so no change for 99%, the uncommon but known cases the user can configure their system to use something from the library for that situation, and totally new unknown situations are simpler to handle by writing a new script or adapting an existing one, because the framework is fewer layers and less indirect.
I don't even know who he is!
Yeah we broke everything one day with a bad merge conflict resolution. The ToList() ended up before the Where() and after Where()!. Tests passed, integration tests worked. Until we had 2000 front end cluster threads all trying to pull a 2 billion row table.
This is why I think it all came falling down due to the teknoraver patch to libsystemd to replace lzma with libarchive.

Because anyone has the resources to test this locally and find the issues, but they just didn't have the time anymore.
Demystifying TLS
> I'll bite

Please refrain from implying that the question you're answering to was asked in bad faith. You're not "biting", you're answering a valid question.
I'm curious what a good life time length should be to be considered 'stable'.

Allowing your code base to run ok for 10 years, 20, 30 without change.
You are talking Cobol type situations where the rest of the industry has moved on, and now your are stuck. So each individual has to judge jumping ship and migrating their systems.

Even Python took the leap and did a major revision that broke everything. But guess it had to be done.
Yes I do my own stuff because I enjoy it, but family I try to set up with standard services that don't rely on me.
Somehow, I think either we are reading different articles or one of us has a severe reading comprehension problem. I reviewed what the author wrote and the links and read through the Proton document, and I can't figure out where I have a conceptual error, because the document states WKD, which means the published protocol must have been used or the protocol violated, which what you are describing would be out of spec from the protocol.
I'm a Mac user as well, and I bought the Game and DLC. It's such a great idea. Congrats on the game launch (I'll wait patiently for a Mac version rather than trying to get the DLC working), but it was more about supporting the concept than anything.
I know nothing about this stuff and have never had the desire to "collect" anything. But it seems like part of the problem is that the author received these materials from other folks who trusted him to find a good home for them on. So he feels a sense of responsibility to the folks who gave him the stuff.
Solidjs is hitting the spot for me lately. It’s basically react rewritten to actually use reactive views instead of virtual DOM diffing. Your code looks like react but the js bundle is smaller, simpler and faster.

But if you aren’t interested keeping up with “JavaScript framework of the week”, you can do a lot worse than react.
It's the exact same desire - to get people to request the whole article.
> Nobody ever even audits the binary contents of flatpaks on flathub (were they actually built from the source? the author attests so!).

IME/IIRC There aren't (or shouldn't be) any binary contents on Flathub that are submitted by the author, at least for projects with source available? You're supposed to submit a short, plain-text recipe instead, which then gets automatically built from source outside the control of the author.

> The Flathub service then uses the manifest from your repository to continuously build and distribute your application on every commit.

https://docs.flathub.org/docs/for-app-authors/submission/#ho...

Usually the recipes should just list the appropriate Git-based URLs to get the source code, or, for proprietary applications, the official .DEBs. Kinda like AUR, but JSON/YAML. Easy to audit if you want:

https://github.com/orgs/flathub/repositories

Plus, if properly configured, Flatpak is supposed to securely sandbox every application anyway, although other systems it needs to be compatible with (E.G. X11) currently prevent that.
You're absolutely right of course, about flat-earthers. Those sorts of
people delight in dismissing incontrovertible physical evidence.

Compare that with "Who really shot JFK?". Let's say that tomorrow we
read a deathbed confession by the highest ranking CIA or KGB officer,
setting out exactly how it all went down. At least half the people
would just not believe it. Especially in the age of "deep-fakes". The
narrative would just "slip sideways" into "how the whole fake
confession was engineered". It's like chasing that last pea around the
plate with a fork. The sharper the instrument, the less use it is.
With time it's essentially become an unknowable thing.

So that's what a I mean my "perfect conspiracy theory". JFK is a much
more perfect "conspiracy" than flat-earth or faked moon landings which
have elements of timeless physical evidence.
You pick TypeScript because you can compile it to JavaScript by hand or in your head. The file size is smaller because there are no runtime features to bundle. When you're looking at the compiled version it's still recognizable as your code just without the types, when you're stepping through things in the debugger there are no surprises, line numbers for errors point you to places that are completely unsurprising because TypeScript is just JavaScript with a type system.

I've tried plenty of other to-JS compilers, even for languages that I love, and I still choose TypeScript every time.
You've got good reasons for not trusting any .NET GUI libraries from Microsoft, I don't either since they all ultimately end up abandoned however that doesn't definitely doesn't apply to their premier Server frameworks which enjoys first class long lasting support.

Razor didn't go anywhere, it's still the predominant language .NET Server HTML Views is written in since its release in 2010, whether it's in MVC, Razor Pages or even Blazor which enjoys the same familiar statically-typed syntax with great tooling and high performance compiled views.

There's no chance that's going to happen with Blazor, which has become the future of .NET Web App development, it's a unique technology that's highly versatile whose multiple rendering options supports a wide number of different use-cases that's enjoyed by most of .NET developers.

Personally I think it's a fresh of breath air after several years of fragile npm SPA development with broken upgrades stemming from its 100s of deps of varying quality and uncoordinated releases. All I liked from SPAs is its fast navigation, but we also get that from Blazor's Enhanced navigation without SPA complexity, heavy client state, maintaining client side routing, poor SEO, large complex builds, etc.
Now the chinese need to work on their marketing, so people buy even more batteries than they currently want. Capitalism, with chinese characteristics.
I'd recommend using ghcup to install Haskell nowadays. (https://www.haskell.org/ghcup/) It makes it easy to install and switch versions of the compiler, language server, and build tools.
People usually need one major thing out of their Office software: the ability to open and save Office documents from other people. LibreOffice is not there, nor will it ever be, because at the end of the day, it's the user's risk to use a non first party software.

It's not about the actual capabilities of the software, it's about getting along with other humans. And the power dynamics of that.
Well, you can see the twilio.com next to the title...
Google News is a customer who walks into Walmart consumes the free samples and tells people about them.

Walmart is free to ban Google from the premises (robots.txt) or to negotiate an exchange (monetization agreement).
Piracy has never been theft, regardless of what lies the public has been fed.

It's copyright infringement.
Unrelated note: I had always thought "nonplussed" was basically a synonym for something like "bewildering confusion." But the way you used it in this context suggested the exact opposite. It turns out that "nonplussed" has also come to mean "unperturbed": https://en.wiktionary.org/wiki/nonplussed

Quite confusing, because the two different meanings are nearly opposite to one another.

See also: https://www.merriam-webster.com/grammar/nonplussed
I agree here.

I wish that instead of TypeScript, MS had just used F#.

It seems like they took some of the concepts of what can be done in F# and made TypeScript. I wish they had just stuck with F#.

It's almost like it was marketing, like they didn't like how F# was viewed so TypeScript was a re-branding.

Maybe it is because TypeScript can be considered a DSL that could be built by F#. Like Elmish.

EDIT> Yeah, not sure if enough people understand F#. You can easily build TypeScript from F#. Or maybe the downvotes are from Haskell people that just view, a functional language can build anything so it isn't worth commenting on.
On certain way of structuring classes and structs - there was and still is dogma among many developers for single file == single class, mainly coming from Java.

However, you will see a lot of projects, especially OSS ones which are structured in more C or Rust like style with e.g. Types.cs if API surface is small - no need for a file per class or struct if declaring it takes 1-10 lines (especially with records and primary constructors).
used it on small side projects which worked well,but I am concerned it could lead spaghetti code for larger projects,for that reason I now stick with vuejs
Using mailcow here, we haven't encounter any major issues in a few years (with thousands of users).
I feel this is more a mindset thing and less about the langauge/ecosystem. It's not that hard figuring out how to call the C# compiler and what actually goes into compiling a C# project. Yet, even though I know all this and how MSBuild works, and how solution files work, and parts of the default SDK MSBuild targets ... I still like that things just work out of the box.

At work I maintain most of the project files and some of the surrounding tooling for our product and being able to clone the repository and opening the solution without having to configure or do anything else is still very high on the priority list since it makes starting out easy, it makes just opening up the project and making a small change easy, etc. Some of us switch between languages, products and projects multiple times a day and this sort of thing is a major help in not spending as much time setting up things.

On the other hand, even though I very much like understanding things beneath the surface, I'm still very much lost in how JS bundlers work¹ and Java with Gradle or Maven is also very mysterious to me. Probably also a function of the frequency and time I spend on setting up those things beyond just writing code.

___________

¹ It also doesn't help there there's lots of things that simply cannot work in the browser, e.g. importing CSS or JSON files as JS modules, that the bundler makes magically work in some way.
The main vector of attack was patching the code as part of running tests.

I would expect to see more projects try to protect against this in general by attempting to separate the building and testing procedures.
The parent comment was confused how demand is high, supply is low, yet wages are also low. I explained how these wages are fixed. You're the one coming up with these new assertions.
A pile of items, sorted by the owner, has information in how it is organized that gives it value beyond the sum of the resale value. And the moment someone else sees that pile, it's a pile of crap.

This is what terrifies me about getting a brain operation. To me, my brain is my universe ... but while I am drugged out and wide open on a table, my brain is just 8 pounds of fruit punch they are debating whether has spoiled. Who would champion its value without my own presence?

I live in the middle of nowhere New Hampshire. I have to drive a 2 hour round trip to get a specific brass screw, if I can't find one in my pile of crap in the woodshop's cabinets of drawers of boxes of envelopes. If I died, someone would toss all of it into a metal recycling scrap bin for 8 cents per pound. But to me it's worth 8 dollars per ounce, because of the information I have stored in it that no one else can access.

It's the same general reason why my work desk is a mess to everyone but me; but I can earn a livelihood out of the state of my desk, my files, my folders.

I think I wrote this reply for only myself but I sure got a boost out of it.
I thought they were gonna make some argument about least power in the frontend backend dynamic. But then they are like "why are we not using all these programming languages equally?".

Because that sounds like complexity and has nothing to do with the rule of the least power?
Plus the world would probably really a better place if Windows weren't one of the dominating systems, limited to desktop computing, but still...
Even if we take Kotlin, Groovy, Clojure, Scala, out of the picture, there are:

- A GUI toolkit that is available everywhere, not just on some platforms, needed 3rd parties for others.

- Two major implementations with Real Time GC, and bare metal support.

- A compiler toolkit, that even handles LLVM IR.

- A couple of bootstrapped versions

- Several implementations for various kinds of deployment workloads, specially when taken beyond the desktop

- An almost compatible ecosystem that powers 80% of the global phone market

- Three IDEs, written on the language, portable across the three major ecosystems, freely available and with access to their source code

Just a quick overview beyond guest languages stuff, don't want to bother with all the stuff.
I'd argue the REPL paradigm and readability are why R and Python are dominant in academics. Compilation and/or object oriented and functional paradigms are hard to teach someone who just learned how a text editor is distinguished from Microsoft Word.
I think Flatpak being a open source effort for a distro independent distribution channel is already pretty dope UX. Having this verification would sure be nice, but Verified publishers now being a thing is also an advantage over some other formats being used
1) release a new design
2) people hate it
3) people get use to it
4) goto 1)
As a laymen, isn't the spectrum just 'less autistic tendencies' and 'more autistic tendencies'? Is this a myth, or does the spectrum refer to something else? I was always under the impression that some people could be more autistic than others.
> Actually, yes, because racism is an ideology and a world view that says your own race/lineage is better.

I don't think that word means what you think it means.

> Racists do exist, AND communists try to control society.

Clearly racism exists, but not because of ideologies or political and/or economical theory.

Institutionalized racism in private companies has absolutely no relationship with any red herring like communism or marxism.

Blabbering about communism in a discussion over racism sounds like a lame attempt at a false dichotomy and whitewashing institutional and casual racism.
Yes, it is awesome until you have to sysadmin it, apply updates, patch it, fix security holes, etc. I am not saying all self-hosted solutions are like that. There are exceptions. However, the majority of open-source self-hosted solutions require a lot of extra work. This is why open-source is now also a marketing channel. People realise that even when you open-source something and give the code for free, it does not mean people would want to run it. It is simply not true. I sometimes wonder if some open-source projects are deliberately designed to be challenging to set up and run because an easier distribution model would conflict with business interests.

Now, I recognise that everyone is different and values different things in life, and there is no problem with that. Personally, I go for a hosted solution if it requires more than 1-2H of work per month from me or a member of my staff, which, in my case, happens to apply to all software.
Any other details you can provide.

It seems like .NET is really geared toward business cases. But .NET is huge, so covers a lot, and not all great.

If you were doing something embedded, or specialized. Maybe that is thing.

On other hand. I also used to love .NET, but when I tried using Python, I did have to agree Python was really fast for simple cranking out little programs.
> But Selfarama is primarily aimed at people who aren't as concerned about privacy.

... or aren't aware of how concerned they should be?
For my birthday this year I bought myself several bird feeders. When they all started arriving, my wife asked “how many bird feeders did you buy?”

“Enough for all the birds” was my only response. The rise in interest in birds as you hit middle age is definitely real.
I think they are talking about this: https://www.forbrukerradet.no/forside/digitalt/strommetjenes...

which is about when the seller revokes access to content you bought, it's not about what happens when your ability to consume the content is prevented by technical problems.
Handier for sure, but not on my clipboard
I think this is to allow you to define class methods on modules that can be called directly. I think the Math module does this.

module Foo

def self.bar

"Baz"

end

end

Foo.bar # won't work

module Foo

class << self

def bar

"Baz"

end

end

end

Foo.bar # works
I'm with you, but not so much on the embrace death part, but moreso on that the only mechanism most retirement investment vehicles work on is an incestuous loop whereby said money feeds back into propping up all the usual suspects instead of things best positioned to effect change. Passive investment may be a force that kills us all because we couldn't bother to open our eyes and realize we had all our money chasing counterproductive goals.
It's a bold claim to say that the team that produced a half dozen failures in a row has "no chance" of producing another failure. I will set a calendar reminder for five years "is Blazor still around" and I'm pretty confident the result will be "well yes but it's terrible for these reasons, but this new library Tazor is the future of .NET web UI and it's not going anywhere!"
Get ReactoS' ntvdm.exe from the nightly ISO (it's under a big CAB file, the biggest one) and use it under a 32/64 bit Windows. If any, place it in the same folder of the DOS game.
I was strangely obsessed with computing on the go for quite a long time. The HP 200LX was one of the steps on my journey. At the time, I was able to get this really cut-down real-mode version of Linux running on it. I was rather happy with being able to get 'vi' running and being able to program directly on it.

I didn't end up doing much actual programming on it while sitting under a tree on a breezy summer day though.

Later on I would experiment with running a full Linux userspace on Android phones that had decent keyboards (the original G1 / ADP1 and the Samsung Sidekick 4G).
Mordor: "[that] amazing city of alchemists and poets, mechanics and astronomers, philosophers and physicians, the heart of the only civilization in Middle-earth to bet on rational knowledge and bravely pitch its barely adolescent technology against ancient magic"
I've always liked Twilio. I stopped using it about a year ago because there was no longer a need for me to continue using it, and they have this "feature" where you can suspend your account, which means that it will release all numbers and disable billing, so that you can reactivate it later without having to worry that you get billed accidentally.

I wanted to do the same with AWS this week, since I'm always getting 0€ invoices, and I'm worried that some day something will happen without me doing anything and I'll get billed for it. Apparently it isn't even possible to set a spending limit of let's say 5€ as a warning mechanism.
> Encrypted boot partition I'd guess? I tried that once with grub, but it was unbearingly slow, because grub did not / could not use modern x86 extensions to do the decryption

Isn't it deliberately slow to resist brute forcing? At least at one point, the default number of rounds in cryptsetup was decided by counting how many rounds it could do in 10s as part of the setup process on your specific machine
If you have the right ones from the right time you can sell them for between £17 and £35 a pop...how would I know...
I self host a bunch of stuff from a personal and coding point of view.

- Nextcloud personal file sync and calendar mostly

- FreshRSS rss reader

- Dokuwiki personal wiki

- Shaarli for bookmarks

- Mealie for grabbing recipes off the internet and keeping them

- Metube for archiving youtube videos

- Gitea - personal github

- Drone for builds

There is so much available nowadays for self hosted webapps and a lot of it is genuinely great.
An HP200LX connected over telnet to SDF.org can be extremely useful if you spawn Emacs there.
I understand the issue, but what happens when in fact the prosecutor acts in bad faith, is dishonest, corrupt or is weaponized against you? No recourse? Like the police, where their word is truth?

The job shouldn’t be cushy, you shouldn’t expect that success is predictable, or it becomes easy to game. Judges have been signing illegal warrants like candy. I’d say if it’s not systemic that prosecutors are put on the defense, then I’m ok with it.

You have the backing and resources of the government, and you still complain that those you go after should take it lying down when their life is on the line?

Guy was pardoned because he could get to the president. Don’t think this happens often, but it’s worrying enough that maybe provisions should be added to pardons? Like sponsors should prove to not benefit in any way from this?

Just seems to me like unchecked privilege.