Better HN
topnewbestaskshowjobs
Log inSign up

initplus

1,857 karma · joined Sep 3, 2020 (6y ago) · 393 submissions

Submissions

comment 5y ago · link · parent

I have been hearing people saying this for over a decade now...

comment 5y ago · link · parent

Tether is acting like a bank, that's the problem. A completely un-auditable bank with a history of shady behavior.

If a bank has 0% reserves, the books say 0% reserves. Tether has no books.

comment 5y ago · link · parent

I do wonder to what extent Tether has a symbiotic relationship with large exchanges, and what the loans are denominated in.

It's easy to imagine how issuing loans denominated in USDT would be attractive to Tether. And that debt can be converted into an asset on Tether's balance sheet. And voila the tether is backed.

comment 5y ago · link · parent

Can't have a bankrun if you don't allow withdrawls. Tether will not actually redeem your USDT for USD.

comment 5y ago · link · parent

On a practical level, this is a bad view to hold.

Individuals with an external locus of control have worse life outcomes. Having an internal locus of control, the idea that you do have a large amount of control over your life, results in better outcomes.

comment 5y ago · link · parent

If you have perf critical branches in your code, you should try and make them as predictable as possible. Sometimes that means using a different approach that is algorithmically worse, but has much more predictable branches.

Classic example is linear search is faster than binary search for “small” lists. The item == myItem branch is only taken once at the end. Meanwhile binary search will take the branches of it’s comparison (item < myItem, item > myItem) in equal proportion to each other, so the branch predictor is stuck at a 50% guess for that branch. There is a great talk on this but I can’t remember what it’s called...

comment 5y ago · link · parent

Comscore’s data collection relies on users installing their shady monitoring software - I imagine users who install such software are significantly more likely to have a yahoo email account. Same issue with Alexa ranks.

comment 5y ago · link · parent

GCP takes a really flexible approach with their cloudbuild CICD offering. Each build step is just a docker image URL, entrypoint, and args.

Want to do something fancy and complex? Just pull in a python image and call your python script. But you can still implement simple build steps directly in the build file. No need for a multitude of language bindings, everything you want to do is probably implemented with simple shell commands.

comment 5y ago · link · parent

They have every incentive to release the results - if they showed that the market was undervaluing advertising.

comment 5y ago · link · parent

Publishing content relating to security can be seen as a kind of challenge. See the blogs of many security researchers for examples. I can't see why this same effect would not apply to OpenBSD to a certain extent.

comment 5y ago · link · parent

If your software is ethical, why smear your own name by bringing a spurious lawsuit against a singled out individual like this?

There are real concerns around privacy with software like this - what will happen if some criminal finds an exploit in Proctorio's software? This kind of monitoring software is often designed to be hard to detect or bypass, and installs itself in ways that are challenging to remove. Development of this kind of software should be done with a high degree of caution and care. There isn't a risk that an invigilator will be compromised by a malicious actor, and then see every detail of students lives and all their private data for all time. But this risk does exist for software.

If Proctorio takes legal action like this against critics what does that say about their software?

comment 5y ago · link · parent

>Making sure that my PATH variables were set up correctly

This is a pretty common issue to run into with developer tooling on Windows, regardless of the language.

It would be nice if the go installer added its install dir to the PATH automatically like some tools do. But so much dev tooling on Windows does not you will need to know how to edit your PATH eventually.

comment 5y ago · link · parent

Charging for developer tooling is really hard.

Over-monetizing their dev tooling was a significant contributor to Microsoft's loss of dev mind-share over the last decade. Free software took over the world because any kid in their bedroom could download Linux/GCC/MySQL for free.

Want to work in .NET/MSVC? You just run into barriers (gimped "express" versions, no free documentation etc.) Yes this has changed now, but it's been a long time coming.

comment 5y ago · link · parent

The docker tools themselves ARE cross platform, but 99% of docker images in the wild are based off Linux, and have ELF binaries inside. Windows does not have equivalents for every single Linux system call. This is why you need WSL.

You can build an image based on a Windows base image, and run it natively in Windows.

comment 5y ago · link · parent

One of the biggest impediments caused by the C++ standards committee is the tight scope of the standard. Anything outside of the language/library spec is entirely outside the realm of standardization.

So any tooling improvements (dependency management, build process) are not able to be made to the language. Fractured solutions harm adoption, languages with good dependency management and good build processes have one solution they push on everyone.

comment 5y ago · link · parent

I think the metaphor there is similar. The church did not historically take kindly to individuals publishing "their version" of holy texts without sanction of the church.

comment 5y ago · link · parent

The argument in favor of allowing shorts is that they provide a strong monetary incentive for private investors to investigate and expose financially fraudulent companies.

comment 5y ago · link · parent

Honestly, committing 100k to this is probably a more effective marketing spend than many...

comment 5y ago · link · parent

Overseas, Google told news outlets "wave the fee or we remove your results". The Australian law has a new unique element forbidding this practice.

comment 5y ago · link · parent

The situation with backporting security fixes is still the same. Debian could backport the fix to any node/go lib the same way they backport security fixes to C libs.

The only difference is that a backported fix in a language that uses vendored dependencies rather than .so's needs to have all depending packages rebuilt.

comment 5y ago · link · parent

Sure they may have to fiddle with the dependency tree, but Node & Go both have well defined dependency formats (go.mod, package.json). It should be relatively easy to record the go.mod/package.json when these applications are built, and issue mass dependency bump & rebuilds if some security issue comes up.

Really seems like the best of both worlds, and less work than trying to wrangle the entire set of node/go deps & a selection of versions into the Debian repos. I mean Debian apparently has ~160,000 packages, while npm alone has over 1,000,000!

comment 5y ago · link · parent

I'm not entirely sure the security argument makes sense here.

If a library is API compatible, does it matter if it's been vendored or not? If it's not vendored, you release the new build and be done. But if it's been vendored into 20 packages, you just need to bump the vendored version & rebuild those packages.

The languages we are discussing where vendoring is common have simple build processes, and well defined dependency management mechanisms (go.mod, package.json). So it's not difficult to bump the version of a dependency and rebuild a package in those languages. A large part of the work here should even be able to be automated.

comment 5y ago · link · parent

I am worried here that the alternative we'll end up with is applications that rely on vendoring will end up distributed entirely outside the Debian repositories... hopefully with go get/npm install, hopefully not with "download it from my website!"... But either way you lose a lot of the benefits that being officially in the Debian repos would bring. Devs want to distribute their software to users, and they aren't going to chase down rabbit holes to get it packaged to comply with every different distributions set of available dependency versions.

Really this idea that a distro (even a large well maintained one like Debian) has the resources to package a set of known versions of go/node packages for common open source software seems wrong? If they aren't going to package every exact version that's required, how is it going to be possible to test for compatibility? There is no way. And no dev is going to downgrade some random dependency of their app just to comply with with Debian's set of available versions.

Developers hate this versioning issue with languages like C\C++ on Linux, it's a huge pain. And that's partially why dependency management in languages like Go/Node work the way they do. A multitude of distros with slightly different versions of every lib you use is a huge headache to dev for, so people have designed languages to avoid that issue.

comment 5y ago · link · parent

This was originally a metaphor used by a judge to support restricting the speech of anti-draft/anti-war campaigners. I don't think it's a good example of appropriate censorship.

comment 6y ago · link · parent

The feature needs to be implemented using some kind of regularly updated local database, rather than requiring a phone home every time.

comment 6y ago · link · parent

In theory I like channels, in practice I find them challenging to program with. The fact that only the sender can safely close a channel is frequently frustrating.

comment 6y ago · link · parent

That's because it is next door, they are actually hosted on AWS EC2 in us-east.

comment 6y ago · link · parent

Sure, I'd have the same n+1 problem. But this time the frontend devs will notice it when they try to use the API. With GraphQL our frontend team doesn't reason about the backend performance characteristics of their queries until they kill perf on prod.

comment 6y ago · link · parent

It's easy to spin up a server. Spinning up a server that can actually access your data in a way that has reasonable performance is another matter entirely.

comment 6y ago · link · parent

Sure, but the design of GraphQL, and the majority of the GraphQL backend tooling, lends itself to performance issues much more strongly than a boring REST API. I don't know if there are alternative backend tools, but my experience has been quite painful.

The "graph" part - GraphQL seems to want you to build these big interconnected webs of types. But there isn't good tooling on the backend to deal with resolving relationships between types efficiently. Someone decides they need user.friends.pets.names, and now my backend code is doing 3 DB round trips because my GraphQL server lib doesn't understand it can turn the relationship between the types into a JOIN. I decide that's no good and the query needs to be faster, the alternative is I have to do the JOIN every time even if the client didn't actually request friends. And if I'm going to overfetch from the DB, might as well send that data to the client anyway?

My experience was that because of how backend GraphQL servers are written, it becomes very challenging to reason about performance. It's hard to think about how your nice type resolvers are going to interact, and fan out into some nightmare n+1 query problem performance pit.

I know there are some better tools than this, which I sadly haven't tried...

1
1011121314