skysight-inc/HackerNews huggingface dataset:
I'm an author so I can address some of your concerns

> Why would I use this instead of some minimal implementation of the official OpenAI packages?

If you're looking to use API, you wouldn't (this is client-side not server-side library)

> Looking at the chatgpt.js file in the repo, a great deal of the code revolves around manipulating UI elements.

Yes that's what this library is for

> What does any of this have to do with interacting with an API

Nothing... (who said it interacts with API?)

> why would I use your UI, baked into this script, outside of something I control myself?

The same reason authors of award-winning apps that use chatgpt.js do... to write less code (literally anyone uses libraries). Why do you need to control a library's code?

> I'm not sold on this; seems like a wrapper around something that is much simpler in practice.

It doesn't wrap anything it's original functions...

> "Who has time for docs?" Perhaps you could... I dunno, use an AI or something to generate [docs] for you?

A human wrote them already @ https://github.com/kudoai/chatgpt.js/blob/main/docs/userguid... the quote refers to users not me
Gotta say I’ve tried using TS and frankly haven’t seen too much benefit. This makes me suspicious since I’m clearly in the minority about this.

I find it mildly useful as a form of documentation - and the intellisense is nice, but otherwise find it cumbersome to use.

In general - while I’ve experienced some issues with types in JS, it usually isn’t the root cause of most bugs I encounter.
The "FUD" is clearly describing non-retrocomputing use cases, where everything they said is completely true.

If you're use for this project is personal enjoyment, have fun. If it's an important cog in your business, you should probably fix that.
And I bet the thermals are optimal!
NZ Post’s forwarder - YouShop - has worked well for me in the past.

https://www.nzpost.co.nz/tools/youshop
Not true, sure there is "embedded" growing computationally more and more (but since 20 years already at least, what is nowadays??), but there will also always be the embedded size of few kb flash and ram that won't allow you any OS like on the system but require you at most running one of those tiny schedulers without memory protection, because key optimization factors there will always be cost, size and power
consumption.
What desktop does it use? Can't easily see from the website. But from the choice of Thunar as file manager, seems like it is XFCE? Also default browser seems to be Chrome instead of Firefox which is an odd choice for a Linux distro, but probably to make onboarding easier. Also this is yet another distro that builds on top of Ubuntu, which is rather concerning if tomorrow Ubuntu should do a RHEL, a vast swathe of Linux distros would immediately run into trouble. And finally I'd like to know if there's any significant advantage over Linux Mint whose niche this seems to target as well.

Edit: Is there any distro out there other than Ubuntu and Fedora that can play well with Secure boot enabled?
Passive layer depends on the chemistry. Power production after dark would be residual oxygen.
Although I have read many textbooks, I have not read too many textbooks for each subject, so it is quite difficult to write a list of "best textbooks" for each subject. Time is limited. So I have to make the best out of whichever textbooks I do get the time to read. Having said that, these are some of the textbooks that have had significant influence on me and broadened my understanding of the abstract or concrete world around me.

1) Computer System Architecture (3rd ed.): This book was phenomenal in my life because it taught me exactly where the hardware meets the software. This book helped me to understand exactly how the hardware fetches, decodes and executes the software on a physical electronic circuit. In fact, I liked this book so much that I implemented the theoretical machine described in the book (called Mano Machine by many) on a Xilinx XC9572 PC84 CPLD Trainer kit. I did not make any assembler or compiler for it, so I had to push DIP switches on the kit to load instructions on a RAM (implemented on another kit) to program the CPU and test it.

2) The C Programming Language (2nd ed.) by Brian Kernighan and Dennis Ritchie: This is the first programming language book that I read cover to cover. It was quite formative in my journey of learning to program the computer.

3) Introduction to Analytic Number Theory by Tom M. Apostol: I found this to be a fascinating textbook on analytic number theory. The book begins with simple properties of divisbility but it then soon introduces several new concepts like the Möbius function, Dirichlet product, the prime number theorem, etc. The book exposes various subtle nuances of the Riemann zeta function with great rigour and thoroughness. A complete analytic proof of the prime number theorem is also presented in this book.

4) Concrete Mathematics: A Foundation for Computer Science (2nd ed.) by Ronald Graham, Donald Knuth, and Oren Patashnik: Great collection of problems that are insightful and entertaining.

5) Gödel, Escher, Bach: an Eternal Golden Braid by Douglas Hofstadter: Not exactly a textbook but it is a very intriguing book with a large assortment of interesting concepts related to formal systems, paradoxes, self-reference, isomorphism, meaning of "meaning", etc. all packaged neatly into a single book.
Same here, among my personal computers, the most recent one is 5 years old.

Even for 3D programming, if the Web is the main target, the 3D standards are made for 2009 hardware (WebGL 2.0), or 2015 (WebGPU), so having the latest GPU model doesn't make any difference.

As much as I like to program graphic related stuff, I am not a one person AAA studio, nor going to create the next AI startup, so the NVidia MX150 is mostly on vacations.

Dealing with Docker and friends, is something I leave for work, so again, nothing that really impacts my private computing needs.
Creating an open source graph of health symptoms, illnesses, medications etc. so that there can be statistical models / AIs that do a valuable pre-assessment to inform clients and support doctors. If we had something like this, maybe risk factors for critical immune reactions on COVID vaccination would've been known earlier and that could've prevented unnecessary deaths.
Why are you posting this to very second comment? What do you mean by "actual science"? Like it's not based on chemistry? Boy, have I got a surprise pharmaceutical industry for you.

It seems you don't have a good understanding of either "therapy" and "science"

Calling other's ideas "hot air" is just the cherry on top.
I don't care about code style. Granted, I work in a small team, but I work on a project with someone with a different style. All I ask is that we respect each other's style. And that he puts braces around single statement branches.

What's surprising to me in the article is the pyramid style. In all business school and psychology texts, the top of the pyramid is the most important one. Here it's the least important.
I would still be able to use 2013 Macbook Pro if I could have someone around who understand that GPU related issue would be solved by "holding u8900 chip down with rubber material"

https://www.youtube.com/watch?v=lumJ0cN5oyY

https://www.reddit.com/r/macbookpro/comments/ek0pmi/comment/...

However, Apple declares your device "vintage" and repair shops avoid it like the plague. Because they only know who to replace the entire board. That's when you device to buy another laptop.
Ask HN: What are some LLM techniques?
I’ve heard of many prompting techniques but I haven’t actually kept track of it, with so many techniques developed, researched, and published.

What I’m considering as techniques are things like repeating sentences, self-reflect, train of thought, etc.
There's a difference between using something because you want to and using something because you have to. awk and sed are sometimes the right tool, just not always.

When I used sed and awk a lot I also made heavy use of bash which makes things a lot nicer. And Python, of course.
> Past workshops [...] 2021
Most of my clients were from a local meetup where I eventually got to know most people quite well and they me. It was mostly word-of-mouth where people remembered "Oh! <other startup> had similar problems and WJW solved it for them".
I think that it is possible to use another DHCP server with iVentoy, but it must support some features (next-server and bootfile):

https://www.iventoy.com/en/doc_ext_dhcp.html

and likely it won't work with any DHCP server that has them, it seems like a possible option not recommended by the Author, probably experimental.
From users point of view, from developer tooling experience, not really when compared to Visual Studio, .NET and C++ frameworks, even with the GUI civil war going at Redmond.

Although KParts and DCOP/D-Bus is certainly nicer than dealing with COM stuff.
This, and subsequent comments, are all experiences I’ve seen happen to my partner and three very close friends. I decided to pivot academic path ways and pursue a masters, so they all wound up ahead of me by a year. Watching their experiences, I decided I’d rather pursue financial security and independence before pursuing a PhD. I think I’ve made the right call. It may be harder to get into a programme this way, I’m not sure, but I fundamentally do not want the worst case scenarios of a PhD combined with needing it as a next step in my career or a source of income.
The heat death of the universe is quietly smiling to itself
Fake news and mass media control. And their effect destroying democracy
Part of the reason is that desktop operating systems & native software have huge inertia and path dependence. Code bases are 20-30 years old.
That's a pretty small amount of power. 0.01 Wh if run for a year. For reference a CR2032 button cell has 67 times as much energy.
Yeah I'm so glad I paid top dollar for the 8GB version of the OG X1 Carbon back in 2012 - and got the i7 with the biggest NVME, a 256gb.

I also have a newer Nano for work, but prefer the keyboard of the old. If I had picked the 4GB model then, it would have been pretty useless today.

Today I wouldn't buy a personal laptop with less than 32GB of memory. The X1 Nano was hard locked at 16GB, and I guess I didn't quite anticipate how much I'd be using Docker. :(
The problem of solving a Rubik's Cube is an instance of a more general problem called "factorization": Given a permutation group G which is generated by permutations g_1, ..., g_k, written:

G = <g_1, ..., g_k>

we seek to represent an element s in G as a short word over the generating set. That is, we want to write

s = g_a * g_b * g_c * ...

for some (a, b, c, ...) we must discover.

In Rubik's Cube speak, that's taking a scramble and finding a short sequence of moves that solves (or equally, reconstructs) that scramble.

A lot of problems can be framed as problems in finite group theory, especially in quantum physics and quantum information theory. For instance, to characterize the performance of a quantum computer, we might run a routine that executes a long sequence of so-called unitary operations from a special group called the Clifford group. But in order to run the characterization routine, we must be able to express their product of the sequence as a short word of generators—a problem identical to the Rubik's Cube solving problem.

So the Rubik's Cube gives us tremendous insight into what kinds of methods may or may not work in practice, since it's a non-trivial group that's large but tractable, abstract but realizable as a plastic toy.

That's all for exploring solutions mathematically and/or computationally. As for learning to solve a Rubik's Cube by hand? Not sure it's practical for very much, but it is pretty cool.
To the extent that your comment had any content, you seemed to be claiming compromises like being a JVM guest language were necessary for popularity.
I wonder if Gmail data is considered publicly available, given that Google has argued in court that “a person has no legitimate expectation of privacy in information he voluntarily turns over to third parties.”

If so, how long before we can put something like “Jack Smith lives at:” or “Jane Smith has a health condition:” into Bard and it will democratize doxxing for us?

It’s very important to know where the creepy line Google doesn’t cross is these days. Is publicly available everything that the user communicates to someone else (shared files, photos, sent emails)? Is it what’s on the hypertext internet (in that case, the EULA is useless because you don’t sign Google’s EULA when you host websites unless you use Google Analytics)? Is all advertising data Google has on us considered public because it is already indirectly revealed to third parties through ad tools, or even all data Google has about us, period, because they said the expectation of privacy for that is unreasonable in court already.

There needs to be more clarity in these articles.
She is outspoken but the catch is for every critical tweet she also has a supporting tweet. She's super nuanced. Even when it comes to COVID also in one of her Youtube videos.

https://www.youtube.com/watch?v=ROUyqHh-rkQ

She talked about certain difficulties related to present COVID policies but she didn't put anything that give an incentive to the authorities to take action on her. She just let the video do the talking. I really didn't find anything sensitive in that video at least.

Also Naomi Wu also has a lot of tweets that supports her country's tech development and puts stuff that if anything would only improve China's profile. I mean there are so many times she gets accused of being a "communist agent" or a "CCP shill" just because she tried to clear up certain topics which she felt was massively misconceived by the Western twitter users. At the same time I won't deny that certain wumaos have targeted her too. She basically gets smacked by both sides.

https://twitter.com/RealSexyCyborg/status/167226761366852403...

Heck she even had the balls to debunk the "Social Credit" theories too. I mean this is a women who is vehemently willing to defend her country if she feels its being misconceived.

Yes she is somewhat outspoken on various issues such as the Hong Kong stabbing, gay , sexuality, and women rights etc. but she was outspoken in a rather general manner. She barely targeted any specific political figure. But even then she says more positive of China than negative( or I would say its balanced).

About travelling Xinjiang?? Travelling there isn't a big problem since the central Government wants to promote it as a tourist spot these days.

But I am really weirded out about the fact that her partner is a Uyghur and yet Naomi freely roams with her without any scrutiny. I mean China's relations with the Uyghur minorities is pretty bad to say the least and it was pretty surprising that she was able to freely walk with her friend despite all this till now.

But what I really find even more weird is the lack of scrutiny to what she wears. The thing is even in Western internet certain conservative dudes absolutely don't like the way she dresses. I don't wanna say this, but she's a little too revealing even by Western standards and China is a lot more conservative than West where stuff like this happens pretty often.

https://www.scmp.com/news/people-culture/gender-diversity/ar...

I am actually shocked that Naomi Wu could even freely walk in the streets of Shenzhen without bystanders questioning her for her dressing or local authorities questioning her. I mean dude Chinese citizens are pretty conservative compared to Westerners who themselves have questioned Wu for her dressing sense at times. I have a feeling her dressing probably could have also landed her into trouble with the local Chinese authorities this time.

Also this is not really the first time Naomi Wu has gotten into trouble. I believe even in November 2019 she was detained by Chinese authorities.
https://medium.com/@therealsexycyborg/shenzhen-tech-girl-nao...
In my opinion, she would come out of this safe. Hopefully.
Its xfce with:

Window Theme: Materia

Icon Theme: Papirus

Font: Roboto Regular
If it wasn't obvious (it probably wasn't), I like HTTP 418 and I applaud movements to make sure it stays. Having a good sense of humor is akin to oil that keeps the world working properly.
Yeah, I replaced the battery on my t540p but it's still sub 1 hour life.

Replaced hard drive and upgraded the ram so now it works pretty well as a desktop PC running win 10.

It was running super slow for ages, fixed after I banished Google drive backup. Maybe a compatibility issue with newest Google software thrashing constantly on older OS / hardware.
> I think one big problem is that low test scores are highly correlated to poverty.I think one big problem is that low test scores are highly correlated to poverty.

True, but the arrow of causality is not from "poverty" to "low test scores".

Children of poor (and sometimes illiterate) Chinese immigrants did and do quite well!
some of the mining giants usually offer great dividends and pretty stable stock.

check: rio tinto, bhp, anglo american, glencore.
Yeah it's new. Excel is a whole different animal now than in 2016. LET, LAMBDA, and spill arrays completely change how you do things.
Yes, despite my C rants, if a project would need to reach out to C, so be it.

These languages will outlive the HN audience, regardless how we view them.
The Era of ‘Quantitative Aesthetics,’ Where Data Points Dictate Taste
How many ENIACs?
It's Xfce, yeah. And as much as Ubuntu going RHEL would hurt many distros, Debian doing so would be even bigger.

As for Secure Boot, OpenSUSE should work.
Jimmy Maher of the Digital Antiquarian wrote a couple of articles a few years back about the Eastgate School of hypertext this belongs to.

https://www.filfre.net/2017/02/the-eastgate-school-of-seriou...

https://www.filfre.net/2018/01/king-of-space/
You can, but you won't. Not regularly anyway, thats not the way you'll run your computer daily. Maybe for a while, but then you'll forget or want the extra power for something and get too used to it. Instead, you'll do it occasionally at specific times.

You've just recreated the problems I was talking about with an optimisation step but in a new environment.
Aaa Europe because it's cheaper to hire engineers is it?
Can you share some insights/examples, if you can, on how you improved the prompts? One I feel is particularly poor is the next question generation/past question condensation prompts which are used to refine the user's input based on the history, so that the query includes all the context required for the question, and hence, incorporating "memory".
Elm does this. While developing Elm libraries it caught violations for me a few times even though I was trying hard to stick to semver.

I also found that the average version of an Elm package was much higher than I expected given the ecosystem’s relative infancy when I was working with it (~5 years ago), when comparing to the JavaScript ecosystem where popular packages theoretically follow semver.

I suspect that most packages regularly violate semver in small ways, and I’d recommend giving automated checks for violations a go if only to have the experience and be more aware of the issue.
English lesson, "most modern" doesn't mean all of them.

Secondly,

"CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”

https://www.youtube.com/watch?v=zBkNBP00wJE

"C++20 For The Commodore 64"

https://www.youtube.com/watch?v=EIKAqcLxtT0
There was much less oxygen back then.
Were there 9 of each color on the visible faces at least?
It seems to me every time someone promises to make it easy to do something complex, they've just created a more efficient way to sweep problems under the carpet.
theres wallabag as well. don't know how it compares but it also has a self hosted version if you are into that kind of thing
Nand2tetris[0] is hands down the best course I took in my CS BSc, Nissan and Shocken did such a wonderful job making this great content accessible. It was a fun and rewarding experience in which I built a toy computer bottom-up from scratch.

[0] https://www.nand2tetris.org/
absolutely a response to perl. “TOOWTDI” has been an expression in the python community for a long time :)
Linux Lands Fix for Intel Hybrid CPU Frequency Scaling When Disabling E-Cores
That's an organizational issue. Code that does such things would not pass review unless it were specifically a requirement (or if your team is disogranized).

Once you're a senior dev, you start to look at the project holistically, adding your input to the design in order to ensure that the project serves its objectives. The code is still important, sure, but the success of the project is more important (and that can sometimes involve some short-term ugly changes).

If there's a business need for a hole in the side of the house covered with plastic that will probably be there for the next year, it's expected that you've all had many meetings discussing this modification and its necessity. By the time the code changes come, you've either long agreed with the reasoning, or have agreed to hold your tongue, or have started shopping out your resume.

Regardless, by the point this code is written, you'll already be expecting it and won't be blaming the dev who wrote it.
Wine 8.12 Released with Additional Wayland Enablement
I'm not a Rust developer, but my understanding is that if you break semver, which is very easy to do by mistake, you're in the same situation as in C++ with ODR issues, which are undefined behaviour.

For a language that touts itself as a safer C++, that's definitely bad.
The promise of the linux desktop was already not delivered for a decade and then the mobile revolution happened and it set things back for a second decade.

But as the capabilities of software become ever more profound (see e.g AI tools) there will be a moment where the advantage of apps working with local personal data and the huge collection of open source tools will be dramatic.

At that moment the KDE community (and other FOSS communities) that toiled for decades will be vindicated in a massive way.

The way to accelerate that is to integrate local AI in common apps along with the imaginative use of open data from osm and wikipedia and native support for fediverse platforms.

For a long time foss computing was about emulating walled gardens. Its getting now to a phase where paths must split and human-centric computing comes of age.
Thanks, let me think about it.
True but in Debian's case I believe their 'social contract' forbids such a move, plus there is no central for-profit entity controlling the source code.
Equinor still pays salaries & dividends last i checked
You can just ignore those fanboy messages?
Elisp is very much a niche language. For whatever reasons, the use of Elisp outside of Emacs is basically non-existent. Elisp is quite clunky, and AFAIK there hasn’t really been any big efforts to make it usable outside of Emacs. People who wanted Lisp outside of Emacs already had Common Lisp. (And Chez Scheme, and Scheme 48, etc etc.)
> Edit: Is there any distro out there other than Ubuntu and Fedora that can play well with Secure boot enabled?

See this distro watch page:

https://distrowatch.com/search-mobile.php?pkg=shim&relation=...

I haven't checked which ones are derivatives of Ubuntu or red hat, but you may observe that some bsd systems are available.