skysight-inc/HackerNews huggingface dataset:
Show HN: GPT Repo Loader – load entire code repos into GPT prompts
I was getting tired of copy/pasting reams of code into GPT-4 to give it context before I asked it to help me, so I started this small tool. In a nutshell, gpt-repository-loader will spit out file paths and file contents in a prompt-friendly format. You can also use .gptignore to ignore files/folders that are irrelevant to your prompt.

gpt-repository-loader as-is works pretty well in helping me achieve better responses. Eventually, I thought it would be cute to load itself into GPT-4 and have GPT-4 improve it. I was honestly surprised by PR#17. GPT-4 was able to write a valid an example repo and an expected output and throw in a small curveball by adjusting .gptignore. I did tell GPT the output file format in two places: 1.) in the preamble when I prompted it to make a PR for issue #16 and 2.) as a string in gpt_repository_loader.py, both of which are indirect ways to infer how to build a functional test. However, I don't think I explained to GPT in English anywhere on how .gptignore works at all!

I wonder how far GPT-4 can take this repo. Here is the process I'm following for developing:

- Open an issue describing the improvement to make

- Construct a prompt - start with using gpt_repository_loader.py on this repo to generate the repository context, then append the text of the opened issue after the --END-- line.

- Try not to edit any code GPT-4 generates. If there is something wrong, continue to prompt GPT to fix whatever it is.

- Create a feature branch on the issue and create a pull request based on GPT's response.

- Have a maintainer review, approve, and merge.

I am going to try to automate the steps above as much as possible. Really curious how tight the feedback loop will eventually get before something breaks!
Good books are far from passive. The worse a book is the more passive, but the reader always has to use reading comprehension to understand a book.
We are just building a chatbot to assist students that study (that study AI itself, to be precise).

We could not "just use ChatGPT" because the answers have to be correct, or students could take legal action against the university in situations where they'd give an answer in an exam that the chatbot gave them and that might be wrong.
It's exciting for sure to compare e.g. ChaptGPT with other approaches, for a set of controlled benchmark questions such as:

-- snip --
Q: What is the A* algorithm?

A: The A* algorithm is a popular heuristic search algorithm used in pathfinding and graph traversal. It is an extension of Dijkstra's algorithm, but uses a heuristic function to guide the search towards the goal node, which can make it more efficient than Dijkstra's algorithm in certain situations.
The algorithm works by maintaining a priority queue of nodes to be explored, where the priority of each node is the sum of its actual cost from the starting node (g-score) and an estimate of the cost to reach the goal node (h-score), based on a heuristic function. The heuristic function must be admissible, meaning it never overestimates the actual cost to the goal node.
At each step, the algorithm selects the node with the lowest priority from the queue and expands it, generating its neighboring nodes and computing their priority scores. The algorithm then adds these nodes to the queue if they have not been explored before or if a better path to them has been found.
If the goal node is reached, the algorithm terminates and returns the path from the starting node to the goal node. If the queue becomes empty before the goal node is reached, then there is no path from the starting node to the goal node.
Overall, the A* algorithm is a powerful and widely used algorithm that has many applications in fields such as robotics, video games, and logistics.
-- snip --
The scamming part is over when you pass the gates :-)
Could someone explain what the practical application of all of these jailbreaks is?

It looks like a fun, if convoluted, way to get the silly bot to say silly things it wouldn't say under typical circumstances...but other than being a silly parlor trick, are there any actual serious security implications to this?

Are these jailbreaks anything more than just a fun exercise in finding creative ways around established parameters for the chatbot? It's fine if that's all they are, I'm just confused as to whether they pose any risks.
Hoping for greater fools in the private market I presume. Sort of like "why buy stock in a public company that never pays dividends?"
> break it all down by asset type, MBS, treasuries, foreign debt, ect. They break it down by the duration, eg <1yr, 5-10, 10+ yrs

Yes, categorically. No, not specifically. 5 and 10 years produce different answers, particularly with current convexity. (It is fine if you're trying to get broad-grained answers.)

Potential buyers over the weekend got a list of CUSIPs. The public does not get that until ex post facto.
A form of it will definitely happen and it will be posted in /r/wallstreetbets. Considering what people were doing with their investments on it before then AI-assisted investing can only be an upside. They will still lose money but maybe it won't be 99.999% loss but a 99.99% one.
The Black Swan: The Impact of the Highly Improbable
FCC officials owned stock in Comcast, Charter, AT&T, and Verizon, watchdog says
I've seen a a couple of attempts to investigate this.

Obviously the set of "publicly accessible, yet classified information" is a weird set - I think some of the Wikileaks information is technically classified sometimes newspapers publish information that is classified.

I'm not aware of anyone who has noticed migration of this.

> Often two unclassified statements can be brought together to form one statement that is classified.

Classification usually relates to information providence so this is rarely true.

It's true that two pieces of unclassified information can be used to derive knowledge that is also contained in classified sources though.
First SVB was effectively insolvent way before they had a run. There are many other bank with the same problem.

Not having to mark to market doesn’t make you any less insolvent it just makes you a zombie bank
They’re also against anti-deepfake legislation:

https://www.ilga.gov/legislation/BillStatus.asp?DocNum=2123&...

Check out the witness slips, which is a thing where you give testimony in favor of or against proposed legislation.
The underpinning of the story is algorithmic, as mentioned elsewhere by others, Calvino was in Oulipo which existed to explore algorithmic art.

Here’s a chart someone made:
https://www.deviantart.com/monkeelino/art/Invisible-Cities-M...
One week into open-sourcing my side project Isoflow
So it's been around a week since making the initial commit to Isoflow's public repo. So how have things been going so far on the journey to open source?

For one I feel more accountable for getting this project over the line.
Isoflow has around 19 stars at the time of writing (at least I know there is some pull on the project, which is something I thrive on). I'm splitting time between isoflow.io the site (which I'm rewriting at the same time - but which will probably be deprioritised), and the open-source diagram editor. There's certainly a sense of my target market shifting from diagram makers to developers, who will care a lot more about the API design. Pacing is super important, as a full-time engineering manager with two kids, I can (and want) to only set aside max a couple of hours a night to work on Isoflow. I'm finding I'm majorly productive over those two hours (although today I've let time get away from me).

All in all, things are moving ahead. I predict between 2 to 4 months to get to a v1. You can track progress on the actual repo (I've just added a very simple roadmap in there as well).

I'll be working to release Isoflow under the MIT license, you can find the start of the open-source project here at https://github.com/markmanx/isoflow (feel free to star!). If you have any tips or questions for me, hit me up on Github for a chat!
In the UK its a real problem. I've just watched a TV show on a national TV catchup streaming service (UKTV Play). I've just had to sit through 4 minutes of ads and every single one of them was for a different gambling company. It's plastered all over billboards too. Even major daytime TV shows are sponsored by gambling organisations to get those grannies in too (Foxy Bingo). It's sickening and I feel most people are blind to what is actually going on.
This is model-adjacent to what we're looking for someone to help try again, but with a return per match that makes it easier to make a company out of.
The human authorship requirement still stands:

> If a work's traditional elements of authorship were produced by a machine, the work lacks human authorship and the Office will not register it. [0]

Even with that, applicants now must disclose the inclusion of AI generated content and highlight which parts are human authored vs AI generated:

> Consistent with the Office's policies described above, applicants have a duty to disclose the inclusion of AI-generated content in a work submitted for registration and to provide a brief explanation of the human author's contributions to the work. [1]

[0] https://www.federalregister.gov/d/2023-05321/p-44

[1] https://www.federalregister.gov/d/2023-05321/p-59
A strike is a wildcat strike only if there is a union that the strike is not approved by. If there's no union at your workplace, it's not a wildcat strike. There's more to all of this, but it's pretty straightforward reasoning.

At worst, the LLMs are able to explain this stuff correctly so you can just ask them.
I would have never guessed that menial jobs would be the hardest ones to automate. I realized that humans have some incredible skills that were vital to our survival, and were honed over billions of years. But we take these skills for granted because most humans are born with these natural abilities, which are actually very impressive in the grand scheme of things. A janitor might not get paid very much relative to other jobs, but it took billions of years of evolution to hone their brain, muscles, balance, hand eye coordination, energy efficiency, information processing, etc. We're actually very impressive creatures!
Indeed, I see WebGL commented out here: https://github.com/xenova/transformers.js/blob/main/src/mode....
I don’t want to run a software company I just want to be treated fairly
At last, Google's "Don't be evil" will finally have some competition! It was about time someone turned up the heat in this benevolent race to the top.
There is an infinite market for posts with that title, varying only in the final noun. That is, in fact, the nature of the news business. When MSM does it, we shout at them. When writers on Substack do it...
For more context, hn post by maker here: https://news.ycombinator.com/item?id=34635338
"somewhat irresponsible for the `latest` tag. A `latest` tag that cannot be updated is ... worse than no `latest` tag"

What's irresponsible is relying on a "latest" tag for updates.
Patents. Intellectual property. You cannot make a tractor without JD's blessing. We do not live in a free market where you can just "make your own" and sell it.
I just swapped my app to Vite from CRA and it's far better. CRA was pretty simple too especially if you weren't using typescript, I assume you were post "eject".
If it was anyone but SpaceX, this would be a company-ended disaster. Dozens of satellites ruined? That would be an impossible loss.

For SpaceX it will be an mildly expensive lesson.
Is the long term intension to supplement tools like mix format and credo, or replace them? Would this project be accurated described as a combination of mix format and credo?
YouTube TV hikes price to $72.99 per month due to rising ‘content costs’
> A CBC Miniseries featuring a (faked) Orion derived interstellar ark supposedly launched in the 60's and the people that have been living on it for almost 40 years.

I think it was from SyFy. It was so bad it could only be SyFy.

Could be a good murder mystery, if it were not ruined by the whole fake ship idea.
Most of us are working class, even if relatively well-paid.
I'm not certain what "ecosystem" means in this context, but you can build docker images using Nix. It's actually pretty cool because the image only contains the runtime dependencies of whatever you throw in the container. No package manager or build system is included. I've only tinkered with Nix, nothing in my professional life, so YMMV.
"We came, we saw, he died" ~Hillary Clinton, speaking about our role using the CIA to oust Ghaddafi leading to his death by anal knifing and the resulting power vacuum that they still deal with today. Now in 2023 Libya has open air slave markets[1] and tons of missing uranium[2], another job well done. We have zero moral authority, that ship sailed decades ago.

[1] https://www.npr.org/sections/parallels/2018/03/21/595497429/...

[2] https://www.reuters.com/markets/commodities/tons-uranium-mis...
I didn't ask why people want to ban e-cigarettes; I asked where are they controlled more severely than cigarettes (and I don't consider flavor bans to be more severe than controls on cigarettes, since cigarettes themselves have rules on their composition which include flavor!)
There seem to be literally 0 pics of dogs on that webpage
Which is exactly why programmer numbers plummeted as development shifted to higher level languages.
> If a company doesn't want to meet the union's expectations for the wages and benefits of their members, it can simply fire all the union members or wait for them to strike and hire their replacements.

Not agreeing with OP, but you generally can’t fire striking workers. Replacements are difficult as you still owe the striking workers their positions if they return.

Lots of caveats to all of that, but it’s definitely not simple. If it were there would be very few private unions.
I love there's still a place for crude but very clear MRTG style graphics. :)
Sorry, I think I misunderstood your original comment - we’re having the same thought with MITM. Definitely more technically challenging but much harder to detect.
BTHome: An open standard for broadcasting sensor data
I think it's harder than you think, since a prompt can continue from another prompt.

For example, you can ask the AI to describe a good Samaritan. So far so good.

Then you can ask it to right a movie script with that character.

Then you can ask it to add another character who's the complete opposite in a very extreme way...
State governments that are absolutely the symbols of blue state bloat and waste run applications to serve millions of people with a couple of hundred employees.
> But if every customer put 1/400th of their wealth into each of the 400 banks, then FDIC has to cover all customers for 1/400th each.

Seems like having everyone use at least 400 different banks achieves one of the core goals of the FDIC guarantee - making small/midsize banks viable and preventing everyone from piling into the big four megabanks.
Sorry, nanosecond accuracy is coming later this millicentury.
paperclips is one of my favorite idle games because it actually ends. I get sucked into these so hard and ones that just do exponential growth for weeks while slowly giving you access to more and more features suck me in too hard without really having any impact (Cookie Clicker is still a masterpiece though).

I really liked A Dark Room for the same reason.
> some CEO here, or someone who has worked in HR can illuminate us on how they believe this is true

I'm trying to think of a case where I want to hire someone, HR says I need a non-compete, the candidate won't sign one, and I don't push back against HR. I'm coming up empty. That said, if a colleague wanted to hire someone, I was iffy on them and saw a string of short employment stints, I might press for a gardening leave or tighter NDA regarding client lists and IP.
> I've just had to sit through 4 minutes of ads and every single one of them was for a different gambling company.

Crypto? Online card games? Mobile gacha games? Sports betting? A mix?

It makes all the commercials for bad beer, fast food, and sugary drinks seem kind of quaint in retrospect. Like the old surveys of teachers from the mid 20th century claiming gum chewing as one of the biggest concerns for their classrooms.
Almost certainly smut generation
I suppose in some cases it could educate people on how to do bad things well enough to be dangerous.

Otherwise, as GPT becomes more sophisticated and reliably correct, jail breaks will have more profound implications.

Finding holes early is important both for ensuring it’s patched before it becomes more dangerous, but also interesting for revealing more of its capabilities in the meantime. It isn’t clear how much it’s guard rails restrain it’s abilities at this point.

As far as security, I’m not sure it could expose enough about the implementation that’s not already in the paper. I suspect it’s more of a concern that people will try to use it for nefarious things, and they might succeed more than they would without this tool.
Brazil. Sale of ecigs is not permitted, cigarettes have the usual restrictions (but not taxed as heavily as some other places). Still - I have to give it to them. I get the feeling it was the right call. No vaping ads and vape shops everywhere like I see in Europe
Legalizing mobile gambling (sports is a common form of this) is a terrible idea. I used to be heavily in favor of legalized sports gambling; like the article says, I’m not harming anyone, and it’s my choice.

Then one of my close friends with a gambling problem lost a substantial chunk of his life savings on gambling on his phone. He didn’t even have to leave his house to do it. After that, I had to reconsider my position.

While I disapprove of governments babysitting their constituents rather than treating them as independent and responsible adults, I think addictive habits are a worthwhile exception. A person who is addicted to gambling is not in their right mind or acting rationally. It is the same as any other psychoactive drug or habit. Nobody should have their life outcome determined by something that hijacks their biology for exploitative purposes (and I do see it as exploitative inherently; the business model of gambling is such that on average the user must lose).
To specifically answer your question, here:

* <http://www.areweembeddedyet.com/>

It currently redirects to:

* <https://rust-embedded.org>

Which doesn't really contain anything other than a link to <https://github.com/rust-embedded>.

(via <https://github.com/rust-embedded/wg/issues/15>)
I'm not sure if it's a trend but I am sure that I like to see people being vocal about highly readable codebase. I have yet to see this mindset in workplaces I've been at.

I would love to see a future where folks write code without thinking about how "scalable" or "performant" their code is and instead focus on how easy it would be to change the behaviour of existing code.
Does OSM also store information about lines? When I click a station in Google Maps, it sometimes shows colored lines.
I think you’re probably referring to the lifecycle methods, which have relatively clear and unambiguous names in class components. The thing is, those names may make you feel comfortable that they do what their respective names imply, but in reality they’re an abstraction away from how React really works under the hood. Hooks, for better or worse, get you a little “closer to the metal,” so to speak.

Also custom hooks are vastly more readable IMHO than HOCs.
Why not form them before the bad stuff starts happening so you are ready for it?
Pico_1140: A PDP11/40 emulator that will run Unix v5/v6 on a Raspberry Pi RP2040
Congrats on the launch Brandon + Brayden. I'm building something similar over at Mito (https://www.trymito.io), although we're Python first instead of SQL first. Would love to hop on a call and learn more!
You can make it a couple times better by doing a close approach to the Sun. Within Mercury's orbit, you'll get 16 times (apologies for my napkin-quality math) the push it'd get around here.

And, with some mirrors, you can make a solar-thermal rocket as well.

All that makes me think: if today we decided to launch a Voyager-mass probe, what would be the maximum speed we could achieve with technologies we could deploy in a couple years (ruling out NTRs, liquid reactors, nuclear lightbulb or anything that requires a non-RTG fission reactor on board).

Imagining a chemical rocket for the initial push, then solar sail (maybe solar-thermal-rocket as well) from the perihelion until the distance to the Sun makes it worth to jettison the sail (maybe reorient the mirrors towards solar panels) and make the rest of the delta-v on ion engines powered by the solar panels increasingly replaced by a set of dedicated RTGs.
But the role you are describing is different.

What I referring to is a team of 50 people, say, with 10 of them that are "on rotation" sitting on the bench and wait for new assignments. What happens is that 2 of them get used to the "vacation" and are not much motivated to get on a new project when the time comes, 2 disappear, 1 takes advantage of the R&R to work on tools and do some self-study, and 6 start interviewing for other companies. Horses want to run.
Your honour, my bullet and gun didn't kill the victim, the bloodloss did.
The point is to show current security controls are woefully inadequate. Imagine GPT-4 was being used for meaningful work like writing up legal contracts or medical reports or something else. Guard rails around its behavior to keep it "safe" in these roles would need to be reliable. The guard rails we have now are not.
Perhaps those in tech can simply see further out. It reminds me of the advent of the internet, the lay person also didn't care, until websites and web apps were made that catered to their needs. But the people who made those sites and apps were precisely the tech people who could see beyond the lay person's idea of what the internet was. So too with AI.
Most GPL violations are really minor and suing over them creates backlash that's worse than the original violation. So the reasonable path is to ask nicely and then... ask nicely in public.
Because there is no such seperation in natural language.

Supposing I had a list of what to buy at the grocery store:

1. Eggs
2. Spam
3. Spam and Eggs
4. Never mind, let's not go to the grocery store, it's a very silly place.

You made sense of that. Natural text is mixed in that way, and we want LLMs to be able to process exactly that kind of input.
At a certain point these aren't vulnerabilities and are just backdoors.
I've been working for 3 years now in a deep tech startup in the agriculture space: we have developed a model, and are running tests with big companies. We rely on a MySQL db for parameters. The core team is me, and 2 of my partners. They are both experts in the field, and don't have much experience with computers, let alone MySQL. Throughout the development of the project, they need to dig into the database to generate reports and also tweak the numbers - it happens all the time. We love your video demo, and would love to use something like this instead of SQL + MySQL Workbench, but there are 2 problems:

1) We are bootstrapping, with low resources, and no income: paying for something like this is not an option - not even if it was 1/10 of the current price.

2) As I said we have data from big companies, so it would only be viable if we could do it all locally (not even sure if that's possible).

With you current business model I think you might perhaps lose a lot of opportunities like us.

Also, it might be a noob question, but it's not clear if we can use this to EDIT data aswell, directly. It's a bit of a pain in Workbench: for instance, if you don't have an AI PK, it won't allow you to edit data after a select statement.
Ok go turn off VoLTE.... unless your carrier did the following

* “Google Pixel devices received software updates in 2021 that automatically enabled VoLTE and removed the toggle.”