skysight-inc/HackerNews huggingface dataset:
For first, I was hoping to omit obvious optimization like splitting unclosed locals into a stack for the simplicity of the conversation, to arrive at a conceptual model for upvalues. That's going to be clearly impossible. That's most of your first paragraph. The Lua C API … almost serves to muddle the issue. (The stack there is … an artifact of the API, really? from a point of view trying to model the language.)

(A corrected version of your counter-example:

function f()
local arr = {}
for i = 0, 5 do
table.insert(arr, function ()
return i
end)
end
return arr
end

I've also changed the constant to make it reasonable to run, without creating an enormous table.)

That's good counter-example, and does run counter to my intuition. (The behavior I describe, e.g., in Python, is different; the closures in Python all close over the same variable.) One might be able to boil this down to instead using "scope" where I was saying "stack frame". (The difference being that for loops in Lua create scopes, vs. Python, where they do not. IMO Lua's is the better of the two options.)

To combine the optimization in the sibling thread (that I was attempting to avoid for simplicity's sake), then the implementation could be a stack of scope-ishes, consisting of the unclosed variables only, and then optionally some structure under GC, containing the closed-over variables (none, if nothing is closed over). The scopes on the stack would need to know of the (potential) GC object holding the closed over variables; a (normal) use of `i` here would have to look up the same `i` as what the closure hold, and as you note, cannot live on the stack.

… this is where, again, I think a diagram would help. I don't know that terms like "upvalue" and "activation record" help build understanding of Lua to new practitioners, and IMO, do more to obscure it. (This isn't your fault, ofc.; these are the terms Lua itself uses for these concepts.)
The author is too kind. I don't know why you should bend over backwards for anti-social folks, it just allows them to perpetuate their bad behavior.
The court awarded attorney fees of 20% of the overall (minimum) award in this case, which came to about $77 million. This is based off a $380.5 million minimum settlement fund (under certain conditions the fund can go up to $100-something million higher).

source: https://www.equifaxbreachsettlement.com/admin/services/conne...
Exactly. They are constantly defending their petulant oligarchs as if they have some moral high ground.
That article is just reheated dualism mumbo jumbo that the comments shredded up. Its author is not a serious person. Pearl, on the other hand, has made plenty of useful contributions.
If you're interested, shoot me a mail to my indicium email address in my profile
Docker compose is a dead end AFAIK, it's not deprecated or anything, but the community power behind it has essentially moved to other things (Kubernetes, but also wasmer, nomad, skaffold).

While Docker Desktop / Podman / Rancher Desktop combined with stuff like Skaffold aren't exactly a drop-in replacement for docker-compose, it does do a much better job at bringing up and tearing down entire compositions while re-using existing packaging and access controls.

If you are running docker-compose for non-development things, it might be a different story; it might be suitable for non-GitOps things, but as posted elsewhere, at that point you're better off using something like systemd.

When composing really small setups I either do this with a shell script (think 10 lines including trapping exits) or a systemd unit. Whenever it needs to be bigger I nearly always end up with an actual scheduler (K8S, Nomad) and GitOps because you can't really deliver something maintainable, available and durable anymore without it (well... I suppose if you have only 1 project to deliver, forever, you could manually manage it).

It does get a whole lot easier when you have a common foundation you can re-use. Spinning up an entire stack with security, monitoring, alerting, automatic rollouts/rollbacks for even the smallest project is just single-digit minutes work now.

Pulling in some other factors: how sharable/collaboratable is something these days if it is not built on similar enough technologies and modules? A solo yolo project might not care much about this, but when was the last time someone asked for software that is risky and not durable?
Well, whenever your population of halderia is big enough, you can dial up the radiation a bit. Most mutations will be bad, some might be good.

When you need the population size to recover, you dial down the radiation a bit.
There were literally hundreds of languages around when the ALGOL 68 effort started, so there was lots of experience to draw from.

Both the lack of concrete syntax and the 2-level grammars were disputed at the time, and one might remember that Wirth and Hoare designed ALGOL W as a reaction against the ALGOL 68 effort. (I liked both languages, silly me.)

My original comment was not intend as snark against the ALGOL 68 designers, but rather to point out that the language had a lot going for it, even with these serious flaws. But as is often the case, we learn more from mistakes than successes.
I’ve worked at companies where they’ve done a “spring cleaning” like this, I guess no one thought to turn it into a branding pitch and call up the media though
Based on OP's handle, I would guess optimally
Check the outbound IP of the physical machines sending the mail, and any other potential identifiers in the raw email which might have poor or zero reputation from other parties. You aren't graded just based on the official crypto signatures.

Also, did that domain ever send shitty emails? Opt-out marketing is the most common offense I've seen from otherwise above-the-board businesses (no matter how justified you think you are or how great your product is, no rando wants to hear from you, and your paying customers definitely will be pissed off that they paid good money and still have to filter out marketing for the privilege of using your project -- you'll definitely end up in the spam bin).
Careful. What seems to really happen is they jack the base rate up a bit, and their threshold for safe driving is “never speed, at all, or use more than 10% throttle or 25% brake”
Could you share some specific tactics/metrics you've defined to measure things like roadmap churn or unexpected feature demands?

This problem definitely resonates with me, and I have some very primitive ideas of tracking (i.e. tagging tickets that fall into these buckets), but I would love to learn from your experience if you're willing to share!
I personally not worried about anything. I'd immediately go for something that's like Japanese zoning and probably actively penalize sprawl. However, I'm trying to steelman the NIMBY fucks.

> The worst case is that they park your cars in front of your trash cans on trash day and it doesn't get picked up?

Future buyers might be worried about that or they might worried about the thing becoming a crack house or other xenophobic shit. I know lots of people who for reasons I don't agree with or even find appalling don't want to live next to an apartment building.
Oh excellent call and i definitely overlooked that (and understand just what you wrote) right under my nose.

Gratias ago
if that's true, how is every single tracking pixel on the web not in violation of the GDPR?
(Edit: the tearing is not visible through the device, so quite a bit less damning than I thought.)

The tear and color lag on this picture of a moving chart is damning: https://i0.wp.com/kguttag.com/wp-content/uploads/2023/01/MQP...

As is this quote:

> I also ran a small experiment where I sent a camera flash off in a dimly lit room and measured the delay with light sensors using one sensor to trigger an oscilloscope’s capture and the second light sensor to capture the display response. It typically took a little over four 90Hz frame times (~40 to 50ms) for the flash to show up on the image.
> That's great for the warmer side of the state but most heat pumps don't work great when it's 10 below - they approach zero efficiency the colder it gets.

Mitsubishi heat pumps with the "Hyper-heating inverter" technology are above 100% efficiency down to -15℉ (-26℃). They are 200% at 0℉ (-18℃), 300% at 32℉ (0℃).

Their capacity drops from 100% at 23℉ (-5℃) to 76% at -13℉ (-25℃).

Fujitsu has similar technology, as do a few others now.
Maybe this is naive, but the way I see it is: more architectures = more room for innovation. Ultimately RISC-V will allow for more competition in the CPU space, driving down prices for consumers.
The author persistently conflates AR and MR throughout the posting, evaluating the Quest Pro as an AR device but the concluding at the end it's a terrible "MR" device because it failed at their AR tests. It seems to suggest they really think these terms are synonymous but they aren't. While AR aims to enable display and interaction with the real world but with augmentations, MR aims to bring virtual objects into the real world and allow you to interact with those. You really don't need such a high fidelity view of the real world to do that. The virtual objects are rendered with very high fidelity.

I am fairly confused by the low res cameras used in the QPro. I have to assume Meta were just heavily constrained by the need for them to do double duty as tracking cameras and pass through cameras, so higher quality cameras just weren't available. But why only a single color pass through camera? This really doesn't make much sense other than if you allow that the processor on the Quest Pro is so limited that even if it had both feeds it probably couldn't process them.

I think it's actually great news that there is so much optimization left to do. Seems like they should be able to improve it a lot over time, and in the meantime it's pretty adequate to enable exploration of some unique experiences.

edit: VR => MR
I would say yes. Maximize your income/take as much as possible while you are young as opportunities will evaporate one day. I've been unemployed for 8 years and can't even get blue collar jobs because I've always been a white collar worker. I literally have decades of experience working for high profile fortune 500 companies managing commercial web site and software production. Now everyone wants programmers or lead programmers they can pile management or design tasks onto, or just project managers or scrum masters or business analysts or product owners, not someone whose job has been to do all of those things and needs to level up.
Many of the tools don't attempt to handle the challenges mentioned here
SEE: https://doc.rust-lang.org/book/ch17-01-what-is-oo.html#:~:te....

"Using this definition, Rust is object-oriented: structs and enums have data, and impl blocks provide methods on structs and enums. Even though structs and enums with methods aren’t called objects, they provide the same functionality, according to the Gang of Four’s definition of objects."

So the maintainers of the Rust language documentation at https://doc.rust-lang.org/book/title-page.html
seem to disagree with your statement.
> It’s not an equivalent system if borrowers can just conveniently forget to mention the other loans they didn’t repay

Which is, of course, what we currently have, except it's the businesses who are able to "conveniently forget to mention" instead of the borrowers.

I pay myriad bills on time and in full every month, but only three of them--all loans--report my positive payment history to credit bureaus. Yet all of them, from mobile phone providers to landlords to utilities to insurance companies, insisted on being able to look at that payment history. They get the benefit of being able to evaluate me on an incomplete set of data; why shouldn't I get the return?

(The answer as always is that we don't have any leverage. Simply saying "well, then don't use those companies" is a non-answer when every company does it the same way and all of them lobby government to keep it that way.)
Twitter Let the Intelligence Community In
Twitter managed that on their own; is down in Australia at least.
Well, the Windows APIs date farther back than NT.
Would have loved to read how much money they saved from this migration. The number's not there, unfortunately.
> but masculinity means changing your own tires

Does it? Does it also mean not cooking & cleaning? Never crying? Watching sports? Not changing diapers? Never eating quiche?
If you take humans to be the Mark 1 self aware computer, I would argue that they are not commercially useless. Why would Mark 2 be useless?
> it appears that peer review may be ideal for limiting shoddy science, [...]

No, it's far from ideal for that. Just reread the grand-parent comment.

Btw, putting your paper on arxiv is an alternative to traditional journals.

They call them 'pre-prints' there, but it's essentially a model where you publish first and then have the peer review from any interested party.
> after hearing that the Pro wouldn’t have much of an upgrade in that department

Not sure where you heard that, the Quest Pro absolutely offers a massive upgrade in the viewing experience, specifically for the case of virtual monitors. It's mostly in the lenses but it's an absolutely huge difference.
Well... The setuptools package was around for way too long.

I never managed to get data files packaged into a dist elegantly... annoys me to this day.
But what if you have CS-related hobbies as well? Like learning a new programming language or writing a software of interest? How will you manage it? I'm like you. After 8+ hours of coding, I don't have any energy left for coding. But at the same time I also have coding-related hobbies which I never get a chance to work on, due to not having any mental energy left.
There is nothing stopping a company from offering credit using this strategy. They don't have to source their credit rating from an existing credit agency.

Why would someone want to give credit this way, though? If the rating is provided by a company that is paid by the person requesting credit, why would the company giving credit trust it?
Interesting, my first experience with the Vive was mind blowing and I left thinking that VR was the future. It’s quite an outdated headset now.
Location: New York City
Remote: Yes
Willing to relocate: No
Technologies: Python, Flask, Java, Hack, GraphQL, Chatbots, Elasticsearch, Google Cloud Search, AWS, S3, AWS Lambda, React, HTML/CSS, Github
Résumé/CV: http://www.chrisbora.com
Email: borachristian@gmail.com

About: SWE at one of the FAANGs
Can confirm, I've returned mine
Could try Nix with Agenix. Modularized and composable, and secrets can be stored encrypted in git.
I had to laugh because you typify so much the average commenter about VR ... "I tried it once for an hour and here is my essay writing off the whole field".
I got $7.05!
> For someone with such low karma [...]

You have 129. What are you doing criticizing the karma of others? Karma doesn't matter, they're still right: "Please don't post shallow dismissals"

> Those guidelines, btw, absolute shit, I'm sorry to say. They degrade the quality of conversation around here by devaluing passionate debate.

No, shallow dismissals like what you did are what devalue debate.
Usually the lawyers make most of the money.

My favorite is that in church sexual abuse scandals the victims see close to no money, but the lawyers always get paid.
Wasmtime 4.0
Isn’t it rather prudent to also wonder whether such a marriage is worth preserving which requires one to walk on such eggshells? I mean beyond the usual “but I love my… adjustments.. you know you know.. ” trope.
No, I am not making that assumption in any way.

I might not have been clear enough. I am saying that it is incredibly wasteful for the government to directly subsidize consumer solar when installed and then later forcing less wealthy consumers to subsidize their wealthier neighbors. If the government wants to encourage the development of solar power, those subsidies should have gone to encouraging grid based solar which costs a small fraction of the cost of one off consumer solar panel installations. A dollar tied up in building a one-off consumer solar installation is exactly a dollar unavailable for building out utility grade solar.
Confirmed still down in Australia two hours later. (I'm on the NBN, with Aussie).
Apple Keyboard Settlement is targeting $300+ for people who had multiple repairs (free repairs) on their keyboards.
Off topic. The poster asked for advice on how to be more productive, not how to lead a meaningless, wasted life.
Someone fill me in - are all my understandings here correct?

1. ARM is a RISC architecture, but it is proprietary/licensed, subject to export law, etc.

2. ARM is having a heyday, powering just about every mobile device, plus Apple's recent M1/M2 chips, and is also becoming more common on supercomputers and on servers

3. RISC-V is also a RISC, as the name implies, but is owned by a non-profit and intends to be open and easy to license

So next I would ask, do recent developments that make ARM so promising also make RISC-V promising? Do the decades of work that it took to make ARM the rising star also apply to RISC-V? How far away is RISC-V from being competitive with ARM at a technical level? Or is it already there?

Bonus question... given that both ARM and RISC-V have similar goals, how feasible is an abstract layer on top of them? Meaning, five years from now, how possible is it that I have a RISC-V phone that can run ARM binaries, and and ARM phone that could run RISC-V binaries?
I've found that companies where they've done this (hotlinked) often have incompetent or overburdened people, and this shaming wouldn't even register.

Hotlinking code like that though is just plain stupid from the liability perspective. If they are a business, they should be worried about 3rd-party liability.

The fact that they are doing this makes the website hosting the script, a nice juicy target for watering hole/supply chain attacks.

What are they going to do if that happens? Its not like business insurance will cover that.
Maybe a premium paid credit agency could be a thing?
Once, I and three other candidates were asked to write a white paper as part of the selection process. We were given two weeks to complete the paper and access to certain company information, under nondisclosure of course. The position was rather senior and the executive search firm was highly reputable. So we all participated. There were a few follow up questions on our papers. Roughly, a month after papers were submitted, we were informed that the company had withdrawn the position and terminated their relationship with the search firm. Beyond the fees paid to the search firm, the company incurred little expense for very experienced consulting. Unethical to say the least.
Wow build a better human and all that.

Eugenics all over again. Are you serious or is this sarcasm?
The worst software I have ever seen in my 30+ years career is a 20 years old micro-services system. Basically the worst spaghetti code you can imagine, distributed over 150+ micro-services.

I have worked on a monolith that solved the exact same problem. And it was straightforward to maintain and upgrade.

I feel sorry for future developers who will have to take over and maintain micro-services systems created today. Teams that can’t create maintainable, well designed monoliths, will create an even bigger cluster f** using micro-services.
I hope you didn't ask ChatGPT itself, because it will quite happily lie about things that it doesn't or cannot do.
That's what I have been doing mostly. Socialization, passive stuff, etc. But sometimes I'm not happy about not spending time for personal hobbies (due to the mental energy thing).
You’re rich! Time to buy an island and retire in style
> Unfortunately, the resources I've found have left much to be desired.

Yeah most textbooks out there are pretty bad (aim to cover the standard curriculum, which is not very useful for most practical statistical analysis tasks).

Recently however, there has been a growing number of teachers/educators adopting the "modern statistics curriculum" based on resampling methods (bootstrap estimation and permutation tests), so you should look for those if you want a review that is more friendly to learners with a coding background.

I have another google doc where I've saved the best links to learning resources, you might want to check out while waiting for the book (it might take a while!): https://docs.google.com/document/d/1GWyuNC4qCL5ecYSoY6GxvuhO... In particular the talks by Vanderplas and Downey in the section "Tutorials > Resampling methods" are all excellent.

Also, here is a four-part video tutorial + notebooks that I prepared, which gives an overview of all parts of modern curriculum (from data management, through prob theory, to stats modelling): https://nobsstats.com/stats_overview/README.html
I did some calculations this morning after reading The Information's (paywalled, sorry) article [1] on the Apple VR device which has 4K per eye resolution. My 27" 4K monitor sits about 28 inches away from my eyes on my desk. This translates into about 46 degree field of view, or about 83 pixels per degree. I can't see pixels at that distance.

If we take 60 pixels per degree as the Apple "Retina" standard, and if we assume that the field of view of the Apple VR device is ideal (120 degrees), then we would need a horizontal resolution of ~7k to match my setup at the "Retina" standard. If you compromise a bit on FOV, you can squeeze it down to 6k, which is within the reach of "today's" current display technology [2].

The Apple VR device is rumored to be powered by some custom silicon with foveated rendering optimizations (render only what you are looking at with the highest resolution) and is maxing out an M2 class GPU with unknown # of GPU cores on the device per The Information article. A doubling of GPU performance may get us to the 6K display per eye, optimistically the v2 of the Apple VR device?

[1] https://www.theinformation.com/articles/inside-the-tech-powe...
[2] https://www.roadtovr.com/pimax-reality-12k-qled-announcement...
I'm not a marketing person. I have no idea how they'll address past bad behavior, dispel common myths, or educate about fundamentally new technologies that eliminate old problems. I'm just saying they'll eventually have to do it.
You must install a government mandated app on your cell phone, identify yourself to it with your real identity, and then give it information about your porn consumption habits.

What can go wrong?
Except they'd claim you maliciously did it and caused economic damages by breaking their system and then bring the lawyers in.

Pretty much the same narrative as what that Liberty Liberty Liberty guy did when he upped the semver noting a breaking change and pushed it.
you _could_ do it Plaid-style, where you consent to share your history (either raw transactions and liabilities to run through a model, or a pre-calculated score) with a potential creditor. That would solve the formal consent problem. But the essence of it is the same: unfortunately, you have to furnish your verified history to every creditor rando if you want their money.
This comment is hard to understand.

PCI-DSS is not a government body, nor is legally mandated by the government. It's not the government.
To avoid outages, just scale up the number of app instances to like 2 or 3 and choose a diverse geography for them.

Outages is not something specific to Fly. For example, if you have an app on Azure and it has only one instance then... well, you asked for it to go down from time to time.

Maybe not a big deal for hobby projects, but for business critical stuff one should always consider deploying several instances of the same app when possible.
It literally never says AR. It says "mixed reality". In mixed reality, the pass through (real world) quality is secondary to the virtual objects that are rendered within it. These virtual are rendered at high resolution, hence we have "high resolution" mixed reality.

People seem to just not understand that mixed reality is different to augmented reality?