Better HN
topnewbestaskshowjobs
Log inSign up

ChymeraXYZ

187 karma · joined Apr 18, 2018 (8y ago) · 42 submissions

Submissions

comment 11mo ago · link · parent

I know it may sound stupid but in my latest project I chose ULIDs because I can easily select them as one word, instead of various implementations of browsers, terminals, DB guis, etc each have their own opinion how to select and copy the whole UUID. So from that point of view ULIDs "look" better for me as they are more ergonomic when I actually have to deal with them manually.

comment 1y ago · link · parent

No... No, it's not. Just require password/confirmation for every purchase. I have 3 kids and not a single one has purchased anything without me approving it (where they did not pay with their own pocket money).

comment 1y ago · link · parent

Could be, but it does not change the fact that we do not understand them as of now.

comment 2y ago · link · parent

What is the reason it should not be able to support rendering markdown?

The underlying files are still just plain text and if it's not .md (or whatever other extensions may make sense) it's not rendered.

comment 2y ago · link · parent

(a) Not everyone can afford to manage that (e) They key point is that it needs to be standardized to the point of the vendors supporting it. As long as there is a general API (for example) on the device that I can point a plug-in to, it's fine, but AFAIK such a thing does not exist at this point in time.

comment 2y ago · link · parent

Personally I'm using Migadu at the moment and for me the killer feature is that the price per month is not bound to users and/or domains. I have several tens of "users" (many are myself but for reasons with completely separate identity as far as the server is concerned), and 8 or so domains. There is barely any traffic (in the order of <10 emails in and out per day).

Most other providers I would have to pay 10-30x as much, just because I have several users and domains, at a grand total overhead cost of 0$ to the provider.

comment 2y ago · link · parent

> Some sites disabled pinch zooms (massively frustrating for images).

Best are the blogs that have embedded images of graphs or something and they are as large as you can make them (edge to edge). Try pinch to zoom... nope. Tap on image... Here is a smaller version of the image (not edge to edge). Oooookay... Can I zoom now? Hahahhahah....nope!

comment 2y ago · link · parent

Migadu is Swiss

comment 3y ago · link · parent

I am maintaining a fairly complex set of nodered flows, dealing with some long running tasks performed by other tools.

When checking n8n the impression was that it's like a v2 of NodeRed that learned from what NR did wrong. Lots of tools an capabilities you end up wishing for in NR are built into n8n.

For example:

* data flow is simplified, no one global "msg" var that gets clobbered by every 2nd custom script * you can fairly easily test flows * you can see execution history, including in/out data * you can see exacting flows

comment 3y ago · link · parent

General question: Is there an actual use for this kinds of projects, beyond showing what can be done? I have seen many different "web desktop" projects and while most of them were impressive in their own (technical) ways, I could never see the an actual use case for them.

comment 3y ago · link · parent

> That’s a poor analogy, you do have the tools to properly and easily compensate such linguistic disability, as easy as having someone double checking their writing or having one of these new AI spell check tools, etc.

If the hypothetical person in question had such tools, then we would not see their "handicap" right? So the discrimination would not have occurred...

comment 3y ago · link · parent

Yes but then it's no longer declarative, is it?

comment 3y ago · link · parent

"you’ll be paid in STORJ Token." https://www.storj.io/node

This statement basically makes me unable to take this seriously.

At "Egress Bandwidth $20/TB" it should pay off to buy up all the cheap hetzner servers and convert them to storj nodes. They would pay themselves back after 2 TB and then you are off making profit.

But wait, there is more:

They charge 7$ for egress bandwidth... How can they pay 20$ to the one providing the bandwidth. Oh, right they don't actually pay the operator, they give you a crypto token.

So all in all paying for storj feels like supporting yet another crypto scheme.

comment 3y ago · link · parent

How do you deal with for example with this:

New column C

C = A + B

Drop A, B

If I just specify the desired state I get data loss...

comment 3y ago · link · parent

This!

Ever since I discovered sqlc it's my go to for any dB it supports.

It's a joy to work with and does exactly what you expect it to, no strange magic.

comment 3y ago · link · parent

I switched last year after being exclusively on Linux for approx 5 years.

Hardware is hands down the best in terms of battery life. It's hilarious compared to pretty much anything else I have tried.

Software is... Meh. But the part that really is the window management. What is there currently in mac (and Windows) is, mildly put, a joke.

comment 3y ago · link · parent

> So long as the amount of audio sent in a packet is larger than how long it takes the next packet to get there, you'll be transfering audio data faster than it is playing, making minor fluctuations in timing between packets irrelevant.

Even major fluctuations. Not talking about the quality here (but the received quality is identical to what is being sent), but just think about Netflix & Co, Imagine if they had to maintain an "ideal network, with no packet loss and constant ping" to your device or otherwise audio and video would be out of sync?

There are protocols that shuffle more or less raw audio streams over the network (Dante for example). In that case yes, you do things to make sure the variables are within a certain range by (usually) segregating the traffic etc, but even then if the timing is off the playback will stop until the stream is reestablished properly. Theoretically it's the same as with any other media stream, just much more sensitive to fluctuations as it is real time (i.e. delay so low you are unable to hear it).

comment 3y ago · link · parent

Yeah, no because "streaming" is just transferring a chunks that can then be played. You are not sending bits from the network card straight to the audio out. Even if you have a certain % packet loss, there is 0 impact on the playback as long as the next chunk arrives before the previous one has finished.

comment 3y ago · link · parent

> What does it mean to be worst-in-class for text chat

I expect a chat program to show me all messages the have been sent in a chat, in so far the other party intends me to view them (have no been deleted etc.). That is not an expectation Teams manages to fulfill.

I expect an edit (mine or someone elses) to be reflected on all my devices. That is not an expectation Teams manages to fulfill.

I expect to do the same series of keystrokes in a blank "chat input" field and get the same result. That is not an expectation Teams manages to fulfill.

I expect the text that I see as have been sent to appear the same (for a reasonable value of "same") on the other persons screen. That is not an expectation Teams manages to fulfill.

I expect that if I scroll to the bottom, I will be able to make the last message intended to be visible, become readable and copyable. That is not an expectation Teams manages to fulfill.

I expect that when I select a text and press "ctrl-c" or the local equivalent, the text now in my clipboard is always predictable. That is not an expectation Teams manages to fulfill.

And yes, I have personally seen and experienced each and every one of this things.

comment 3y ago · link · parent

> And with good ORMs like Entity Framework the underlying queries they generate are predictable.

Right up until they are not and generate crap. I went from "predictable" EF generated queries to handcrafted ones reduced the load on the DB by about 70% while having more queries per second...

comment 3y ago · link · parent

Unfortunately this only seems to be available for repos you own yourself and not if an org owns the repo, making it useless in a company context until that is expanded. Great for personal stuff tho.

comment 3y ago · link · parent

a = 7 b = 9

Write a program to make

a == 9 && b == 7

No, I don't care how many new variables you use and what language you use.

Yes, I had people not be able to complete this. I would say this is something that is so basic that:

a) It's not testing any knowledge b) It's basic enough that you can figure out under stress, while never seen it before c) It's short, easy to explain (in 5 different ways if need be), and easy to validate d) It's an idiot filter. It doesn't even test if you can program, it's more like "If you know how type out code, are you also capable of reasoning about the basic logic of that code".

comment 4y ago · link · parent

I have personally not seen one single case where the website managed to do that. Ever.

comment 4y ago · link · parent

I have only recently tried GoLand while living in vim for ~5 years. IMO vim's autocomplete is significantly better than GoLand. Not saying the rest of the auto-insert helpers, but the completion itself is way better imo.

comment 4y ago · link · parent

But that's the thing... if the bank gets hacked, there are laws, regulations, and protections in place to:

a) try to prevent that happening in the first place b) at least give you a strong chance of reclaiming your money

While with crypto, as I understand it, you are SOL.

comment 4y ago · link · parent

When you look at the audio routing in Linux "teams" is no where to be seen. It's all "skype". So apparently they just took Skype and made it "enTeRpRise"

comment 4y ago · link · parent

Hey, I have a few serious questions, as I have really been trying to understand the benefits of using blockchain over "classic" stuff. They may sound like I'm questioning things, and that's because I am but with the goal to further my understanding.

> Lag of up to 24 hours is ok

So you could use any eventually consistent DB? Or a pub-sub type queue that you process at your leisure?

> and the relatively small number of parties is quite trustworthy.

I'm assuming this parties need to apply/be invited? How is that different than needing an API key?

> Basically they just use the bc for consensus

Consensus of what exactly? AFAIU the consensus is about the state of the data on the blockchain, with sanity checking against itself, not about if many parties agree if "this number should be blocked"

> and mirror it to a rdbms for read queries.

I was always under the impression that it's quite fast to read the data off the blockchain if you are a node. Am I misunderstanding something or is what they are doing just overkill?

comment 5y ago · link · parent

Odd, how installing linux solves the issue... (speaking from personal experience with 3 different XPSs)

comment 5y ago · link · parent

If on-the-wire readability is important you can always opt for a different marshaling method, like JSON (or even roll your own). Yes it's some extra work but not a showstopper if that's the only downside of gRPC/Protobufs.

comment 5y ago · link · parent

Currently a NAS (RAID1) + Google Drive unlimited via rClone. Unfortunately that is going away, and I am considering migrating either to tarsnap or B2.

Hard copies are of course an additional bonus but I'm not considering them "backup".

My strategy in general is that data should be in at least 2 distinct geographical locations at least 10km apart and managed by 2 distinct organizations (for example Backblaze and Google if you are using 2x cloud backup).

12