HNHacker News
TopNewBestAskShowJobs

hnben

184 karma · joined July 18, 2023

submissionscomments
hnben··on MIT abandons requirement of DEI statements for hiring and promotions
ground-news says "low factuality" and "100% right wing coverage". https://ground.news/article/all-hell-broke-loose-when-racist...
hnben··on SB-1047 will stifle open-source AI and decrease safety
> I don’t really understand the long term plan

My guess: everything that slows down ai development is good, because it gives society time to adapt.

(I think this plan is flawed, because it is easier to adapt to open research than to closed research)

hnben··on Common DB schema change mistakes in Postgres
> Making it work feels like black magic.

Can confirm. Last year I implemented a simple postgREST server with rowlevel security. (The postgREST logs are really good. With cookbook and all)

The path there was somewhat difficult, but once it worked, it was truly magical. And the mechanisms involved were quite simple even.

hnben··on A useful front-end confetti animation library
to turn it into a bookmarklet, do this:

1. grab the minified js from the CDM, i.e. https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.2/dist/conf...

2. remove the comments at the start and end

3. paste it into the template below

    javascript: (async () => { /* paste minified JS here */   ; confetti();})();

4. (optional) customize the confetti()-call

5. copy the result and paste it into bookmark

This works on most pages (tested on some tabs I have open), but it does not seem to work on hackernews itself. Here it gives me ContentSecurityPolicy-Error when creating the worker. (at least it does in edge)

hnben··on The Seattle Public Library is reducing maximum digital holds
I guess it's because of copyright, i.e. it's hard to make an illegal copy of a printed book, and it's easy to make a digital copy of an ebook. So the ebook-markup is partial due to the expected privacy.

My other guess is, that it really is more expensive. I think, the publisher's digital infrastructure is really bad. And there is a lot of overhead when publishing a new book with lots of DRM on it. And most books don't get sold that often. So a small number digital purchases must pay for that over-proportional up-front cost.

hnben··on It's the Information, Stupid
how does mojeek compare to kagi in general?
hnben··on It's the Information, Stupid
> to deliberately induce such bias

I don't think big companies do such "deliberately" (in the sense that a human made the explicit decision to do it). But when there is a certain behavior that performs better in practice, then such behavior will proliferate.

I say, that when the effect is known, and the company chooses not to reduce it, they are acting deliberately. The purpose of a system is what it does.

I agree, that the relation between the effect and the specific behavior may not be obvious, as you pointed out ("Managing bias is a wildly difficult..."). But it seems that google does not even acknowledge, that this effect exists [1].

Beside the intention, I think the more interesting questions would be:

Do the induce such a bias (deliberately or not)? Do the induce any bias at all?

[1] https://www.politico.com/magazine/story/2015/08/google-2016-...

hnben··on It's the Information, Stupid
I think GP used "simple" not as a synonom for "easy", but as opposite to "complex". i.e. the off-ramp is easy to understand, but possibly hard to implement.
hnben··on Cute trick for fetch-and-add-based queues
I want to have this feature on more websites.

Is there a quick ways to integrate this to existing sites? maybe some js I can include in index.html for websites I can control? maybe some bookmarklet to inject it into websites I don't control?

hnben··on Ten years of improvements in PostgreSQL's optimizer
> Imagine what environmental impact you would have if you optimized Python's performance by 1%?

I imagine this would also increase the complexity of the python intepreter by more than 1%, which in turn would increase the number of bugs in the interpreter by more than 1%. Which would burn both manpower and CPU-Cycles on a global scale.

(I assume that optimization, that reduce complexity are already exhausted, e.g. stuff like "removing redundant function calls". )

hnben··on Bun 1.1
> Release often, but don't break old code

That may become expensive fast

hnben··on A deep dive into email deliverability in 2024
am I understanding this correctly: When you mark a single email as spam, you will never receive another mail from that sender?
hnben··on How (and why) to run SQLite in production
thanks!
hnben··on How (and why) to run SQLite in production
this comments seems to say, that you could corrupt your copy, if you copy it while it is in use https://news.ycombinator.com/item?id=39838753
hnben··on Best engineering interview question I've gotten
> If companies thought they were missing out on too many good people they wouldn't do it.

that doesn't reflect my experience at all.

from the outside many weird things seem to have some deeper meaning and thought-out plan. But when you get an inside-perspective, you notice that often no meaning or plan exists, and the reason for the weird thing is something silly like "an important person made a suggestion, that someone else misunderstood, but also made it a priority", or "there was a good suggestion, but it wasn't implemented, because the person who suggested it, was in bad standing with the management".

hnben··on “Emergent” abilities in LLMs actually develop gradually and predictably – study
> implying an upper bound on any dependent phenomenon

the implication sounds good, but is easily rejected with a counter example: a good student can surpass his master. A mediorcre student with multiple masters can surpass all of them (tangent: this is why the medival master-journeyman system was so efficient, I think).

Or to make the argument more abstract: Your implication seems to assume, that transferlearning does not exist.

hnben··on How Chain-of-Thought Reasoning Helps Neural Networks Compute
if you haven't already, I recommend trying the openai playground instead of chatgpt. It is the same underlying ai (i.e. gpt4), but you have much more control over the inputs.

Bonus 1: Since you pay per token, it's much cheaper than a chatgpt abo

Bonus 2: You can increase the context window dramatically (iirc 8000 being the max for playground, while 2000 is the max for chatgpt)

hnben··on Show HN: Richard – A CNN written in C++ and Vulkan (no ML or math libs)
> Vulkan lets you run compute shaders written in GLSL, HLSL, or any language for which there exists a compiler that outputs SPIR-V.

Context: I am interested in writing GPU-code as well (for ML too, but also for custom physic simulation). I also think, that compute-shaders are the way to go. But my intution says, that openCL would be simpler than vulcan.

Question: Have you considered alternatives to vulcan's compute shaders? (e.g. opencl instead of vulcan, or maybe some other ways entirely to run GPU code, such as rust-gpu)

hnben··on Lie-to-children
I believe, that the "lies to children"-approach is one of the driving forces behind the general science-skepticism, and maybe even behind some consipiracy theories and some climate-science-denial.

It basically goes like this:

  1. Teachers are authorities and present facts to children

  2. people later learn that some of these facts are in-fact not factual

  3. people learn that:

    a) authorities can not be trusted

    b) it is ok to make up facts, as long as they sound good

  4. people apply a) and b) to other situations
hnben··on Lie-to-children
> How else will you even attempt to simplify it to 10 years old?

> The electron cloud model says that we cannot know exactly where an electron is at any given time, but the electrons are more likely to be in specific areas.

https://simple.wikipedia.org/wiki/Electron_cloud

hnben··on OpenAI – transformer debugger release
"The philosophical one" seems to get updated with every new breakthrough. 20 years ago, GPT3 would have been considered AGI (or "strong AI", as we called it back then).

https://en.wikipedia.org/wiki/Artificial_general_intelligenc...

hnben··on Facing reality about the EU is a core requirement for good management
"more, better" assumes that most regulations are perceived as good
hnben··on Linux Crosses 4% Market Share Worldwide
> If I could stay on X11 for a decade from now on

why is that?

I am asking, because so far I have seen old linux users refusing to move because they require some specific x11 feature that is not (yet) supported on wayland. I thought that new linux user wouldn't have such requirements.

hnben··on Natron: Open-source alternative to Adobe After Effects
I take it, that natron didn't work out for your usecase.

could you elaborate?

hnben··on The "End of Programming" will look a lot like programming (2023)
I think all these things are happening today, but with micro managers instead of ai. And to be honest: letting AI do the micromanagement would be an improvement in a lot of places.

The main problem I see here, is that management may use ai as an opportunity to push for more micro management. And if that happens, the consequences will be similar to regular non-ai micromanagement (e.g. higher perceived productivity, less actual productivity, developers leaving).

hnben··on Testcontainers
> Even if such integration tests would be possible, there would have to be so many of them that it would make maintaining and running the entire test suite practically unbearable. The reason we're able and should test all code paths is precisely because unit tests are much quicker to write and run. They're short, don't require complex setup, and can run independenly from every other unit.

I think having a good architecture plays a big role here.

hnben··on Serverless Horrors
would a cloud be securer though?

I guess you gain some security, when you don't have to worry about some things. But you also lose some security, because of the added complexity.

hnben··on Serverless Horrors
what would be the price-tag here?
hnben··on Testcontainers
doesn't it take a lot of time to create the schema and populate it with enough data to get going?
hnben··on Testcontainers
in a perfect world each unit would do the obvious thing without many different paths throught it. The only paths would be the paths, that are actually relevant for the function. In such a perfect world, the integration test could trigger most (all?) paths through the unit and separate unit-tests would not add value.

In this scenario unit tests would not add value over integration tests when looking for the existence of errors.

But: In a bigger project you don't only want to know "if" there is a problem, but also "where". And this is where the value of unit tests comes in. Also you can map requirements to unit tests, which also has some value (in some projects at least)

edit: now that I think about it, you can also map requirements to e2e tests. That would probably even work much better than mapping them to unit-tests would.

← PreviousPage 3 of 6Next →