skysight-inc/HackerNews huggingface dataset:
Excuse me if this is a newbie question, but

> In sample(x, y), we only care about the ray of light that passes through (x, y, camera_z). So why bother with all the other rays? We'll shoot the ray backwards! We'll start it at (x, y, camera_z), and at each step, query the SDF to get the distance from the ray's current point to the scene (in any direction). If the distance is less than some threshold, we hit the scene! Otherwise, we can safely "march" the ray forward by whatever distance is returned, since we know the scene is at least that distance away in the forward direction.

Doesn't this assume all the rays are only in the z direction? We are assuming the light source is directly in front of the camera? The code actually only increments z so it's basically only capable of determining occlusion, right?
I would recommend changing the default port of your SSH connection from 22 to anything else and running a tarpit such as endlessh. This is a great video on setting that up:

https://www.youtube.com/watch?v=SKhKNUo6rJU
Of course, my bad, I went too fast.
The entire US benefits from rules only California makes for itself. The entire world benefits from rules only the EU makes for itself.

That very same globalization sometimes causes influence as a pure byproduct.

Regardless, it's not an all or nothing situation. If there are 6000 problems, it's perfectly fine to pick just one of them, and do something that only makes it 1% better. So what there are 5999 other problems? So what most of this one problem didn't even get better because there is some way around it? Tomorrow you just keep doing more of the same and make the current problem 2% better. Or make one of the other 5999 a little better.

All progress is plodding. There is no other type.
What will happen is that the PFAS pan becomes $26 instead of $20. PFAS is not the most expensive part of the pan, only a minor component. A doubling or tripling of PFAS prices is unlikely to price anyone out of getting that pan or raincoat. It's just going to make middle and lower class people cumulatively billions of dollars poorer.
Speaking in a way that is clearly understood, no matter what the accent.

It's lisping, various mannerisms, speaking too fast - sometimes all at once - which I seem to have issues with understanding. Not an English native but I have less problems with understanding oldschool actors.

Sean Connery had a particular way of pronouncing words but his speech was flawless. Bruce Willis has his speech impaired these days and he's speaking more slowly but is recorded until he sounds right. Younger actors say "blahblehboo", smile cutely and this hits Netflix screen.
Yeah poor people know about Bananas for the most part.

You’re gonna need to eat well over ten pounds of broccoli and carrots to get a full days calories. This is going to be something most are going to see more as supplemental, or as means to dip.

Beans and rice are well and good but they’re not actually very nutrient dense. I know people who QUIT rice due to concerns that a bowl of rice raises blood sugar. In fact a lot of the foods you suggested are fairly high in sugar. I’ve known others who quit beans because they’re notoriously harsh on digestion.

When poor it’s hard to get sufficient nutrients or avoid excessive carbs and sugars, and you don’t have the luxury of playing around with things like speciality diets because you just can’t afford to.
Large Earthquake Hits Northern California
These companies often know quite well there is a huge cost they are offloading on others. Evidence for this is seen in the huge sums spent on lobbying and politics in general.
On Amazon, sorting by anything other than "Featured" is absolutely useless.

Instacart will show a couple of relevant items, and then a bunch absolutely random results, some of them being the opposite of what I asked for.

A lot of that is coming from optimizing for conversion. Turns out search isn't supposed to be accurate, it is supposed to generate money. You just happen to be the minority that cares about the exact thing.

Another reason is that search is just... hard.

Though in Amazon's case I bet it's just sheer incompetence caused by monopoly.
I feel like advertising does so much to move the needle the wrong way, as well as services like Uber Eats. No one is out there advertising how great heads of broccoli are...its not a sexy product. But colorful Fruit Loops with 3000g of sugar per bowl that are addicting as anything I've ever come across...now there is a catch. I've also seen a shift of eating apart for families as well, I would be curious to know how many families actually sit down at a table for a nightly meal nowadays.
Deadly Cold in the USA in the coming days
The article goes over what Epic is looking to change in response to the FTC.

- Automatically saving payment data
- Single-button press purchases
- Disabling accounts that seek refunds for fraudulent purchases
- Lack of self-service refunds
- No spending limits for players under 13

All these can be considered exploitive.
Maybe I did.

Perhaps because serial is not a standard.

Even Hayes AT commands (the closest thing to a standard at the scale of MIDI) required knowing baud rate, data bits, stop bits, and parity bits to establish a serial connection.

For me, Bluetooth works much better than MIDI because there’s no setting channels or sending all-notes-off because something hung up.

I didn’t see the comparison because it didn’t make sense to me. YMMV.
Sure, some amount of project management type work is expected when you're an engineer at a higher level (senior, staff, principal, etc). However, that's not the entire role. Before you reach those levels you should have a deep technical knowledge of how to write code and design systems.

If you don't have those fundamental skills, then you're not going to make a good engineer at higher levels.

If you do have those fundamental skills, but have never demonstrated them because you're too busy doing project management work, then why would anyone believe that you have those skills? Demonstrate them somehow.

If you want a role where project management type tasks are the whole role, then become a PM.
That's what eponym means, hence what the grandparent said.
Beauty is a philosophical question that depends on cultural values, so you can't make a general assumption out of it.

For example, 400 years ago small breasts are considered beauty. You can't say the same today and instead had turned 180 into "small boobs shame" among the youth.
Because search results are super competitive and they bombard SE with highly optimized tactics to rank higher even for irrelevant terms.

As as suggestion, try searching (or asking for recommendations) on ChatGPT for the same keyword
I'm not familiar with Ruby, so I have a question: the first snippet has the .close method called while the second doesn't. Does the second example leak resources, or it's automatically closed after a GC in a finalizer, maybe? Does .each close the directory? Or, maybe, .close is a no-op in newer versions?
You could try to put them in a tar pit!

https://github.com/skeeto/endlessh
These are some big facts. The down-voters may lack some historical perspective.
Small sample, but I’ve had two personal trainers and both of them looked like a neanderthal had just been hit by a truck.
I dislike SD cards, too. I think Compact Flash is OK, although it might be better with a hardware write protect switch.
I wish Mozilla would explore paying its CEO less and putting Rust, Servo, and embedding Firefox through the Chrome Embedded Framework (CEF) at the forefront of their projects. We can do social experiments when your org and its projects aren't fading into niche communities and disuse. Wasteful organization with terrible leadership.
No my argument is that just like America decided that rare earths mining was gross and messy, therefore offshoring all of these strategic material production to their geopolitical foe, the same thing is liable to happen to other components and chemicals. Note that PFAS has a lot of military applications.

Out of sight, out of mind right? Until you really need it.
First:

> BTW nowadays I mostly work with IntelliJ, but sometimes a script is still the best way to understand the code. For example grepping the git blame output is often very useful. It's never 100% reliable, but it's often good enough.

I see we are on the same page : )

> It can with a proper regex. Mostly. Depending on the language, your patience, and the amount of false positives you are comfortable with.

For everyone else: in any of the three big Java IDEs, and in a number of other cases, you don't need much patience or tolerance for false positives, at least if your code isn't too unreasonable (with any sufficiently expressive language you can of course always fool it by somehow accessing things dynamically).

> I did sth like that (I had bash scripts for common programming "refactorings" and "queries" like "print all classes and methods where this variable is used"). I couldn't use a modern IDE cause we were programming on a legacy linux server through ssh for licencing reasons.

This is awesome!
> No, people buy more wealth with it. There are more and better ways to do that if your budget is larger.

Some will invest it, some will spend it. That's how it's always been. I'm sure you know some people with good incomes that still live paycheck to paycheck.
For me, I simply started tracking what I ate in terms of calorie count, and didn't focus so much on the day to day/week to week weight change. It helped out a lot in generally bringing to light what a "big" day looks like and vice-versa.
I’m also from South America and my observation is that it’s not an issue for almost all people. The only people that I’ve ever seen make it an “issue” do so to try and be pompous to some gringo. They don’t really care. It’s meaningless flexing.
Some kind of weirdness is in almost all search-engines. I recently wondered why our backend search based on SQL Server would not return the expected results, turns out that for some reason, it has a stoplist that includes a ton of Roman numerals (also written out numbers twentyone, twentytwo… I have no idea what the thinking is there), so searching for "Sony Alpha III" is exactly the same as searching for "Sony Alpha IV" because III and IV are neither indexed nor searched for.
2022 was the year of Linux on the Desktop
If I may intrude, the Internet is filled with charlatans creating subliminal content. Some use "Free" Audacity and Nyquist filters to build and hide complex subliminal messages in music, recording TV and more. Try a movie weekend, with a few plausible friends. Have various subliminal chants, embedded in movies, CDs and birds tweeting, calling you the Übermensch, and describing why. See what happens and report it here.
Partly deliberate revenue maxxing, partly SEO infosphere pollution, and partly the underlying technical elements of poorly (for the user) implemented embeddings, that have now largely replaced keyword based search. Tldr of the latter mechanism is multiple words share the same vector space representation so you often don't get what you want, but always you get what the model suggests you need. https://en.m.wikipedia.org/wiki/Word_embedding
I used an app with a barcode scanner and a huge library of products. It not only tracked calories but gave a nice daily count on fat, protein, carbs and sugar. Simply staying under 2100 calories will drop your weight. No doubt!

However, if you want to be able to maintain that long-term, you need to figure out what to eat so that you get the right balance of carbs, sugars, fats and protein. If you don't then you're either gonna be continually hungry or malnourished (or probably both).

By using the app long-term I developed a set of recipes (that can be modified so I don't get bored) which make up my foundational diet. This is now sustainable without the app, and without cognitive load or will power.
ChatGPT got all the buzz, but beneath it is a $1B developer framework
Well, considering porn is opposed hard on religious ground and most countries are more or less influenced by religions, especially Islam who respond the most on it, not really.
Their profit margin is also a huge factor.

> Nikkei Asia’s analysis shows Tesla made $9,570 per vehicle during Q3, enough to make Tesla more profitable per vehicle than any other manufacturer on the planet. However, the report states this is unconfirmed. Toyota made only around $1,200 per vehicle.

Basically investors see Tesla as the future Apple of cars.
In Google put your phrase in quotes and it’ll find the exact word or words
I didn't know this. TIL! Thx.
Could such chemicals be subjected to a special type of regulation where they can still be made, but only for very specialised uses that seem worth the risk somehow? Is there a precedent for that?
93-year-old left ‘screaming in pain’ on floor during 25-hour ambulance wait
It depends on demand elasticity. Products with very little demand elasticity like energy or medicine just make everyone miserable and worse off when production is cut, because you can't live without them. Yes you can scrimp and save and stretch your dollar, but at the end of the day you have to pay up no matter the price.

I'm not sure that anyone knows what the demand elasticity for an industrial chemical like PFAS is, but it's obviously not a completely discretionary item.
Most people don't actually understand the problem space. You don't even seem to understand the problem space, given your closing line:

I would be curious to know how many families actually sit down at a table for a nightly meal nowadays

The entire point I am making is that we are moving away from a life that revolves around the nuclear family. Many households in the US today have one to three members.

If you live alone or as part of a childless couple or are a single parent, etc. then this cooking from scratch "the way my mother did" just doesn't actually logistically work. And I see the evidence of this over and over and over in online forums, from comments to questions about how to cope with various aspects of the issue.

People are not happy with the way they eat and they don't know how to fix it. And the solutions we come up with are often not really very good solutions.
Calories out means exhaling carbon dioxide (that's the end of the chemical reaction chain of burning fat). So exercise certainly helps.
You're an engineer at Google working 60h weeks meaning either Google is scamming you or you're scamming yourself.

And more importantly, you and I as engineers are going to operate in drastically different mental spaces than someone that has to work 60h weeks solely to survive. Someone that needs to work between multiple jobs, or deal with physically intensive jobs or customer facing jobs are not going to able to turn off after work as easily.

My parents were fishermen and would spend way more than that out in the bay due to the necessities of the job. When you're done with that work, after hauling bait and working on the boat you have zero energy to do much else afterwards.
I rarely use Google, but my experience was always that quoting still worked.
Keep in mind that...

> The model is able to reference up to approximately 3000 words (or 4000 tokens) from the current conversation - any information beyond that is not stored. (https://help.openai.com/en/articles/6787051-does-chatgpt-rem...)

So if you overflow that it'll loose context.
I try really hard not to use single use plastic. Especially plastic bags, plastic bottles, etc. This frequently means I’ll be extremely thirst throughout some days but will wait till I get home or to work to drink filtered water out of the tap.

I went to Las Vegas about a year ago on a work trip and realized that the hotel I stayed at uses more plastic bottles in an hour than I would use in my lifetime with no thought to conserving them.

All this to say that tragedy of the commons is an extremely hard problem to solve, even when you know about it and care.

I constantly repeat to myself “no single drop of rain thinks it’s responsible for the flood” and try not to think of that Vegas hotel.
Sweden and Norway are both part of the European grid, so excess power can be exported to Germany, the UK, Denmark, Poland etc where it can replace coal/gas based power. (In fact Norway and Sweden are required to do so as part of the ACER agreement.)

For now, that makes a lot more sense economically AND it replaces more carbon emissions per kWh.
The vast majority of users are not technical. They don't want keyword search, they want to find the information they're looking for. In that sense, they treat a search box more as a chatbot rather than a literal search tool. That is, they want something more like ChatGPT, not Google. That Google doesn't yet offer this functionality is incidental (it does sometimes and for limited use cases, such as surfacing weather details or lyrics, not pages with the literal words "X weather" or "Y lyrics").
> One person being a landlord does nothing to prevent others from owning property.

In the sense that land ownership is zero sum, yes it does.

> Housing is no more a scarce resource than cars are.

That’s simply not true. In any given market, there’s a limited supply of housing, and it’s much more inelastic than the supply of cars.

> Or, at least, that would be true if the US weren’t covered in laws preventing new housing. There’s your actual bogeyman.

Who do you think is lobbying for these laws? I’ll give you a hint: it’s the people whose property gains value if there’s less to go around.
Wow - how did you manage to get that opportunity?
Yes, the browser game market is dead except for gambling and education - that’s because browser games run instantly with 0 installation.

Almost no jobs. However, if you can find them they pay much better than Unity/Unreal jobs because html game dev is such a rare skill. The decision tree you need to follow to end up as a html game specialist is so fraught with distractions almost no one ends up there.

But, for those who do I recommend Phaser.
What it’s like to wear the Dyson Zone
Technically, Blackrock and Vanguard own the means of production. We gave them the capital to do so through our pensions and 401(k)s. My 401(k) menu doesn't include ESG funds, but those that exist have higher expenses and lower performance than an indiscriminate index fund. If the regulators have been captured by lobbying and revolving doors to industry, the only option left is to vote with your wallet, but that's easier said than done.
As far as I can see it the single most important thing about Mozilla today is that they keep alive one of two mainstream renderers that aren't owned by Google.

I think everyone who has followed the industry for long enough knows that if Chromium is the only option then Google will abuse it some way or another.

For now at least there exist two other teams outside of Google that knows how to create browsers and two working codebases so one doesn't have to start from scratch.
> and only a small fraction of that is relevant to most people in 2022

How could you tell, when most of it hasn't even been seriously looked at by anyone? Good cataloging is key to making existing material more relevant to more people.
I recently watched Rings of Power, and I found the dialogue nearly impossible to understand without subtitles - everyone was so quiet all the time, almost whispering to each other, and almost never speaking towards the camera, so I wasn't getting the aid of seeing the sounds they were making either. The Numenoreans were ok usually but no one else was intelligible without subtitles. It happens in movies a lot too, mixing is often done to prioritize effects & music, rather than people actually understanding wtf anyone is saying.

All this to say, I turned on subtitles within one episode and it made for a much better viewing experience. Once I was able to read along I had no issue at all understanding the words too, but without the cue it was impossible.
Said someone who only takes pictures in broad daylight. Even with modern tech and 100 watt light bulbs, you get enough motion blur and/or noise to ruin most shots indoors. With film that maxed out at ISO 800 and enlarger as the only postprocessing tool, forget it.
I wish Stable Diffusion had focused on more fine art and professional photography in their training corpus, like DALL-E did in its own one. All outputs I've seen have a decidedly low-quality or amateurish look, which must have been picked up from somewhere.
I visited Virginia twice this year to be with family for a medical emergency. First visit I was distantly aware the foxes we knew from childhood placenames had become more present. Bringing my pup this fall it was astonishing. The foxes are EVERYWHERE, and they’re appropriately cautious about contact but otherwise happy to be about town if you’re not a hint of a threat.

People say they’re overpopulated, but mostly because they feel inconvenienced by habitat that was there before them and has adapted to them almost invisibly. You MIGHT hear them from a porch if you know what to listen for. You’ll only see them if they don’t feel threatened too. Whenever I asked, people who were concerned about their presence were very surprised to hear I’d seen them pass through. They didn’t mind me and my visiting city pup sliding through along with them though.
I am struggling to understand this. You wrote a big check to a family member, they didn’t cash it for awhile, and when they finally did cash it you didn’t have enough money in your account and got hit with fines?

That does not sound evil. And how big were these fines that you’re claiming it took a quarter of your life away?
Thinking, which is a word we should also ban because it is a list. Instead you should use the word “feel”

Unless of course that is ableist against us autists.
You’re quite right. OP’s rewrite contains a bug: it leaks one file descriptor per invocation. The correct version passes a block to `open` directly so that it’s automatically closed when the block is done executing. Maybe golfing down to be “idiomatic” isn’t always best :)

Dir.open('.') do |dirp|
dirp.each do |f|
puts f if f.match?(/\.rb\z/)
end
end

https://ruby-doc.org/core-3.1.0/Dir.html#method-c-open

There are a few ruby stdlib classes like Tempfile that use the finalizer trick you mention to free resources on GC but Dir isn’t one of them. Here’s it’s implementation:

https://github.com/ruby/ruby/blob/1a24442193fe437e761e941d1a...
> this thing is a bit complicated.

Oh gods. I wrote our public search backend in ES a few years ago, then months of fine-tuning followed (whenever one of my coworkers searched and weren’t happy with the result). Today I barely understand what anything in the code is doing, but the results are good…
A high quality, well seasoned cast iron pan will allow you to fry an egg while said egg slides around the pan as if nonstick.

Not every pan is capable of this, and meticulous care is required to keep it in shape, but I became a believer in non stick cast iron when I first met a pan that could do it. I had used plenty of "stickier" cast iron pans before and my perspective shifted a bit.
I think the Open Sound Control (OSC) protocol addresses some of the issues with MIDI 1.0, like higher resolution values, tunings beyond 12-tone equal temperament, etc., without the complexity of MIDI 2.0.

> OSC's main features, compared to MIDI, include:

> Open-ended, dynamic, URI-style symbolic naming scheme

> Symbolic and high-resolution numeric data

> Pattern matching language to specify multiple recipients of a single message

> High resolution time tags

> "Bundles" of messages whose effects must occur simultaneously

https://en.wikipedia.org/wiki/Open_Sound_Control
Under normal usage, google will search for synonyms of the keywords you typed. But I have never experienced it ignoring quotes.
> ad-hoc wireless networks in public places.

I wonder if this popular 2001 rumination on the difficulty of source attribution in public local networks had any influence on said preference: https://www.youtube.com/watch?v=TVdoQ2fmIYs