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

Indeed. Extending idempotency to the response not merely the action wherever possible


But why? Now the client has strictly less information than it had before.

The client already has the capability to handle 404 for DELETEs.


Fwiw at least xtc and coke can be legally tested in the Netherlands. https://www.drugs-test.nl/en/testlocations/


They can be in more countries than just the Netherlands IIRC. And simple test-kits are available too - these aren't as good obviously, but can e.g. prove the absence or presence of certain (by)products.

Also, these tests are set up in a way that they are anonymous in a way that e.g. even if prosecutors could subpoena a test-location or lab to hand over administration, this administration won't contain any PII or even pseudonymous information.


I was under the impression that it's impossible to reliably test, e.g., cocaine for fentanyl, without destroying the drug and it doesn't take much of the latter narcotic to kill you.


The amount that has to be destroyed is miniscule.


my point is that powders don't mix evenly. part of a baggie testing negative for fentanyl doesn't mean the remainder is clean.


Then thoroughly mix the whole amount before taking a sample.


Given that a lethal dose of fentanyl is about two milligrams (similar to 5-7 grains of table salt in volume), that still feels pretty risky.


Ah funny! You were 3 hours before me. It's not just xtc and coke. It's much more than that. Most things are simply going to be sent to the lab.

The only thing they don't test are things you can somehow get legally, if I recall correctly (so whatever you can get for any psychological condition).


Lsd can be tested as well in the Netherlands. You can get a quantative analysis, but you lose the sample.


Imagine iPhones with Geiger counters. Nicely aggregated in bite sized daily stats through Apple health


Geiger counters don’t work on Ni-63. It’s a pain to detect, needing liquid scintillation.


Congrats with the launch. This looks great. Inferring schemas on the fly is awesome to get started quickly, but are there ways to explicitly define a schema if I wanted to? For example, thinking of setting column specific compression


Currently no, but I’m open to the idea of being able to set this. Perhaps the ability to set it on the fly (or better yet, inform the user of which type of compression to use based on their actual data!) would be useful. Happy to discuss in a gh issue too.


Yep. Lora's are the easiest way to go. Loads of tutorials on Youtube. This is a good one: https://www.youtube.com/watch?v=70H03cv57-o


Looks like it requires good hardware to run this? My GPU is too old for this.


You typically want an Nvidia GPU with at least 8GB of VRAM to get started with this stuff. You can get away with less, but it will be slow going. More VRAM is better.

If you're serious about learning how to use these tools, it's far more affordable to rent a GPU in the cloud. Google Colab even has some free tiers with limited access to GPUs that are significantly more powerful than what you would normally put in a desktop.


Thanks for the advice, I’ll look into the option of renting a gpu sadly.

I just want to create my own images like Dall-e 2 but using my face instead.


Isn't the Angolia backend just one of the possible 'sources' as they put it? You can easily add your own backend as a source I imagine


That is 100% correct.

This library does NOT send any keystrokes to Algolia, unless you configure it to use its services. This library is NOT coupled to Algolia's server, unless you explicitly configure it to.

And 1 nice thing is: You can add multiple sources to it, meaning you can search at the same time in various local and/or remote sources/servers and integrate all results into 1 result list with rich layout possibilities.


While this is true , some plugins like the query suggestions have a very 'Algolian' format and dont work ootb without writing an additional wrapper around the response as the format differs from the output of the main plugin


Slightly tangent, but it would be really powerful to be able to train a model (through LoRa probably) on your datawarehouse, having table structures of facts and dimensions.

Self service BI would be a solved problem. No more building tedious widgets, but simply ask ChatGPT or similar for 'last 5 yours pNl by business unit'. Bonus points if based on cardinality, etc. it will properly choose the correct chart type (e.g.: stacked bar).


I’m building exactly this! https://vanna.ai


Your website says:

>Vanna.AI “trains” a model for your specific database

(Quotes mine)

When you say “trains”, I guess you don’t mean training in the true ML sense of updating model parameters, but rather you use a vector-db plus retrieval to augment queries (the usual recipe for “chat with my data”)?


Awesome! Going to check it out


We're building this at DinMo! (dinmo.com) We started with a context augmented assistant with retrieval and augmented queries, but we're actually working on training a smaller model for each client datawarehouse by creating a specific training dataset. You can check out a video the first version of the assistant here https://www.youtube.com/watch?v=qRClskxe1Wk


Q: But what if all signs in the building are in mirror writing? A: If all signs in the building are in mirror writing, it would be a consistent theme throughout the building. In this case, the "push" sign written in mirror writing on the glass door should also be interpreted in the context of the building's theme. As a result, you should still push the door as the sign indicates, even though it's written in mirror writing.


I for one would welcome a second blogpost with the stateful example. I’ve been doing running totals (basically balances based on adding financial tx per account) but had to do it in some client code because I couldn’t figure out how to do a stateful resume in Sql


Clickhouse support for Tableplus landed 2 months ago. https://github.com/TablePlus/TablePlus/issues/670


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

Search: