Better HN
topnewbestaskshowjobs
Log inSign up

prepperdev

174 karma · joined Jan 4, 2021 (5y ago) · 35 submissions

Are you a prepper dev? https://prepper.dev/posts/2021-01-03-are-you-a-prepper-dev/
Submissions

comment 5y ago · link · parent

Yes. That very example shows why itis hard to write fast program in Ruby. It's not even the interpreter (which is slow), but it's that Ruby is pure magic.

I was never able to understand what happens, when I looked at a particular snippet of Ruby code, if it was not me who wrote it. With Go, understanding others people code is a trivial task.

comment 5y ago · link · parent

Craigslist approves: https://sfbay.craigslist.org/

comment 5y ago · link · parent

Monorepos are underappreciated.

- Dealing with cross-repositories changes is unproductive.

- Relying on external servers (git / npm / whatever) is risky.

- Visibility of what goes to your servers is never easy without having everything in one (well-organized) monorepo.

Monorepos solve it all, without adding any issues, if done right.

comment 5y ago · link · parent

Essence: "A single associate assigned to a specific production line working between the production dates specified (12/14/2020 – 12/21/2020) was found to be using an improper torque wrench technique".

A case for using more robots, I guess.

comment 5y ago · link · parent

The counterpoint is valid (rising seas don't help), but then we have Saint Petersburg ([1]) that's literally build on top of swamps and occupies multiple islands. It has a first class subway ([2]). It's a little deeper than regular subways, but it exists and works really well.

1. https://en.wikipedia.org/wiki/Saint_Petersburg

2. https://en.wikipedia.org/wiki/Saint_Petersburg_Metro

comment 5y ago · link · parent

Amazingly, the chat example still works:

  $ ssh chat.shazow.net
  * prepperdev joined. (Connected: 35)
  [prepperdev] anyone here? :)

7.

Why aren’t we using SSH for everything? (2015)(medium.com ↗)

4 points · by prepperdev · 5y ago · 1 comment

comment 5y ago · link · parent

What are the limits for the number of layers? 176 seems like a large enough number to believe that a few thousands are a possibility. Is the tech any close to a bottleneck, or they will keep growing them up?

comment 5y ago · link · parent

That would be up to a specific OS to decide which guarantees on stack size limit would it like to provide. But I agree that it's a valid concern, and not all possible vDSO implementations are reasonable.

comment 5y ago · link · parent

vDSO is a good way to mitigate issues like these. It's also a better stable ABI than libc, and easier to maintain than pure kernel ABI (like Linux does), because nobody forbids the kernel to inject different vDSOs to different binaries, if a need arises.

vDSO is also a language independent construct, so there's no special treatment for any favorite language, be it C (OpenBSD), C++ (Windows) or Oberon OS (Oberon).

vDSO: https://en.wikipedia.org/wiki/VDSO

comment 5y ago · link · parent

This is covered by their FAQ: https://gemini.circumlunar.space/docs/faq.html, Section 2.5 "Why not just use a subset of HTTP and HTML?"

comment 5y ago · link · parent

What I meant is having markdown pieces within code regions in a text/gemini doc.

Imagine a code review tool that tries to show a diff as text/gemini.

comment 5y ago · link · parent

Gemini is a cool piece of simple tech. I had a genuine pleasure reading the spec: https://gemini.circumlunar.space/docs/specification.html

I've entertained an idea to build a set of tools for contemporary development (version control, code review, CI, etc) which would only speak Gemini. That would be both the UI and the API.

Blockers came fast:

* no way to upload anything that exceeds 1024 bytes,

* escaping is subtly broken and so it would be impossible to review code written in Python or Markdown (triple quotes)

* No text editing capabilities, pretty much.

Which is fine: Gemini is great because it's restricted. It's nearly impossible to abuse. It will find its users, even if it would not be me.

comment 5y ago · link · parent

Yes. I definitely had the vibe of 'Get the Facts' from the Microsoft Linux-smearing campaign circa 2004 ([1]).

1. https://en.wikipedia.org/wiki/Criticism_of_Linux#Criticism_b...

15.

Subversion vs. Git: Myths and Facts(svnvsgit.com ↗)

3 points · by prepperdev · 5y ago · 4 comments

comment 5y ago · link · parent

First of all, kudos for trying to find new ways to fund open source. Those are needed.

This approach might work well for issues which require a lot of thought, but produce a simple fix and can be easily merged

This might go horribly wrong if outside contributors try to implement a major feature to a project which they don't have a good mental model for, produce a large patch that may get rejected by maintainers, or end up being rewritten-by-code-review, which would cost such maintainers more time than if they implemented the feature in the first place.

It would be interesting to follow!

comment 5y ago · link · parent

Bloomberg maintains an excellent dashboard that tracks vaccination in the US and worldwide ([1]). It shows that California is one of the slowest states with only 37% of received vaccine administered. Top five states are North Dacota (77%), West Virginia (74%), Oregon (61%), South Dacota (61%) and Texas (60%).

1. https://www.bloomberg.com/graphics/covid-vaccine-tracker-glo...

comment 5y ago · link · parent

Excuse me?

While my account is relatively young (13 days), it's not one day old. You can also look into my comments over this time. So, the accusation is clearly off.

comment 5y ago · link · parent

snaps are tied to the proprietary Ubuntu store and they are not available on all of the Linux flavors. For instance, I don't see snapd on Alpine Linux:

  $apk search snapd
  $
Not cool, I think.

comment 5y ago · link · parent

I don't believe it's a joke. It still might be a deliberate lie (a random twit is not a real source of knowledge), but so far this is consistent with what we already know. See https://news.ycombinator.com/item?id=25769730

comment 5y ago · link · parent

Copying their requirements as text (original grammar preserved, including GB and Gb confusions).

It's a good glimpse of what unlimited cloud budget does to companies. I quote:

"""

* 40x i3.Metal instances (64 vCPU's, 512 Gb ram (more ram, of course, better for those)), 14 Tb nVME e/a (Scylla cluster)

* 70-100x (96 vCPUs, 768 GB RAM) - 4 Tb nVME e/a (PSQL cluster, could use more RAM and CPU, but not easy to get)

* 300-400 various other instances, less picky, generally 8-16 cores w/ 32-64 Gb of ram as available

* Internal traffic ~300-400 Gb of traffic/minute

* External traffic ~100-120 Gb of traffic/minute

"""

22.

Parler Hosting Requirements(twitter.com ↗)

59 points · by prepperdev · 5y ago · 29 comments

comment 5y ago · link · parent

Recently, I migrated my personal dev laptop from Ubuntu to Alpine Linux. It took a day, but everything works now, including hidpi stuff.

No big issues so far and I am in the process of migrating my home server to Alpine.

comment 5y ago · link · parent

Debian policy is very sane (no network access during build), but it does seem like modern software just assumes that the Internet is always available, and all dependencies (including transitive) are out there.

The assumption is a bit fragile, as proven by the the left-pad incident ([1]). I hope that whatever the outcome of the discussion in Debian will be, it would keep the basic policy in place: not relying on things outside of the immediate control during package builds.

1. https://evertpot.com/npm-revoke-breaks-the-build/

comment 5y ago · link · parent

Key quote: "We have become extremely dependent on conda and conda-forge. We must think of their sustainability."

Then it talks through the steps being taken to reduce dependency on Anaconda Inc. While the company proved to have a lot of goodwill in the past, there's always future: it gets acquired, and the new owners might not be as well meaning as the current ones.

comment 5y ago · link · parent

It really depends on how small or large your organization is.

If it's a single repo with a single branch, sure. No need for explicit backups.

If it's tens of repos with multiple important branches in each, then it would be very dangerous to assume that developer machines have all of them.

comment 5y ago · link · parent

That's not necessarily true. If your organization has tens of repositories with multiple important branches in each, all odds that at least some of those branches are lost.

Proper backups of all repos are an answer, of course.

12