skysight-inc/HackerNews huggingface dataset:
Here is the response from Instruct model:
https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1

To track swipes in TypeScript, we can use a library like `react-native-gesture-handler`. Here's an example of how to use it to track horizontal and vertical swipes:

```typescript

import React from 'react';
import { GestureHandlerEvent, GestureHandlerProps } from 'react-native-gesture-handler';

const SwipeableContent: React.FC<GestureHandlerProps> = ({ onStart, onEnd, onMove }) => {
const handleHorizontalSwipe = (event: GestureHandlerEvent) => {
if (event.type === 'horizontal') {
onStart(event);
} else {
onEnd(event);
}
};

const handleVerticalSwipe = (event: GestureHandlerEvent) => {
if (event.type === 'vertical') {
onStart(event);
} else {
onEnd(event);
}
};

return (
<View>
<PanGestureHandler onStart={handleHorizontalSwipe} onMove={onMove}>
<Text>Drag me horizontally</Text>
</PanGestureHandler>
<PanGestureHandler onStart={handleVerticalSwipe} onMove={onMove}>
<Text>Drag me vertically</Text>
</PanGestureHandler>
</View>
);

};

```
In this example, we use the `PanGestureHandler` component from `react-native-gesture-handler` to track horizontal and vertical swipes. The `onStart`, `onEnd`, and `onMove` props are passed to the `PanGestureHandler` component to handle the different types of gestures.

You can then use this component in your app to track swipes on any view:

```typescript

const App = () => {
const [isHorizontalSwiping, setIsHorizontalSwiping] = useState(false);
const [isVerticalSwiping, setIsVerticalSwiping] = useState(false);

const handleStart = (event: GestureHandlerEvent) => {
if (event.type === 'horizontal') {
setIsHorizontalSwiping(true);
} else {
setIsVerticalSwiping(true);
}
};

const handleEnd = (event: GestureHandlerEvent) => {
if (event.type === 'horizontal') {
setIsHorizontalSwiping(false);
} else {
setIsVerticalSwiping(false);
}
};

const handleMove = (event: GestureHandlerEvent) => {
console.log('Gesture moved');
};

return (
<View>
<SwipeableContent onStart={handleStart} onEnd={handleEnd} onMove={handleMove} />
<Text>{isHorizontalSwiping ? 'Horizontal swipe is in progress' : ''}</Text>
<Text>{isVerticalSwiping ? 'Vertical swipe is in progress' : ''}</Text>
</View>
);

};
```

In this example, we use the `SwipeableContent` component to track horizontal and vertical swipes. We also track the status of the swipe using state variables to show a message when a swipe is in progress.
Build a web app for RAG on private data with local LLMs in 3 lines of code
The latest release of https://github.com/amaiya/onprem (a simple Python package to help use/apply local LLMs based on llama.cpp) includes a customizable, streamlit-based Web app for both general prompting and retrieval augmented generation (i.e., to talk your documents) and can be setup fairly easily:

# run at Python prompt
from onprem import LLM
llm = LLM()
llm.ingest('/your/document/folder')

# run at command line
onprem --port 8000

More information and example use cases are in the documentation: https://amaiya.github.io/onprem
Related:

The Tao of Programming - https://news.ycombinator.com/item?id=33210739 - Oct 2022 (3 comments)

The Tao of Programming (1987) - https://news.ycombinator.com/item?id=25031486 - Nov 2020 (63 comments)

The Tao of Programming (1987) - https://news.ycombinator.com/item?id=19023159 - Jan 2019 (57 comments)

The Tao of Programming - https://news.ycombinator.com/item?id=8035332 - July 2014 (43 comments)

The Tao of programming - https://news.ycombinator.com/item?id=1180356 - March 2010 (1 comment)

The Tao of Programming - https://news.ycombinator.com/item?id=963860 - Nov 2009 (21 comments)

The Tao Of Programming - https://news.ycombinator.com/item?id=595501 - May 2009 (11 comments)

The Tao of Programming - https://news.ycombinator.com/item?id=541426 - April 2009 (2 comments)

The Tao of Programming - https://news.ycombinator.com/item?id=185506 - May 2008 (1 comment)

The Tao of Programming - https://news.ycombinator.com/item?id=26907 - June 2007 (1 comment)
https://en.wikipedia.org/wiki/Express_Data_Path
> Have you tried the HF version which is linked on the main page? It is transformer based after all and it is converted to HF format. Just use QLoRA to fine-tune whatever you want on the top of that model.

Is that how their engineers built this model in the first place?

Just because they're giving the build artifact of there hard work away doesn't make it open source.

> Be ready to throw $70k-$150k into air warming.

Just because builds are expensive, doesn't mean releasing the build artifacts counts as open source.
Have you tried Luxon?
Who arrives first is only the first rule. Did you even click on their link?
Eleven Table Tennis. It's so much fun. The controller is the same weight as a paddle, and it's responsive enough to "feel" right. It's really improved my game and is a surprising amount of exercise.
I'm curious if we will reach a situation were the steam punk idea becomes reality:

People plugging weird stuff together like a ai chip from a car into a toaster.

If ai becomes hardware chips it could easily be that language processing will be a chip default feature and the rest is teachable like plugin ai chip level 3 into it, boot it and teach it that it's now a toaster.

But at the end we will have the same toaster in 30 years as we have had for the last 30 years.
> Unless it passes some unknown threshold where it suddenly becomes good enough to suddenly be really popular, they’re still trying to prove relevance.

Depends on what you mean by relevance, 20 million Quest units have been sold which is more than Wii U lifetime sales (13.5 million), and about equals lifetime Gamecube sales and current Xbox Series S/X sales.

I'm sure it's not meeting expectations given how much they have subsidized them and how much they've spent on the metaverse, but I'm not sure I'd say the Quest itself is irrelevant. There's clearly an appetite for it.
What are you even talking about? This is my first reply on this thread, but keep projecting?
Install the best game
https://singingfiles.com/show.php?l=0&u=1704743&id=59207
A 5 minute walk is only about 500 meters. I don't understand how that's even possible outside of a dense city. I've lived in places where you can't even get to the nearest public road in 500m, let alone to another human being. In a lot of the USA, living within a 5 minute walk of your friends means they are "1 or at most 2 next door neighbors down the street".
Thanks! will try it there.
lol, facebook can barely get the glasses to play sound reliably, they aren't spying on you with these glasses.
Perhaps "API design" would be more apt than syntax here
Read the headline and was immediately taxed back to CIX when the Taos guys were teasing their operating system in a conference of the she name.
The Hidden Complexity Of Wishes [video]
That's a terrible example and I hate go for that. It makes writing code iteratively huge PITA. It's error to turn warnings into error. My final code is free of warnings, however having a warning during development, especially so innocent like unused variable should totally be fine. Because I just wrote this code and I need to test that something works and then I'll write the next part.
I have no problems meeting and talking to people. The person you insulted said that they were getting dirty looks because of their non-conformity. Somehow in your mind that became their fault.
This isn't true. For one, it'll not be secret. The LED will be on. Also, these glasses do not match the appearance of their "analog" namesakes. I just compared the Wayfarers on that page to the pair I have right here, and the thickness is quite noticeable. These things are chunky!

I think having it to record snippets of my golf game would be neat. Every par 3 I tee off is a hole-in-one opportunity, and how cool would that be to have that moment captured? Or grabbing some footage of a concert without holding my phone up like a dick. A lot of uses cases for chest-strapped GoPros will switch to these for sure.
If you have enough storage to use as swap, it should.
Could you please not record me while I'm eating a slice of pizza? Fuck absolutely very far off with this.
Deepfake videos are quite terrible right now. The frame to frame consistency for novel created images in series is difficult to do with stablediffusion even with controlnet, etc. Maybe in another handful of years novel deepfakes videos will look real. But right now they definitely do not.

Unless you're reversing your prior point and now talking exclusively about only deepfakes that alter existing video (like face replacement) and not about novel created from scratch video. The face replacement stuff can almost look real.
Seems its excel again lol, they're bringing MS office to the quest
> Why do people like you constantly say "what's the killer app" ever time something new VR comes out?

It’s asking for the use case. If there isn’t a use case outside gaming, there is no value on the table for non-gamers.
Does this include these models outside of the US?
The developers of KiCad are fully aware of these kinds of algorithms.

There is a huge difference between autorouting in VLSI and autorouting in PCBs. There are particular differences:

1) The number of available layers

VLSI autorouting pretty much sucked until you had 5+ layers. You pretty much need local, horizontal, vertical, global, and pad as a minimum and the more layers the better the autorouter gets. Note that this is already more layers than generally exist on most PCBs which are typically 4 layer (upper, gnd, power, lower).

2) Changing layers in VLSI is relatively cheap without obstacle while changing layers in PCB is expensive and creates obstacles.

Changing a layer in VLSI is generally a couple of vias and no big deal. The vias are typically smaller than the metal track (but not always) and generally only connect the two layers in question.

Changing a layer on a PCB is generally expensive. PCB vias are generally larger than the metal trace and generally penetrate the entire PCB creating an obstacle on all layers. Take a look at PCB boards for FPGAs: they are generally 8+ layers and use expensive blind vias for routing breakout. Those kinds of PCBs are relatively expensive, and even those don't lend themselves to autorouting that well.

3) A lesser difference is that for high-speed signals PCB physical dimensions can be on the order of magnitude of the size of the wavelength of the signal being transmitted while VLSI dimensions are typically much smaller.

For example, a quarter wavelength for 6GHz is roughly 1cm which is generally bigger than most chips and significantly smaller than most PCBs. The design considerations for VLSI autorouting generally can ignore differences in routing length or layer changes (but not always).

On the other hand PCBs often need to be length matched fairly carefully for things like RAM buses. They also sometimes need to account for the fact that PCB materials are inhomogeneous--your routing track has different electromagnetic properties depending upon whether it is over glass fiber or epoxy. Thus, your PC motherboard tends to be routed at odd angles like 7 or 10 degrees to average out the effect.

Because of all of this, PCB autorouters are HARD and the KiCad developers have (rightfully, IMO) decided that their time is much better spent on the myriad other features and bugs rather than developing a PCB autorouter.

However, I'm sure that if you were willing to take a crack at it, the KiCad developers would be ecstatic to give a pointer to your amazing autorouter. Just be prepared that it's going to be quite difficult and you're going to get LOTS of complaints about how much it sucks.

I look forward to seeing your efforts.
> But whatever this maintainer could have done better, this blog post also isn't a good look

You are correct, I definitely would not have written that blog post either.

> Making a big deal out of any mistake or conflict is also toxic, as is making rather strong conclusions about a person based on a single event.

I believe what you are describing is formally called the Central Attribution Error (CAE.) https://ethicsunwrapped.utexas.edu/glossary/fundamental-attr...

You are right, I should edit my original comment to remove my speculations that are probably based on CAE but it is now locked for editing.
It's written in a set of Tao Te Ching-style aphorisms for humorous effect. That's the connection I guess!
I've heard from ML engineers at larger shops that reproducibility is key to working at scale. That's how you track down "this training regime went to shit because of something we changed" versus "this training regime went to shit because on of the GPUs training it is starting to fail".
Privacy concern about GPT-Vision demonstrated (exosing location and identities
Link: https://twitter.com/MetaAsAService/status/170679883460343414...

(Just a demonstration to prove that it train on human and understand location - later prompt engineering could reveal more)
Can't you boost the efficiency by using heat recovery?

The steam is very hot, and the condensed fresh water is also pretty hot. You can use a heat exchanger to transfer this heat into your 16°C ocean water, preheating it so the sun doesn't have to do all the work.

This wouldn't mean magically getting free energy. Your output fresh water would otherwise be really hot, and that's where the energy comes from.

Obviously there are limits. If you have 100°C fresh water coming out and 16°C ocean water going in, a heat exchanger will at best average their temperatures to 58°C. You could in theory overcome this with a heat pump, but that's pretty elaborate.

(I'm not trying to design the perfect desalination system here. The point is there may be some easy efficiency wins.)
Citation needed. The best source I could find (in 30s) suggests the WHO neither recommends no discourages drinking distilled water.

https://svalbardi.com/blogs/water/distilled-safety

A casual application of math to the concentrations of minerals in tap water would show you that simply eating vegetables would provide much more in the way of minerals (namely calcium and magnesium). If you drink 2L of 60mg/L Ca and 25mg/L Mg, that's only 12% daily value.

"Unsafe to drink DI water" is a myth. If your diet is that marginal that +/-12% matters, take a supplement.
Thanks for that, I didn't see it in the list and thought it wouldn't be available to just run.
You'll have it within a week or so.

Pretty much all new products that require significant per-user incremental workloads (e.g., in this case, significant GPU consumption per incremental user) do rollouts. It's an engineering necessity. If they could roll it out to everyone at once, they would.
If the extra mile means 100 hour work weeks then I'd say they are being pretty reasonable. I'll hustle at 2.5x my paid hours if you make it worth my while, otherwise it just sounds stupid.
Far too defeatist an attitude and a poor comparison that plays directly in companies that want walled-gardens hands.

Fortnite is an immensely popular game people search for to buy, whereas malware etc are almost by definition not something you think "gee whiz, might go buy that".

For the type of user being discussed it seems very simple to just say/have a setting of "only allow downloads from official app store" combined with the above. Although tbh this may all be rendered moot by AI LLM security style tools that can actively monitor and prevent users from doing stuff like this.
Interesting their fastest backend response seems to be around 500ms up to a full second.
> Java, C#, JavaScript, TypeScript, Python, PHP, Go, Rust, C, C++ come to mind.

Yes.

Unfortunately
There's no perfect answer; there will always be judgement calls that turn out to be wrong, even when made in good faith. You're correct that false accusations of abuse can be devastating to families; missing real abuse is similiarly devastating.

As I've said elsewhere in this thread, I'm glad I don't have to make these calls.
Beat Saber is still hella fun. I know some people that just play that (but play it daily) on their Quest. I'm not sure Facebook is particularly happy about that, however, since those people aren't buying apps or making them much money (maybe just the occasional song pack).

I'm guessing Beat Saber is the only reason the Quest is even sold in Japan and Korea.
Wow this is no game
Interestingly, Garry's father was also an alcoholic so I'd assume he he'd know a thing or two about them as well.
An analysis of the anti-trust case brought against Amazon
I call this the Mike Pence rule. Because as I recall at one point he was in the news due to his alleged behavior of not meeting with other women without his wife present.

I don't adhere to it, but I'm not judging or downvoting you and don't know why others are. I'm surprised other commenters are surprised to be honest.

Surely I'm not the only one who has been subjected to a seemingly endless stream of rom-coms where the protag ditches their SO for their good/best/work friend my entire life? So it shouldn't be surprising that some people are wary after being subjected to such propaganda.

It can be an issue when one person in the relationship has way more opposite sex friends than the other. It's hard for some to admit their insecurities in that situation, so they silently accept it instead of having a fight over it (which probably would have been healthier).
Surrender! to compile

Weather the ferocious storm

You will find true bliss
This person thinks that her sweatshop sales position was a "performance" position for smart people. Really, it was a performance position for social people who could and would stomach abusive hours:pay ratio in a high risk startup.

Beer Taste,
Beer Budget,
Champagne Label,
and a Deluded CEO to the detriment of everyone

"Unlimited commissions" is the type of thing one tends to see advertised on craigslist job offers and is generally code for "no salary of which to speak". It is telling that she thinks that this pay structure was attractive and a brag.
You're talking about streaming/remote control of a PC which can involve significant latency and lag spikes (unless you're tethered with a good USB cable). That is by definition not a stand-alone headset. You're just using it as a fancy VR dongle.

This necessitates two things:

* Your PC is powerful enough to run VR games
* Your PC is in an area that's convenient to play (with plenty of room)

Nearly all Quest 2 users are using it stand-alone. They're not hooking it up to a PC. There's a tiny fraction of users that do the PC VR thing with Steam but that's so small as to be negligible in the overall market.

You're actually kind of making my point: Imagine if you didn't need the PC or the tether and could just play those great, easy-to-mod PC VR games directly on the headset. The market for VR would undergo a massive, positive change.

I'd also like to point out that tethering limits the fun you can have! Example: https://replay.beatleader.xyz/?scoreId=7668607

You can't play Beat Saber like that if you're tethered.
> What is wrong is thinking that you can throw words and/or people around just because you don't see their faces, don't like how they name the variables, or you think you can say anything because you're a nerd/geek/hacker/whatever and these features or adjectives give you license to push people around.

I don't know what you're talking about. Are you talking about the jerks you encountered in life, or the exchange between the OP and the kernel maintainer? Because I don't see any of that behavior, nor anything that warrants the hostile interpretation I objected to earlier.

Have you actually read the email exchanges in question, or are you taking the OP's claims at face value?

PS: nvm, given your hyperbole at the very beginning ( https://news.ycombinator.com/item?id=37677962 ) I probably gave you too much credit for attempting a grounded discussion.
I just don't really understand how allowing side loading on the platform will "fix" anything for consumers. The thinking seems entirely shallow, there isn't even any consideration for how these 3rd party stores will handle permission bits to protect the user's data.

It just seems something that would be really good for large companies like Spotify, and suck for small developers who will still need to rely on the App Store (and its commission) for visibility.

If the EU is so interested in which apps are available on iOS and eliminating any discriminatory practices, then the EU should legislate that the App Store approval process be made independent, heck the EU can run it themselves for the EU-states.
I was thinking of sharing this with some younger colleagues on slack and paused. Is this a little culturally insensitive by today's standards? I work with someone from China and have no idea what their thoughts on using the Tao like this would be. On the other hand, maybe I'm being overly sensitive.
> independent modular systems make it a lot easier to build stuff inside of such a large company

Yep this is definitely true. I sort of saw it as a two birds kind of situation. I wasn't privy to the reasons for c suite decisions but imo they are definitely cognizant of regulatory concerns.
Indeed. The placebo effect is a real and known effect, a kind of psychological artifact. If it didn't exist, testing medication effectiveness would be much easier, as there would be no need for tests to be double blind.

I compare placebo to noise, as in, signal to noise.

I think we shouldn't fall into the trap of thinking that taking/doing a placebo would most often be an effective enough treatment, because tests show that the placebo effect happened. That would be like saying, just use full noise instead of the signal, since tests show they are close, rms wise.
There's very often a large difference between the v1 capability and the long term aspiration, both in technical capabilities and market capture.

Compare Windows 1.0 (https://winworldpc.com/product/windows-10/101) with Windows 10/11.
I kind of agree with your first part. For a while now, I've considered the possibility that a handheld device like an iPhone is actually pretty close to the ideal way humans actually want to interact with a computer. Even though it seems cool as an idea, I don't think people want their experience with a computer to be too immersive--handheld device might be the sweet spot.
I very much doubt it. "Revert Norway tax code" or "add content restrictions for Turkey" cannot necessarily be deduced from the codebase. And there are thousands of product requirements like that.

It might become a better code assist tool some 10 years from now, but it won't be able to implement product decisions.
I'm lucky enough to have moved, but my last home was 4 miles from the closest store, 3.8 miles from the closest sidewalk. The closest bus stop was at the aforementioned store. These numbers weren't even that big for the area where I was living. If I didn't have a car I'd spend too much time coming and going from the places I'd need to be to engage with my community.

I'd say "everyone should try living somewhere they don't need a car", but that's not feasible for everybody.
I also had no idea it was a reference to another movie! I thought Turkish prisons were just known for some sexual connotation.
Honestly it's a great exercise for learning how low level stuff works in general. Happy to answer any questions you have!
Indeed…I’m going to go and take a walk now :)

Thanks again!
It's not that simple. Disagreements are one thing, but the real reason was the conflict and drama that happened when things didn't go his way. The threading approach just happened to be a really good trigger for those conflicts.

Conflicting personalities makes resolving technical disagreements so much harder.
Robust Weakening of the Gulf Stream During the Past Four Decades
Short people will still be throwing phones up
Web browser and Excel are still killer apps for PC. There's way more PCs used for that, than for games.
A lot of kids are spending most of their waking hours in VRChat right now. It's pretty addicting once you have a group of friends in there...