News for hackers. Stuff that matters.

wardb

Show HN: DeepThought AI – Give your Python 'if' statements an AI boost

https://pypi.org/project/deepthought-ai-engine/

DeepThought AI is a satirical Python library that gives your humble 'if' statements an absurd AI upgrade. It transforms simple boolean logic into an over-engineered, GPU-hungry decision engine. Key features:- Neural Network If-Else Evaluator (10-billion parameters) - AI-Powered Condition Analyzer - Parallel Universe Simulation for each decisionThis tongue-in-cheek project pokes fun at AI hype,...

( Read More... | no comments | on HN )
Re:Firsty.app – free 300kbit/s eSIM for US/EU on Monday February 26, 2024 @06:02AM (#39509873)
I always recommend Airalo to collegues. I travel a reasonable amount and Airalo has been reliable for me and available in a lot of countries. Last year they didn't have Singapore (I think this was re-added?) and it was annoying and expensive to buy an eSim at the airport. Reminded me how great their service is.
Grafana Labs employee here => On the linked articles: I'm not aware of any caching being used in the writing data to S3 part of the pipeline other then some time based/volume based buffering at the ingester microservices before writing the chunks of data to object storage.

The linked Loki caching docs/articles are for optimising the read access patterns of S3/object storage, not for writes.

Re:Effective Spaced Repetition on Monday April 10, 2023 @10:25AM (#35512704)
lol. clearly a ChatGPT answer
+1 Loki is designed for object storage as backend. Persisting all data (so not storage tiering) on object storage vs local storage gives you cost savings, increased durability and simplified operational at scale.
That's incorrect, Loki is designed for querying high cardinality data.

The difference is that in Loki the index is only used for metadata around the source of the log lines (environment, team, cluster, host, pod etc) for selecting the right log stream to search in.

Parsing, aggregation and/or filtering of log lines on high cardinality data is all done at query time using LogQL. See also https://www.youtube.com/watch?v=UiiZ463lcVA and this live example where a 95th quantile is calculated using the request_time field of nginx logs https://play.grafana.org/d/T512JVH7z/loki-nginx-service-mesh...

Unfortunately it's severely misunderstood in the benchmark how Grafana Loki should be queried for high cardinality data. See also https://github.com/SigNoz/logs-benchmark/issues/1
Re:Software horror show: SAP Concur on Sunday December 04, 2022 @04:47PM (#33858270)
SAP Concur is a complete nightmare for managing expenses. It's so bad that it will ruin your entire weekend, leaving you feeling frustrated and drained. The interface is a convoluted mess that is practically impossible to navigate, and entering expenses takes forever.

The expense categorization system is an abomination that will drive you insane with its constant mistakes and errors. The approval process is a black hole that sucks up your expenses and never spits them back out. I feel SAP Concur is the worst software ever created for expense management, and using it makes me wish I never had to do expenses again.

Expensify is so much better. The OCR isn't great though

Re:Hetzner cloud servers are now available in Ashburn USA on Wednesday November 03, 2021 @08:17AM (#29093573)
besides the short network outage a few weeks ago it has been rock solid for me in the CA datacenter
Re:Hetzner cloud servers are now available in Ashburn USA on Wednesday November 03, 2021 @07:47AM (#29093373)
I'm with OVH because of their NA presence (Canada). Prefer dedicated servers because of the bang for the buck. Hopefully that's in Hetzner's roadmap too
Re:I don't think Elasticsearch is a good logging system on Tuesday September 28, 2021 @01:10PM (#28685059)
The not-indexing the log lines in Loki doesn't mean you can run complex queries on Loki. I've made a video to explain this concept: https://youtu.be/UiiZ463lcVA
Re:I don't think Elasticsearch is a good logging system on Tuesday September 28, 2021 @01:07PM (#28685030)
Out of Order support is available in Loki's main branch and included in the next release. It's already live in production on Grafana Cloud. https://grafana.com/blog/2021/09/16/avoid-dropped-logs-due-t...

High availability in Loki is supported in distributed mode. Helm chart here: https://github.com/grafana/helm-charts/tree/main/charts/loki...

Re:Dutch official calls for complete ban on Bitcoin on Friday June 11, 2021 @08:55AM (#27472630)
This description is too funny :) It does have a high amount of old man screaming at the cloud. You can have a lot of valid critical views of cryptocurrency (environmental impact / gambling aspect ), but this his view is very unhelpful

Does CPB actually has anything to say here? I was expecting "De Nederlandse Bank" to be the organisation to set the rules here.

Good products, but don't discount their go-to-market strategy.

IIRC MS/Azure is an early Databricks investor and their sales folks were heavily incentivised to sell it. They also pushed Snowflake in the early days until they had a competing product and their relationship status was upgraded to 'it's complicated'.

Competing with Amazon/Google/Microsoft on their own cloud is...ehm...good luck with that indeed. I believe they should have partnered with them early on (real partnership, like a premier offering, not the rubber stamp / marketplace partnership).
Worked at Hortonworks and post merger Cloudera. Was interesting to see how market demand changed over the years and how the company worked on re-inventing themselves. Databricks and Snowflake seemed to understand SaaS earlier and better though. Still have some great friends working at Cloudera, and hope this will indeed accelerate a great next phase.
Re:Elixir 1.12 on Wednesday May 19, 2021 @07:25AM (#27207111)
There is a known issue with building Erlang/OTP R24 on MacOS. Check this gist for current workarounds: https://gist.github.com/jj1bdx/972ba8da566f7e2eb1ff209fe4865...

This will be fixed in an update of Erlang.

Re:Joe Is Wrong (2009) on Friday March 26, 2021 @07:23AM (#26590769)
Joe's original rant can be found here: http://harmful.cat-v.org/software/OO_programming/why_oo_suck...

I can see that Erlang and Joe's (RIP) insights about OO might conflict with your view of the world, but IMHO that's just because of the OO indoctrination people grew up with.

Recommend learning key concepts of OTP/Erlang/Elixir first, and then revisit your initial opinions.

You might even conclude Joe Was Right

Older »