News for hackers. Stuff that matters.

prepperdev

Re:Go is not an easy language on Sunday February 21, 2021 @11:22PM (#26220825)
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.

Re:Building Rich Terminal Dashboards on Monday February 15, 2021 @11:56PM (#26151082)
Craigslist approves: https://sfbay.craigslist.org/
Re:Automated release process for (Lerna) monorepo on Sunday February 14, 2021 @11:43PM (#26139185)
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.

Re:Subaru Blames a Single Factory Worker for a Recall on Saturday February 06, 2021 @03:17AM (#26045094)
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.

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

Re:Why aren’t we using SSH for everything? (2015) on Wednesday February 03, 2021 @01:23PM (#26017120)
Amazingly, the chat example still works:

  $ ssh chat.shazow.net
  * prepperdev joined. (Connected: 35)
  [prepperdev] anyone here? :)
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?
Re:Go 1.16 will make system calls through Libc on OpenBSD on Tuesday February 02, 2021 @12:20PM (#26003721)
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.
Re:Go 1.16 will make system calls through Libc on OpenBSD on Tuesday February 02, 2021 @03:45AM (#25998637)
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

Re:gemini:// space on Monday February 01, 2021 @03:51AM (#25986843)
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?"
Re:gemini:// space on Monday February 01, 2021 @03:08AM (#25986602)
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.

Re:gemini:// space on Monday February 01, 2021 @02:47AM (#25986510)
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.

Re:Subversion vs. Git: Myths and Facts on Monday January 25, 2021 @12:23AM (#25899595)
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...

Re:Show HN: Rysolv – Fix open source issues, get paid on Saturday January 23, 2021 @12:05AM (#25879837)
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!

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...

Re:Parler Hosting Requirements on Sunday January 17, 2021 @10:16PM (#25817724)
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.

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.
Re:Parler Hosting Requirements on Sunday January 17, 2021 @06:22PM (#25816319)
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
Re:Parler Hosting Requirements on Sunday January 17, 2021 @05:47PM (#25816038)
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

"""

Re:Alpine Linux 3.13 on Thursday January 14, 2021 @02:19PM (#25780926)
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.

Re:Debian discusses vendoring again on Wednesday January 13, 2021 @03:24AM (#25759551)
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/

Re:Open Software Packaging for Science: Mamba, Quetz, Boa on Wednesday January 06, 2021 @01:47AM (#25655238)
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.

Re:GitHub is fully available in Iran on Tuesday January 05, 2021 @10:51PM (#25654494)
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.

Re:GitHub is fully available in Iran on Tuesday January 05, 2021 @02:32PM (#25649892)
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.

Re:GitHub is fully available in Iran on Tuesday January 05, 2021 @02:30PM (#25649869)
Yes, as answered in another branch, it's possible and reasonable to setup continuous / daily backups, if you're using a hosted Git service (Github or not). This will mitigate the risk of losing access to the code.

It's not advised for these Iranian developers to use any Github-specific features, such as issues, wiki, CI, because losing them will cause disruption / knowledge loss.

And then the reason to use Github specifically, instead of something else is quite low.

Re:GitHub is fully available in Iran on Tuesday January 05, 2021 @01:51PM (#25649307)
Yes, making daily on-premise backups would mitigate the risk of losing source code.

That applies to everyone, not just Iranian developers: setup daily backups of all your code.

Re:GitHub is fully available in Iran on Tuesday January 05, 2021 @01:16PM (#25648786)
That sounds great, but it's a very fragile state of things.

While it certainly makes lives of Iranian developers easier, it does not make it a good idea to put their code there: laws change, and quickly sometimes.

Older »