Nice to see someone taking a swing at a C++ GUI framework. Implementing a real on is not for the weak. If it's really works, it'll be expensive to license.
HN user
clarge1120
I got hooked on Pink Floyd's "Momentary Lapse of Reason". Listened to it on a 10 hour drive back home from Houston in my custom VW beetle. It was custom because I "built" it out of several broken down beetles and so it was a tense drive home, checking my car's vitals every so often.
I have never forgotten that long intense drive home, in the summer, with no air conditioning, and playing Pink Floyd on full volume the whole way.
Because of this, "The Wall" has always been Floyd's second best album.
I love this idea, but wonder if it's really more of a missing feature of WhatsApp.
In functionality, kindof, but I'm not funded by China.
Hey HN,
I’m really excited to show off a project I’ve been tweaking and tuning for more than seven months.
One thing that drove me nuts about running LLMs locally was having to use terminals, install Python, and write code for the most basic things. I write software, but I don’t want to have to write it just to use a chatbot. So, I made Wingman with a friendly interface that lets you get started with zero coding or terminals required. It runs on MacOS and Windows, and even evaluates AI models up front to determine if they will run on your machine.
There’s other stuff it does, too, like let you save prompts, set system prompts per conversation, and change AI models mid-conversation. I added a way to sort models by popular or trending. It’s been pretty helpful to me for staying on top of all of the new models dropping.
But it still has a little way to go to be ready for really special things like planning and reasoning. So, I need to get some more feedback from people on different configurations. I’d love it if you checked it out, saw if it was useful, and maybe broke it so I could find fixes.
Thank!
It's all about getting paid by both sides in a dispute.
Who are we paying this money to? It is a massive transfer of wealth, but to whom, and what will all this money be spent on?
The coolest part of this whole discussion is that we can finally compare weed and alcohol.
Before the current weed era, weed was always compared favorably, by smokers, to alcohol with the adage: Weed is illegal, yet I've never seen a bar fight after everyone gets high.
Now we can do a real comparison of the effects of weed smoking on the general public, the same way we've done with drinking.
“Life-saving Drugs are too Inexpensive to Produce”
It’s a ridiculous headline, I know. But, that is the gist of this article. It just doesn’t say so. Pharmaceutical drugs, and the pharmaceutical industry is highly regulated. It is very expensive to comply with drug manufacturing and distribution regulations. Those regulatory expenses are so high that it is simply not profitable enough for any company to produce these cheap generic drugs at a sustainable profit. It doesn’t make sense for a pharmaceutical company to comply with all regulations and make a profit on inexpensive, generic drugs.
The real headline is “Generic Drugs are Over Regulated, Making Them too Expensive to Produce”
…says the atheist, by faith.
Besides, OpenAI dropped all pretense of being open and transparent as soon as they saw how popular their open and transparent technology had become.
Great example!
Your bias is showing.
You mentioned computer graphics and C language, so game development strikes me as a reasonable guess.
I've added the statement "let's think through the problem step by step" after your instructions. Here's GPT-4's answer. I don't know Rust so let me know if this is a better answer:
---
Sure, let's break down the problem:
1. Identify the topmost window: We can use the `winapi` crate in Rust to interact with the Windows API. The function `GetForegroundWindow` can be used to get a handle to the topmost window.
2. Check if the window is a Windows Explorer window: We can use the `GetClassNameW` function to get the class name of the window. If the window is a Windows Explorer window, the class name should be `CabinetWClass`.
3. Get the path of the active folder in the Windows Explorer window: This is a bit more complex. We can use the `SHGetPathFromIDListW` function from the Shell API to get the path from an item ID list. However, getting the item ID list for the active folder in a Windows Explorer window is not straightforward. We might need to use COM interfaces like `IShellWindows` to get the `IWebBrowserApp` for the window, and then use `IWebBrowserApp::LocationURL` to get the URL of the active folder.
4. Return the path as a string or a blank string: This is straightforward. We just need to convert the path to a string and return it, or return a blank string if the window is not a Windows Explorer window.
Here is a skeleton of the function in Rust:
```rust
extern crate winapi;
use std::ptr;
use std::ffi::OsString;
use std::os::windows::ffi::OsStringExt;
use winapi::um::winuser::{GetForegroundWindow,
GetClassNameW};
use winapi::um::shellapi::SHGetPathFromIDListW;
use winapi::shared::minwindef::MAX_PATH;
fn get_active_folder_path() -> String {
// Get the topmost window
let hwnd = unsafe { GetForegroundWindow() };
// Get the class name of the window
let mut class_name = vec![0u16; MAX_PATH + 1];
unsafe {
GetClassNameW(hwnd, class_name.as_mut_ptr(), class_name.len() as i32);
}
// Convert the class name to a string
let class_name = OsString::from_wide(&class_name)
.to_string_lossy()
.into_owned();
// Check if the window is a Windows Explorer window
if class_name.starts_with("CabinetWClass") {
// TODO: Get the item ID list for the active folder in the Windows Explorer window
// TODO: Use SHGetPathFromIDListW to get the path from the item ID list
// TODO: Convert the path to a string and return it
}
// If the window is not a Windows Explorer window, return a blank string
"".to_string()
}
```
Please note that this is a skeleton of the function and it's not complete. The part to get the item ID list for the active folder in a Windows Explorer window and get the path from the item ID list is complex and requires using COM interfaces, which is not straightforward in Rust. You might need to use a crate like `winrt` to interact with COM interfaces in Rust.---
Thanks for including this example. It helps me understand what you mean.
ChatGPT is not really equipped to do this level of code design because there are too many steps for it to handle at once. It can handle your instructions if it could first write a detailed design spec, then write code and unit tests, then run them, read the compiler output, and iteratively make changes.
IOW, this would require a purpose-built solution which uses ChatGPT's underlying engine to take your list of requirements and turn them into built and tested code.
Diversity of opinion is allowed, but not diversity of worldview. If a dissenting worldview is expressed it is quickly removed from the discussion and the dissenter is eliminated.
Overwork causes burnout.
This sounds correct. Humans are highly fickle and contradictory when it comes to morality. Even the Golden Rule is hotly contested. LLMs lose touch with reality as they try to navigate humanity’s moral landscape. Our current solution is to align an LLM to a worldview.
The good news is that this will pit one LLM against others, and virtually eliminate any potential for a single powerful AI to emerge and do something harmful.
Until it works as well with Windows, no soup for me.
At this rate the earth will burst into flames yesterday.
In the US, the biggest cities are likely to push for cashless, while the rest of the country won't care, or will resist it.
Fewer people agree with your premise, and that’s fortunate.
The “AI is dangerous” premise has no basis whatsoever. No one can prove it. No one can present a great thought experiment. Just doomsaying coupled with volume.
It’s starting to come off like a hidden agenda.
Perfectly describes your non-engineer neighbor or best friend when he encounters an idea he’s never heard of before.
The classical longtermist loves everyone in general, but no one in particular.
Great example of how a GPT can reason on your behalf and dramatically improve your performance. For instance, it could watch for inconsistent approaches to design or even continue an complex implementation you’ve started just from examining context signals.
are there reasons not to trust OpenAi on this one?
Yes, the fact that they are closed, not open, for one. And that they switched from open to closed the moment it benefited them to do so.
Fearmongering is insane and destructive.
This is such a complicated issue. I wish we had a better understanding of what's happening here than a simple Right vs Left argument.
Putting America on the gold standard will fundamentally change how the world economy operates. The dollar-based currency operates on a debt system, which almost nobody buying and selling in this system even understands. So, some will insist that this is a political issue, but it isn't. It's about who gets to say what currency is used for trade between nations.
Right now, oil, as a chief energy source for every country on earth, is the most reliable store of value. We trade oil in dollars. If we switched to trading oil in gold, then moving to a gold standard would make sense. Until then, talk about a gold standard is more political gamesmanship.
One expects the academic community to step in and provide this kind of analysis, namely that an LLM combined with a great deal of computing capacity exhibits capabilities greater than the sum of its parts.