skysight-inc/HackerNews huggingface dataset:
I was skeptical when I noticed the file size for Mac (18.6MB), but it downloads the model during installation (2.5 GB).

Text generation wise, it works pretty well. The text is not as fast as GPT3.5 or even GPT4. I noticed it is a lot slower when generating code.

I asked it to write a code to search Google and return the first 10 links.

Here is the conversation:

Prompt: Write a python code to search Google and return the links for the first 10 results

Response: Here is the python code to search Google and return the links for the first 10 results:

```python

import requests
import re

url = 'https://www.google.com/search'

# set the number of results to display
num_results = 10

# set the search query
query = 'python'

# make the request to Google
response = requests.get(url)

# extract the links from the response
links = response.text.split('\n')

# extract the links from the response and sort them in descending order
sorted_links = [link.split('\n')[0] for link in links[::-1]]

# print the first 10 links
print(sorted_links[:num_results])
```

Prompt: Rewrite the same code in javascript

Response: Here is the rewritten javascript code to search Google and return the links for the first 10 results:

```javascript

function searchGoogle() {
var query = 'python';
var num_results = 10;
var url = 'https://www.google.com/search';
var response = '';
var links = '';

// make the request to Google
var xhr = new XMLHttpRequest();
xhr.open('GET', url);
xhr.onload = function() {
if (xhr.status === 200) {
response = xhr.responseText;
links = response.split('\n');
links.sort();
links.forEach(function(link) {
links.push(link.split('\n')[0]);
});
console.log(links[:num_results]);
}
};
xhr.send();

}
```

The code above uses XMLHttpRequest to make a request to Google's search engine and extract the links for the first 10 results. The links are then sorted in descending order and printed to the console.

edit: formatting
I see this as not great from an environment point of view: the anaerobes in the unturned manure will go, well, anaerobic and generate a lot of methane.
Tryed, and got an very verbose error. I wish you the best and a good recovery
I live in Romania, in a city that has been growing a lot. There's plenty of new development, both high density and single unit detached homes. Zoning is not that restrictive here, so it's actually people preferring to live in a separate home. So yeah, sprawl is nice.
Except you dont, not in termos of unchanging UX. Gnome reinvents itself too often…

I’m surprised XFCE isn’t pushed more as an option.
Indians only need Co-pilot

And employment numbers are at an all time high. Just came back from Bangalore
Similar thing happened to me. Took a long time to realize there was a zombie Heroku instance running jobs.

That horror when you delete code but it's still running, you're just so confused...

I've forgotten how I resolved it, but man it was a pain to diagnose.
California’s grid only gets around 3% of its power from coal (that includes imports, only 0.2% of in-state generation is coal)

https://www.energy.ca.gov/data-reports/energy-almanac/califo...
What the electrons are doing seems closer to Djikstra than TSP
Heck, Berkeley has passed laws that outlaw anything "nuclear" within the city limits: https://berkeley.municipal.codes/BMC/12.90

This includes irradiated food (e.g. many spices).
Does it have less censorship than the online version?
Let’s see how old gas infrastructure looks after the big one.

San Bruno bonfires for everyone.
Maybe I’m wrong but Windows is “free” (as in beer) unless you want to change your desktop, and then you have to fork over 100 dollars (if you don’t just buy a license from one of these grey market sellers who advertise on youtube). It seems pretty clear to me that Microsoft serves ads and collects people’s data to subsidize, at least to some degree the losses of not selling license codes for 150-200 dollars.

This is because Google has its Chromebook platform that sells a laptop with ad subsidized (its their business model afterall) word processing, other cloud apps and “operating system.”

I don’t know if I’m missing something but if I’m not I don’t understand why people think Microsoft is just randomly serving ads on Windows (to keep up earnings wise with google from quarter to quarter as it gives one of its former cash-cows away for free).
If that were true, we'd all be immune to neutron radiation. It's just there's a lot of stuff between cosmic neutrons and us, and that's where carbon-14 comes from. It's not perfect but at least we're not walking balls of cancer.
Results are already different based on your location, so unless you're very near each other, you already don't have that. You mightn't notice it too much because it's only noticeable on queries where it might matter. Could be similar for personalization.
Everything about this article nicely encapsulates why I dropped Windows and moved to Ubuntu 22.04 (with KDE Plasma) about four weeks ago. I've been using Linux on and off since 1999, but now it's finally a really good option on the desktop.

All of Microsoft's telemetry was also an issue, which pushed me to look at NextDNS, which I now pay for. I've blocked MS, Apple, Google, TikTok, Canonical (Ubuntu), and more, from being able to track my usage of their services (except with Google, to a large degree, as I directly use their products.)

I've sacrificed a lot with this move, like being able to use my large collection of Elgato hardware for video production. Also, a lot of games, some of which I was playing with friends, but no longer can (ProtonDB says they're bronze or unplayable some cases, like PUBG.)

Over all, however, I couldn't be happier.
Everyone can relate to the sad demise of Heroku at this time. Sad, because they could've dominated this space which still has a lot of issues.

Yet-another-infrastructure-group nailed it in their graphic about "what your infrastructure says about you?"... "Heroku => "You are either negotiating the pricing or deplatforming" https://www.yaig.dev/
And a very good argument for taxing that money out of their hands and investing it into productive enterprises that spur actual innovation and gainful employment.
Even at 120VAC, electric kettles are still faster than stoves.
CBC says it is ‘pausing’ its use of Twitter
Democratically elected? Yeah, by voting machines I don't trust. Biden absolutely backed Lula when he and his CIA officials took a page from his narrative and told our ex-president to stop questioning the machines. You'd think he'd implement these things in the US if he trusts them so much.
See Mercury’s sodium tail in specially filtered photographs
It is only strange for those that don't know Lisp, given CLOS, LOOPS, and "The Art of Metaobject Protocol", whose ideas gave birth to CLOS.
The infrastructure overhaul needed for a full-on changeover to electric would require an investment on the order of the Apollo program and I don't see that happening. Not just from a financial perspective but the engineering as well. Banning petrol cars and gas cookers and praying the rest of the dominoes fall in place isn't going to work.
LLaVA: Large Language and Vision Assistant
> No it's not, especially if you replace natural gas with burning coal for electricity.

Berkeley has been transitioning businesses and residents to majority and most recently 100% renewable energy for years.

> Until the last coal plant shuts down, it makes zero sense to ban natural gas.

This is nonsense. Every year the % of renewable energy increases it makes more sense to electrify than it did previously. It's a lot easier to change the energy source for a power grid than it is to rip out all existing gas infrastructure.
The article would have made more sense if it was about how ChatGPT will replace news article writers :)
Apple opens its first store in India
> You can go and live in high density areas with all the potential zombies if you want, but don't make me do that please.

The situation is currently reversed in much of the USA. Building dense housing is forbidden by regulation.

People like you have forced your preference on everyone else.
> It is dangerous to run these things longer than their designed for lifetimes.

They don't run the plant past their lifetime. $300M is going to be spent to increase the lifetime.

That said, 800 MW doesn't sound much for a nuclear plant.
> unless you want to change your desktop, and then you have to fork over 100 dollars (if you don’t just buy a license from one of these grey market sellers who advertise on youtube).

That, or you install vlmcsd somewhere and activate against that.
Buy a gasoline or diesel generator and get a transfer switch installed.

California's banning fuel powered generators in 2028 so do it while you can.
The fact that context matters so much makes it hard to avoid concluding that such relationships are not friendships in any sense of the word, they're just pleasantries to make the other parts of the context - the reason why you're in whatever situation - go more smoothly. Agreeableness. More agreeable with some people than others, sure, but not friends.
C wasn't the first mover of anything, high level systems programming languages predate it for a decade.
This is why I use the git commit short hash as part of the identification of the service (eg: container name).
Allows for quick check of which is the running code version and identify problems like these.
Indeed, the future belongs to those who show up.
My total energy bill decreased after I installed a heat pump, even though the season was colder (based in degreee days). Electricity may be several times more expensive than gas, but heat pumps are several times more efficient, especially in mild climates like Berkeley
Well, by the 19th-century mainly in (British?) English, according to those sources. By then had been abandoned in other European languages.

Britannica [0] says:

- invented by Romans c. 1st century BCE as a shorthand for 'et', can be seen from Pompeii

- was [also] prevalent in German manuscripts throughout the 19th century.

- gradually abandoned by most [non-English] languages by the end of the 19th century, with the notable exception of Gaelic, where it's also still used [as an evolution of the rival Tironian symbol].

and [1] has a really interesting illustration by Houston (1957) citing Tschichold (1953), showing the evolution of the ampersand over 2000 years, from Pompeii through 8th-C Merovingian Latin to modern-day.

Latterly got pressganged by our C/C++ brethren.

[0]: https://www.britannica.com/topic/ampersand

[1]: https://www.grammarphobia.com/blog/2020/12/ampersand-2.html
There's more detailed examination of Transformers from circuit complexity in this paper: https://arxiv.org/abs/2106.16213

There are a few references also in the blog post.
Stop complaining! This is exactly what you want!

If you really don't like Windows, you would already be using Linux, *BSD or MacOS - like me ;)
If you haven't found tiling window management that rivals or surpasses Windows in the Linux world, you really haven't looked very hard.
gpg can be used to sign a single file, if for any reason you download a single .deb instead of using a repository.

If your supplier doesn't sign them… take it with them?
I agree. I have a unique name as does my daughter. That said, you have to be careful with them…and it’s not the place to make a political stance.
Unfortunately it mixes up python and javascript syntax and produces code that doesn't actually run. But I guess A for effort.
> given all the lispers so fiercely dismissive of OOP

I don't know where you are sampling your Lispers from. The only people I see blindly opposing OOP in Lisp communities are people who either (1) don't write a single line of code, or (2) know nothing about Common Lisp, the various Schemes with their own object systems, or even pause to consider what inspired Clojure's `defmulti` (spoiler: a Common Lisp library that used the Metaobject Protocol to allow for arbitrary dispatch in generic functions).

With that said, I do notice the Clojure community tends to be more against OOP than other Lispers, which I find golden because, again, the core language has things directly inspired from MOP libraries, and things like "atom watchers" are trivially an :AFTER method in CLOS, and so on.
I live in germany and work in an international company. I am the only german on my team. A lot of the younger colleagues blame their difficulties on making friends on german racism and stay in their expat circles, but the truth is: it's hard for everyone here.
> But then, there used to be a letter for 'th', too.

Which, with time, turned into the ”Ye” of ”Ye olde <thing>” [1]

[1] https://en.wikipedia.org/wiki/English_articles#Ye_form
Paying by query count is such an annoying monetization scheme that I refuse to even bother giving it a shot. Do they really expect me to penny pinch my search queries? I don't want anything like that in my headspace.
Recurrency will help, see the empirical results in this paper: https://arxiv.org/abs/2207.02098. LSTMs can solve the PARITY problem, generalising to longer lengths of the problem without issue.

The issue with re-introducing recurrency is that no one wants to bear the O(N) growth in computation time. I wonder if we are settling in for a local-optima of bounded-depth architecture for a while due to the obsession with rapid scaling.
StreetFighterAI: Train a StreetFighter bot with GPT4 to defeat the final boss
That’s smart. I like it.
Solar panels and a big battery would be a better choice.
Instead of taxing fuel, governments should tax mileage * weight (or perhaps mileage * weight^alpha for some alpha...)
Once upon time the name Rackspace meant quality and the utmost in customer support. You paid for that, of course.

In 2015 Prashanth Chandrasekar became Vice President and GM of the company -- the leader in all but name. In 2016 Apollo Global Management bought the company and took it private. The rest, as they say, is history. Sad history. And yes, he is 100% to blame. Or, from his and Apollo's perspective, to praise. Gutting a company this big brings in a lot of dough.

It took him two years to sell Stackoverflow. It's a harder sell, after all, than Rackspace.
Your loss. GPT is a term of art in the industry. It isn’t owned by OpenAI.
> It is somewhat strange then that enterprise linux is not more common, you get stability and configurability.

Subjectively, I am under the impression that, in the enterprise desktop space, Linux is a more serious competitor to Windows than mac OS is.

For example in public administration: At one point the city government of Munich had replaced over 12000 desktops from Windows to Linux [1], and you keep seeing ideas to do similar things pop up in political party manifestoes and position papers like [2].

It is also not uncommon for large universities and research facilities to run on Linux.

Meanwhile, an enterprise running hundreds or even thousands of mac OS devices is something I've never heard of.

I think, in the past, enterprises were a bit more locked-in than they were now because they ran Windows software that they custom-developed, or off the rack but very niche and available for Windows only. But with the trend over the last two decades having gone towards writing that kind of software as web-based software, I think that element of lock-in is gradually but steadily decreasing as well.

The problem is that, once this competitive threat against Microsoft reaches critical mass, it's a bit too easy for Microsoft to counter the threat by simply backpaddling on the trash. In the meantime they just want to milk the cash cow as much as they can possibly get away with.

De-trashing an OS is easy. Meanwhile, they are working hard to make sure that Windows is the OS that runs the widest array of software on the widest array of hardware, which is not so easy (anything Windows from ancient to modern, Windows subsystems for Linux and Android). Windows emulation on Linux is also making massive progress, thanks in part to Steam, but I guess that structurally, it will always be easier for Windows to emulate Linux than for Linux to emulate Windows.

[1] https://en.wikipedia.org/wiki/LiMux
[2] https://www.transformation.gouv.fr/files/presse/Declaration_...
https://archive.ph/VhXiS
Every watt that is on used to heat makes more carbon in Berkeley today than it does to heat with a gas of some kind. I do, however, agree that new builds should be all electric, with the exception of commercial spaces.
It's funny how the general consensus of the definition of factoid is itself a factoid :)
It is entirely different model. Based on GPT-J which is an open source LLM.
What? Booze in egypt?
Presumably a criminal mastermind would know to fake that
I think it's more exciting if compute stops being the core differentiation, as purpose trained models is exactly where I suspect real value lies.

Especially as a differentiation for a company. If everyone is using ChatGPT, then they're all offering the same thing and I can just as well go to the source and cut out the middleman.

The other fun development to come is well performing self hosted models, and the idea of light weight domain specific interface models that curate responses from bigger generalist models.

ChatGPT is fun but it is very general, it doesn't know about my business nor keep track of it or interface with it. I fully expect to see "Expert Systems" of old come back, but trained on our specific businesses.
It's fine tuned on ChatGPT answers, but the actual underlying model is GPT-J, a 6 billion parameter model. Roughly one twentieth the size of GPT-3, and it's capabilities are about what you'd expect from that number. I installed it, asked a few dozen questions, then uninstalled when I got garbled nonsense in response. (Not just wrong answers, but incoherent noise, repeating chunks of training prompts back to me unrelated to the question, random python code, etc)
No; this is an open source project sponsored by nomic.ai
Sounds like Theo de Raadt.
It isn’t affiliated with openai’s gpt4
I wonder if they will have cluster support, i have a few old fat servers with a few RTX spec GPU's laying around, my own fast ChatGPT running in the garage would be cool.
https://www.amazon.co.uk/Elements-Computing-Systems-Building...

I did 11 of the 12 chapters of this. Each chapter is has a practical exercise. You do need some programming experience. Really teaches you how a computer works buy building on in a high level description language (processor, memory etc all from nand gates). Then you build an assembler for it. Then a compiler.
GPT-J is a 6 billion parameter model. (3.4% of the size of GPT-3) Having used both, I'd say it's worse than Alpaca-7B, which itself is not ChatGPT-grade.
I like this style... one big file with everything in there, and finding things is just a Ctrl+F away.
I absolutely agree that in the long term they’re a much better option. But my drag-around gas generator cost 500 bucks, while my solar system was $22k and I got quoted $18k for a single battery.
Just pay for a Pro license and stop complaining.
Treating their constituents like idiots is something all politicians do—it's just harder to see it in the ones who've convinced you that they're on your team.
None of the European countries "did it" w.r.t. spent fuel, none of those sites are in operation yet. Though Finland is planning to start operation soon, after 7 years of construction and 3.5 billion EUR in construction costs. Searching for what they now consider a suitable site took decades.
I have heard the argument that as Africa continues to develop, birth rates will fall in Africa the same way that they fell in east Asia - leaving no large regions in the world with growing populations, and thus no pool of immigrants that highly industrialised countries can pull from - leading to highly industrialised countries collapsing and whatever existential risk comes from that. I personally don't buy it, as trends don't continue forever. Birth rates will never fall to zero, and we'd likely come up with a solution to the dependency ratio problem before the least-developed country in the world industrialises
Microsoft doesn't really care about pirate home users, their primary source of income is business users, and these tend to buy many more Microsoft products than just client Windows. Moreover, the vast majority of home users just buys a laptop with a fully licensed copy of Windows preinstalled.
There is a mid level business tier.
But GPT4 is associated with OpenAI
> A lot of bay area developers already don't want to deal with venting so you don't get a proper range vent and in unit dryers are often of the (more efficient) condensing variety, I could totally see developers foregoing gas hookups if the city threw them something to encourage heat pumps.

Sounds like they already have something to encourage heat pumps; you don't have to put in venting for heat pumps, and they don't want to deal with it. Problem solved. You should really have a proper range vent regardless of the heat source, but I guess that's not mandated, so there you go.
Bowser Freed From Prison
The forced tabloid news is honestly horrific. I was begrudgingly willing to turn a blind eye to candy crush adverts on the start menu as I tend to like the OS, but this is just terrible. I have bad enough focus issues as it is without Windows bombarding my with crap notifications and clickbait in the widgets menu. I have turned off as much as I see possible and my blocklist for the news must be hundreds of entries long but I still get absolutely inane crap recommended to me. Oh I hate it so much it makes me rage. This is worse than the Windows 8 start menu.
You can see more of the shape in some type faces, it’s a capital E and lowercase t in cursive script. Once you see it, it’s also hard to unsee.
https://youtu.be/8ZW1E017VEc Video by the founder of the project to put in perspective what this is and is not
If Heroku is running some zombie instance of your app, what if you were to just kill the instance you control and let Heroku run the zombie instance? When your service goes fully down, you'll know they've killed the zombie instance, so you can then run a clean copy.
Answered in a sibling comment. Berkeley is dominantly solar during the day and dominantly natgas at night. There's very little coal in California whatsoever.
Divide and conquer, this has been China's approach for a long time.

When Australia started to get closer to the US, China put blocks on imports, delayed customs clearance for food (so it spoiled), hoping to break Australia away from the Western Alliance.

When Macron wanted to visit China, he was welcomed with open arms.

China knows they can't go up against the entire Western world, but if they can peel off each country - one by one - they can go up against the US alone (or think they can), whether it be economic or military warfare.
Ask HN: What key feature(s) is missing from Mastadon?
Name the key feature or shortlist of features that is currently missing from Mastadon that if added would cause you to fully-migrate or dramatically increase usage?

Personal Response:
For me, it’s mainly that I can’t find or verify that accounts I have found are run by the entity I intended to follow…not saying I’m pro-blue checkmark, but checks are a thing.
Your local Facebook or meetup.com page probably has a running group that meets regularly. Look for the "Meet at 6:30am Friday morning in the parking lot by Starbucks" group. If you show up to that enough I guarantee you'll have 20-50 friends by the end of this year and attend a fun Christmas party where you know or can chat to multiple people.
For a while, that was my strategy to cultivate a social life: organizing brunches with 6-10 former teammates and acquaintances.

As social occasions, the brunches didn't lead to anything in my life. The guests made extremely generic smalltalk. I don't know if anyone had fun. I didn't get invited to anything else in those people's lives.

I was kind of glad that COVID killed the brunches because of how fruitless they were.

I get the idea that spending time one on one can turn into giving each other life updates instead of a more intimate exchange. But group events can also be really shallow and demotivating.