Better HN
topnewbestaskshowjobs
Log inSign up

joerick

61 karma · joined Jul 1, 2014 (12y ago) · 35 submissions

Submissions

comment 1w ago · link · parent

This has long been my favourite counter-argument to the 'singularity'. How often in your own life is intelligence the limiting factor? I'd say frustratingly rare. If only! One reason I play games is that it's fun to briefly enter a scenario where intelligence is everything.

comment 4w ago · link · parent

I only just saw it mentioned in this thread, but CinderX might suit you well.

comment 8mo ago · link · parent

I have a Focusrite Saffire that has lots of nice, quiet preamps and ADC channels. I managed to get an old Mac to connect over FireWire and using the Focusrite Control app, I configured the routing to map all the analog inputs to ADAT. That works great but it's always at the wrong sample rate, and I can't change that without getting the old Mac out. Maybe I'll look into one of these rPi shields too. Anyone got any reverse engineering tips for the control protocol?!

comment 1y ago · link · parent

It should land in 3.15, so October next year. https://peps.python.org/pep-0790/

comment 1y ago · link · parent

I've been wondering for a while if a program could "learn" covariance somehow. Through real-world usage.

Otherwise, it feels to me that it'd be consistently wrong to model the variables as independent. And any program of notable size is gonna be far too big to consider correlations between all the variables.

As for how one might do the learning, I don't know yet!

comment 1y ago · link · parent

If we assume no conspiracy, what's the sentencing like for perjury due to carelessness?

comment 1y ago · link · parent

Google do have an API for this. It has limits but perfectly good for personal use.

https://developers.google.com/custom-search/v1/overview

comment 1y ago · link · parent

Beautifully put.

comment 1y ago · link · parent

Pretty fascinating from an information theory point of view. Surprising that it works at all. Is this, like, the JPEG of uniformly distributed, uncorrelated data?

comment 1y ago · link · parent

I came across this page in a discussion about dithering. It was posted by @rikroots.

Fascinating stuff. I love to see the application of the 2D Fourier transform for analysis. Added bonus - they tile brilliantly.

11.

Blue noise – white noise alternative for graphics (2016)(momentsingraphics.de ↗)

3 points · by joerick · 1y ago · 1 comment

comment 1y ago · link · parent

Hahaha. We used to get desyncs on networked games of Generals pretty regularly. I remember if a game took more than 30-40 mins I'd start to get a spidey sense things were about to go wrong

comment 2y ago · link · parent

Yeah, 'everything' as in 'everything that the model cares about' :)

comment 2y ago · link · parent

Nice workaround. I just wish there was a less 'lossy' way to go about it!

comment 2y ago · link · parent

Interesting, but your hypothesis assumes that 'tone' is one-dimensional, that there is a single axis you can remove. I think tone is very multidimensional, I'd expect to be removing multiple 'directions' from the embedding.

comment 2y ago · link · parent

The thing that puzzles me about embeddings is that they're so untargeted, they represent everything about the input string.

Is there a method for dimensionality reduction of embeddings for different applications? Let's say I'm building a system to find similar tech support conversations and I am only interested in the content of the discussion, not the tone of it.

How could I derive an embedding that represents only content and not tone?

17.

Pyinstrument 5 – Flamegraphs for Python(joerick.me ↗)

2 points · by joerick · 2y ago · discuss

comment 2y ago · link · parent

The touchscreen might be better than you're giving it credit for. Direct interaction (vs the indirectness of mice, keyboards, gesture) is one benefit that I can't see done better any other way. I think people will always have some kind of handheld touchscreen as a result.

comment 2y ago · link · parent

Biggest functional difference is that Vue's reactivity is built on Proxy objects, which lets you simply bind your view layer to your model layer and things just keep in sync, without any extra APIs to think about. React has useState which gives you a setter that you need to use with an entirely new object each time. In Vue you can just change a property deep inside the model layer and the view updates.

That's what's keeping me in Vue primarily. I think MobX does something similar in React but the API is clunkier than Vue.

On top of that, the API is just much nicer. None of the confusing functional language and concepts e.g. "what exactly did the programmer intend by this 'useEffect' call??"

comment 2y ago · link · parent

I've been thinking for a while that digital photos should include a signature derived from a hardware key on each camera. That at least would prevent people lying in metadata, and give us some means to verify. If I trust Canon's signature, I trust that these pixels were taken by a camera.

comment 2y ago · link · parent

...and a lot of solo developers and academics besides. (I say that as a corporately unaffiliated PyPA member)

comment 2y ago · link · parent

I've used xterm.js for this, but I was already in a webview. It's pretty good, might even be worth the webview for https://github.com/xtermjs/xterm.js Used by vscode among others

comment 2y ago · link · parent

If a project is really mature, reusable components in design tools can work. But for early stage stuff, they can quickly prove more trouble than they're worth.

The designer's job is to think creatively, on behalf of the user, through the entire system, the states, the transitions. Faffing around with reusable components gets in the way of the right kind of thought, IMHO. It's like the design version of big complex class hierarchies. Done too early, they will really slow you down.

comment 2y ago · link · parent

Figma made a mistake including the absolute positioning in their Dev mode. It's never useful, and leads to confused engineers like this.

Figma is a design tool. It is used by designers as a way to build the visual mocks of software. It's not building HTML under the hood. As a frontend engineer, I have to interpret the designs given to me and translate the layouts into something that will be responsive, cope with different data, etc. that part is the job of a frontend engineer, and so far there is no tooling that solves that.

The Figma dev mode helps shortcut some of that work, by providing easy copy-paste for attributes like background, border, fonts, spacing etc. it's a timesaver. But you should never copy the whole thing.

comment 2y ago · link · parent

This is awesome! I noticed on the 'Experimenting with lines' section, when smoothness is low, warp is high and length is high, that the lines end up mostly coalescing into big roads. It reminded me of ants forming paths, but it's interesting that this required no communication between the lines. Is this a particular feature of the noise function or does it always do that?

comment 2y ago · link · parent

This is confusing. The response to a raw Ethernet frame is JSON containing "https_response" Why drop down to a layer 1 Ethernet frame when the response is specific to HTTP?

comment 2y ago · link · parent

This is a huge release! I'm still getting my head around what the Python-in-hatch inversion means. I'd expect to do 'pip install --user hatch' to get hatch on my system. Does this mean that hatch itself is distributed separately from a Python installation?

comment 3y ago · link · parent

When I was a boy I found an app on MacOS 8 called Graphical Calculator. You could type in nonsensical maths like 'sin(x+tan(y))' and it would draw beautiful pictures.

20 years later I get the same kick out of GL shaders. I built this website to play with them.

https://tinyshader.com/rq

comment 3y ago · link · parent

While I support the cause, HTTPS is the biggest thing obsoleting old devices in my experience.

Currently hitting this with an old eink project that's based on an obsolete ereader. I wonder if there's some kind of proxy I could connect to over HTTP that does the modern HTTPS on my behalf. (I'm aware of the security implications, just want it to get a tweet/weather forecast)

12