Better HN
topnewbestaskshowjobs
Log inSign up

kortex

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

Submissions

comment 5y ago · link · parent

I'm still a bit hazy on all this as well but I think that's the idea?

The NFT itself is basically some payload (any collection of bytes), a checksum of that payload, and some metadata. What's to stop someone from perturbing the payload by one byte and minting a second NFT? Nothing, really, other than "it's not the first". So yeah it's down to performing due diligence on the vendor and payload to make sure you aren't being snookered.

I think. I get the whole crypto aspect. I don't get the social/contract aspects.

comment 5y ago · link · parent

The big difference is that config files are, at some point after interpolation and templating, static data structures composed of primitive data types.

Further, these configs usually act as declarative languages, giving directives to pipelines, controllers, etc., typically with idempotent side-effects.

This is just good software engineering. You have some static data structure which describes some result you want to exist in the world, and your pipeline/program makes that outcome manifest. This is the essence of boundary programming/hexagonal architecture.

https://www.destroyallsoftware.com/talks/boundaries

comment 5y ago · link · parent

I'm in upstate NY. I've lost track of the number of times I've heard folks complain that there is Verizon fiber a few hundred feet away but when you inquire about getting it to your home, Verizon is just like, "mmm, nah." This is where municipal intervention is most necessary - last mile, nay, last quarter mile.

comment 5y ago · link · parent

> Running electrical, plumbing, air conditioning etc through this structure is doable but much harder

Have you seen architecture in like, any warm part of the world, especially Italy? Masonry/concrete techniques dominate.

If anything, this is far easier to integrate with utilities, since it can be incorporated into the 3D design.

It also seems easier to drill through than traditional masonry/concrete.

This technique is even more labor-saving than filling formwork with local materials, because formwork is very labor intensive, and you can't readily incorporate unusual utilities, windows, shapes, etc.

comment 5y ago · link · parent

It's so easy to bypass the "but it's off-patent and therefore not profitable"

A) homochiral enantiomers

B) analogues

C) cocktails

"Our formulation of Norivermectin plus Foobarmanolib is 10% more effective and has 3.5% fewer incidence of side effects. The small increase in effectiveness is projected to decrease hospital stays by 4.5 h, leading to 2 million lives potentially saved."

Boom, profitable, patentable COVID cure. Doctors could still prescribe plain ivermectin off-label but would be incentivized by pharma reps to sell name brand.

Norivermectin and Foobarmanolib are hypothetical, of course. But the trick is real, see escitalopram, armodafinil, aripiprazole + antidepressants, etc.

comment 5y ago · link · parent

`fetch (url) // synchronous`

`go fetch(url) // asynchronous`

This is not something you can readily abstract over. That depends on whether language is compiled vs interpreted, has a runtime or not, is scheduled or not, stack model, threading model, ownership model, and so on. `go myfunc()` implies something to dispatch, execute and reap that function and its metadata, and there's no one-size-fits-all solution.

You can design a language that has this feature, but it's not without tradeoffs, and it's certainly not something you could just introduce to a language unless it already lends itself to it.

comment 5y ago · link · parent

But it's already out of the ground. I'd rather burn 1T CO2 worth of plastic trash made from oil and prevent 1T CO2 worth of coal or heavy oil being extracted and burnt. Not that it's 1-to-1, point is burying plastic is probably less net carbon vs burning.

comment 5y ago · link · parent

I run like 50 chrome tabs, a half dozen Intellij panes, youtube, slack, and a bunch of heavy containers at the same time, and that's just my dev machine.

My desktop is an ML container train/test machine. I also have ssh into two similar machines, and a 5 machine, 20GPU k8s cluster. I pretty much continuously have dozens of things building /running at once.

Maybe I'm an outlier though?

comment 5y ago · link · parent

> there are many other ethical and legal requirements to academic research besides Title 45.

Right. It's not just human subjects research. IRBs vet all kinds of research: polling, surveys, animal subjects research, genetics/embryo research (potentially even if not human/mammal), anything which could be remotely interpreted as ethically marginal.

comment 5y ago · link · parent

"It's so easy to get acid, you can get it anywhere!"

And now you truly can get fresh acid anytime, anywhere! Absolutely amazing project. This is actually like... 75% passable, and better than most entry level stuff I've heard.

I've wanted this to exist for like 15 years. Tried my hand at it with Reason back in like, 2012, got kinda there with RPG-8, Jupiter and way too much automation, but it was just way too limiting of a medium back then. This makes me want to take another stab at it.

Some minor suggestions:

- on mobile: Not sure which interfaces are clickable but nonresponsive, vs not clickable at all. E.g. BPM knob didn't do anything for me on mobile, but worked fine on desktop

- I realize this might be hard for browser, maybe with a node/electron app, but MIDI out would be dope.

- Distortion module

- A simple mix-out EQ would be nice.

- Constraints to make sure one osc is always on a bass part

- third osc? :)

- What would really sell it is some lead-in before a pattern change. E.g. When the cycler starts to flash red (especially when they are all about change), occasionally toss in some snare fills/crescendos

If you had a sample board, you could easily convince someone this was made by a human. Maybe inexperienced, but still very much human.

comment 5y ago · link · parent

> pause button

All it does is play a sample of a metal door squeaking open, apply a lowpass, and add ambient chatter of the back alley smokers.

comment 5y ago · link · parent

That tiled room gets me through the workday. In that ilk: Fear n Loathing. Art of Minimal. Trippy Cat Music. Beamer. A bit further from that sound but still great for coding: Cercle, Radio Intense, Cafe de Anatolia.

comment 5y ago · link · parent

Yep I've done it. Suuuper tedious. Which is why I suspect even though you can do 2 or more bar phrases, single bar loops (vamps?) are pretty typical, instead varying the filter envelope and distortion over time.

comment 5y ago · link · parent

I find piano roll a lot easier to write/produce but a lot harder to sight-read.

I actually find hooktheory's system, where it's diatonic and accidentals are based on the active chord, not the current key, to be the easiest to understand relationships, but also hardest to translate into concrete notes to play.

comment 5y ago · link · parent

You have to pick something as your starting point.

The sharps and flats diatonic system is way easier to read because you just mentally parse "key of D" instead of "start on D but also sharp the F and C". It takes time but your brain just starts to grok shapes.

"Piano roll" notation, like in DAWs/midi editors, is actually in certain ways a lot hard to read than staff notation, due to the lower density and lack of reference frame. It _is_ easier to see chord shapes transposed up and down as the same. But I'd argue that's an anti-feature, because of said lack of reference points. The symmetry /sameness makes it a lot easier to start on the wrong note.

comment 5y ago · link · parent

You have the causality backwards though. It isn't saying most objects emit quantized overtones. But if you hear quantized overtones, there's a very good chance they are from the same source.

It's not just strings, either. Drum heads have varying degrees of quantized modes.

comment 5y ago · link · parent

> Evil, I think, is the absence of empathy.”

- Quotation: Captain G. M. Gilbert.

Not to Godwin's law the convo, I just think this definition is accurate, relatable, and salient. Big, capitalist corporations are almost by design, incapable of aligning with values other than profit. Their only approximation of empathy is when PR affects the bottom line.

comment 5y ago · link · parent

Not only that, but each arm can produce dozens of newton-meters of torque, with possibly sub-millimeter precision, and like you said, fast. Just building an arm with comparable specs is quite the challenge. You end up needing hydraulics because even the finest, most expensive transmissions with belts to move the motors closer to the body, still end up being too heavy to achieve human agility+strength.

I looked into building a robot arm which could cook breakfast. It's almost ludicrous just speccing out the torque requirements to pick up a skillet.

You end up having to pick harmonic drives and less speed but more stiffness, or hydraulics, which are lighter, but messy, less stiff (can be both good and bad) and less reproducible.

comment 5y ago · link · parent

At least for CLI-tool-sorta-programs, I find Rust and Go emit vaguely similar sized binaries, a few Mb is typical. The biggest cause is of course static linking.

However, once you exceed the 10-20Mb regime, I seem to find more 20-200Mb Go bins in the wild. This can be misleading, since the Go world is a fan of packing assets into binaries, eg for web GUIs.

What dings Go bins on init time is the Go runtime. Still, it's rarely noticeable unless you are firing thousands of times a second.

comment 5y ago · link · parent

A) I think call_some_function() is metasyntactic, not literal. But even if it was...

B) I largely agree but I still don't get how people manage without types, though I get why it occurs. People have different brain styles and hence different programming styles. Personally I dislike dealing with untyped code with "descriptive" names, because it's rarely descriptive enough.

I'd take a strong type system with methods like .call(), .string(), .get(), .issue() with an IDE vs overly-descriptive methods like .frob_the_snozzberries() and .squelch_parrots() any day. It's not composable, it's not predictable - wait was it .frob_snozzberries()? There's no symmetry. That style usually accompanies very dynamic code, since if your interface is very specific, .post() only can mean one thing.

comment 5y ago · link · parent

To each their own. I dislike Marshmallow and I adore pydantic. Runtime validation that aligns with static types makes sense to my brain, and keeps me from losing my mind in a complex system.

I don't think making the type annotations lazy is a "fuck you" to pydantic, but it is a breaking change on a minor revision.

comment 5y ago · link · parent

Smells like an XY problem. What they want isn't "SQL on the front end", it's an abstract machine that both the frontend and programmatic server-side systems interact with, and that abstract machine brokers the flow between these clients and the backend. Let that machine handle permissions, caching, etc, since that's hard, tedious, error prone, and less secure for humans to do. Just like how we stopped writing assembly.

I have to look into it, but some posters mention blitz.js, this may be just such a thing.

comment 5y ago · link · parent

It's not "infantilizing," it's linguistic mutation, and it's what languages do [0], for all manner of reasons. Text lacks intonation, plain text even more so, and internet dialect tends to evolve ways to add emphasis. In this case "pupper" is inflected to suggest endearment.

https://en.m.wikipedia.org/wiki/Grimm%27s_law

comment 5y ago · link · parent

But how do you cancel something without a handle to that something?

What (I think) you are suggesting implies globally scoped, mutable variables that affect control flow dramatically. Sounds really hard to reason about and very munch anti-Go-explicitness. Context is the handle by which an outer context holds on to the nested ones.

The only non-bonkers way to have a handle like that would be to give every function a getContext function to query some kind of context tree and signal parent/children. This is totally against Go explicitness as well.

Maybe something like Scala's implicits to sugar it, but that's another not-go-looking pattern (although it would be nice)

comment 5y ago · link · parent

Some fingerprints and/or editing artifacts survive this. Search for "rebroadcast attack".

comment 5y ago · link · parent

This is exactly a technique used in media forensics. You can even tell things like crop region and lens geometry (due to subpixel statistics and chromatic aberration). Train a resnet on tens/hundreds of thousands of images and you'd be surprised what labels it can learn.

comment 5y ago · link · parent

It's difficult to extricate for the reasons you mentioned - various textures interfere with extracting it. But it's also surprisingly difficult to purge once you extract that fingerprint.

Astronomers (I presume) do much more in the way of non-uniformity correction (NUC). Often one of the biggest differences between consumer cameras and industrial/scientific ones is the ability to continuously recalibrate them, either in firmware or in post. You could do the same with off-the-shelf cameras and some software, but there's little need most of the time.

comment 5y ago · link · parent

I actually can think of uses for this. One, it would be great as an around-the-house automation UI. Like a universal remote on steroids.

Two, I can see kits of these (piles of mobos and peripherals) being super handy for hackathons, robotics clubs, field work, etc. Especially if you had something like the Automation Hat - an interface to some high power transistors and relays.

comment 5y ago · link · parent

What do you mean, "lose mindshare"? Docker is one of the absolute best things to happen to ML. My work is largely algo integration - I take academics' ML code and bundle it for API consumption. Before this, I was a bench chemist, so I kind of have a thing for reproducing experiments.

The academic ML scene has a reproducibility crisis that makes other science reproducibility crises look like Phys 100 labs. These things depend on someone's conda env with versions pinned to nightly builds, inscrutable code written by a postdoc that has since left, datasets which have been mutated since the paper was published, on and on.

Docker gives me a fighting chance to actually get reproducible results without going stark raving mad.

Should these researchers have better software process to avoid this situation in the first place? Heck yes. But these are people doing things like `os.system("rm " + filepath)` and git committing entire models, they are just really green and most don't know any better yet and academia isn't really known for its mandatory Practical Software Engineering classes for CS majors.

comment 5y ago · link · parent

Using Ray distributed would be a better stress test. Computing primes this way probably isn't the best way to saturate cores. You are spending a lot of time doing python vm operations vs pure number crunching.

Using numeric arrays chunked into blocks of number ranges would be more efficient (and therefore "crunchier")

https://ray.io/

1
596061
85