skysight-inc/HackerNews huggingface dataset:
I can't follow. I'm very familiar with both SQL and GraphQL. But SQL is strictly more powerful. If you want, you can extend the API to let the caller use with-statements, which allows to aggregate all necessary data within the same SQL query and being returned as a single response. No disadvantage to GraphQL here.

I'm not saying that I suggest to do that, but for the specific point that you mention, I don't see any theoretical advantage of GraphQL in terms of performance.
For me, the end of the computer magazine was the end of print Dr Dobbs. For years, it was a wonderful staple that was just there. The world's a sadder place for its loss. :(
FWIW, "chata" in Portuguese means something like "boring" and "annoying". But at least it's not vulgar or obscene.

Naming for an international audience is hard.
I did that, but then adding 0_degC + 0_degC gave 273.15_degC. I think that would be surprising to many people. In reality I don't remember ever having to deal with physics formulas that used °C instead of Kelvins, so the only time I need to use °C is when presenting the temperature in the UI:

temperature.in<si::Celsius>()
'custom' part is the problem. Dealing with few vendor service APIs everyone has a different idea and syntax on how to implement simple AND, OR filter. Few weeks back spent half a day trying to figure out what the correct syntax is to do '<value> IN ...' query due to poor API documentation. Something more intuitive would be nice.
China continues to reduce its holdings of US Treasuries in October
You're basically creating an expression language: https://github.com/expr-lang/expr
There was something similar about Retrieval Augmented Generation (RAG) recently on HN:
https://news.ycombinator.com/item?id=38491251

Early next year I’m preparing something similar for my team, so I’ll surely look into the useful links/recommendations posted by fellow HNers :-)
However the Sony Cell had just a PowerPC controlling core. The real magic, and why it was used in supercomputers at the time, is in its Stream cores; they were highly tailored for vector and floating point maths.
Weren’t dinosaurs warm blooded too?

This could be in dispute, but there does seem to be evidence to suggest this.

Although how long did hot blooded dinosaurs live for compared to cold blooded ones.
(3) It is possible for God to exist.

Actually, no, it's not, at least not a God which is both omniscient and omnipotent. Omniscience and omnipotence cannot co-exist; they are logically incompatible. If there is an omniscient being, then all action must be in accordance with what that being foresees. Anything not foreseen by an omniscient being is impossible, ergo omnipotence is impossible in the face of omniscience.
and then spends months finding and undoing. And writes this comment. Can confirm.
Have a look at the filter code in Csound, for example:

https://github.com/csound/csound/blob/master/Opcodes/butter....
Before mobile phones and beepers, institutions would use a public address system to announce “paging dr. whoever.” Makes me wonder whether the word comes from sending a “page” (an errand boy) to go look for dr. whoever and bring him back.

I guess now “carrying the pager” is a metaphor like “copy and paste” (from the glue used in newspaper layout).
what a sad story!
Instead of inventing your own DSL for filtering, there are also some well-specified standards.

ODATA [1] is probably the main one, and it’s adopted by e.g. Microsoft’s Azure APIs. JSON:API [2] is another, although I’ve never seen it used anywhere personally.

They’re both pretty heavy specifications so I’ve never bothered implementing anything that 100% follows them. But I have picked bits and pieces from time to time—in particular ODATA’s idea for filtering is nice and comprehensive imo, and there are a number of libraries in various languages which handle parsing its filter strings into structured data.

[1] https://www.odata.org/
[2] https://jsonapi.org/
There won't be a foldable iPhone until Apple figure out someway to get rid of the crease and all the polymer screens stop looking cheap as fuck.
Video games are already full of exploits. That's what allows a rich modding scene to thrive.

Video games sit in this really weird place in software engineering where 'security' in the traditional sense doesn't necessarily apply.

Games are either single-player and don't really make any sense to exploit, or are multiplayer and have weird kernel-level DRM and anti-cheat, and on the server side, mainly host multiplayer matchmaking and servers.

Even if games have been exploited maliciously, users would have to go out of their way to find a malware-laden version on a shady BitTorrent website, and in that case the BitTorrent protocol is the real vector, not the video game itself.

Don't get me wrong, I'm not saying video game RCEs aren't security a problem—but they have fairly extensive positive implications that might not be usually considered.
Can these downloads be used to build a working version of the game locally?
Education has been trying to kill the "ge/gij" form for decades by ignoring its existence. In Flanders, they are not really succeeding. Everybody still uses it in spoken form. However, the number of people knowing how to conjugate it properly in written form is decreasing. "Gij hadt" fe, is correct but rarely encountered .
Rockstar, being major deeks to open-source projects, deserve this to the fullest.
Isn't the "no services" one of the things that all Tesla owners advertise?
There's a big difference between Rails autoloading and Ruby autoload, in that Rails is implicit and conventional from the constant name plus load paths, whereas Ruby is explicit as one declares where to find each constant.
The Human Use of Human Beings (1950)
Network effects are a thing. Mere availability of WhatsApp (or Signal, or whatever) doesn't do you any good if all the people you actually need to talk to don't have it installed.
Plan9 in fact uses file descriptors all over the place, including accessing synthetic or real filesystems (which are really namespaces). In fact the only "globals" are the #<dev> devices.

IMHO you're better off starting with plan9 concepts + pure capabilities (KeyKOS as opposed to Capsicum). It would not enough to have a clean architecture unless a) it matches or improves upon performance and b) there is a way to run existing Unix software via some adapter layer or library or monitor.

I suspect if you try to "reform" unix, there will be a lot of recidivism :-)
That the uploader used a Saudi Arabia VPN node?
> this is too ambiguous of a question anyway, since it depends on the workload

yep, how much data is queried and how are queries written, I'd guess it's good to strech your muscles on tiny instances so you get a feel how different queries can consume available resources.
There are people out there who enjoy working on difficult problems and want to keep working on them.

I can't speak for 20 years from now, but if I had retire-now money,I would probably take a job with a small games company. Strangely enough, that's what I do now anyway.
Haystack [1] is another good option. It‘s modular, doesn’t get in your way and is particularly strong at retrieval. People like the documentation too.

Disclaimer: I work at deepset

[1] https://github.com/deepset-ai/haystack
I got 1~2 hours of additional battery life on Wayland. Unless we have a very different definition of "truth" or "an incredible resource hog", then indeed citation is needed.

Since you are the first in this comment chain to assert that Wayland is bloated, perhaps you should also be the first to provide evidences to support your assertion too.
From indiehackers, 5+ years ago:

Don't believe for one moment that 5 hours on Product Hunt or anywhere else for that matter represents a serious marketing effort.

If you want to run a business rather just create stuff, your work has only just begun. In the light of Facebook and other social media revelations, the idea of a truly disposable email address which means your entire life is not analysed and spammed to death has to be worth something.

You haven't told anyone about it though. And I mean you shout from the rooftops every day and everywhere you can think of. You market. People are not going to come looking for you. You have to start approaching influencers, be seen and be heard everywhere you think your potential users might lurk.

And, by the way, everyone sees a million new ideas a day so you have to be consistent, appear to be permanent and appear to be solid. No-one is going to entrust communications with you if they think you are a small, one-man band with an idea and little else.

Time to start reading marketing articles and strategies and applying them.

And expect it to take time.
Why go that big? Most people are already happy with 2 rooms and 60 square metres. Those apartments are much cheaper than $500k, at least in Budapest, which is a country away, but still :) Ok, I get it, a big family would be very happy in that villa, bit it's a bit weird to see it as a baseline :)
They will use it, like COBOL. But are COBOL programs usable on your machine?
So the same math as making all the cars electric to begin with?
Shame about the language
I seriously don’t think it’s worth comparing Ruby to languages like C++ and the rest.

One is scripting language, the other compiled, the difference is huge already there.
Why do mathematicians confuse Halloween and Christmas?
Merry Christmas! I have been lurking for years and never contributed myself. Nonetheless, I appreciate all the users and their productive discussions that make this site a joy to browse.
Retrieval Augmented Generation - in brief, using some kind of search to find relevant documents to the user’s question (often vector DB search, which can search by “meaning”, by also other forms of more traditional search), then injecting those into the prompt to the LLM alongside the question, so it hopefully has facts to refer to (and its “generation” can be “augmented” by documents you’ve “retrieved”, I guess!)
More months than weeks
I hate these sort-of-well-known-language-but-not-really DSLs. Since they’re sort of the well known language, documentation is usually sparse, you never know how to deal with edge cases without trial and error. For instance, in the given example, how do you escape SQL keywords? How do you escape quotes in string literals? Even SQL dialects don’t necessarily agree on what’s allowed, never mind this DSL with a half-assed parser.

Not to mention this practically invites dumb string interpolation in SQL preparation, undoing decades of work to rid the world of this terrible habit. (Edit: This problem is solvable.)

Don’t try to be clever, use a structured format (JSON, protobuf, etc.) with a well documented schema.

Note that I’m only talking about APIs. It’s an entirely different matter if your product allows users to type in and send complex queries interactively.
Oh, you certainly can do it - DOS had TCP stack options for a long time now - and I'm not surprised that people do it for a lark. But I've never heard of anyone seriously doing something like this back when Turbo Pascal and Turbo C were still relevant dev stacks.
But why? Do you have any evidence that if you did these things you would be more successful? Why is this the list of things that matters? If I had the opposite perspective for every item on this list, what would be convincing that I should change my perspective?
> That's the thing, it can also be fixed by the electorate.

In theory it can but in practice it usually isn't, especially for things like this. It's all too easy for some bureaucratic rule to be killing people who have e.g. a particular type of cancer, which makes that 0.5% of people care about it very much, but it takes 51% of people caring about it to change the law.

Meanwhile some other rules are each killing some other 0.5% of people and when you add them all up it's a large-scale disaster but it's also many independent problems. The details matter but the electorate doesn't have the bandwidth to even understand, much less solve everybody's different problems.

You want as much as possible for people to be able to affect their own circumstances rather than relying on the bureaucracy to care about them.
> like using postgres instead of MySQL or Ruby or Python instead of PHP

I guess it's great advice for newcommers who have enough time at hand, but would it not be better to pick one stack and stick to it?
My knowledge is probably outdated so I suggest to research this yourself, but mostly is about the maturity of JAva compilers that can perform advanced optimizations and the ability to optimize at runtime.

If you are interested into debating this with me and proving that Rust is the best I am not interested in a language war.
I still have my issue #1 of PC World. I hold on to it like a religious relic.
It’s become kind of a meme, but Jocko’s “Good.” The idea being this: if you’re in a difficult situation and starting to complain about it or dislike the pain, reframe your attitude and embrace the difficulty. It’s popped into my mind in a variety of situations, ranging from walking in a snowstorm to being exhausted during a run.

In a deeper sense, it’s made me realize that a lot of our attitudes are socially conditioned and not actually what is “natural.”
That's just freedom of speech[1] /s

[1] https://www.msn.com/en-us/news/technology/tesla-claims-its-f...
Because it's a rare need and easy to write your own based on postgres or redis.

External systems come with a cost, especially if it's more than a library.
Doesn't change much to your argument. But fuel doesn't last for months sitting in a tank. Gas will absorbs moisture from the mandatory ethanol mix and become quasi useless, and diesel will develop algae, clogging the piping and filters.
As chains of trusts go, this is utterly useless! Unless you’re about to post a picture of yourself with your HN username, today’s newspaper and a linked biog at a trusted domain that proves beyond doubt your integrity.
Yeah, setting a hard cap on the maximum cpu count doesn’t feel right? Why not depend on the available cores?
House prices per sqm in Romania based on average net earnings per month is lower than ever, lower than 2014 when price per sqm were at the lowest after the 2008 financial crisis.

Why don't you consider buying the house with a bank loan? it's the best decision to do so even if you have all the money... if you talk with a financial consultant you'll see why.

Housing prices are not out of control, we are lagging years behind other European countries in regard with house prices.
If you look on the numbers you will see that this is actually a good time to buy a house in Romania.
Many people out there have a big misconception that stolen Bitcoins cannot be recovered, that is not true. For someone who has had firsthand experience. Bitcoin is the future of world currency and many businesses and many have fallen victim to scammers while some can’t even access their bitcoin Wallet or their BTC due to some reason or the other. My brother and I have been struggling to get back on our feet for quite some time now. About a month ago we were defrauded by some con artists who claimed to be an investor. We invested $658,000 in bitcoin and we were promised 100% profit only to find out later that we had been deceived. My brother decided that we should report the matter to the police which we did but no action took place. We decided to go another way, look for a recovery agent. We discovered an agent who had many positive reviews on the internet. We quickly reached out to him at wizardjamesrecovery@usa.com to satisfy our curiosity. We got a response from him asking me which of his services I was interested in, I explained my situation to him and he assured me that he will recover the funds. After 5 days, I got an email from him giving me the good news of the recovery, we were very excited. At last, we all achieved the same goal which was retrieving back my stolen funds from those fake investment platforms.
Disastrous survival shooter The Day Before to be extracted from existence
Yeah +1

We originally started out building features with LangChain (loading chains from YAML sounded good—it felt like it would be easy to get non-engineers to help with prompt development) but in practice it’s just way too complicated. Nice idea, but the execution feels lacking.

It also doesn’t help that LangChain is evolving so rapidly. When we first started using it a lot of code samples on the internet couldn’t be copy/pasted because of import paths changing, and at one point we had to bump by ~60 patch versions to get a bug fix, which was painful because it broke all kinds of stuff
That sounds like a lot of talent :)
I've read it a long time ago, but I didn't recall how pessimistic it was underneath the prophecy.
The #1 AI Real Estate Platform
Turning 1 year older nearly broke me,

There were lots of important things in life I couldn't see,

But I got a wonderful realization that set me free,

Oh how wonderful it is to let my actions be made by me!

Merry yuletide everyone!
Please help me understand.
China Is Stealing AI Secrets to Turbocharge Spying, U.S. Says
I'm not sure if that's true in practice, but even if so, how's that an argument for an infinite universe?
No experience with Tesla specifically , but usually the manufacturer has recommended checks at certain amounts driven or a certain time elapsed. Some people follow those and have their cars checked at those points, others don't. But according to this article Tesla has no such system.

Then there is the TÜV, which is a mandatory check for all cars usually every 2 years. So this seems pretty similar to your country, just with different intervals.
I use JSON:API, a little simplified. It works great.
Merry Christmas! I wish you health and joy in life.
SWEET16 is better than 6502, at least in code density for handling 16 bit values, but its main attribute was that it was only about 300 bytes of code. SWEET16 is certainly not better than AVR in any dimension!

I've thought about making an MSP430 emulator for 6502/z80 as it's quite simple, has dense code, and is about the only 16 bit ISA to be well supported by modern compilers.

"Can't execute code from RAM" is a definite problem in certain circumstances. Is it still true with recent AVRs which have a unified address space? I know you know now use normal load instructions to read constants from ROM, but I don't know if that also extends to executing code from RAM. The ATMega328 and ATMega2650 and ATTiny85 aren't the latest thing any more :-)
What is 10x better than Calendly?
What Calendly is currently lacking?

I've a project from which I integrated "two ways" calendar event management with Google Calendar, I'm about to make it more general since I don't have enough client in the specific niche it is. Looking for the features to add. The 10x better I have in mind is: Chat to handle events (+ GCal events as well). Feedback?

Merry Xmas
As a Model Y owner, the lack of a service interval is really annoying. I want to pay Tesla to make sure my car stays safe and reliable, but I can't.
Welcome to mach!
Thank you for stopping by to say this! So glad you like Clop ^_^
You can allow users to write direct SQL queries or use SQL as API if the database server does all of the following:

1. Access control.

Table and column-level access control. Row-level restrictions by expressions.

Out-of-band table filters that the user cannot override in the query.

2. Query complexity restrictions.

Allow queries only using the index. Restrict the maximum number of records to scan. Limit the max query runtime or maximum memory consumption.

Out-of-band limiting on the result size.

3. Rate limiting.

Limit the number of rows or bytes scanned over a period of time for a user, for an IP address or IP subnet.

4. Interfaces and formats.

CORS headers. HTTP compression. TLS. Proxy protocols.

JSON with metadata, Protobuf, etc.

TLDR. It works with ClickHouse; it is doubtful with other DBMS.
Ask HN: Set Up Local LLM
Hi folks,

I'm going to set up a local LLM, e.g., Llama2 for our team (10 people), but I'm not quite sure about the process. I'm planning to run the model on single/multiple H100s and which is the best tool/framework to handle multi-users at the same time? I did a bit research into vLLM but still I wish I could hear from the experts who did this local LLM thing before. Our team members have the IT background so the UI is not top concern. I think it's more about the efficiency that all can use it at the same time at worktime. Thanks!

Best,
Pretty much any log search interface, I use Papertrail. Google search. For the feature I am currently working on, it's an audit trail for the operations we run and OR is required. I wish the various searches on GitHub supported "or".

Additionally, tons of products do support "OR". Take the Amazon search. It has sections that are "OR" inside of them and "AND" across the sections.
TPUs tend to be specialised for matrix multiplications, often at low precision.
That Scala SQL syntax parsing/validation is neat. Anything equivalent in Python?
I was about to comment that the correct plural form of nova is novae, but it looks like dictionaries say that both novae and novas are correct. The irregular case does seem to predominate according to google ngram viewer.
> Name resolution such as `Socket.getaddrinfo` can now be interrupted. Whenever it needs name resolution, it creates a worker pthread, and executes `getaddrinfo(3)` in it.

Do other language runtimes do similar things? Creating a thread sounds too heavy, though it might not matter in practice. As per their own benchmark, the overhead is minimal but still not zero.

10000.times {
Addrinfo.getaddrinfo("www.ruby-
lang.org", 80) }
# Before patch: 2.3 sec.
# After ptach: 3.0 sec.

100.times {
URI.open("https://www.ruby-lang.org").read }
# Before patch: 3.36 sec.
# After ptach: 3.40 sec.
Matrix Holiday Update 2023
He also had WMDs. /s
Tesla's roll out of the factory with things out of limits all the time. Headlights being a big thing, not adjusted within the rules for the TUV (or Dutch APK) even when the car is brand new.
What I mean with “object-oriented” vs “file-oriented” is more the philosophical approach of the systems. I think the “everything is a file” approach of UNIX has its strengths but it also breaks down at some point.

So with the example of PowerShell (on Windows), I like that I can actually pass around objects which I then can query for details if I want to, but which can also hide their details if they’re not needed.

In contrast to files (or rather text), where details are always exposed. This is often seen as an advantage as it’s directly “human readable”, but in my experience it often makes for more complex command lines.

As said, both philosophies have their pros and cons, I just don’t see the UNIX one as the one and only truth.

But I generally try to be pragmatic and will happily use Windows or some UNIX derived system (or something else) depending on the use case.
Guess what: we already have the storage capacity for that. We currently have something like 200TWh of gas storage. Once we don’t need that anymore for heating (give it 30 years) it’s free for hydrogen storage. This pretty much selects the locations for the grid-scale electrolyze installations. They must be either next to the storage sites or along the pipes. The latter already covers significant parts of Germany. Yes it’s inefficient, I’d be surprised if you even get 50% roundtrip efficiency, but it’s effectively free (at least compared to build battery capacity or nuclear power plants).
Even worse for me:

Your browser is out of date!
Update your browser to view this website correctly. More Information.

and constantly reloads in hope that my browser does update somehow :D