skysight-inc/HackerNews huggingface dataset:
A new empty project compiles in under a second. However, adding dependencies will add some arbitrary number to this. Additionally, every hundred lines of code seems to add some amount of time between half a second and a whole second. I did some reading and read that generics are particularly expensive to compile, so I wonder if that accounts for the variance. I can't explain why cargo deps add time, though.

I LOVE rust-analyzer. It's actually what got me to reconsider Rust after I tried a year or two ago, and it is SO good.
Build systems usually don't care what you added. Modification of source means rebuild.
Ditto on the not a lawyer aspect, but this seems pretty straightforward:

You may make use of the Licensed Work, provided that
you may not use the Licensed Work for a Document
Service.

A “Document Service” is a commercial offering that
allows third parties (other than your employees and
contractors) to access the functionality of the
Licensed Work by creating teams and documents
controlled by such third parties.
The compiler makes sure we're not making mistakes, and it keeps the code safe from humans.

I think this is somewhat orthogonal.
Exactly the same outcome here.

The killer for me is friction and despite Microsoft’s best efforts, it’s always the most painful platform to work on. Nothing is finished, polished or reliable.

(I include WSL2 in that)
Yep, Bluescreen
I wonder if there is a need or appetite for large libraries like Apache commons or Guava in Java which cut down on dependency count.

It's an alternative to a myriad of small, unaudited libraries. Rust does have some projects going to audit those small libraries, though.
The answers to all these questions are known and public when I vote. I know who counts them, where the figures are sent and who verifies them.
Not really, but it's hard to keep track of the whole sentence and general meaning by keeping the speed slow.

The open dyslexic font helps a lot, (pity it's fugly)[https://www.opendyslexic.org/about]. Very little problems with monospace, even at 6-10px
I used to help maintain Xfce's svn and then git server.

I'm not going to say it was hard, but it was work, and it was work that took time (time that was volunteer free time) away from working on Xfce itself. When I did the final git imports of our svn repos in mid-2009, GitHub had been around for about a year, maybe a year and a half, and wasn't that popular yet. And I suppose back then I had the bull-headed "must self-host because that's the only thing a respectable open source developer should do".

That was a foolish attitude that took time away from the actual goal, which was making Xfce better. If it were today, I would have moved us to GitHub in a heartbeat, or perhaps GitLab (their hosted offering; I wouldn't self-host), instead. I haven't been involved with Xfce (still a happy user though!) in nearly a decade, but I suspect they still self-host out of inertia, with probably a little of that bull-headedness mixed in (that I myself can't claim to be fully free of either).

While GitHub's uptime isn't perfect, it's pretty damn good, and better than most volunteers will get running their git server off a single box someone had racked somewhere in Belgium, which I believe was what we were doing at the time. Tools for that sort of thing are better now, and if I had to self-host today, I'd use EC2 or something like that, and automate the hell out of everything, but it's still a lot more work than just using somebody else's infra.
If you have an editor with syntax checking such as VS Code with rust-analyzer, it checks syntax in the background as you type, saving you a lot of compile cycles. It doesn't yet scale very well to huge projects but getting better every week - rust-analyzer is under very heavy development.
In my opinion, the section which the author called "the ugly" makes it clear that it's not that surprisingly good as a application server language. A file upload is a basic feature that has already been solved yet Rust code contains a lot of boilerplate when compared with Python.

Remember the mantra from the 2010's when the dynamic typing craze? Rust is not about optimizing developer time, it's about guaranteeing safety for base sysstems software.

All this permanent reasoning about ownership, borrowing and so on makes it the greatest contender against C++ (hence Mozilla and Microsoft support) but in terms of productivity you'd be best served with a higher level, GC-collected platform for an application.
> This honestly is a bad habit.

I'd like to hear some justification for this rather than a blanket assertion. Just because our work styles differ doesn't mean that my style is necessarily wrong.

> Rust is a language to which the programmer must adapt his way of working and thinking.

I mean, Rust is actively attempting to improve compile times. It's not like devs made them intentionally long to cultivate good programming habits or something. So I'm not sure how this is relevant.
Used ArchLinux for 6 years and eventually switched to Ubuntu. It just works most of the time and most of the things I require is bundled with the installation ISO. Most third-party bundles in .deb format which also usually just works.
> IMO websites like this that challenge the assumption that all modern software is obligated to support all of Unicode are a valuable contribution to the world, if only because they might inspire the creation of a better, more well-scoped character set.

Oh God no.

We do not need any more character sets.

Most of what you mention can be fixed with a font, and the LTR-override stuff is in the realm of proper escaping which all web apps everywhere in the world need to do at all times absolutely goddamned regardless.
The advice is to buy a quality SD card and backup data that shouldn't be lost to a more reliable location. S3 bucket, a local NAS or something like that. The general idea with Pi's and IoT devices is to act more as input point for data or programmable controllers rather than reliable networked storage or server space.

also Pi4 now supports boot from USB: https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb
Really, were still doing this?
Somewhat unrelated, but how do you like living in Hawaii? I visited once and it was beautiful, but I'm not sure what it would be like living there long term.
Lacking Kubernetes specific experience, I have no idea what the article is talking about. Is it just “you can write micro services in different languages and deploy them in separate containers, and they can still talk to each other?” Why is that observation insightful?

Is there some special inter- on intra- container communication mechanism that the author is trying to highlight?
I actually enjoyed BitBucket for smaller projects. They offered free private-repos earlier than GitHub did, so that was the main sellingpoint for me.

The self hosted version of BitBucket comes in at a pretty reasonable price. I don't know that for sure (and I can't check thanks to GH being down) but I'd imagine the self-hosted versions for GitHub Enterprise are quite a bit more expensive than Bitbucket or Gitlab.
Copying this from someone else I replied to: No, it's an issue for warm caches as well. I had a 10 second compilation cycle to add a comment to a file in a project with a couple hundred lines of code and like 4 lines in my cargo.toml. 10 seconds! For a few hundred lines! Maybe that doesn't sound insane, but extrapolating out, that's at least 100x worse than the languages that I'm used to.
I wouldn't consider self hosting better with regards to downtime. Our company has various self hosted components like jenkins and all and full time people to manage that, and I can say for sure their downtime is more than github. And good luck if you think you can manage everything for a side project.
Is there something like archive.org but for git (and why not other vcs) that finds repos and periodically fetches?
> My feed is almost entirely filled with people who use Twitter as something like Deviantart or Pixiv to upload original artwork and only use the character count for writing a description or title

Me too! If I discover an artist I like, I'll scroll through their feed quickly before I decide to follow. If they tweet mostly one liners or politics with only the occasional artwork, then it's a pass from me.

One other thing I'd suggest is muting certain keywords. Adding political terms to your mute list can clean things up significantly.
> Why are you not using an alternative?

I don't need two CI/CD pipelines. Nor do I have have time to build something like that. I need to spend my time working on the core product.

The risk here is that my deploy SLA is tied to Github. I accepted this risk as the cadence of my deploys tends to be once to twice a day on average and Github is usually available (many nines).

I made a choice, and now that choice is biting me. Now I'll evaluate if I should spend the time and effort to migrate off it. If this is the last of it and Microsoft makes a commitment to not break things, I'll likely stay as the effort to move is nonzero. If this begins to happen every month, on the other hand...
> The more work the compiler does, the less we have to keep track of in our head

There’s two sides to this: on the one hand, you don’t have to keep as much info in your head because the compiler will tell you if you ask it. On the other hand, when you do try to keep state in your head, the compiler is able to double-check that for you so that you don’t have to do it perfectly.

With a language like Python, you’re working without a safety net, so you make small, cautious, steps in order to not fall. A strongly-typed language like Rust enables you to make larger, bolder, changes in one go, confident that the little mistakes will get caught.
Problem? Thanks to Microsoft and other capitalist companies for revolutionizing the way we do computing today.
Indeed, think of the poor right wing engineers who feel the ever tightening noose as they walk on eggshells as the tech industry gets more anti-right.

There are tons of rightwingers in tech or wanting to get in to tech who are feeling excluded and unsafe due to the modern political environment, way more than there are potential black/minority software engineers put off by use of terms like "blacklist".
Unfortunately, it looks like not all doctorate grads are created equal.
Raklet for membership management software,CRM
Nano definitely seems like a good choice if they're looking at it from the perspective of a less experienced user who just needs to modify a few lines in a config file. As you said, anyone who needs a more advanced editor probably knows how to get vim installed and set as default.
Ubuntu, came from centos then moved to xubuntu but now just Ubuntu.

Debian derives mostly as it just works. Run on netbooks, in VMs and as physical machines. Laptops have given some problems with hibernation/ suspend. Oh I have a Debian as well. Just works!
I guess it's time Github realizes that they're not longer just relied upon for git, but for so much more.
His own resume probably. The company takes all the risk and he takes the reward.
> Are people becoming more afraid of responsibility these days?

I wound't say people become more afraid, they just don't see the reason to bother. I'd choose GitHub or Gitlab for small teams at any time. I'd probably even be fine with the free versions.

I see little to no reason for self-hosting in a small team. I cannot imagine a performant server, bandwith and the employee it takes to maintain it to be cheaper than the 10€/month/user for a hosted solution.
Wealthy investors see lasting life changes after Covid-19
In a modern, well-supported programming language's arsenal, there are many tools that work to take some of the pains of coding away. The compiler is but one of them.

Unexpected behaviour and errors can be caught by means other than constant recompilation, and tools exists to do just that. In IDEs, these tools tend to become invisible, seamless, and can be relied upon without much configuration; for those accustomed to less integrated environments, the manual configuration required to get these tools up and running becomes a hassle.

I suppose using those tools efficiently and constant recompiling are different ways to solve the same problem, but I wouldn't say it's solely the compiler's job even in the latter case. For languages that aren't super-fast for compiling like Rust, Swift, etc. there may be much more reliance on those other tools.
Big.LITTLE has always somewhat baffled me as to how well it works. Is my phone actually good at assigning low priority tasks to the little cores? It's always seemed unlikely given how half-assed it seems to be when it comes to much easier things like not trimming the app I'm currently working with for using too much power or taking less than five solid minutes to notice I've driven away from my house's wifi and it needs to use 4G instead.
One of the features HN users might like: On a book's page, you will also find links to summaries others have written, or author's podcasts/TED Talks etc - all in one place. Example: https://learnawesome.org/items/5c731d15-6a53-432e-82e4-a4de9...

For this to work, I imported links to summaries from sources like sivers.org, blas.com, fourminutebooks.com, sipreads.com etc. Will need help from users in making this dataset even better.
never trust external tools in your build process, you may have an emergency and not be able to fix.

we are trying to migrate to https://www.sonatype.com/nexus-repository-oss (self hosted), it would cache the git tags and you just have to replace the git links to nexus like in the dependency manager.

if you want something simpler, you can try satis for php, sinopia or verdaccio for npm packages. you will find a lot of other tools for the other languages.
I'd say Outline, almost fits the bill – individual read tracking is happening in the background but we don't yet surface that to the user – there's an open issue for this and it should get tackled soon, I'd link to GitHub if it wasn't down :)
Oh please, you're just throwing up chaff because I contradicted your point. Pick some other whacko theory (crystal power, personal auras, whatever). You don't need to be an expert in bullshit to question whether something is bullshit. You're just pretty sure that you get to be the arbiter of what's bullshit and what's irrefutable without a pedigree.

Not all fields of science are on as good of a footing as physics and chemistry, and there is almost certainly something you currently believe which will be shown to be false in the future. This is exactly the problem mentioned in the article:

> “I defer to the experts” (said with pride).
- Kubernetes control plane screw-up
Workers Get Nothing When They Produce More? Wrong
It's surprisingly easy to set up and run, even with redundancy, integrates well with Jira, Confluence. Was fast enough, stable enough, had everything one needed (offered more than a hosted solution such as github). IIRC kept git completely separate, so it worked even during updates or restarts.

Disclaimer: I passionately hate Atlassian products, but I don't feel like using Stash/Bitbucket is a bad choice in any way.
bat - a cat clone with syntax highlighting and Git integration
Perhaps my examples were a little too trivial. I do a decent amount of game/graphics coding, so there's a lot of "hmm, does this look good 20 pixels over? How about 18?" and I don't know how you'd get around that without recompiling.

(OK, you could read preferences from a file, but then you'd have to optimistically write every value you'd ever want to recompile to a file. I've tried this, but it's far too much overhead.)
I bought a Lenovo T4xx series laptop. I read most Lenovo laptops were Linux friendly, as I didn’t want to waste too much time on it at home. You can easily fall into a time sink trying to get Linux working on a laptop. And I don’t have much time or patience to mess around with such frivolous pursuits anymore.

I split the hard drive to dual boot, in case I needed access to Windows. And installed Ubuntu on it. The latest release uses Gnome by default, so this was a much better window manager than their previous Unity one.

So far, so good. It works mostly well. The fingerprint reader does not work. This is actually quite handy, especially when coming out of a reboot, or lockout. It works nicely on Windows, but doesn’t work on Linux.

However, one great feature difference between Ubuntu Linux vs. Windows, is the ability to resume. On Ubuntu Linux, I can fold down the laptop lid, and not touch the computer for weeks, and when I reopen the lid, it resumes immediately at where I left off. Whereas, with Windows, it seems to force a reset, and I lose all my previous works, open windows, etc. So, this is a definite big win for Ubuntu Linux here.

Most other things works ok on Linux. Not great, but it’s acceptable. Firefox works ok, but I found a few glitches, where I had to revert to using Chrome on Windows. Although I’m sure I could’ve downloaded Chrome for Linux to use it.

I found reprogramming Linux to automate some tasks, to be much easier on Linux, as opposed to Windows. Mostly because Bash is easily scripted, and all the Bash and Gnu tools, just makes Linux easier to automate. And especially aliases, which can auto set a bunch of commonly used parameters.

Overall, it’s more fun to use Linux on this laptop, than Windows.

Some things about the Gnome window manager does annoy me however. Like, when I try to save a file, or open a file, then the file manager window, takes the entire screen, instead of just being a smaller modal dialog box. But, this hasn’t irritated me enough yet, to find a possible fix for it.
What's wrong with them? Maybe it's because I do not use project management features much, but I like new UI more.
As someone who regularly uses Delphi, famous for its compile speed, I can totally see where you're coming from. Rust looks really interesting to me, but I've been holding off getting into it, because I would likely end up feeling the exact same way.
I imagine that originally the tone-based warnings and alerts were easier to implement. As for the situation regarding cars, it’s probably due to the fact that these beepers etc are already approved, and verbal messages would require an audio system that is cued to whatever display language is chosen.

And you’d need to ensure it‘a compatible with the letter of every law and regulation whether you are marketing your vehicle.
The most time wasteful part of programming is debugging. Writing slowly and thinking through your options and double checking what you wrote saves time. Especially since you are doing this while writing and you have the complete picture in your head. Obviously it does not catch everything. But one should strive to minimize detective work.
How to make money online 2020
> I have dealt with, because of my racial characteristics, a variety of micro and not-so-micro aggressions from my coworkers and that's on top of the bullshit I've had to deal with from neighbors and society.

Have you considered whether you might just be sensitive and these micro-aggressions might just be the normal give and take of working in an office environment? With nothing racial about them?

> All of this causes me to consider walking away to find something where I don't have to deal with as much BS

I would be very surprised if you find a less racist job than in the tech industry. Big tech caters way more for minorities than most of the other industries.
I think you're right in that blaming Microsoft without any evidence is probably a mistake, but I also think "until the official statement, it isn't Microsoft failure" is putting a bit too much faith in corporate PR as a source of truth.
Are these Wordstar keybidings? The legend lives on...
The longer and more difficult words are, the harder it becomes. Or what does this mean? cmisorepenohn
Since the Pi4 can boot from USB now (might still be in beta, not sure if it's fully released), I would get a USB3 to M.2 adapter, buy a decent M.2 drive, and use that. It'll take up more space than the SD card, obviously, but not that much more.
And yet (Correlation != causation) != (!causation)
We use Bitbucket on premises. It actually works great. Zero issues for the last 5 years including upgrading from one version to another.
Why wouldn't you want a garbage collected language for developing web services? Developer time is at a premium, lots of RAM, likely a single environment managing multiple requests so the GC gets a global overview, and because of network variability you're unlikely to be doing anything with realtime constraints.
Slightly off-topic: why SoCs? Cramming everything into a single die seems to be a poor design decision since your die size is likely to be limited by yield considerations.
Curious why Apple doesn't go for ASICs inside a SiP or tightly coupled on an interposer/PCB.
See, I like the idea of K8S quite a lot. Enough that I decided to set up a cluster from scratch to figure out how everything ties together.

I've since grown to strongly dislike how much of the entire ecosystem seems to depend on random unversioned Github gists or direct links into a raw file in a repo somewhere.
This can be merged with https://news.ycombinator.com/item?id=23817794
> The main thing that I use compiling for is to validate little off-by-one things. Like, is substring() exclusive on the second parameter? What about range syntax and the slice operator? What if I wrote + 1 instead of - 1 somewhere, or did < instead of <=?

Rust has a testing facility that can be used for these things. By default, all "example" code that's included as part of a doc comment ends up in the test suite. And because test cases are small and self-contained, they're also very quick to compile.
As someone who's been running a media server and home automation server on his Pi 24/7 for 3 years now, I beg to differ.
Well, maybe. Or maybe concentrating funding in less promising fields and approaches leads to disappointing results, which in turn leads to lower funding in the long term.
Some major tools like python's `poetry` has official recommended installation as:

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python

Guess why our python docker images stopped building today?
Same mate
Let me guess, you have a solution and it looks a lot like socialism.
If anyone knows: How does it compare to Trelby?
Sure, but neither are they now so it makes no difference to Apple.
Lots of solutions out there but I for whatever reason I don't like any of them

This is one of the reasons why I think Facebook is virtually impossible to topple as the dominant social network. Facebook came along when social networks were new and unusual, and people didn't really have ideas about what they could be. Everyone accepted Facebook's UI and feature set, even if they didn't really like it, and signed up anyway. Now people expect to see set of features they want from a social network on Day One, and won't compromise by signing up if those things aren't there. Consequently if you want to build a new social network app you have a massive undertaking from the outset. Without doing that no social network can gain enough traction to grow enough to compete with Facebook.

Unless users are willing to accept a less than perfect solution they're going to be stuck with Facebook as the only real option.