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 truly see an horrible path if government starts to put its big fingers everywhere and start causing all kinds of secondary market effects. When you look in hitory, it ALWAYS ends up being worse.

Source? It worked out well for the browser wars. It worked when it blocked (several) telco merger(s). And many more.

And that's just anticompetitive protections. What about the FDA and OSHA putting its fingers into the food industry so there aren't literal fingers in my food?

comment 5y ago · link · parent

This is why I say my ADHD has made me a better programmer. I can't mentally simulate more than the most basic state interactions. I have to write code that my rainy-Monday-morning, pre-meds, pre-coffee brain can reason about. And I see that as a win/win. It means someone foreign to the codebase has to put less thought into reasoning about it. My brain handles big picture thinking super well, but I can keep about 1.5 pieces of state in my working memory.

I love my IDE. I love interfaces, type systems, and static checks. ADHD pretty much forced me into a very functional programming style, because mutation is so more to think about.

Conversely, some of the most inscrutable and buggy code I've written was when my meds were a tad high and I could easily reason about really complex interactions.

comment 5y ago · link · parent

I feel this bug in my bones. I work a lot on WAMI/aerial imagery. I've dealt with this exact problem of timestamp-off-by-one-image. I have 9 cameras with different exposure times all triggered by the same hardware pulse. Fortunately my system is data-collect only so the worst outcome is some wrong filenames.

I learned only way too late in the project that most GigeVision cameras emit timestamps that can be synched using NTP and/or PTP. The camera specs/manual said nothing about this. Only found it by accident looking through the GeniCam XML API.

Moral of the story: ensure your cameras emit timestamps on device. Don't rely on system time.

comment 5y ago · link · parent

That's neat, but imho start with the plain fizzbuzz first. Everyone has it in their lexicon so it acts as a first-pass Rosetta stone for what the language syntax is like. Adding extra bits implies you need those to get the job done.

comment 5y ago · link · parent

I think that is a better FizzBuzz example. You are right that it isn't meant to showcase the whole language, but lacking a composable solution (mod N1 || mod N2... for N prime factors) makes me immediately think the language does not lend itself well to that kind of composition.

And as others mentioned, Fizzbuzz is merely a "can you program anything test." But I do prefer the "general" fizzbuzzjazz, which accepts a list of numbers and a list of words [fizz, buzz, jazz,...] and emits the strings for appropriate prime factors.

comment 5y ago · link · parent

- promises far fewer bugs

- promises to replace entire stack

- ...and Excel

- "declarative languages have almost no bugs"

- built-in database

Yeah color me skeptical. I love experiments, but I prefer those that under-promise and over-deliver. People have been promising unification languages since there were only two languages. People have been promising cross-platform since there were two platforms. And people have been promising to replace Excel since...Excel

comment 5y ago · link · parent

Telemetry is the in situ collection of measurements or other data at remote points and their automatic transmission to receiving equipment (telecommunication) for monitoring. The word is derived from the Greek roots tele, "remote", and metron, "measure".

Why name it the precise thing that it literally is?

Telemetry is used everywhere: rockets, drones, airplanes, boats, water meters, microservices, applications, and yes spyware, bots, viruses, and keyloggers. All spyware is telemetry by definition: "remote measuring." Not all telemetry is spyware.

comment 5y ago · link · parent

Why is this controversial? OT is great but it's not totally production ready imho. I tried integrating it last year in Python and had almost weekly breaking changes to the internal API calls. I mean, it was a 0.x, so they were well within their liberty, also they don't owe me anything. But it was a bit of a false start for me.

Finally they released a 1.0 and the interfaces are more stable, but the docs are still incomplete or stale in some places. I currently use it in a minor way.

Frankly I can't wait because I love the tools and ecosystem, but I personally would be hesitant to put it into full blown production at such a big company.

comment 5y ago · link · parent

I get what you are getting at, but It's not really a euphemism. Telemetry means literally "distant measurement." You can use telemetry to track sensors in a rocket, a request across a service mesh, a traceback from a crash in a user program, fine-grained details about everything a user does in Windows, or a straight-up keylogger. All are forms of telemetry.

The VS telemetry injection is scary as hell though.

Telemetry is like a knife. Context and location matters. Great in the kitchen, bad when lodged in your back.

Sharing this from myself downthread:

Telemetry is the in situ collection of measurements or other data at remote points and their automatic transmission to receiving equipment (telecommunication) for monitoring. The word is derived from the Greek roots tele, "remote", and metron, "measure".

All spyware is, by definition, telemetry. Heck, the whole field of spycraft ( espionage ) is telemetry of sorts. Not all telemetry is spyware.

comment 5y ago · link · parent

Mandatory "do some research before jumping to freaking out at GitHub for 'spyware.'"

Yes technically you could use OT to exfiltrate data; guess what, you can do it with http headers, too.

Been using OpenTelemetry for python and golang. It's great. I really like using Jaeger for tracing across small ML webapps. We have users on the scale of dozens so I just trace everything without sampling. Way, way easier than going through logs.

Also used python + jaeger to narrow down some wifi issues on my home network. Basically run a server on each device and round-robin a request through each and look at the flame graph. Turns out, some Macs' location preferences can cause 500-800ms outage multiple times an hour, as it tries to scan know AP ssids or something. Yeah, dumb.

comment 5y ago · link · parent

I wonder if the system propagates "baggage" headers. OpenTelemetry uses this header to propagate span/trace IDs.

https://www.w3.org/TR/baggage/

comment 5y ago · link · parent

Not OP, but I have done this for allergies. N. Americanus, 10-15 eggs at a time. No side effects other than an awful itch 12-36h after administration. Been great for my allergies. I've cut way down on fexofenadine. I also live with a cat and a poodle and only really feel symptoms if I literally rub my face in the cat, or groom the dog inside without a mask.

comment 5y ago · link · parent

What in the everliving biohacking heck? I though I was leaning into things by modulating my caffeine levels based on workload (just dissolved in liquid and pouring out X mls based on need). I've thought about having a dispenser I could track metered doses with, but arionhardison here has a robotic pill press. Man, I gotta up my game now.

I wouldn't be comfortable without some sort of closed loop to be reasonably confident it was dispensing what it claims. Also helps to have the active ingredient pre-diluted so you are mechanically capped at a certain volume.

comment 5y ago · link · parent

For anyone out of the loop, "Liberia Chat" has nothing to do with Liberia (the country).

Also, I found it amusing when I typed "freenode" into the search bar, "freenode drama" was the first suggested phrase.

https://libera.chat/

comment 5y ago · link · parent

When did I say anything about not understanding the math of the FT? I took a whole semester of classes in signals, control theory, comms, etc. Derived FT, FFT, and friends, from scratch. I understand the math. But I have limited intuition about what I can do with the math. I can look it up in a book, or plug and chug, but it's not very fluid. The amount of times I've needed to manipulate equations since that class is zero.

Yikes.

comment 5y ago · link · parent

Good point. I've heard similar complaints about engineered wood (glulam and friends) for structures vs regular lumber. In fires, solid lumber fails gradually and makes lots of noises before it does, whereas engineered wood just goes BANG and fails at some point.

I don't think this stops these new products from being used, it's just another engineering tradeoff.

comment 5y ago · link · parent

> Namely, it can be toxic to humans

Uhhhh the rest of the stuff in Concrete isn't great for human health, either, or as my cousin likes to say, "it sure ain't vitamins."

Quartz dust and silica sand are really bad for the lungs, likely carcinogens. Lime is caustic. Dust in general is bad to breathe.

These are well-known hazards in demolition and mitigation techniques already exist.

comment 5y ago · link · parent

There's also basalt fiber reinforced concrete. Stronger than rebar and doesn't rust.

comment 5y ago · link · parent

She mentions this in her Tedx talk [0]. She wanted something more orthogonal to the existing hand muscles.

The easier and cheaper method is probably better for her scope as well.

https://www.youtube.com/watch?v=UD_LwZD2Kls

comment 5y ago · link · parent

For those who may not have heard of it:

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

Neatly generalizes and ties together all of your favorite integral transforms and has weird connections to virtually every branch of mathematics.

comment 5y ago · link · parent

Why? I totally understood it. Then again, I have a background in chemistry, HPLC-MS, NMR, AA, FTIR, so I'm used to the idea of "breaking a mixture into orthogonal components."

comment 5y ago · link · parent

I don't understand why the first operations of a CNN are FFT-based decomposition into spatial wavelets. This is basically all the first layers are doing anyways. In fact the filters usually learn both an edge and a centroid at a given orientation. You can get both at the same time with complex wavelets.

comment 5y ago · link · parent

Why is there always this pushback against "popsci explanations" in these threads? Do people not realize every brain is unique and people have different learning styles? A few hours of 3blue1brown videos gave me a useful intuition about FT, FFT, quaternions, and other mathematical things that years of courses with equations and homework failed to do.

I'm talking real, useful intuition that improved my work in signals processing, using wavelets, filters, convolutions etc.

And yes I can visualize 3.5D pretty easily in my head: a 3D volume with layers and colors that overlap. Though usually it's easier to picture two 2D frames side-by-side.

I don't fault people when they grok words/equations but visual diagrams do nothing for them (blueprints/CAD are an enigma to my partner). Don't fault people for needing visualization to grok equations.

comment 5y ago · link · parent

My brain works the opposite. Equations give me something I can work with but feels like voodoo, and I only get operational knowledge once I can visualize it in some way.

comment 5y ago · link · parent

Wow, that RUN trick is exactly what I've been looking for! I've spent hours and hours in Docker documentation and hadn't seen that functionality.

Looks like it might be buildkit-specific?

comment 5y ago · link · parent

> Every dependency is either vendored or pinned, including some critical things that have no ABI guarantees like Eigen, which is literally pinned to some random commit,

starts sweating from GDAL PTSD

I hadn't heard about dh-virtualenv. That looks super convenient, I'll definitely give that a shot.

Honestly I've been kinda leaning into Conda-in-Docker images (so you can isolate while you isolate, dawg), which actually isn't so bad with a custom SHELL directive so you can RUN in a conda env. So many of my customers use it and provide algos developed in conda that it's often just easier to grab their environment.yml and stick it all in a container for deployment.

The pre-cooked TF image are a godsend but also the instant you need two different versions of TF in the same pipeline, you're hosed. I've been playing with Argo Workflows to get around this.

ML software packaging is the worst.

comment 5y ago · link · parent

The ablaut conjugation yeet/yote/yitten is hilarious and gets my vote but it seems like yeeted will win out.

comment 5y ago · link · parent

I thought it was coded language for "we can let logging corporations plunder the forest with no oversight."

Both works to be honest.

comment 5y ago · link · parent

Conda uses channels; basically you can think of each channel like a remote or mirror which hosts some packages. conda-forge is a specific channel, which I believe is a community-maintained automated build infrastructure which produces builds for many arches and distros.

It's not a bad way to do it actually.

comment 5y ago · link · parent

Conceptually, I love the idea of bittorrent distribution for binary packages like this. In practice, "oh no, my CI docker builds :(" Too much potential variability.

I just want a turnkey way to add multiple hosts/resolvers and use content-addressing. Like bittorrent but with passlists. Is that a thing?

Like, IPFS, but I want specific use-case domains. Like I'd be more than willing to stand up some sort of pip proxy for my company's domain but I'd only want it hosting packages used internally.

1
575859
85