skysight-inc/HackerNews huggingface dataset:
It seems like most of the complaints that people have with color could be resolved by a few simple rules:

* All color schemes shall have the 15 colors that are not the background contrast well with the background.

* Terminal applications shall not specify white or black as the foreground color.

* Terminal applications shall not specify the background color.

* Terminal applications shall not output escape codes when piping or otherwise being used programmatically.

TFA seems to have pretty serious issues with color in general, so I'm curious to know from those here if the rules above would address your complaints or if there's something more going on that I'm just missing.
There's no real benefit to streaming if you are planning to use the LLM output downstream (say, in a SQL query). LLM latency is a major annoyance right now, whether locally-hosted or cloud-based.
They also won't output stuff like progress bars, width-aware content, and may change other behavior. It would also annoying to pipe everything.
I have seen it do things that make me think it has access to a few of the other tabs of code that are also open.
Quite a tail: A mouse has been hiding its armor all this time
My poison > your poison
Other than that nice idea!
Doesn’t it make more sense to have CLICOLOR set by default in most environments and distros and respect that? That’s already been supported by most standard tools for decades.
…funny followup here, my main account got permabanned just now for "evading account suspensions" (which I've never done.)

I mean, it's probably just a bug and they'll fix it on appeal but you never know…
Last time I used Slackware, entering 'vi' still invoked elvis, a sufficiently minimal vi clone.

Vim was there too, under 'vim'.
720x348. It was a dream for programming and writing.
Hiding a backhanded dig ("anything of substance"?!) is worse. Just call bullshit in return. I wear big britches.
My experience with GitHub Copilot has been the exact opposite. Often, it’s magical - as if it can read my mind!

It does have much more context to work with (open tabs, other files) vs. a single/short chat session.
I am not a big believer in the various "fast takeoff" scenarios, where an AI rapidly self-improves over a weekend, becomes intelligent beyond all human comprehension, invents nanotech, and eats the world. I read all those science fiction novels, too. And Drexler-style nanotech, in particular, makes a lot of really wild assumptions about "machine-phase" diamond chemistry that seem implausible to very good chemists.

But I still see real risks from AI in the longer term. A lot of these risks could be summed up as, "When you're the second-smartest species on the planet, you might not get to participate in the most important decisions."

And I do believe that we will eventually build something smarter than we are.
Thanks so much! Lots of value here.
Former Dolphin team member addresses Steam/Valve’s takedown of Dolphin emulator
The two issues are similar in that they both have to do with drug use. But it sort of diverges after that. Stimulant usage, abuse, and addiction is really different and minor compared to the rampant death and destruction going on due to opioids right now.
I agree, it could help a bit but seems like a very unimaginative usage of LLMs. You still need to build a system and maintain it. Is there really an army of employment verification letter writers on staff? Funny actually that he even thought of this use case. I guess a lot of people must be leaving triggering the requests.
Yes, not a large problem at all. We just have to bioengineer a new organism that has to be wildly successful in its biome while simultaneously not becoming food for other aquatic life nor subject to decomposition after death.

Trivial, really.
OpenAI has a pretty good article on embeddings: https://platform.openai.com/docs/guides/embeddings

What we're looking at doing is:

- Creating, storing, and updating an embedding of a schema that people query against

- Creating an embedding of the user's input

- Running a cosine similarity against the user input embedding and each column in a schema, then sorting by relevancy (it's a score from 1.0 to -1.0)

- Using the top n most "relevant" columns instead of passing the full schema

So far, there's some pros and cons. On the pros side, it's really fast and lets us generally be more accurate for schemas that are very large, since those can get truncated today. We've seen in some cases it can also help reduce LLM hallucinations. On the cons side, it's another layer of probabilistic behavior and still has the chance of "missing" a relevant column. We can't really say for sure if it's better overall in our test environment, so we're going to just test in production and flag it out if it's yielding worse results.
What I fail to understand is how the server interprets the query content/body; how does the server "apply" the "sql" query in the request to the resource? is there something similar to a gql resolver that you need to write?
Dunno. It does feel as if discourse on HN has become less thoughtful and more angry/Reddit-esque…
The free snacks are a phenomenon almost unique to tech companies. Normal jobs have a vending machine in the break room.
Considering the frequency of trading stocks ahead of legislation, payola and other graft, I doubt too many are worried about word of a mistress getting out. It’s a badge of honor in DC
> which would imply it's resource intensive to run a simulation

well, it doesn't necessarily imply that. perhaps the beings running the simulation simply wanted to experiment with things like a slower speed of light (in the simulation). or perhaps in their universe, there is no light, and they wanted to play around with the concept?
Isn't the real problem that these escape codes mess up the parsing of the output?
I'm running vicuna on a machine with a 6GB Nvidia card using llama.cpp. I get 300ms per token which is totally usable. I tried to tune it using the ngl switch but never got much better than that and that was fine for interacting with it. I'm blown away at the performance increases on consumer hardware in the last few months.
> Your color choices might not align with the user's color scheme

Then, just use the user's color scheme? This is an argument against using 256-color or terminal RGB, not against color altogether.
Okay, well, true color mode is definitely a problem. But that's so obviously disrespectful that I don't think that you're going to get people who are using that on board with this new standard.
Show HN: A script that collects all Launch YC posts from their new site
Same here. That was the gateway film for me. It reminds me of the Southern Reach Trilogy (Annihilation, Authority, Acceptance).
Super interesting project! I like that you're exposing the structure of the git repo to GPT, and helping it understand and access the code in a semantically meaningful way via the function definition APIs.

I've been working on similar things with GPT, but in a language agnostic way. That makes things a bit trickier, having to parse arbitrary source code languages.

I was curious how you were parsing/lexing the files to pull out functions. I asked GPT about your repo, to see if I might find some useful tools for my project. It provided the helpful summary below.

Looks like you're using typescript-estree to parse the code?

$ git clone https://github.com/kesor/chatgpt-code-plugin.git
$ cd chatgpt-code-plugin
$ aider

Using git repo: .git
Use /help to see in-chat commands.

>>> how does this package find and index all the functions?

This package finds and indexes all the functions using the following process:

1 It starts by getting a list of all the files in the project using the getFileList function in src/function-utils.ts. This function recursively traverses the directories and returns an array
of file paths.
2 For each file in the list, the getFunctionList function in src/function-utils.ts is called. This function reads the file content and parses it into an Abstract Syntax Tree (AST) using a
TypeScript parser.
3 The findFunctionsInFile function in src/function-utils.ts is then called with the AST as an argument. This function traverses the AST and identifies function declarations, function
expressions, and class methods. It collects information about each function, such as its name, start and end positions, and stores it in an array.
4 Finally, the package returns an array of objects containing information about all the functions found in the project. This array can be used to index the functions and perform further
operations, such as retrieving the function's code or analyzing its structure.

>>> does it use any pre-built packages for this? or is it all homebrew?

Yes, this package uses some pre-built packages to achieve its functionality. Here are the main ones:

1 @typescript-eslint/typescript-estree: This package is used to parse TypeScript code into an Abstract Syntax Tree (AST). It is used in the getFunctionList function to parse the file content
and generate an AST.
2 fs: This is a built-in Node.js module for working with the file system. It is used to read directories, read file content, and check file stats.
3 ignore: This package is used to filter out files and directories based on the rules specified in the .gitignore file. It is used in the getFileList function to exclude files and directories
that should not be processed.
4 path: This is a built-in Node.js module for working with file and directory paths. It is used to join and resolve paths, and to get relative paths.

These pre-built packages are combined with custom code to find and index all the functions in the project.
The Fine the EU Hit Meta with Is About the NSA, Not Meta
Most programs disable color output when piped, so just piping to cat already accomplishes this.
You might try the Solaris novel instead. The movie was based on it, but as you know books can be very different.
This is better known as the base rate fallacy.

https://en.wikipedia.org/wiki/Base_rate_fallacy
It goes back a ways to when power companies couldn't offer power in adjacent states.

NPR's podcast: The Disconnect: Power, Politics and the Texas Blackout https://www.npr.org/podcasts/1004840920/the-disconnect-power... ... and the files for that appear to be missing... (if you have Apple Podcasts https://podcasts.apple.com/us/podcast/the-disconnect-power-p... ; Spotify: https://open.spotify.com/show/2l3VBG6RfEGehHm7Y7HfF4 ; Amazon music: https://music.amazon.com/podcasts/5d4dd6d6-bcbd-41a7-b418-7d... ). I especially suggest listening to the episode "The Fallout"

Texas set up an energy market that was to eliminate waste and in doing so set up their grid so that it was constantly almost at load shedding (as that has the least waste).

The problem is there were minutes away from a black start in which Texas would have been without power for an extended period of time - not days but weeks or months (and that the black start generators were also failing).

Practical Engineering:

* What Is A Black Start Of The Power Grid? https://youtu.be/uOSnQM1Zu4w

* What Really Happened During the Texas Power Grid Outage? https://youtu.be/08mwXICY4JM

And that when that happens, given the way that the Texas grid is set up, the rest of the country would be unable to help.

And as that "hip to hate on Texas by costal elites"... utilities were trying to charge Minnesota for the part of the cost of the Texas outage ( https://arstechnica.com/tech-policy/2021/04/houston-based-ut... --- https://minnesotareformer.com/2022/08/11/utility-regulators-... ).
That's not correct. It has context from anything that's open, and it knows about your overall project structure (for example, it knows if you have a pom.xml or a cargo.toml). That said, note that Microsoft has been deliberately vague about what does and doesn't get sent to Copilot, so I don't think there is an official answer to this.
Few things have been tortured more than “Moore’s Law”, which originally meant an empirical observation that number of transistors on a single integrated chip of fixed size seemed to double every two years, but was broadly understood to mean “computation doubles every two years”, and as we found other ways to increase computation besides making smaller transistors we tended to gather those ways under the Moore’s law umbrella as well. Referencing Moore’s Law very rarely adds clarity, in my opinion. The cpu nanometer race is also similarly tortured: 3 nanometers might be close to the physical limit of semiconductor computation but that doesn’t mean anything, since “3nm” means 7 nanometer precision and a half-pitch length of ~14 nanometers. https://twitter.com/davidad/status/1661595361939533827

But enough nitpicking; the actual answer to your question is that those are about physical limits of our current hardware implementation of computation. The theoretical physical limits of computation that the author is thinking of are bounded by things like Margolus-Levitin’s limit of 6x10^33 operations per second per joule (I had to look up the SI prefix; it’s several thousand quettaflops). https://en.m.wikipedia.org/wiki/Margolus%E2%80%93Levitin_the...
Appetite does not always have bearing on what the chef will serve.
I'll expand for those asking. The first third of the presentation does such an excellent job of steel-manning the case for concern, that I couldn't wait to hear his arguments against it. When he gets around to that, he reaches for a made-up concept he calls the "outside view" where he argues you should ignore rational arguments (aka the "inside view") if the person making those rational arguments seems weird.* Slides follow showing VCs in bad PR photos. What more evidence does anyone need?

*"But the outside view tells you something different. ... Even though their arguments are irrefutable, everything in your experience tells you you're dealing with a cult. Of course, they have a brilliant argument for why you should ignore those instincts, but that's the inside view talking."
SQL-like queries in the request body seem like a bad idea, what are the security implications and how do we protect against it?

Or will the QUERY method end up with the same fate as GraphQL - wherein it's more effective and "secure" in a server-to-server setup and the client only deals with REST.
What pattern is that?
> Who can manage an international trip each time they need medical help?

> Not everyone can afford the delay, the time, the money or the inconvenience.

If you have no symptoms and it's follow up for a routine screening test, you can probably afford the delay. The time is certainly an issue, although if you can get any needed subsequent tests and care immediately internationally, it might be less time overall. The money could work out in favor of international travel, depending on the details; almost certainly less all things included, but not necessarily less if you're only counting money that comes directly out of your pocket.

The real question is when does it become legal for insurers to send you overseas for care, and when does it become legal for medicare and medicaid to do it.
The shrinking Sharpton: How Rev. Al lost 175 pounds (2014)
Well, I don't think drugs are the only option. Behavioral therapy works for a lot of people. And there is also just not treating it at all, some people choose to live with the issues rather than deal with the side effects or on effectiveness of drugs/therapy.
I scanned through the comments and I don't think anyone raised the possibility that the developer might not be aware how many devices their code would be running on.

It's quite possible that a random just contracted to write software for some embedded system, with no context how many thousands or millions of devices it would run on. So they looked up OP's site, sees "supports unlimited requests and is free", shrugs and just writes implements the code.

Or, the dev might be told the system only had a couple thousand users, then somebody else copied the code and deployed it on a million devices.

You don't know the story, and I think the moral here is not to blame a faceless Android dev from China, but to implement quotas and controls and avoid falsely boast on your website that your service has unlimited scalability.
Another possibility is to change the design based on upstream feedback and adjust the internal codebase to it.

By parent’s description, those codebase adjustments are done during the iterative process of feature development too. Upstreaming would just be the last iteration.
Ah, I'm not an American and that's very wild to me. I have never had trouble getting my bank to honour an order to stop payments, although it takes a few business days to process
If I recall correctly I has original SimCity on Hercules which was nice if only black and white (amber and gray).
In the winter outage case, shutting off the power may have resulted in freezing to death. Should choosing the wrong power contract result in death while you sleep?
Piping to cat won't work for an interactive tool though.
What is the forest and what is the trees? The rest of the world getting obese too. There is strong evidence snacking leads to obesity and or a major contributor to it. An extra thousand calories per day from snacks adds up.
One was an electorate in a democratic country being disillusioned about a leader they freely elected. The other is and a genocidal dictator who murdered the previous dictatorial leadership to get to power, gassed civilians and launched wars of aggression that killed hundreds of thousands. Not sure how those two "sound alike" to you. Care to elaborate?
In the scenario given your account has been deleted - if you still have access to other Google services, then you can just use the web interface to cancel the problematic subscription?
um, a do...while always does something at least once - a for-loop not.
I wish I could have read this 3 weeks ago.
Of all the awful things she said, nothing was the worst.
>Only if they lack political education.
LLM's are not fact retrieval machines you say? but https://openai.com/product claims:

"GPT-4 can follow complex instructions in natural language and solve difficult problems with accuracy."

"use cases like long form content creation, extended conversations, and document search and analysis."

and that's why we need regulations. In US, one needs FDA approval before claiming that a drug can treat some disease, the food preparation industry is regulated, vehicles are regulated and so on. Given existing LLMs marketing, this should have the same warnings, probably similar to "dietary supplements":

"This statement has not been evaluated by the AI Administration. This product is designed to generate plausible-looking text, and is not intended to provide accurate information"
Amazing speech. I love that he touched on "the CUDA bet". How their early adopters in the sciences (particle physics, fluid dynamics etc.) eventually made it to the larger AI boom. Many of my former teammates came from Lawrence Livermore where they became CUDA experts while doing research work. This skill is now very high in demand for foundational ML work.
Jarmusch’s “Ghost Dog” takes quite a few ideas from Tarkovsky’s work.
I'd long wondered about the day-of-week effect on HN. Turns out that yes, there is one.

Looking at just 2022 (most recent full-year data:

2022:

DoW Stories Points ( mean ) Comments ( mean )
Monday 1560 481368 ( 308.57 ) 288928 ( 185.21 )
Tuesday 1560 528265 ( 338.63 ) 309799 ( 198.59 )
Wednesday 1560 506977 ( 324.99 ) 310698 ( 199.17 )
Thursday 1560 514046 ( 329.52 ) 320883 ( 205.69 )
Friday 1560 465283 ( 298.26 ) 287805 ( 184.49 )
Saturday 1590 401207 ( 252.33 ) 228966 ( 144.00 )
Sunday 1560 410879 ( 263.38 ) 239186 ( 153.32 )

Tuesday and Wednesday typically see most engagement. Biggest fall-off is Saturday.

On the other hand, if you want a chance of your submission making the front page, weekends are probably a better bet. (My data don't show this, mind, as they don't show all submissions for a day, but this tends to support my hunch / general sense in my own submissions.)

It's interesting to note that Tuesday and Wednesday have generally captured the top spot, but there was a notable fall-off in Wednesday's standing in the Covid era. Not entirely unprecedented (Wed. lagged Tues. by 10 votes (points) in 2014, for example), but it catches my eye.

There's also the long-term trends in votes and comments over the years:

Year Stories Points ( mean ) Comments ( mean )
2007 9382 92264 ( 9.83 ) 61207 ( 6.52 )
2008 10980 294775 ( 26.85 ) 186339 ( 16.97 )
2009 10950 608603 ( 55.58 ) 303962 ( 27.76 )
2010 10950 1062763 ( 97.06 ) 491718 ( 44.91 )
2011 10949 1657004 ( 151.34 ) 632724 ( 57.79 )
2012 10980 1829402 ( 166.61 ) 778634 ( 70.91 )
2013 10950 2132819 ( 194.78 ) 998387 ( 91.18 )
2014 10905 2057628 ( 188.69 ) 916438 ( 84.04 )
2015 10950 2001269 ( 182.76 ) 845719 ( 77.23 )
2016 10977 2521394 ( 229.70 ) 1137575 ( 103.63 )
2017 10950 2776064 ( 253.52 ) 1259899 ( 115.06 )
2018 10950 2762928 ( 252.32 ) 1262654 ( 115.31 )
2019 10950 3051011 ( 278.63 ) 1447141 ( 132.16 )
2020 10980 3338150 ( 304.02 ) 1734703 ( 157.99 )
2021 10950 3376829 ( 308.39 ) 1859933 ( 169.86 )
2022 10950 3308025 ( 302.10 ) 1986265 ( 181.39 )
2023 4350 1309865 ( 301.12 ) 737425 ( 169.52 )
We already fail to align nonhuman intelligences (car companies) and they regularly kill people (by manufacturing increasingly large pickup trucks that office workers buy for an ego boost and then hit people with).

This doesn't wipe out the entire human race because nobody and nothing is capable of executing such a perfect plan because the real world contains something called entropy.
I’d love to be able to use something like this for my Python codebase, think you’ll ever expand to other languages?
I don't know how US collections works since I don't live there, but none of the financial systems I've ever interacted with give merchants any entitlement to future money for a service they are no longer providing
Creating a sperm or egg from any cell?
“Whataboutism” is only a thing if the comparison is in bad faith (i.e. irrelevance or significantly different scales of atrocity).

Directly comparing one unjustified, illegal and unjust war (Iraq) with another one (Ukraine) isn’t whataboutism, it’s a legitimate criticism of hypocrisy.
I agree. It would seem as if a lot of journalism is about looking for correlations between data and trying to draw spurious conclusions from it as click bait or filler. Nicholas Cage and shark attacks for example. Find A and then maybe it is plausible it was caused by B and then say they are related. Maybe we don't know.

Coincidence? Probably. Lots of other things could have explained the productivity dip. Equally, though, many of America’s most productive people rely on Adderall to get the job done. It often seems like half of Silicon Valley, the most innovative place on Earth, is on the stuff. And surprising things can cause gdp to rise and fall, including holidays, strikes and the weather. What’s more, the economic history is clear: without things that give people a buzz, the world would still be in the economic dark ages.

Maybe we cannot conclude this. I think some of the backlash is due to kids being prescribed Adderall.
I'm actually pretty old myself. I like old people. But I don't think they'll all be able to competently manage the needed lifting to consider this properly. There aren't even experts that can give us a path.

Fair points you made though. It was a weak and lazy angle I made.

A better reason why they won't want to regulate us out of this is that they are corporately captured and beholden to the funding needs to keep them elected.

I don't think it can be regulated at any rate. All you need is the weights and a few gpus. Even better if you can afford some cloud time. In time there'll be distributed, encrypted crowd source options to build these that also can't be regulated.