Better HN
topnewbestaskshowjobs
Log inSign up

kortex

8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions

Submissions

comment 4y ago · link · parent

We already have standard docking adapters. It should be straightforward (engineering-wise) to develop standard space tugs to act as prosthetic attitude and altitude controls. Only a matter of cost. But surely it's cheaper to extend an existing telescope vs launching a brand new one.

comment 4y ago · link · parent

Wow there's even an Awesome compendium of all things buttplug.

https://github.com/buttplugio/awesome-buttplug

comment 4y ago · link · parent

Morse code for the classical chess notation is actually pretty inefficient (12ish bits of data). Often times the actual viable moves are vastly reduced. With your own custom entropy code and custom symbol table, you could massively reduce the transmission time.

E.g.

- 1-4 bits for the piece class to move.

- 3 bits for the column of the destination

- 1-3 bits left over for disambiguation. E.g. Column

That's perhaps a bit too much optimization for a troll project. But fun nonetheless.

comment 4y ago · link · parent

> When have you ever used the Taylor series of sine and cosine for anything (outside school) ?

I've used them a few times, mostly in the embedded space, and mostly in conjunction with lookup tables and/or Newton's method, but yes I've absolutely used them outside school (years ago, I forget the exact details).

- implementing my own trig functions for embedded applications where I wanted fine control over the computation-vs-precision tradeoff

- implementing my own functions for hypercomplex numbers (quaternions, duals, dual quaternions, and friends).

- automatic differentiation

Does the Taylor series form survive to the final application? Usually not, usually it gets optimized to something else, but "start with Taylor series and get back to basics to get a slow but accurate function" has gotten me out of several pickles. And the final form usually has some chunks of the Taylor series.

comment 4y ago · link · parent

It's definitely a lot harder to read and make sense of an equation that is sprawled out. In some domains, I would contend that using greek letters in code would increase readability, especially for those familiar with the underlying formula, and especially if the code is not edited frequently (e.g. implementing a scientific formula which won't change).

A good compromise might be to put the equation in the comments in symbol-heavy form, and use the spelled out names in code.

comment 4y ago · link · parent

The percalculus ion is just calculus in its highest oxidation state.

comment 4y ago · link · parent

What's wrong with mcmaster's packaging? Every time I've ordered, it's been plastic ziplocks or carboard boxes in a main box stuffed with brown paper. That's about as minimal as you can get.

If you have a problem with that, well, I have some bad news about how commerce, medical, and industry go about wastage in general. Bought 1000' of foobar filler rod and only used 50'? Chuck the rest cause it'll cost more in labor to deal with the excess.

comment 4y ago · link · parent

Fascinating! I would have not expected that maintaining annual thermal balance would be as big of an issue as it is.

comment 4y ago · link · parent

I will say at least their security game has been stepping up. They've really curtailed what information is available through their apis by default.

Still not...great. But at least trending in the right direction.

On the other hand, the privacy situation... jesus I've never seen more analytics and cookies in my life than when I inspect my profile page on zoom.us.

comment 4y ago · link · parent

> One person will have crashes and problems all the time, and the other person, smooth sailing. Nobody knows why.

http://www.catb.org/jargon/html/Q/quantum-bogodynamics.html

In all seriousness, it probably has to do in large part with gestures broadly global state. Registry, configuration, what else is running on the system, how up to date it is. There are so many possible different settings, parameters, processes doing weird api calls, that it's a combinatoric explosion.

comment 4y ago · link · parent

Doesn't work for me on android, tries to just select the text.

comment 4y ago · link · parent

> And yeah I agree it's disappointing they tacked such an obviously platform-biased API on to something that is supposed to be platform independent. I guess it was the pragmatic thing but still...

What's the alternative? If you want an I/O system interface into WASM, something POSIX-like is probably the sanest choice one could make. Portable is literally in the name. In fact I'd say POSIX the least obviously biased system interface.

Is there some other syscall interface out there which implementS files, sockets, and clocks, which is simpler than POSIX?

In fact WASI seems quite stripped down from POSIX.

comment 4y ago · link · parent

Not to mention, most of the big problems facing us now can be reduced to an energy problem, given low enough energy costs. From desalination, to carbon sequestration, to cement, to production of hydrogen and carbon-neutral liquid fuels, to ammonia production, to even peak phosphorus, at some kWh price point all of these just become "throw electricity at it". Excess energy can always be used (in theory). Renewables plus storage still means cost per kWh increase at certain times or conditions.

We need every fossil fuel plant around the world offline yesterday, and every coal plant offline 50 years ago. The anti-nuclear sentiment really is a shame.

comment 4y ago · link · parent

Wow, all this talk about Craigslist's (and Craig's) minimalist approaches really makes pcmag's experience all the more jarring.

- Pcmag wants to push notifications (deny)

- give us your email! (full page sudden popover, tiny "no thanks" text)

- ads every paragraph (big enough to disrupt reading flow)

- ads in floating banner at the top

- browser creaks and groans trying to paint as I scroll, white blocks if I go too fast.

It's almost like they are trying to demonstrate why Craigslist looks the same by giving a vivid counter-example.

comment 4y ago · link · parent

I've heard about space drives which leverage a tether and an electrical wire which allows you to trade electricity for momentum by reacting against Earth's magnetic field. I wonder if a space tug could use this effect and maneuver indefinitely. Grab a dead satellite, spin up to speed using magneto drive, let go and simultaneously yeet the junk retrograde and boost its own orbit.

comment 4y ago · link · parent

I suspect it'll be way, way faster. There's a fair amount of overhead in filesystem calls.

(simplification) With any time you are mapping some file to some data structure (dbm, sqlite, mmap), the file descriptor generally stays open while you are working with it, meaning reads/writes/seeks are just about as fast as IO can go.

comment 4y ago · link · parent

Every networked system (eth, btc, usd, the internet itself, trade, an economy) has aspects of centralization and decentralization. USD is decentralized in that if enough people stopped attesting to its value or accepting it for trade, the whole thing folds. That doesn't happen precisely because so many people believe in its value. But many aspects of USD and the banking system are opaque: how it is minted, what players are trusted, how much fractional reserve is allowed, etc.

The big difference is how easy it is to step into the game. I'd probably need millions of dollars, oodles of lawyer-hours, a bunch of employees, and a mountain of paperwork, to start a bank and participate in the banking system as a peer. I just need 32Eth (roughly $50kUSD) and some computers to participate as a validator.

The hard fork only "worked" cause enough people went with it. If enough people said "f it, no fork", then the fork still happens, but loses the social capital and thus the old chain "wins".

The internet struggles with ipv6 because not enough nodes support it. Politics breaks down when parties can't reach agreement. I don't know of any system which is truly tolerant to byzantine / 51% attacks.

comment 4y ago · link · parent

I'm sure you can find a naughty word or phrase, or some other semantic collision, out of almost any 3-letter combination, in some language somewhere. Sure it's one of the more well known ones in a very common lingua franca, but we humans are smart and can context switch.

Edit: Actually not sure if you are talking about Point of Sale, Place of Service, Piece of $#!7, or something else. Case in point: context matters.

comment 4y ago · link · parent

Smart contracts are still contracts, just a different kind than the typical legal contracts. "Contract" has been used to describe API interfaces. Words can have more than one meaning. "Contract" is also a verb, with multiple meanings.

https://en.m.wikipedia.org/wiki/Design_by_contract

comment 4y ago · link · parent

Language isn't static, it never has been, yet as soon as the notion of spell checking came about, written forms of words started to be frozen in time. If "tomorrow" is a valid rendering of "(on) t(he) morrow", I don't see why bonified is an issue.

comment 4y ago · link · parent

It would be amazing if Github/lab provided a backing store for www.dvc.org . I've been using to great effect, but I have to rely on separate AWS integration for storing the large objects in s3.

comment 4y ago · link · parent

An api can still do that. I do this all the time with json/http apis: a bulk_upsert endpoint and you just feed/stream a batch of objects. Never did a bulk_patch but the implementation is nearly the same.

If I cat all those patch objects to a file on a shared drive, knowing that at midnight UTC every day, it'll get picked up and applied, that's still an API, albeit a kinda janky transport layer.

comment 4y ago · link · parent

I'm not big but I've had injuries which have hindered my mobility. Ever tried to get into a low subcompact when you can't bend as easily? The height of the seat, the height of the A-pillar/roof, the width of the door, and how far the door open, all massively affect getting into and out of a vehicle.

comment 4y ago · link · parent

We have some ideas, of course. The rough idea is: surround the reactor with a lithium blanket. This gets bombarded with neutrons, breeding fuel and heating the lithium, which transfers its heat to coolant to spin turbines. The devil is in all the engineering details, like: how do we make alloys to deal with neutron bombardment/hydrogen embrittlement, what's the optimal geometry to capture flux while being serviceable, etc.

Much of that work can and is researched in parallel, but there will be inevitable integration hell that has a burning fusion reactor core as a prerequisite.

comment 4y ago · link · parent

None. Lithium only starts being psychotropic above a few mg per day (typically hundreds of mg per day for therapeutic, but it is suspected by some to be active well below that).

The intake from the environment would be micrograms/day, if not even less, above natural background. There are water sources with far higher natural concentrations.

comment 4y ago · link · parent

> In colloquial usage, the terms "Turing-complete" and "Turing-equivalent" are used to mean that any real-world general-purpose computer or computer language can approximately simulate the computational aspects of any other real-world general-purpose computer or computer language. In real life this leads to the practical concepts of computing virtualization and emulation.[citation needed]

> Real computers constructed so far can be functionally analyzed like a single-tape Turing machine (the "tape" corresponding to their memory); thus the associated mathematics can apply by abstracting their operation far enough. However, real computers have limited physical resources, so they are only linear bounded automaton complete. In contrast, a universal computer is defined as a device with a Turing-complete instruction set, infinite memory, and infinite available time.

https://en.m.wikipedia.org/wiki/Turing_completeness#Non-math...

comment 4y ago · link · parent

Wait, so like this?

    def add(x: int, y: int) -> int:
        """ // c code
            int x, y
            return x + y
        """
And it compiles it and turns it into a C extension?

That's...horrifying yet amazing.

comment 4y ago · link · parent

Dependency-injector uses it for exactly this purpose

    @inject
    def main(service: Service = Provide[Container.service]) -> None:
        ...

FastAPI also does a similar sort of trick, for DI and also request parsing.

https://python-dependency-injector.ets-labs.org/introduction...

comment 4y ago · link · parent

Yeah well we kinda tried that, didn't end well :p. Banning cannabis was much easier due to its much smaller appeal at the time.

The three first principle components of a drug's harm are the therapeutic window (log ratio of LD50 to median active dose), addictivity (harder to quantify, but we have models based on pharmacokinetics and dynamics), and degree of harm to others when altered.

Alcohol is dangerously toxic on the order of ~15-25 units, has fast onset and hits GABA so rather addicting, and as a CNS depressant, is obviously very risky to others.

If a designer analog came out with the profile of EtOH, it'd immediately go to Sch I.

comment 4y ago · link · parent

Alcohol, especially in conjunction with acetaminophen or other OTC pain meds, can cause liver damage.

As long as alcohol is a legal substance to consume, it makes no sense to criminalize substances widely shown to have lower harm coefficients than it. There's tons of studies which mostly-objectively quantify harm/addiction caused by substances. The only drugs squarely as bad or worse than alcohol are tobacco products (also legal, contains many more psychoactives beyond nicotine), meth, crack cocaine (delivery route matters), cathinones, GHB, certain gaba-ergics, and most opioids.

Nicotine in isolation, ketamine, classical psychedelics, cannabis, MDMA, most of the Shulginoids (phenethylamines and tryptamines), all fall short of the harm caused by alcohol.

https://www.frontiersin.org/articles/10.3389/fpsyt.2020.5921...

1
252627
85