skysight-inc/HackerNews huggingface dataset:
Your hardware should be fine for inferencing, as long as you don't bother trying to get the GPU working.

My $0.02 would be to try getting LocalAI running on your machine with OpenCL/CLBlas acceleration for your CPU. If you're running other things, you could limit the inferencing process to 2 or 3 threads. That should get it working; I've been able to inference even 13b models on cheap Rockchip SOCs. Your CPU should be fine, even if it's a little outdated.

LocalAI: https://github.com/mudler/LocalAI

Some decent models to start with:

TinyLlama (extremely small/fast): https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v0.3-GGU...

Dolphin Mistral (larger size, better responses: https://huggingface.co/TheBloke/dolphin-2.1-mistral-7B-GGUF
Really? It's the Go is great if you're staying within the simple confines of the designer's vision, but if you ever need anything beyond that, you have to write some unidiomatic go code that no one will be able to parse. Just look at any JSON parse library, look at struct "annotations" as this massive kludge for injecting struct metadata, etc.

I've been programming in Go professionally for 6 years, and it covers 80% of usecases well, but that last 20% is really tricky
If you have done any Gov work, it is God given stack because audits are so much simpler.
For me TDD really helps when I am trying build business logic but its hard to follow when you want to test the UI logic
Because the UI test work behave differently than the actual application
Not sure whether I count as a computer scientist, I only have a math teacher masters and half an information engineering degree, I dropped out.

Even knowing graph theory and understanding git I still don't have the shortest idea what https://eagain.net/articles/git-for-computer-scientists/git-... this even wants this to be.
I just love awkward English.
I wonder if qemu-system-riscv64 results are interesting? On the one hand they mostly tell you about the x86 hardware you're running it on and the quality of TCG. On the other hand we're quite interested in how qemu performs compared to actual hardware because we (Fedora) may wish to use qemu until hardware capabilities catch up. I have qemu on AMD 7950X and Genoa if interested.
Thanks, it's been quite a struggle at times : D
You can just hit F8 and the debugger will pause at the next instruction. Works in both Chrome/FF.
Yes you're right; I didn't make my point clearly. I've personally sunk a lot of time into base building in Rust.
I've been fortunate enough to own both Subarus (Imprezas) and Porsches in my time. As another commenter mentioned, I purposely bought these to "hoon around in".

I didn't have a crash but I wonder if this was more down to luck than better judgement/driving skills. I'm older now, have kids and a better grasp of statistics. I drive a lot slower and considerately these days.

With all the AI fuss, I personally don't think it'll be long before cars are, if not driving themselves, will only allow themselves to be driven within the bounds of sense. Cars like this, and the drivers, will be confined to the race track and the "Porsche Experience Centre" at Silverstone, as per the article. I don't think this is a bad thing.
We are debating legal definitions and the court said you are wrong. We can debate philosophy but you are not speaking about reality because the court already said you are incorrect.
I've been using this component for sometime:

https://www.ag-grid.com/example/

Perhaps someone who has experience with these components can list some other ones they like that act like the one posted?
> you never see that kind of salary in germany

I can't speak specifically for Germany, but in the UK Germany has a reputation for paying better, and €100k would be pretty par-for-the-course for a senior developer, and stingy for a staff/principal engineer.
Linode still does. I’m running a business on it (and moving personal stuff over from DigitalOcean). The pricing/performance value proposition on Linode has been fantastic.
The Pragmatic programmer is actually a short summaries of all those top 10 books :D

I wrote it about here : https://burhanrashid52.com/the-pragmatic-programmer/
Tell HN: About 845,441 records of Sutter Health Patients Breached
It is still HN’s darling for some strange reason - I think it is the most often featured language on HN now, with Rust being only second.
Yeah. Bad day for this website to show up on HN if it’s built this shoddily.
If I was the richest person on the planet and still gave any shits whatsoever about making random people, who often probably have poor values themselves, upset online, then I would be living my life extremely wrong

Transphobic and and similar problematic tweets aside
What if psychedelics' hallucinations are just a side effect?
Regardless of past experiences, we all (i.e., the computer industry) know who and what Google is now / today / recently. There is zero doubt of that profile. And yet how many can't even switch browsers? Or make recommendations that avoid the wrath of Google-zilla? They complain with words but are 100% complacent and complicit in their actions. We can't blame Google for that level of laziness.

True story: A few months ago I applied for a job. The hiring manager sent a link asking me to fill out a form, a Google form. They had it set up to require you be signed in to Google to see the form. I replied to the manager saying I don't have a Google account, nor do I want one. He sent to form questions via email. But I'm convinced he had no clue as to why anyone would want to avoid Google. When I said there are plenty of less offensive alternatives to Google and I sensed he didn't care.
A $7 Subscription
I think that much of what you propose is already enacted in practice, at least for many federal employees who are not political appointees, etc. Elected representatives are another matter entirely.

Many federal employees do in fact have to limit what securities they can purchase or hold. For example, if I recall correctly, patent examiners cannot hold more than $20,000 in investments for an industry that they examine patents in, and they cannot hold more than $10,000 in stock for any company they may examine patents for. The guidance tells them to prefer index funds that capture the entire market rather than individual companies or sectors. This is explicitly to prevent conflicts of interest. If you are high up enough in these federal positions (without having to be a political appointee), you even have to complete a financial disclosure form (SF-714), and people do check these things for potential conflicts.

That said, many federal employees invest heavily in TSP funds, most of which are managed by BlackRock, so your last point about distributing them among multiple fund managers is not true in practice, since I imagine most federal employees have their investments heavily in funds managed by BlackRock.
I don't think the lack of features is due to time or funding constraints: all the large languages that originated after Go have more elaborate features, and many of them have less funding than I assume Google puts towards Go.

Rust, Kotlin, Swift, and Dart are the main ones I'm looking at. Rust and Dart had an official package manager long before Go did. All four have had some form of generics, at least the first three have sum types, null safety, and many other features that are missing in Go. These languages might have as much funding as Go (I don't know), but they've had less time to implement these things.

Rather than funding constraints, it seems to me that Go has avoided adding features because that's not the kind of language they want to design. It may have led to more polish than some of the languages listed above (I personally prefer programming in any of the first three to programming in Go), but it's not a given that Go would have taken longer to build if they'd made the scope bigger.
> Can you point to any other security where there was no contract signed and the issuer promised no profits or dividends or upside or equity whatsoever?

Isn't that every security? You hope that the companies in which take an equity stake does will, but who is promising (guaranteeing?) such a thing. That's why investors ask for returns: they are risking their money and want to be rewarded. The riskier the investment, generally the more reward is asked for.

And as a technicality: in the US, per the Commodity Exchange Act, cryptocurrencies (e.g., Bitcoin) are commodities (like oil, wheat, frozen concentrated orange juice, etc):

* https://www.cftc.gov/sites/default/files/2019-12/oceo_bitcoi...

* https://en.wikipedia.org/wiki/Commodity_Exchange_Act

Do you expect profits, dividends, etc on eggs, potatoes, onions, cheese, wheat, corn, soybeans, lean hogs, gold, silver, aluminium, iron?

* https://en.wikipedia.org/wiki/Chicago_Mercantile_Exchange

* https://www.cmegroup.com/markets.html

You buy on one price and sell on another, and there are futures and derivative markets as well. Soybeans have no dividends.
https://archive.ph/2023.11.11-051613/https://www.theatlantic...
I expected better from HN commenters than these tired old tropes; this isn't Reddit. I've owned 3 BMWs now (current one is an M3 and therefore stupidly powerful and fast) and I do not speed, I yield to others and I use my turn signals; I obey the rules of the road (the highway code here in the UK). It's so tiresome to see these tedious memes being wheeled out every time.
People definitely try to compete and don’t. Bezos is also spending countless billions and basically has technology from the 1960s to show for it.
Awesome! If they spend some of it on accessibility, the year of the Linux desktop may be near for blind people like me. Windows has gotten so bad that if you have File Explorer open to the Home section, NVDA just says "pane" instead of reading out the home section. That's along with other papercuts and rough edges on the OS. But oh no, Windows 11 was made 
from the ground up to be accessible!
. And I think we've already seen the Safari not responding thing for Macs.

Linux already has a good foundation. BRLTTY works with just about any Braille display, cups can print both text, and even images, to Braille printers, and Emacspeak has existed since the late 90's. Even on Windows, the best and most useful addons for a screen reader are on NVDA, the open source one. Imagine what we can do when we control the whole stack? A true audio desktop, with audible animations. No need to spend $1099 for the most high quality screen reader and OS. being able to put Linux on the [Optima laptop](https://www.orbitresearch.com/product/optima/) upcoming laptop, and have everything open, from the metal to the GUI. Just a dream of mine, and I'm not a developer so can't do much to bring it to life, but it definitely would be nice, and the desktop environment is about the biggest thing that can be made better in order to fulfil this. I'm telling y'all, we're ready for something better than Windows and Mac. Note that I'm just one person, and don't speak for every blind person and definitely don't speak for every disabled person. There are blind people and especially partially sighted people that love Windows and Apple and Android.
What parts are wrong? Be interested to know.
No.

For companies with massive cultural recognition and trust and product awareness (Netflix, Microsoft, Spotify, etc.), you don't need the app store for discovery or for security.

(Although security is debatable -- e.g. recall the Sony rootkit scandal. I'm still not sure I'd trust a Sony app unless it was vetted by an app store and sandboxed.)

But for 99.9% of the apps out there, this is not the case. The app store provides a lot of value in terms of discovery, security, and distribution. It doesn't do a perfect job, but that doesn't mean it's a "predatory racket".
Saved your tired old tropes and shitposting for Reddit, please.
I’m surprised they wouldn’t go for “kick off it off early in the process but allow the desktop to load without it” instead.
"Never, ever, no matter what, go to a timeshare presentation"
He seems very much under the influence or otherwise ill
If you want to bring your own UI, TanStack Table (formerly React Table) [0], if you want something that's batteries included, MUI [1][2]. There are of course other options with either close or full feature parity, but these are the two I see most often with least pain across different companies. While we're on the topic of recommendations, avoid any- and everything by Telerik.

[0] https://tanstack.com/table/

[1] https://mui.com/material-ui/react-table/

[2] https://mui.com/x/react-data-grid/
Yeah…half of approaches the book talk about is inperson offices which is changing is right now.
Give the guy a break.
> therefore I must be dumb or something.

Part of the goal of regulation is to force companies to publish information regarding the securities you’re investing in so that you can make smart decisions.

When something is unregulated with no requirement to publish the risks of investing, it actively prevents you from having all the information a seasoned investor would want before making an informed investment decision.

(In other words, smart people can easily be conned if they don’t have access to information — which is also the primary reason people were against SPACs… they allowed companies to IPO without publishing regulatory documents intended to help investors make informed decisions)
>Listing out the tests you're going to write before you write the code (even mentally) can be considered a continuation of the requirements-gathering process.

But this is not TDD.

I've worked in HW industry where cost of bugs is high and we analyzed specs during brainstorming session as 3-5 ppl and brainstormed test cases that we want to test.

It worked well because this way we we're finding way more things to test than when doing it alone.

But still, this is not TDD. We weren't doing TDD.

>(Particularly, it seems to encourage the single-responsibility principle, as code that's doing too much or combining layers of abstraction is really hard to test.)

Whether your code is easily testable will be challenged by writing tests regardless of the moment of writing test - before or after writing impl.

So no benefit from TDD over non-TDD approach.
Dude, what the hell. Yeah, I agree the person shouldn't be advertising themselves here (the project is different), but flagging it is a bit over-the-top. Good job at getting it removed from the front page . I guess.
You've seen ECC fail often enough? Ours has been incredibly reliable, but we don't have enormous bandwidth. do you have a data sheet or anything showing failure rates?
GGs dude
I'm cloning the code and looking through tonight
We share similar interests and I will try to make contributions to your project
Can you edit and reformat the text by adding breaks?
> but does not use them as exceptions are used in other languages

IIRC, the Go lexer/parser itself relies on panic/recover to handle errors[0], in an exception-like fashion. Granted, it's one unusual case, where the code is split in a multitude of mutually recursive functions.

[0]: https://github.com/golang/go/blob/master/src/go/parser/parse...
What investments are you interested it that require accreditation?
To my understanding it is a GNOME app, but it isn't a core GNOME app. Meaning it isn't something that would be shipped in a "GNOME" package group.
I’ve heard about this book but didn’t read because I didn’t got chance to work on a C++ project.
> desktop environment is such a fragile and transient part of the system

That might be part of the point of the money.

Also, gnome isn't going anywhere, it's been around for decades, and we watched Ubuntu the most popular distro by google trends move away from gnome only to go back to gnome a while later
That is a great example of a reason to panic. There is nothing you can do at that point but return an error or panic, and something has really gone wrong if you are pulling bad tokens out of a hashmap you made yourself, tonthe point I think you should panic. Sadly, almost all the panics I see coming out of rust crates are because someone called unwrap instead of handling the error case.
@nick-keller, thanks for making this. I came across it a month ago and it looks very promising. It has range selection out of the box (a pro feature in some alternative solutions) and you can customize cells. However, the best example of what one could create with this is shown as a screenshot in the 'customizable' section of the landing page but there is no demo showing that this is actually possible. I think I struggled to create custom headers and header menus with this so I moved to AG-Grid and implemented my own range selection.
I recently attended Longhorn PHP and found plenty of PHP software engineers (in the true sense of that word) so maybe I was looking in the wrong places previously?

https://longhornphp.com/
What is K&R ?
Funny. Seems I fell into the same trap I just sketched, making wrong assumptions because of not looking around in the code. But to be honest from your explanation I still cannot tell whether I merely used incorrect terminology wrt dynamic typing (but the general principle still holding) or whether this code guarantees that defaultValue is in fact always a numeric type?
Hello HN community!

I'm excited to introduce Auto Playwright, an open-source tool that revolutionizes web testing by integrating AI with Playwright. Imagine writing your web app tests in plain, simple English and having AI turn those instructions into automated tests!

Key Features:
- AI-Driven Test Writing: Just write what you need in plain text, and let the AI do the rest.
- Playwright Compatibility: Works with all browsers compatible with Playwright.
- Open-Source: Dive into the code, contribute, and customize as you see fit.

How It Works:
1. Install `auto-playwright` via npm.
2. Set up your OpenAI API key.
3. Write tests using intuitive, plain-text prompts.

Examples: From testing a search function with a few lines of text to automating complex e-commerce cart tests – it's all made incredibly simple.

test("auto Playwright example", async ({ page }) => {
await page.goto("/");

// `auto` can query data
// In this case, the result is plain-text contents of the header
const headerText = await auto("get the header text", { page, test });

// `auto` can perform actions
// In this case, auto will find and fill in the search text input
await auto(`Type "${headerText}" in the search box`, { page, test });

// `auto` can assert the state of the website
// In this case, the result is a boolean outcome
const searchInputHasHeaderText = await auto(`Is the contents of the search box equal to "${headerText}"?` { page, test });

expect(searchInputHasHeaderText).toBe(true);
});

Why It Matters: This isn't just about automating the usual; it's about rethinking test automation. It's faster, more intuitive, and accessible, even for those less familiar with traditional coding.

Get Involved: I am building a community around Auto Playwright. Join us on Discord (https://ray.run/discord), contribute to the GitHub repo (https://github.com/lucgagan/auto-playwright), and stay updated with our newsletter (https://ray.run/newsletter).

Looking forward to your thoughts, feedback, and seeing how you use Auto Playwright in your projects!

Check out Auto Playwright on GitHub:

https://github.com/lucgagan/auto-playwright
The biggest issue seems to be that top quadrant completely removed the ontology tools from public other than as part of expensive GRC software suite.

But it was waaay better than protege back in 2014.
There's a lot of misinformation, bad arguments and bad conclusions in this post. Let's pick it apart.

> Go is stable.

But, past isn't a guarantee of the future. It was stable before, but who's to say it will be in the future? The fact that it's "owned" by a single entity should make you scared that it wont, because the whim of that entity is what can change any property of the language.

Additionally, Go has no standard, no alternative implementations to speak of. All of this should have you concerned for the future (but you seem to ignore the obvious dangers).

> It works as advertised.

It's the opposite. Languages with single (or one primary) implementation advertise how they work. Go is implement first document later language. The public discussion is for show because public doesn't control how things are being implemented. The Go dev. team may listen to everyone's opinion, nod in agreement, and do something else entirely, and nobody will hold them responsible for the discrepancy.

> the language is maintainable.

By who? How did you come to this conclusion? There's only evidence to the contrary of your argument. There isn't any other organization that's interested in maintaining Go if Google were to go away. At least nobody expressed such an intention publicly.

> Languages don't have to continuously evolve to remain viable.

This is demonstrably false. Hardware changes, operating system interfaces change. If you don't keep up with these changes, eventually your language becomes irrelevant. To further illustrate this point: today, versions of Python 3.7 and older cannot be built from source on modern Linux with current GCC. Python's dependencies on libffi and libssl are incompatible with their current interfaces, and so the language can only be built with older libraries (but then the operating system needs to use the older ones too) or statically linked with those libraries, but in case of libffi that doesn't help because it will not work for its intended goal. And the further back you go, the less likely it is that you will be able to build and use any version of Python. Bet, the same is true for Go.

> When was it last updated? C17 came out in 2017

C standards don't get implemented on the year they are released. Bet you Microsoft probably doesn't fully implement this standard. (I don't know, it's a guess based on past experience using their tools).

In more broader terms, I have no idea why did you bring C into this argument. C is an entirely different language in terms of governance, support, standardization... It's basically all things that Go isn't. Standards and multiple interested vendors ensure the survival of the language. The whole argument against using Go for long-term projects is that it's not like C. You trying to point out that C is used successfully for long-term projects doesn't help to show that Go would too. If anything, you should suspect that it won't, because Go is the opposite of C.
I don't understand it as well as you do. Maybe I should approach it differently. Why does this matter to me or anyone? Will it affect anything? It it does it's very low priority for people who don't see any difference. The antidote to net neutrality seems to be more ISPs and 5G rather than this law.

It says "clear safety indications" as if firefighters not buying unlimited data and expecting to get unlimited data under fires is normal. It's emotional marketing. The manifest v3 matters more than NN to me because it affects my life. I fail to see how any action is needed now. If this is the best case scenario, I really don't care if firefighters bought limited internet, expected unlimited during a fire and sued.

I'm not against net neutrality, but it seems like making a law to prevent juices from being sold as more than 70% distilled water, yet the market is already passed that part and uses real fruit juice concentrate and regular water. It was useful then, and after it was repealed nothing bad happened and the firefighter case was a bad case.
How does slapping buzzwords provide value? It might secure funding but I'm having trouble seeing how it provides value.
VW no longer offers a wagon in the US. Alltrack and sportwagon were discontinued in 2019.
Does cryptocurrency have any useful use cases?
This maybe be true, but it doesn't come close to explaining the situation. Going back to one my my examples: we are based in the US and the agency staff I mentioned are based mostly in South America. I'm not sure what their local tz is but they generally keep to US Eastern hours. In contrast the US staff are spread across all US timezones. Still the US based staff are somehow more integral.