skysight-inc/HackerNews huggingface dataset:
I do love C# as a language, and I've been wanting to reach for it more for tooling and backend things at work, now that its cross platform is good. (I've mostly used it for Windows GUI apps previously). I'm more confident that any random developer can work on a C# program than a Rust one.

But it has felt like the FOSS library ecosystem for .NET is not quite as good as it is for Rust. C# is far older than Rust, and NuGet apparently has 3.5x as many packages as crates.io has crates. Despite that, my experience has been that I'm more likely to find a good Rust library for any random thing I want to do. Rustdoc documentation isn't amazing but it's consistent, and venturing into other ecosystems usually reminds me that things can be worse.
I feel this is a bit of negative comment with an unwarranted tongue-in-cheek remark, but I can't deny that a course fully hidden behing a paywall (albeit a very pretty one) doesn't qualify as HN submission worthy.
Yes! We've been thinking about techniques like pushing the queried embeddings into a datastore to detect anomalies and track outliers. Provide some insights there.
Absolutely, that's what I'm trying to say - that they have accents, and we have accents, and they're different. I sure as shit don't speak the Queen's English, which is etymologically closer to what they speak
You want people brave enough to fight meta for control of the work meta did and shared for free? It's attitudes like this that mean LLaMA will serve as a lesson for other companies to not share as much. It's too bad, because in normal open source, I like that the community usually tells people to abide by the license terms chosen by the authors. But in this, everyone's just demanding unrestricted use.
> you can buy an Android phone, if that's what you want

That's not what I want.

I want Apple hardware. With software of my choosing on it.
+1. Started a new project targeting WASM and decided to learn Rust coming from a Python (hobbyist) background. The VS code experience is like I stepped into a time machine and landed in the future. Oh my god, it is so much better. I don't think I'm going back to Python unless I have to
Ah, you are correct! Got myself all Julienned there.
100% - really admire all the work you're doing with Weaviate. Will reach out!
Hooks and components are just functions, a large react codebase has hundreds of functions. Things like HTTP requests and reading from localstorage are good candidates for custom hooks.
I was at the employer before this one for 15 and a half years, I left because I didn't get a cost of living increase in over a decade and wasn't even making enough to rent an apartment on my own, I doubt they've drastically changed what they pay in the past 13 months.
Maybe it's wrong, and things will be fine. Maybe it's right. But you can't psychoanalyze your way to truth. Whether future AIs will destroy humanity or not is a fact about future AIs, and the landscape of intelligent systems, not a fact about Eliezer Yudkowsky.
llama: gpt-3 alternative that you can download and run on a toaster

lora: efficient way of fine-tuning a model like llama, where instead of
recreating an entire model, you're keeping the base model and generating a fine-tunings file to apply on top of it.

toaster: any machine with like 4GB of RAM available to fit the model
> almost any tech employee in the US

And almost nowhere else. Hell, it’d be too high for most tech workers in Europe.
>There’s only so many ways to solve a problem and there’s only so many problems to solve in a particular field.

That is true today but not tomorrow. The field often changes. New ideas generate new ways to think of problems which require new experimental designs to solve. New experimental designs become possible with new technologies offering more resolution or fidelity. Entirely divergent technologies sometimes emerge which offer new metadata to compare with in the analysis, or change the context for other forms of analysis. What was cost prohibitive becomes cheap. All of this means you cannot merely write a few pipelines and expect them to be cutting edge forever. You cannot automate the very creative act of hypothesis generation. You cannot reliably develop an automated solution without first developing some sort of a test over a subset of the data or a simulated dataset, to ensure your solution to a given problem even has the power to resolve what you are expecting it to resolve.
Forgot one. The doctor who looked at the X-ray practices under one ID on Sundays, another ID MWF, and another T,Th,Saturday. In each case he’s also part of a different provider group. He might still have more than 9 TINs or NPIs under which he bills, all with different rates. How much does it cost to have this doctor interpret your x-ray?
It definitely goes a long way towards making things more workable/understandable.
I agree. Money is a big factor. People are too busy these days. I was looking into Open Source projects, but most of them don't offer bounties. Maybe it's a chicken-egg problem?
I could tell you but then I would have to kill you. :-p
I’ve also seen mention of ggml in the context of llama and alpaca and other released models. What is ggml? ChatGPT couldn’t help with this question since it’s probably a term that came after its knowledge cutoff :)
This could change very quickly once AI has become an established industry and the markets are captured, and the familiarity argument above doesn't fully apply anymore.
I remember going to a computer store and watching somebody demo System 1.0. But by the time my dad brought home a Mac 128 for the family they were already on System 1.1. So that was my first Mac OS version.
Here they are: https://usehooks.com/
That's the idea behind the Dilbert comics [1]!

[1] https://en.wikipedia.org/wiki/Dilbert_principle
As for working with gated knowledge bases, you can. You can just set your assistant as "protected".

https://bogpad.libraria.dev/ for an example of a protected one.

https://ibb.co/T8qjCgZ (strange, i tried again and got this! I'll work on improving stability)
Group Policy is an enterprise feature, violating Group Policy means Windows becomes persona non grata in its most profitable market sector.

So yes, you can rely on Windows and Microsoft to respect Group Policy. The catch is you need to pay for enterprise privileges if you're not.
Right, everyone else needs to adjust to the Indian dialect of English.
> This applies to PCs and much more so to phones - on phones standard of "trusted" is rather lower, and increasing the number apps has real downsides (battery, performance, etc)

I'd argue this applies more to PCs and less to phones, since the security model for most desktop OSs gives all applications access to all user data, so you need to completely trust everything you install. On Android (and I believe ios) all applications are sandboxed. You can also prevent them from running in the background to limit impact on battery/performance.

Although I still agree that I still don't like installing junk on either, and phones still aren't completely immune.
It's iOS/Mac only which makes it a non starter in most of Europe. We're 70% Android here.

But anyway I'm not looking for the next chat app anymore.. there's already too many. I bridge everything to matrix now to have everything in one place. WhatsApp, signal, telegram, discord, slack etc. I don't want to use this new thing until a bridge becomes available to it and some of my contacts prefer it as their main contact method. It sounds like this is a long way away.
LLaMA is Facebook's LLM (large language model, comparable with GPT). It's publicly available (anyone can download the weights and run it themselves), so it's popular here.

LoRA, or Low-Rank Adaptation of Large Language Models, lets people fine tune a LLM (making it perform better for a particular application) using vastly less resources. Paper: https://arxiv.org/pdf/2106.09685.pdf
As it stands, I think every EV in the US market currently has some kind of built-in data connections to allow integrating with the manufacturer's mobile app. So not about the prime mover, but it just so happens that the current generation of EVs are more connected to the hivemind, if you will. Of course, a number of ICE cars are also that way.

I, for one, cannot wait for the day that somebody brings the Toyota Corolla of EVs to the market; something under $25k MSRP with nothing fancy. I don't need OTA updates or the ability to turn the AC on from my phone.
Well we gave developers that job and they failed miserably. We have orders of magnitude more compute and orders of magnitude more bandwidth and things are getting slower. If developers were going to solve that problem they would've done it already.
LoRA: https://arxiv.org/pdf/2106.09685.pdf

LLaMA: https://ai.facebook.com/blog/large-language-model-llama-meta...

Both have been the subjects of numerous HN posts in the last month.
For us shifter+clutch snobs all the praises of electric vehicles in this thread are falling on deaf ears.
You don't know what transformers unmodified scale up to. Nearly scaled maximally ? Based on what exactly ?
32k tokens is a novella to short novel length, so it can handle an extremely long conversation, but, sure, its possible they are using summarization and/or storage-and-retrieval hacks to extend beyond what fits in the context space naively.
This is fun actually. Once a week or so when I have connection, I load up the tabs I need for the next week in chrome, i.e. locations ~25km apart on my path. Then, when I'm on a mountaintop (usually at least 3-4 times a day when you are backpacking), I try to refresh them until I've updated the forecasts.

If it loads, I take a screenshot and stop trying for the day.

At night I review the screenshots and mark them up.

After my last thru hike I vowed to turn this into an automatic app that would turn on the radio for these polls at certain altitudes based upon geospatial calculations and then turn off the radio automatically after acquiring a daily update.. but alas I never did.
>> These are exactly the ones I had in mind

Those countries citizens rate their happiness with the healthcare system in their country ~2x higher than US citizens do. So that line of thinking doesn’t hold.

>> it matters when we're discussing spending other people's money

That’s not how money works and until that fundamental misunderstanding is eliminated, learned helplessness will prevail. A country that issues its own currency cannot save money in its own currency.

The hard limitation a government faces is resources, not capital.
Like I, Robot (2004) is supposed to be near-futuristic dystopian, and the one super memorable scene I think was - will smith is driving his car and then, well the Tesla Analog - US Robotics shuts him down and tries to kill him.

The government already has enough room planting bombs in cars and cutting brakes, I don't think I need a corporate overlord to have their thumbs in that.
Signs point to yes!
Congrats on the launch. I started exploring applications of generative AI towards technical documentation this week. I quickly realized that embeddings are a key piece of the puzzle and I can give you some initial validation: I definitely don't want to manage this stuff myself and it really seems like I shouldn't need to. Also I am comfortable with services like Firebase so your product immediately makes sense to me because I basically think of it like Firebase for embeddings.

This is probably more feature creep than you can or want to sign up for at the moment, but I also don't really want to deal with manually transforming my Markdown or HTML into the sections of text that you use as input for embeddings. It would be nice if I could just provide URLs to my live documentation or Markdown source code, and your service takes a best guess at how to split it up into sections and then generate embeddings for each of those sections.

Last, I would be happy to talk to you all about docs strategy for your own docs sometime (I'm not looking for work at the moment; I just enjoy helping people with this stuff). You can contact me and learn more about my background via the social links on https://technicalwriting.tools (a blog about technical writing tooling topics that I just spun up).

Good luck!
The way the EV market has been going so far has reminded me of the NoSQL hype of the early 2000s. It suddenly became important to have "web-scale" datastores and a lot of new hotness didn't use SQL, so folks started associating NoSQL with scalability, regardless of whether some SQL databases could scale, or some non-SQL databases couldn't.

Fast-forward to the present day where I've recently overheard someone say they "want an electric car so it can drive itself". Tesla has made self-driving (for some definition of self-driving") and over-the-air updates and giant tablet entertainment screens synonymous with EVs, to the point where it seems like every major manufacturer is including those features on every new EV they launch. I'd also like to see essentially an anti-Tesla EV - a simple, good car that happens to be electric, without it being a "smartphone on wheels". Make the entertainment system a double-DIN stereo and I'll know I've found the right car :)
One other thing not mentioned - they brake faster.

No, they do not. Any car has brakes that can overcome its tires. All that is added by regenerative braking is the ability to lock the wheels more quickly.

Tires and weight (which EVs have a lot more of) are the larger factors in stopping distance.
That's a broad generalization. I have worked with a few great and plenty of terrible Indian devs.
Well, it's probably also because of target fixation.
You're learning how to build them, not just how to use them.

The selling point of react hooks is that they're much easier to compose than class methods. The idea is you can easily build your own custom ones that are thin wrappers around one or more of the builtin ones.

This course is presumably walking you through building 50 high-quality hooks so that you're prepared to build your own. For example, one of the 50 is useFirestoreQuery. Understanding how to build that presumably prepares you to learn how to write useMyCorpNotificationMechanism.

A lot of their 50 are trivial but handy. For example

const useToggle = (initialState = false) => {
const [state, setState] = useState(initialState);
const toggle = useCallback(() => setState(state => !state), []);
return [state, toggle]
}
Exactly its especially crazy to see the huge SUV EVs. Instead of driving less, using public transport and bicycles, you can just swap to an EV.
"Reusable" within very limited scopes. Every React project ends up with tons of custom hooks that are only used in one or two places. I don't think they can be compared to generic utilities like that.
Show HN: An intuitive, no subscription, privacy-first calorie tracker for iPhone
Hi all,

over the last 2 years I've been on and off building my app for iPhone.

Caloree is basically a freemium calorie tracker/food diary with the ability to only track calories. This sets it apart from the competition which usually allows logging a gazillion macros. This (hopefully) makes it easier for users to log their food. Feedback so far has been great.

The app launched today, which I am quite proud of. It's been 2 years next to raising 2 small kids which meant to often sacrifice the project when it was moving along nicely and spending way less time on it than I would have wanted to. It was a real test on my patience which is usually not that great :)

Let me know if you have any questions or feedback is also greatly appreciated!

- Rudy
How long is very very long? Am I going to get coffee while it works, going to lunch, doing it right before I go to bed, or hoping it finishes in time to come up with the most perfect epitaph on my tombstone? ;)
People vastly underestimated the effect the timezone difference would have. Years ago I worked closely with a team in India, and I will never do a job that requires that again. The engineers were fine, but the timezone difference made things hellish for everyone - someone was either staying super late or getting up super early (time difference was 11.5 hours). I contrast that with a team I work with now from South America - they're also high quality developers, but, importantly, the time difference is only a couple hours so nobody has to sacrifice their personal lives.
LLaMA is the large language model published by Facebook (https://ai.facebook.com/blog/large-language-model-llama-meta...). In theory the model is private, but the model weights were shared with researchers and quickly leaked to the wider Internet. This is one of the first large language models available to ordinary people, much like Stable Diffusion is an image generation model available to ordinary people in contrast to DALL-E or MidJourney.

With the model's weights open to people, people can do interesting generative stuff. However, it's still hard to train the model to do new things: training large language models is famously expensive because of both their raw size and their structure. Enter...

LoRA is a "low rank adaptation" technique for training large language models, fairly recently published by Microsoft (https://github.com/microsoft/LoRA). In brief, the technique assumes that fine-tuning a model really just involves tweaks to the model parameters that are "small" in some sense, and through math this algorithm confines the fine-tuning to just the small adjustment weights. Rather than asking an ordinary person to re-train 7 billion or 11 billion or 65 billion parameters, LoRA lets users fine-tune a model with about three orders of magnitude fewer adjustment parameters.

Combine these two – publicly-available language model weights and a way to fine tune it – and you get work like the story here, where the language model is turned into something a lot like ChatGPT that can run on a consumer-grade laptop.
> Having a zero pollution power source lets the car do things that would be unsafe in a normal vehicle. Preheating, or precooling is safe in an electric car but can cause dangerous accumulation of carbon monoxide if running a fossil fuel engine.

Which is like, relevant inside a building only, at which point preheating and cooling isn't that useful
Thank you for clarifying this mystery. My mental model of how ChatGPT works is now clearer. I was somehow thinking that in chat mode it would either (a) need to “update state”, or (b) be fed increasingly longer history. I thought (b) would slow down later responses but I guess with their ginormous compute it’s not perceptible to users.
It is an expert in nothing. Try asking it for general information and then ask it to produce citations for said information. It's a language model which is good at synthesizing certain information based on it's learned probability distributions. It has superficial knowledge at best and all information it produces must be cross checked for accuracy.

Yes, it can be incredibly useful but it literally has no comprehension of anything.
That's one of the things that I really can't understand. Gnome is awful and the people who work on it are so out of touch with what users actually want.

Plasma understands that; as well as PLENTY OF OTHER DEs but your casual linux observer just thinks "wow gnome looks ugly" and it does, it always has, i still have absolutely no idea why anyone would roll a distro out with that... mess.
I don't follow Elon either and keep getting his feed. As well as lots of unsolicited fight videos. It's absurd!
Which end of the segment? Cells don't degrade uniformly, so refurbishing the existing battery is gonna be a couple hundred bucks to tear the car down and expose the battery, and then identity the bad cell and pop in a new one. At the other end of the segment, a battery for a Tesla that has more range than when it was new is gonna run you more than a couple grand. Depending on the heat it was exposed to, and number of cycles and really the age of the vehicle, it change when you'll have to replace the battery. It's worth pointing out that batteries do need to get replaced at some point, but also who knows if the used ICE car you're buying is gonna have problems passing smog, or if the cooling system's gonna crap out on you 3 miles after you drive it off the used car lot.
If only the EU could be more united. But of course that's not in the interest of the US...
They received a mandate. They tried to respond in the way that required the least amount of effort. From someone in the industry, it's entirely plausible this is the best they can do.

Assuming this is true for the sake of argument, saying that this sort of thing isn't malicious compliance is a sad kind apologistics for bad behavior that seems to regularly appear on HN.
> If you don't need the extended range of a brand new battery [..]

My OH drove the best part of 200 miles, round trip, on the spur of the moment to pick me up at an airport late in the evening after my flight was badly delayed, she got to the airport just as I came through baggage reclaim so was at the airport less than 10 mins. That was just last week. By sheer coincidence I drove to pick her up at the same airport the week before, although at least I knew that journey was coming ahead of time.

What do used EV owners with smaller and/or degraded batteries say to each other in that scenario? "Sorry, I can't come and pick you up, the car's not charged?"

A car that can't manage to drive to a local airport and back in one go is exhibiting a fairly critical flaw, at least for people like us.
If you have a garage, by far the biggest benefit is charging overnight, starting the day with a full charge, and never having to go to a gas station. If you don't have convenient home charging, I'm not sure I'd recommend an EV just yet.

We got ours in December, and the most unexpected benefit for me is sitting at stop lights, in traffic, or in a drive through. When the car is stopped, it's essentially off. No engine idling vibrations, no noise, no emissions. It's kind of peaceful. I hadn't really realized how much idling in a gas car bothered me before.
These are people specifically coming to the Northern Territory to legally drive at high speeds on unlimited road sections ... therefore directly relevant to the assertion that unlimited speed sections don't see additional road deaths.

A more thoughtful evaluation would need to consider the unique isolation of the NT roads, the nature of actual traffic (road trains, first time tourist drivers, etc) , the nature of the road (long slow deceptive curves, dips, washouts, etc), relatively low traffic (and then suddenly a cluster).

As I recall the NT was unlimited for "ever" (well, since cars first arrived in NT) outside of towns (as a Territory and not a state), then limited, then conditionally unlimited (and now perhaps limited again).

One consequence of having unlimited roads was an increase in people driving beyond their abilities on roads they were unfamilar with (eg: Japanese dentists with no long open road experience driving super cars).

For interest:

https://www.whichcar.com.au/news/northern-territory-now-has-...

https://www.bbc.com/news/world-australia-37283797
India layoffs were ~100 people. MSFT USA layoffs were 10,000? Offshore trend remains intact.
Free on ars technica - https://arstechnica.com/information-technology/2023/03/gener...
> No, they do not. Any car has brakes that can overcome its tires.

Well yeah, that's why we have ABS right?

But there's more to it than that... having a good way to engine brake (and in this case regen) keeps your brakes cool and prevents them from overheating. Regardless of stopping power in ideal conditions, overheated brakes are not safe.