Hacker Newsnew | past | comments | ask | show | jobs | submit | logankeenan's commentslogin

Software that connects your own personal devices to form a p2p mesh network and also connects your friends personal mesh network. On top of that technology, the ability to chat, share media, or any other basic computing done between friends. Data is synced between devices. The goal is to make the underlying tech mostly invisible to the users. They pair devices and start doing standard software things.

> We need to support farmers because a market spread too thin on farming means people would starve.

People would not starve if we stopped the ethanol mandate. In fact, corn prices would fall because the government would no longer force ethanol to be mixed with oil. Less demand would decrease the price.


I'm obviously talking about maintaining spare production capacity. Far worse things than higher prices would happen if we actually had crops fail. If the government stopped requiring ethanol, there would be fewer farmers (although a few might convert to other crops, some land is not suitable for many different crops).

I guess I’ll start to look at an alternative to GitHub self hosted runners.

It’s been awhile since I looked. What’s a good alternative?


Are there any good CI systems to begin with? joking, but not really

Jenkins has been rock solid, we are trying to migrate to Argo Workflows/Events, but there are a complaints (like deploying argo workflows with helm, such fun!)


I've been using dagger.io and it's been really nice to work with.

- runs locally

- has a language server: python, typescript, go, java, OR elixer

- has static typing

- the new caching mechanisms introduced in 0.19.4 are chef's kiss

I do not work for dagger and pay for it using the company credit card. A breath of fresh air after the unceasing misery and pain that is Gitlab and GHA.


I use Dagger as well, since v0.1.2, even worked on the CUE stuff around then with them.

I wouldn't call it a CI system though, but certainly the philosophy that local and CU should be running the same thing saves many hours of frustration.

I'm currently using Dagger to create forkable/rewindable agent sessions and environments (not with their agent nonsense). Dagger is a pretty sweet piece of tech, so many uses for programmatic container layers


buildkite


I am just waiting for GitHub starting to charge for API usage ...


"Jenkins is the worst form of CI, except for all those other forms that have been tried."

-- Winston Churchill (probably)


On the heavy side, but TeamCity is full of goodies.


How would we effectively regulate social media? Being the regulator could be a very powerful political tool and used to capture or maintain political power.


Regulating is already being done by the “private” companies that own them, heck it’s the plot of a bond movie (sub in newspapers for social media) with a real life Larry, Elon or Mark as the villain.

As a society we choose what to allow or not allow together, collectively, through politics (ideally) and when things damage our collective health we regulate or ban them. All regulations probably seem impossible before they happen. Australia regulated guns, China regulated social media, plenty of countries regulate alcohol, drugs, gambling. It’s all possible, just have to weigh the positives and negatives and find a balance, but the status quo is broken.


Deciding what we want as a society is fine. Vehemently disagreeing over what and how things should be regulated is fine too. In general, trying to do anything in good faith is more or less fine.

What is not fine is proposing to make regulations that purport to do things that are near-universally supported, but in reality further agendas that are widely opposed, agendas that work against the interests of the American people and would never pass otherwise.

That is very clearly what is happening here, and we know that because it happens all the time, using the same tried-and-true formula. In particular, anything claiming to "protect the children" is almost certainly an obfuscated attempt to erode civil rights protections like free speech or privacy, and should be treated with extreme prejudice.

*edit* Also, anything Rahm Emmanuel says, believe the exact opposite.


I agree with the sentiment, but the rights of Americans are being eroded at a comical rate with no positives like protecting children (be that an allusion to protecting them or actually doing it)

Look at the TikTok “ban” for example. Congress passed a law to ban it because they didn’t have control over what the population was seeing, specifically around the genocide in Gaza. Now US ownership has passed to Larry Ellison, a republican connected pro-Zionist that will make sure the objectionable content that shows Palestinian's suffering does not bubble up in the algorithm. Never mind that you see 10 year old girls practicing TikTok dances when they are standing in line, waiting for the bus, etc. That problem persists, and no one in leadership cares because now the right people are getting rich and censoring the actual content the rulers cared about.

I’m with you on Rahm, but I’m not going to let him trying to hook his wagon to a policy that I support ruin my support of it.


It’s been about a year since I looked into this sort of thing, but molmo will give you x,y coordinates. I hacked together a project about it. I also think Microsoft’s omniparser is good at finding coordinates too.

https://huggingface.co/allenai/Molmo-7B-D-0924

https://github.com/logankeenan/george

https://github.com/microsoft/OmniParser


Thanks ill try this!


The BBC article spelled the dam's name wrong in their interactive image. It's Latyan Dam if anyone else wanted to look up more on it.

https://en.wikipedia.org/wiki/Latyan_Dam https://maps.app.goo.gl/UzQrPMR4iHRdbsuP7

Edit: TIL there can be different translations/spellings of Persian to English


Well, the actual spelling is لتيان, so it comes down to how you choose to romanize it.


I had no idea Romanization of Perian was a thing. Thanks for sharing!

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


Using Rust instead of a Go would provide a smaller binary since it doesn't need a runtime. Compared to JavaScript apps, it's not terrible but also not great. One thing WASM has over JS is that it can decode and compile code in parallel across multiple threads as it streams in.

https://hacks.mozilla.org/2018/01/making-webassembly-even-fa...


It's really cool to see someone else gravitate toward this idea. I think there might be some real potential in the future. I wrote about a similar idea in 2022 [0] and 2023 [1]. The service worker approach was heavily inspired by Richard Anaya's work [2]. HTMX migrating to fetch [3] makes this even easier. I had to create a xhr-fetch-proxy [4] to intercept requests with htmx today. I'm not the author, but would be happy to answer any questions.

[0] https://logankeenan.com/posts/a-rust-server-app-compiled-to-...

[1] https://logankeenan.com/posts/client-side-server-with-rust-a...

[2] https://github.com/richardanaya/wasm-service

[3] https://news.ycombinator.com/item?id=45803358

[4] https://github.com/logankeenan/xhr-fetch-proxy


This is great! I had to create an xhr-fetch-proxy to use fetch and htmx. This change should open up a lot of fun possibilities.

https://github.com/logankeenan/xhr-fetch-proxy


in 4.0 the request cycle is totally open: you can replace the fetch() implementation on a per-request basis

learned that trick from fixi.js


Yep, it's super nice. The Service Workers API also makes this really easy too. I experimented with compiling a Rust Axum server to WASM and then ran it in my service worker. Also, thanks for incorporating fetch into htmx!

I thought I'd include an example of replacing fetch for anyone that come across this.

    const originalFetch = window.fetch;
    window.fetch = function(url, options) {
      if (url.includes('/api/user')) {
        const mockUser = {id: 1, name: 'John Doe', email: 'john@example.com'};
        return Promise.resolve(new Response(JSON.stringify(mockUser)));
      }
      return originalFetch(url, options);
    };
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWork...


in htmx 4 you are able to swap it on a per-trigger basis, so need to muck w/the global fetch function:

   <button hx-get="/foo" hx-on:htmx:config:request="ctx.fetch = myCustomFetch">
     Do It
   </button>


Oh that’ll be much nicer. Would myCustomFetch then need to return a Response?

https://developer.mozilla.org/en-US/docs/Web/API/Response


> Usage their customers would not pay for if it did not have a positive ROI.

I don't think we can assume that's true. Their customers are paying for it, but we don't know how profitable they are being with the AI compute they pay for.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: