skysight-inc/HackerNews huggingface dataset:
Some projects such as lmdeploy[0] can quantize the KV cache[1] as well to save some VRAM.

Speaking of lmdeploy, it doesn't seem to be widely known but it also supports quantization with AWQ[2] which appears to be superior to the more widely used GPTQ.

The serving backend is Nvidia Triton Inference Server. Not only is Triton extremely fast and efficient, they have a custom TurboMind backend for Triton. With this lmdeploy delivers the best performance I've seen[3].

On my development workstation with an RTX 4090, llama2-chat-13b, AWQ int4, and KV cache int8:

8 concurrent sessions (batch 1): 580 tokens/s

1 concurrent session (batch 1): 105 tokens/s

This is out of the box, I haven't spent any time further optimizing it.

[0] - https://github.com/InternLM/lmdeploy

[1] - https://github.com/InternLM/lmdeploy/blob/main/docs/en/kv_in...

[2] - https://github.com/InternLM/lmdeploy/tree/main#quantization

[3] - https://github.com/InternLM/lmdeploy/tree/main#performance
As cool as this is, it's resistive touch which is alright but it's no capacitive touch, and it's 2G which is largely useless for mobile connection in a lot of places, and certainly useless if you need data, which most people do. Still, excellent proof of concept and also it might be a fantastic tool to be able to build yourself in some places.
Twitter or FB are not the best channel, but it's not easy to gain traction in any medium without a well stablished community, haven't tried other social networks yet, which one do you think could be better ?
Excuse the maybe stupid question, but what does "laundering cryptocurrency" mean? Isn't half the point of the whole crypto thing that it doesn't need this circus to be untraceable?
Reminds me of Mindustry https://f-droid.org/en/packages/io.anuke.mindustry/

But it looks like Factorio was first.
It's trivial to test, just use ChatGPT yourself and ask it to solve the same problem several times in new sessions. Then paste in all attempts and ask for a combined result.

The main issue is context length: if you use 4 attempts you have to have to fit in the original question, four temporary answers, and the final answer. So that's 6 roughly equal sized chunks of text. With GPT4's 8K limit that's just 1300 tokens per chunk, or about 900 words. That's not a lot!

The LLMs with longer context windows are not as intelligent, and tend to miss details or they don't follow instructions as accurately.

Right now this is just a gimmick that demonstrates that more intelligence can be squeezed out of even existing LLMs...
In the olden days, AC allowed easy voltage conversion with a transformer. The transformer converts the electricity into magnetism in a steel core, and then back into electricity at a different voltage.

This process is quite efficient but requires a lot of steel, since in a 60 Hz AC system, 1/120th of a second of the energy being converted has to be stored as a magnetic field in steel - and steel isn't a particularly good 'store' of magnetic fields...

Modern DC/DC systems actually have similarities! But instead of operating at 60Hz, they tend to operate at more like 1,000,000 Hz. That means far less copper and steel is needed. Unfortunately, 1,000,000 Hz power has a habit of leaking out of cables and becoming radio waves, so we can't send it long distances like that - so we convert it to DC before and afterwards. The conversion to DC is done with electronic switches switched at 1 Mhz or more - usually MOSFETS are used, and one promising but expensive type is a GaN MOSFET. It turns out that the DC->AC, transformer, and AC->DC setup can also be combined and simplified a bit, and we call the result a buck/boost converter.

Overall, buck/boost converters can normally convert DC voltages for less money and at higher efficiencies than their AC transformer counterparts - mostly due to the higher operating frequency allowing use of far less steel and copper, and allowing other engineering tradeoffs be made in the direction of efficiency.

However, neither DC/DC nor transformers have any theoretical cap on efficiency - and with an unlimited budget, you could make either with an almost arbitrarily high efficiency.
> From now on, we are stopping the embargo on the expansion content, and we will be publishing Friday Facts every week about all the different aspects of the expansion until release!

Yay !

Why this is quite HN-relevant news :

https://news.ycombinator.com/item?id=27446910
How dare they. Only the CIA is allowed to launder money for their own ends. /s
Nice work with ollama!

Any plans to add the 13B quant models?
bitcoin [lighting] is privacy nightmare
Kinda, https://youtu.be/1ThNnuSuZC0?t=4925
What It Means Now That AI-Generated Works Cannot Be Copyrighted – Variety
Possibly. But this is literally the "let's let the next generation deal with it: attitude.
Yeah, well, Florida. You don't need much to hit water table in FL. High heels will sometimes do.
> The simplicity of Web Components forces you to plan ahead a little bit more and to architect your app

Not really. The perceived simplicity of Web Components makes you deal with issues that you should never have to deal with, and reinvent your own libraries and frameworks for even the simplest things, and you will still run into unexpected gotchas.

Especially if your components will be used by others (cross-root ARIA, SSR, styling, proper form participation etc.).

But even for what are not even supposed to be issues. It's a good thing you mentioned an input box. Properly re-rendering an input box in response to certain events or state changes will be either lots of tedious manual work, or running into issues like losing focus, user input, and values. And there's literally nothing in web components to help you with that: use or create your own library to deal with it.

The behaviour you described for Vue is surprising though...

> I don't run into these issues when using Web Components because I have full control over the rendering.

Not really you don't. For example, web components are eagerly rendered, and there's really not much you can do to prevent a rendering cascade when in reality you want something to load and render lazily.

You can't coordinate between various components on the page, so they will all have their own idea of when to render.
i open them in my browser and in a native pdf viewer.
> The original maximum distance estimation was around.... According to my numbers, you wouldn’t be able to beat the 2-meter mark.

1m is a comedy level. 2m straight up rookie numbers.

Source: was a child with access to a swing.
I would love to see examples. In my attempts to get something original on a not that challenging field (finance), with lots of guidance and hand holding on my end, I was getting a very bad version of what would be a consultant's marketing piece in a second rate industry publication. I am still surprised in other respects, e.g. performance in coding but not in terms originality and novel application.
The biggest risk of construction comes from handling the concrete rings. I haven't heard of a suffocation accident. These are much more common when people maintain their sanitation tanks.
Man, I can't wait. Space Exploration is cool, but way too complex for me. This seems like it's right up my alley.
So a part that cannot tolerate a change in data characteristics the same way that a genuine part can must be allowed to function?
You really shouldn't be using agent for mutable state. Kind of annoying that the docs push you to that. Agent is most useful when you need to tie the transient lifetime of some state with something else (think: compilers). Otherwise, it's generally better to use a database, (or ets, if you need performance), GenServer/gen_statem if you need reactive events attached to the state. Agent is just a wrapper over GenServer so it is strictly worse in terms of performance, and honestly, slightly hard to grok as to where actions take place (and thus, who is responsible for failures)
Not terribly surprising. Has been a rough 2023 for DOCN.

The layoffs in February, the new staffing model, guidance hit, financial controls deficiency, and the walkout probably has the board scared.
They're not deciding anything there, the group is way too large for that. It's a networking event, people are getting to know other people.

I mean, I find the existence of a class of incredibly super rich people just evil, but not because of Davos.
Changing properties of electricity (ie current to voltage or vice versa) requires a trip through the magnetic field and that means varying the current through a conductor. With AC that's easy as it's already changing and so you can trivially (passively) convert between voltages at the same frequency with the efficiency cost of heating the conductors of the coils used in the transformer.

With DC it's harder because you don't have the time changing nature necessary for the magnetic field so you have to turn the DC on and off which requires a switch. Nowadays we have very fast switches (transistors) that allow us to tune a circuit to the power required and temporary energy storage (capacitors and inductors) available. Ignoring (or shielding) the RF interference that's created with fast switching we have systems that can efficiently convert between one DC voltage and another.

I'm not so sure we'll have DC to the home for supply, a zero-crossing is helpful to keep circuit breakers small and reduce damage in brief, accidental contact (eg broken insulation on a lamp etc).
I greatly enjoyed Factorio and even went as far as doing a deathworld.

I even tried some of the full blown mod packs like Seablock, Space Exploration and Krastorio2 to extend the base game. However, they all seem to be designed with this underlying theme that you should challenge the player by making everything pointlessly grindy.

I really haven't played much since but I'll probably give this expansion a try.
Ask HN: YouTube vids are saying Chinas economy is collapsing. True or not?
There’s lots of videos showing a very grim picture with almost all foreign companies leaving. Massive unemployment, many companies collapsing, the real estate sector at risk of collapse.

The reasons given are Chinas hard Covid measures, it’s security actions and raids on western firms, it’s threats against western countries, its stated intent to take Taiwan and genocide of the Uighurs.

But is this real I wonder or exaggerated anti China propaganda?
Niger has been on the wane for some time as two of the three Orano (formerly Areva) group mines hit near exhaustion.

https://www.lemonde.fr/en/les-decodeurs/article/2023/08/04/h...

( Or, if you prefer, the Nuclear Energy "Red Book":

https://www.oecd-nea.org/jcms/pl_79960/uranium-2022-resource...

In France, although no domestic uranium exploration and mine development activities have been carried out since 1999, majority government-owned Orano (formerly Areva) and its subsidiaries remain active abroad.

As of 2020, Orano S.A. has been working outside France, focusing on discovery of exploitable resources in Canada, Gabon, Kazakhstan, Mongolia, Namibia and Niger. In Canada, Kazakhstan and Niger, Orano is also involved in uranium mining operations.

In addition, as a non-operator, Orano holds shares in several mining operations and research projects in different countries. In 2020, Orano started exploration in Uzbekistan.

Total nondomestic exploration expenditures remained relatively steady from 2017 to 2018 at about USD 30 million per year, before declining by 17% to around USD 25 million in 2019 and 2020.

)
This is sort of a funny piece - when I saw "C++ adventure game" I was expecting maybe an ASCII crawler or maybe a simple Box2D rogue-like.

The resulting game from the article is a very, very simple text adventure, with what looks like 3 different leaf nodes. A great way for someone to learn control flow and variable management, but it does beg the question, why C++? And further, why AI?

If someone approached and said "Joe - I want to learn more about programming, and eventually make my own game", I don't think I'd tell them to start with a C++ text adventure. Whatever spark they were feeling in the moment would be sufficiently stomped when they notice the first step in the tutorial is to create a Makefile. Keep in mind they also introduce the concept of variables and if statements. This tutorial's aimed at total beginners!

"Joe, what's a Makefile?"
"Well..."
Sure, but that’s what journalists do - verge articles are just repeats of the original source with nothing added other than a clickbait headline and larger images.
I dunno about others but a problem I have with Factorio is that I can’t help but hyper optimize. And I’ll do that whether you give me a small or large area. So I’m hoping this means having many smaller factories instead of one giant sprawling map.
Parisian Booksellers Lined the Seine for Centuries: Now They’re Fighting to Stay
In Norway people have been paying "environmental taxes" since the eighties at least.

The only problem is that these are not pooled up towards fixing environmental issues but used as part of the general budget by whoever holds the government at any time.

Which in turn annoys even people like me who think it is a good idea to tax it because:

1. not enough gets done to combat environmental damage

2. it gives politicians an incentive to keep increasing these taxes to afford other projects they want

I seriously wish it was like water and sewer and waste taxes around here:

the municipality can increase these as needed but are not allowed to make a profit from them so if money is saved then the next years these taxes are lowered. (Or the year after, whenever the calculations are finished.)
there is a nice easter egg on the bottom of the page :)
And I'm to assume that decay events are like a fundamental law of physics in that they will never change, so they cant be speeded up, or slowed down, or even reversed?
The consequence is a lopsided society where there are few young people and a population that continues to grow. Also, the meaning of young will evolve. To combat this having a child becomes something of an ultra rare privilege, like a green card lottery. Most people don’t get to have one. Because of this, becoming a grandparent because a statistical anomaly. You might think if you get to live so long, you’ll become a great great great great grandparent or something but actually the opposite. Family traditions disappear. When you’re not allowed to have kids and become a family, the dynamics of relationships between men and women change drastically.

With no deaths, wealth concentration grows to the extreme. A handful of people get to control the entire world. And most of those people are strange, so the fate of civilization rests on the off chance that they allow regular people to live a good life.

Society as we know it will be unrecognizable in that future. Whether it’s a utopia or dystopia, I think it’s neither, but does sound a bit dystopian.

So yeah, that’s not a free lunch.
For the first time with GPT4, OpenAI as been able to predict model progress with accuracy:

> A large focus of the GPT-4 project has been building a deep learning stack that scales predictably. The primary reason is that, for very large training runs like GPT-4, it is not feasible to do extensive model-specific tuning. We developed infrastructure and optimization that have very predictable behavior across multiple scales. To verify this scalability, we accurately predicted in advance GPT-4’s final loss on our internal codebase (not part of the training set) by extrapolating from models trained using the same methodology but using 10,000x less compute:

> Now that we can accurately predict the metric we optimize during training (loss), we’re starting to develop methodology to predict more interpretable metrics. For example, we successfully predicted the pass rate on a subset of the HumanEval dataset, extrapolating from models with 1,000x less compute:

> We believe that accurately predicting future machine learning capabilities is an important part of safety that doesn’t get nearly enough attention relative to its potential impact (though we’ve been encouraged by efforts across several institutions). We are scaling up our efforts to develop methods that provide society with better guidance about what to expect from future systems, and we hope this becomes a common goal in the field.

Source: https://openai.com/research/gpt-4
You asked for a phallus symbol, it gave you phallus symbols.
Study: Silica particles found in food and makeup could be chemically reactive
irb(main):002:0> ["GFG", "GFG", "GFG", "GFG"].class
=> Array
irb(main):003:0> {1 => "CFG", 2 => "CFG"}.class
=> Hash
irb(main):006:0> {1 => "CFG", 2 => "CFG"}.keys.class
=> Array
irb(main):007:0> {1 => "CFG", 2 => "CFG"}.values
=> ["CFG", "CFG"]
irb(main):008:0> {1 => "CFG", 2 => "CFG"}.values.class
=> Array
Seeing the speed at which governments across the world are keen on breaking encryption or enabling backdoors, this appears to be one of the ways we're headed for.
Nobody mentioned this yet, but the design on this site really feels unique and crafted with passion. Good job!
> Concepts like CSS modules may not be as trendy in server side rendering frameworks, but that doesn't mean the concept itself is inherently limited to SPA's.

They are, however, inherently limited to Javascript. Because CSS Modules are explicitly a Javascript feature.
Linux 6.6 to Bring Another Rust Toolchain Upgrade
How many tools do you know of that work 100% of the time. As someone that’s worked in software 20 years now, I don’t think there is anything from Linux to eMacs to visual studio to Java which doesn’t have bugs, issues, crashes, shitty stuff, and yet we expect a revolutionary and amazing technology to generate code perfectly?

It’s funny those the LLM haters keep raising the bar to a level that no other software can reach. Chatgpt is a tool like any other and just like a hammer, it can be misused, or it can be incredibly useful if used well. I personally find chatgpt mind boggling and astounding and use it every day multiple times for both coding and non coding purposes. But it’s totally normal and reasonable to me to expect bugs, do you really expect visual studio to run on large solutions and never have crashes or memory issues or slowness? If so you’re going to be disappointed.
A whole bunch of different effects.

AC/DC have different costs for voltage converters and per-distance efficiency, so there are some distances where AC makes more sense and others where DC makes more sense; the distance changes as tech improves.

AC mostly conducts on the outer surface of the wire, while DC conducts with the whole cross section, giving you different scaling issues as the current changes.

Under water, AC suffers from significant capacitive loss — the wire acts as one side of a capacitor and the entire ocean as the other.

At certain frequencies and wire lengths you also get inductive losses, though IIRC that affects only RF cables in practice and and the design of the trans-Siberian railway in theory as no other place even seriously considered having a sufficiently long conductor for the frequency used.
Alibaba new AI model can understand images, more complex conversations
Isn't it a bit funny that Nvidia puts money into a company that is going to spend a large chunk of that capital right back at Nvidia.

I wouldn't be surprised if there is little to near zero risk for Nvidia with this bet.
Access to doctors is limited by the AMA which functions as a cabal or traditional guild: controlling the supply of doctors to maintain high salaries by insulating them from supply and demand (while also controlling or at least pretending to control quality).

In my opinion being 100,000x lower cost gives such a system some leeway in being worse and I think most patients would agree.
Randomness is artificially injected

I'd argue everything about a LLM is artificial, there is no natural process involved is there ? Since its design is to mimic us (at face value, though I don't know how fair of a description this is) then randomness is essential I think.
A huge amount of inappropriate technology is used because people have incorrect understanding of what scale is.
Gender is fluid, don't ya know?
> Because a human has fundamental output limitations (parallel capacity, time, lifespan) and a machine does not.

Industrialization as we know it would have never happened if we artificially limit progress, just so that people could still have jobs. I guess you could hold the same kind of argument for the copists, when printing became widespread; for horses before the automobile; or telephone operators before switches got automated. Guess what they have become now. Art made by humans can still exist although its output will be marginal compared to AI-generated art.

LLMs are not humans but are used by humans. In the end the beneficiary is still a human.
> All pages loaded instantly. I could never do that with a framework.

Of course you could. Depends on framework, but you certainly could.
Interesting they chose Ashkenazi, given this ancestry is fairly unique.

https://gnomad.broadinstitute.org/news/images/2018/10/gnomad...
They are currently, but only because we're crap at reuse. Glass bottles are highly reusable - 15 times or more on average - before they need to be recycled (i.e. melted).

Minimising the transport costs is part of the design of the reuse process. Milk floats are a great example of this. Milk delivered to the door by an electrical vehicle daily and empties collected by the same vehicle, washed and refilled. This was the standard way to get milk (and often juice, eggs, etc) in my childhood but nowadays people throw a plastic bottle into a generic recycling stream every time and I highly doubt it's an improvement.

Online grocery shopping reduces fuel usage and pollution for getting goods to homes by consolidating many deliveries in one vehicle round. It would be great to see this being used (again) as a way of improving packaging efficiency too, one way or another.
I do use that plugin actually; TPope is an absolute boss. The One missing feature I find myself moving to VSCode for that's not in the Vim plugin yet is the ability to open up an interactive chat session and ask:

"Please parse <dict name> and re-key it by <field>", making sure to remove entires where <x> is Blue and converting <y> to Yellow."

and it'll dump out a 40 line (working!) parser in ~3 seconds I can then further customize. It's honestly remarkable as you can then interactively ask it to update/adjust "Can you make that a reusable function where I pass in X,Y, and Z?" "Can you convert that to a tuple comprehension?", "Can you unroll that loop and add inline comments explaining the regex?" are all futher-drilldowns I'd use and expect good responses to.

I do have ShellGPT setup to give me (similar generic) responses in the terminal; but I haven't found a good way to let it see my code yet to let it parse my data structures as fluidly.
Python lists are generally not contiguously allocated memory (I think it might be if you are storing integers less than 255), don't be fooled. That's why you need numpy.
And I suspect our descendants would pay as much heed to these as we did to Egyptian curses! Perhaps if they are lurid enough they might inspire caution at least.
Show HN: PlotAI – Create Plots in Python and Matplotlib with LLM
LuaJIT uses rolling releases
> Every watt spent doing anything PoW is just that much more intensification of our current climate crisis.

> It isn't interesting. It's the most egregious example of conspicuous consumption on the planet.

This cannot be overstated. PoW needs to die. It is a lazy implementation that just sounds clever but is nothing of the sort. It kills our habitat. It has to go.
The problem is that you should always write your code to be idiomatic in the language. In this case I feel like the Idiomatic Haskell way has serious drawbacks.

For example, It's fine in C to manually allocate/free memory, it's the way you have to write C. It's not fine to do the same thing in Rust. Even though you of course could do that in Rust as well.
What an information free piece. No one cares about the journalists feelings. Tell us about the facility.