HN user

sdedovic

241 karma

I code, paint, and make music, among other things. Currently in Chicago.

Art: https://www.instagram.com/mr_praline/

Code: https://github.com/sdedovic or https://gitlab.com/sdedovic

If you would like to email me:

  echo 'c3RldmFuQGRlZG92aWMuY29tCg==' | base64 --decode
Posts7
Comments45
View on HN

I agree. An anecdote:

A while ago I was working on some CUDA kernels for n-body physics simulations. It wasn’t too complicated and the end result was generative art. The problem was that it was quite slow and I didn’t know why. Well the core of the application was written in Clojure so I wrote a simple macro to wrap every function in a ns with a span and then ship all the data to jaeger. This ended up being exactly what I needed - I found out that the two slowest functions were data transfer between the GPU memory and writing out a frame (image) to my disk.

In many other places I see the usefulness of this approach but OTel is too often too geared towards HTTP services. Even simple async/queue processing is not as simple. Though, there have been improvements (like span links and trace links).

Location: Chicago, Illinois Remote: preferred Willing to relocate: no Technologies: backend (java/scala/clojure nodejs golang rust python) fronted (JavaScript/clojurescript/typescript vanilla/react html) research (python/julia) hardware, cloud (gcp/aws/azure/digialocean) GPU (CUDA/opencl/webgpu/webgl) Linux/nixos Résumé/CV: https://dedovic.com/about.html Email: hello@dedovic.com

I'm working on a little site called WGSL Toy, here: https://wgsltoy.com/

It's basically like ShaderToy but for WebGPU instead of WebGL. I started it as I have been doing some Rust + wgpu development for art projects and I need a easy way to play around with shaders.

It's very early in development - you can go and just use it right now. But soon I want to support creating an account, saving / sharing shaders, and eventually go beyond the featureset of ShaderToy by allowing for custom input images / textures.

Code is on github: https://github.com/sdedovic/wgsltoy

not the OP but,

I am in my 20s and I use a typewriter somewhat regularly to journal. I was raised on computers, getting the jumble from my brain onto paper is faster with a keyboard than a pen/pencil and paper. And a typewriter is nice and analog - no screen, no lights, no battery. I'm disconnected, focused, and performant.

To me, its more about the style than the use of an AI. But I agree.

I enjoyed this writeup by Michael Lynch on finding an illustrator [1], for their blog. In doing some of my own writing, I've really found it enlightening how much secondary work goes into publishing your own work. I often think its so nice to be able to _just_ plug in what I want on a site and get a (more or less) free illustration. But as someone selling their own work / time, it feels wrong. I'd rather pay a real human and build a relationship and have something more quality. On the other hand, though, it can be expensive, time consuming, and I've been screwed over. Often it seems like a bigger risk than its worth.

So idk, you're trading some hardship and risk for an ethical dilemma but ease of use.

[1] https://mtlynch.io/how-to-hire-a-cartoonist/

Imagine this:

You buy a house. Your house has a little box by the front door. The box holds a small House Environment Integrity (HEI) module. This HEI is something your local Home Owners Association installed. They say you cannot open the box or investigate how the module inside works, as this is against the HOA and you will be fined. They tell you this HEI module is meant to help and protect you. To make sure the plumber you hire didn't do a bad job or that the paint you used on your walls doesn't contain lead. They say it's for your benefit and to make your home a better and safer place. This does not reduce the control of your own house.

Ah you may find it interesting, the GPL3 license actually does prescribe showing copyright notices in stdout [1].

If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode ...

The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.

This is to say it is not entire unusual to have copyright notices in output.

[1] https://www.gnu.org/licenses/gpl-3.0.en.html

the search for small molecule drugs building on this observation seems to have been fruitless

I imagine this is such a perfect use case for large-scale data analytics. Maybe with the next (or n+2 or n+10) generation of wearables we may be able to track some of the macro effects of diet, exercise, air quality, sleep, etc. at such a big scale that we can determine how individual factors can affect mood and behaviour.

Ignoring the privacy and political concerns aside, it seems like such a cool problem space.

What’s happening during that self reflection stage is best described as a feeling of losing it all.

This reminds me of a passage from Aldous Huxley's Doors of Perception:

We live together, we act on, and react to, one another; but always and in all circumstances we are by ourselves. The martyrs go hand in hand into the arena; they are crucified alone. Embraced, the lovers desperately try to fuse their insulated ecstasies into a single self-transcendence; in vain. By its very nature every embodied spirit is doomed to suffer and enjoy in solitude. Sensations, feelings, insights, fancies - all these are private and, except through symbols and at second hand, incommunicable. We can pool information about experiences, but never the experiences themselves. From family to nation, every human group is a society of island universes...

I don't know about must-read but here are my top 5 books:

- Brave New World, Aldous Huxley

- Anna Karenina, Lev Tolstoy

- Zen and the Art of Motorcycle Maintenance, Robert Pirsig

- Manufacturing Consent, Noam Chomsky

- Dune, Frank Herbert

“The story so far:

In the beginning the Universe was created.

This has made a lot of people very angry and been widely regarded as a bad move.”

― Douglas Adams, The Restaurant at the End of the Universe

I wonder if this will be a net-loss. I'm not discussing whether or not Amazon's system has merit, nor if algorithmic performance evaluation is inherently bad.

Look at standardized testing in the USA (SAT, ACT) - there is tons of coaching and preparation specific to the test that isn't training anyone on the material. Instead, we know how much time to spend per question, how to quickly eliminate possible answers on a multiple choice to improve odds when guessing, what patterns in the language a question exist, etc.

I think this is so so similar to customer support and that issue big corporations (and especially us, as their customers, face) which is that quality evaluation is not something that can be boiled down to quantitative measurement. Sure, it can weed out many common problems, but it's just not worth it.

Judging workers solely based on some rubric will create a class of people who min-max the system and will lower the overall quality of the service provided, while disenfranchising the best employees.

On the other hand, maybe this will help move these opaque and (almost certainly) biased processes towards some better baseline.

Reminds me of something that happened a few years ago to me.

Company was primarily using Java for the backend. The Application Security team decided to start scanning all our deployable JARs and WARs with a static analysis tool. Well, immediately the tool started complaining about our libraries. For example, the official Elasticsearch library, for the version of the database we used, had multiple System.out.println calls. Well those were all flagged and the static analysis tool deemed our code unacceptable. We needed to use a logger, not stdout. So we had to go and take it up with AppSec. And explain, no thats not our code. Yes, it does run in production. No we can't use a different library.

The whole thing was exactly as you put it, a kafkaesque nightmare where I'm being punished for something I don't understand by people who don't understand. An no-one can tell me why.

I feel like this is a tough question and decision to make. I've seen it in some of my own friends, especially those who find joy in programming and view it as a creative outlet. Some have even left the workforce for a few years before finding their way back.

Unfortunately, there is no advice from me about what to do next, career-wise. Maybe stick to the industry you know best but focus on work that isn't sole contributor? Write a book, join the online micro-blogging community? Interview for the next few months at startups until a job + team clicks where you don't have to code?

I personally struggle with this regularly. Having poor management, difficult hours or on-call rotations, and, especially, having shit work is very draining. It completely drains me from wanting to code in my own free time. But, I tackle this by taking 3-9 months off between jobs. Resetting, working on personal projects, traveling and visiting family/friends abroad. That can't work for everyone, though.

I'm currently really enjoying my job and the team, company are great. But I think when I need that break, I'll ask for a sabbatical or an unpaid leave of a few months. It will eventually get to that point where I cant go into work for a while but I would love to have a job waiting for me with people I enjoy and respect.

I find recursion can be just as simple to explain.

Start with a basket of tomatoes and a bowl. If there are no tomatoes in the basket, you’re done. Otherwise: Take one tomato. Dice it. Put the output in the bowl. Recur.