skysight-inc/HackerNews huggingface dataset:
The last time I encountered GC issues in gamedev, we were seeing 100ms GC pauses (that's 6 dropped frames at 60fps!) every 30 seconds or so. We had poor insight into why, and what we could glean of "why" was that it was a widespread problem with how our designers were prototyping stuff in JS (more specifically, they were writing it as regular JS, instead of jumping through hoops to try and relieve GC pressure through pooling objects) with no clear single cause to blame.

Other issues I've seen include nondeterministic GC sometimes failling to garbage collect one level before we loaded another, OOMing the game. Have you ever forced a GC three times in a row to try and ensure you're not doubling your memory use on a memory constrained platform? I have. (This was exacerbated by cycles between the GCed objects and traditionally refcounted objects - you'd GC, which would run finalizers that would decref, which in turn would unroot some GCed objects allowing them to be collected, which in turn run more finalizers, which would decref more objects, ...)

The last time I encountered a similar (de)alloc spike in a non-GC gamedev system was much longer ago, and it was a particular gameplay system freeing a ton of graphics resources in a single frame, when doing something akin to a scene transition or reskinning of the world - which was easily identified with standard profiling tools, and easily fixed in under a day's work by simply amortizing the cost of freeing the resources over a few frames by delaying deallocs with a queue. More commonly there were memory leaks from refcounted pointer cycles, but those also generally pretty easily identified and fixed with standard memory leak detection tools.

The problem isn't GC per se. It's that most/all off-the-shelf language-intrinsic GCs are opaque, unhookable, uncustomizable, unreplacable black boxes which everything is shoved into. malloc/free? Easily replaced, often hookable. C++'s new/delete? Overloadable, easily replaced, you have the tools to invoke ctors/dtors yourself from your own allocators. Localized GC for your lock-free containers ala crossbeam_epoch? Sure, perfectly fine. Graphics resource managers often end up becoming something similar to GCed systems on steroids, carefully managing when resources are created and freed to avoid latency spikes or collecting things about to be used again soon.

But the GCs built into actual languages? Almost always a pain in the ass.
I'm limiting it to U.S. citizens (soldiers) because I can with some confidence say that U.S. policy at least can be traced as a cause of their death.

No, I don't think US citizen's lives are more important defacto, but I don't see all lives as equal either, for the record.

Oil/greed fit the leftist narrative, but I'm not convinced, and since you made the claim that it's about oil and greed, the onus is on you to prove it! I don't have to provide motivation of my own, though I suspect two planes crashing into a building might have something to do with it.
Because the third 'corrupt thing' operates in favor of the employee.

Instead of the corrupt company doing everything it can to exploit employee labor, it has to fight the corrupt union doing everything it can to exploit the corporation. Otherwise if you want to argue that we should remove all corporations like we do unions because of their corruption, then I'd be all for that.
I briefly worked in the insurance industry in Canada. FWIW in my experience the industry is incredibly backwards. I wouldn't expect their prices to reflect anything meaningful about climate risk. Quite the opposite. I rather think that the industry is jumping on the climate change band wagon precisely because their analytics are so poor. (Don't get me wrong, climate change is happening. I just think industries are going to profit from it any way that they can. In this case, this is a cover-your-ass move because the industry hasn't invested in this analytical research. Labeling bad policies that should never have been written at a certain price as climate change is a convenient excuse.)

This is anecdotal, but the one I worked at had no weather/climate modelling and was only just beginning to leverage even the most basic analytics across the company. From what I heard from people in pricing was that their pricing was also a mess for property. They basically just gave up on selling insurance to anyone within 100 meters of water. They did account for elevation to some degree so that they wouldn't insure people in a flood plain, but much of the process was kludgy and ad hoc. The company is a reasonably big player and is (laughably) considered to be very technically advanced in the broader market. Even the biggest players are just moving out of manual data entry so I am not overly hopeful about the broader industry in this country.

On the other hand, Canada has a very sheltered insurance market and it desperately needs more competition. It's very protected though so I don't expect that to happen any time soon. If there was more competition, I would expect the analytics to be better and yield a more accurate picture of the real climate change costs based on the existing science.
> it was generally non-deterministic

This is basically it. People who have never worked on actual real-time systems just never seem to get that in those environments determinism often matters more than raw performance. I don't know about "soft" real-time (e.g. games, or audio/video) but in "hard" real-time (e.g. avionics, industrial control) it's pretty routine to do things like disable caches and take a huge performance hit for the sake of determinism. If you can run 10% faster but miss deadlines 0.1% more often, that's a fail. It's too easy for tyros to say pauses don't matter. In many environments they do.
Yeah, I was going to make a similar comment. It's a dialect of CPython, and certainly there are extensions required to make it usable. But I'm not sure it is a strict superset of the full Python language.
Thank you for your very thoughtful and insightful reply.

> what is a written message that isn't read?

Imagine an ancient civilization that left written symbols, but the people are long gone, there's no one that knows how to interpret them anymore.

During the time the symbols were not being seen or interpreted by anyone, what would you call them?

But more important than that, is not that the symbols can't mean anything, rather that the meaning will be assigned by the reader when they read it (not just by the syntax of the symbols, which is what the article seemed to imply). And that meaning can be very very different than what the writer intended it to be.

What I'm basically saying is that meaning/interpretation of communication/messages is fluid/dynamic. It depends on the writer, the symbols, the reader and a lot of context. It is not fully contained or captured just by the symbols in which we express it.

Using your comment as an example, your "rereadings are also colored by the contexts shifts".
Tax Break Meant to Increase Employee Wages Was Used to Replace Them Instead
First, I think this is a great idea, and I second your idea!

But, there's sort of a larger problem at stake here with operating systems, and that is the "archaeological WHY".

You see, the way Operating Systems classes are typically taught at university is that you are given an already working, already functional Operating System, which might be as "simple" (a term I use loosely, because it's relative) as Minix. (Minix is not simple compared to DOS, DOS is not simple compared to CP/M, etc.)

But the thing is, while you learn about the different parts of an already functional (multi-functional, because it has many functions) Operating System, you never really learn about the WHY, the reason why, the problem why all of that functionality, all of those systems and subsystems, were established in the first place.

In other words, let's say I have a computer with no OS. Bare metal. And I want the simplest piece of functionality to make my life a little bit easier, like let's say, a simple file system, the ability to run a C compiler, and the ability to use simple commands like "ls", "dir", etc.

Now, that ignores all sorts of other functionality, such as threads, multitasking, locks, IPC, sockets, memory management, GUI, etc., etc.

But, it would allow a greater understanding of the "archaeological WHY".

Once that understanding is firmly solidified, we could explore the next problem on our road to creating a modern, more complex OS. The WHY of that next problem, and the solution to it (increasing in complexity, but building commensurate understanding!) at every step.

OK, I'm rambling!

But I like your idea and greatly endorse it!
I'm not of the opinion that we're all helpless children who need to wait for the government to appear and use overwhelming force to correct obvious violations of individual freedom.

> Google is not a detective agency, and it shouldn't be. If it observes illegal activities occurring on its own property, or has substantial knowledge of them, that would be one thing, but I imagine that if HCL is doing this dirty stuff they are not going to make it obvious.

We are discussing well sourced evidence by a reputable news organization organization. This is hardly the domain of rumors and whispers.

> Finally, I doubt the unionizing HCL workers would appreciate the remedy that some people here are proposing.

Well, HCL could choose to discontinue the anti-union activities to make the problems go away, and any sane shareholder in their business has to ask seriously if unionization will cost the company more than losing service contracts with one of the biggest companies in the US.

> If anything should be considered anti-union, this proposed remedy is it!

Do you think anyone finds this line of argument compelling? You're saying, "The only remedy is to do nothing, because any action might change the status quo." But folks aren't unionizing because they like the status quo. If HCL falls apart, so be it. Its not clear why they should be so easily forgiven for obviously violating the law.
Trump is almost certainly anti-union himself given he has been an employer most of his life but his comment is not anti-union ideology. If it were he would not be careful about which segment of the union he's criticizing and he would not have positive things to say about their members.
These aren’t exclusive options.

I’d rather donate to a charity that both has low overhead and reduces the malaria rate by 20%.

It’s not a good assumption to think that because a charity pays lavish salaries and stays in fancy hotels that it is somehow more effective.

I know our examples are made up but it’s pretty much impossible to tell if a single charity reduces the malaria rate. It’s pretty difficult in general to determine the impact of charities because unless you’re the Carter Foundation working on Guinea Worm there are lots of other factors and organizations contributing to a shared goal.
I expect the downvotes are because of the unmentioned "communist, single-party states are the essence of groupthink coolaid" elephant.

But I doubt you're wrong on the engineering analysis.

The physical world has the unique property of being unbeholden to vision. Either the widget works, or it doesn't.

And in a marketplace with actual competition, you're going to have a lot of people working very hard to build a better widget.
You mean the fiberglass-in-a-bag solution? Yeah, I can't see how you would get that airtight enough to not trap moisture inside.
The root github pages of that URL is also 404 so could be a configuration error?
Site doesnt work unless you give it location access.
They're overwhelmingly white, and the lie is pretending otherwise.
Do you use any app, follow any particular style? Any recommendations for a beginner?

Also, how long do you meditate in a day? And do you meditate daily?
I couldn't agree more. Adding to the anecdotes- it took me a solid 4 months of sitting on my butt, once or twice a day 10-20 minutes each sit, to actually break free. It was HARD, and I've since fallen out of practice. But once I was able to hit that point of single-mindedness reliably, it absolutely made a day-and-night difference in my focus and well-being. It truly felt like having a secret weapon at my disposal. I really need to get back to it :/
Discussion: https://news.ycombinator.com/item?id=21029975

The article there is:

Crown Sterling Claims to Factor
RSA Keylengths First Factored
Twenty Years Ago (schneier.com)
Numba is amazing. +1 for numba
Protein tangles linked with dementia seen in patients after single head injury
> The reality is you still have to free resources, so it's not like the garbage collector is doing work that doesn't need to be done.

As others have pointed out, this isn't true for many video games. People write things so they're allocated upfront as much as possible and reuse the memory. A lot of old games had fixed addresses for everything as they used all available memory (this allowed for things like Gameshark cheats).

But there's a secondary issue. A GC imposes costs for the memory you never free. It doesn't know the data will never be freed, so it'll periodically check to see if the data is still reachable. Some applications have work arounds for this like using array offsets instead of pointers/references (fewer pointers to follow).
The only responsibility proposed here is to present obviously illegal union-busting as grounds for terminating a contract.

But there is a precedent here; Apple has even stronger agreements in place with Chinese manufacturers with respect to workplace safety, health and maximum working hours. These are supported both by the public and the government. Why should we be more enthusiastic about policing fair workplace practices in China than the US?
I can't tell you the "randomness" of a bunch of points any more than I can tell you the location of sunspots by looking at our star with the naked eye. That doesn't mean that there isn't a way of calculating the entropy, though (just how there is a way of making out sunspots with the right equipment).

Is that really the idea here? You're right: maybe I'm just not getting the point.
You've pointed me at an edit link there, which is not a good thing to do.

But it works, I'll go have a look.
Written months before the wework stuff started coming out: https://capitalistexploits.at/hold-my-beer/
Partially, yeah. I do think that. Responsibility stops with the voter. The way we combat misinformation is with more information (like fact checks and advertiser transparency) and never censorship.
Show HN: I’ve created a job board for classic cars French mechanics: feedbacks?
Anybody have any links for legit on meditating? All I ever find are bogus nonsensical ones that say you need to light candles and get into some funky position and whatnot.
Only anecdotal, but Uber Pool is by far the most popular product among my cohort in Brooklyn and Manhattan.

Usually you ride with at least one other person, and it’s not unusual to have 3-4 passengers if it’s a third row suv.

I enjoy shitting on Uber also, but there is a grain of genuine innovation in the mountain of crap.
Probably because for you just the act of completing something is _fun_.

Personally I'm reading or playing a video game because of the entertainment it provides. If it's not interesting or doesn't hold my attention, it's not worth slogging through it. Life's too short.

That's one big plus of digital entertainment: I can refund what I don't like in a single click, I don't feel like I _have_ to finish it nor I have to justify my reasons to anybody.

Though I have to admit I've bought for the second time some video games or books I had previously refunded, because I finally understood what's the correct mindset to have to enjoy them fully.
Because the government is interested in minimizing future economic losses from repeated flooding. It's not charity, it's rational planning.
Unions aren't perfect, so take care to not scrap your car because it has a dent.

https://www.google.com/search?q=do+unions+benefit+employees+...

First two links have loads of commentary with citations. There's plenty of books on the subject, as well, if you're interested. Amazon is a good place to look for them.
It sure does, but not everything is black and white...[1]

[1] https://en.wikipedia.org/wiki/Statehood_movement_in_Puerto_R...
Yes! As long as you can see a few stars then you should be able to see most of the satellites that the site shows. The International Space Station in particular can be brighter than any star.
He's still threatening both the EU and Japan with the 25% car tariff. If the EU fails to negotiate in a timely manner it will get hit with the vehicle tariff.
Sure, you brought up a few Linux distributions whose logo is related to the name itself. I am pretty sure there are A LOT that do not have a logo related to the name. Then again, why does it even matter?

Plus, KISS is an abbreviation, it does not refer to the word "kiss".

> someone would post here "that's a strange logo", and you would probably more likely upvote them than bother to argue against them.

No, I would just ignore them, and I am not interested in arguing about taste either.
Lovin’ it! Excited for it to get rollin and give it a try!
After the fact analytics cannot function without fingerprinting or user/client identification of some method. YouTube Analytics does everything people complain Google Analytics does and more.
Billions of birds dead, insect apocalypse, amphibian populations decimated, etc... But yeah people are just being alarmist, it's the end of the world and I feel fine.
You are right to be skeptical - this is a really new idea that I did just get started on this week. To answer your question:

I've investigated whether it's feasible technically, talked with a few people who would use it to refine the concept and built a really rough prototype of the UI.

Is this just to gauge interest? Yes. In doing that though I have found a first customer that wants to switch from their current system if it works as advertised. I can't promise it will but I definitely will try :)

Thanks for your question, I hope you'll give it a shot once it launches.
is there a git repo of nanix?
Could you maybe phrase this in a less snarky and condescending tone? It's a great comment if you take out only the first two sentences.
It should fall back to IP geolocation, but you really need to know at least a general location to get accurate times.
I'm not sure I personally see the link to outsourcing. But I do agree with the quote in the OP that (in my own words) once innovation is no longer the main differentiator you typically see the “power and money people” take over. So I guess you could say that Americans should count themselves lucky that they still have large sections of the economy where innovation is the differentiator.
I'm one of the developers of Weld -- Numba is indeed very cool and is a great way to compile numerical Python code. Weld performs some additional optimizations specific to data science that Numba doesn't really target right now (e.g., fusing parallel loops across independently written functions, parallelizing hash table operations, etc.). We're also working on adding the ability to call Python functions from within Weld, which will allow a data science program expressed in Weld to call out to other optimized functions (e.g., ones compiled by Numba). We additionally have a system called split annotations under development that can schedule chains of such optimized functions in a more efficient way without an IR, by keeping datasets processed by successive function calls in the CPU caches (check it out here: https://github.com/weld-project/split-annotations).

Overall, we think that the accelerating the kinds of data science apps Weld and Numba target will not only involve tricks such as compilation that make user-defined code faster, but also systems that can just schedule and call code that people have already hand-optimized in a more efficient and transparent way (e.g., by pipelining data).
That was cool.

A kind of similar thing I'd like to see is something for geosynchronous satellites that tells you now, and at future times of your choosing, where they are relative to the visible constellations at your location.

That could make finding a good spot for a satellite dish a lot easier. Pick a time at night, find out what constellation the satellite will be in then, and later all you have to do is go out at that time and find a spot where you can see the right part of that constellation.
There's more to the admittedly fuzzy-edged concept of functional programming than function application.

I'd agree with you that the feature list is more important than a vaguer title. That's something Robet Harper talks about: http://www.cambridgeblog.org/2017/05/what-if-anything-is-a-p...

But the selection of features has limited value if the selection isn't coherent and the features don't compose. Within both FP and OOP there are languages whose design choices represent coherent choices with synergy... and ones that don't.

Go's feature set doesn't provide that coherence and synergy for functional abstractions. Frankly, it's an awkward obstacle in that direction. Beyond that, its feature set is deliberately designed to place arbitrary limits on abstraction.
There's no reason that using CUDA inherently leads to inferior compression but I'm not aware of a CUDA-accelerated encoder that's any good relative to a pure software encoder (or even NVENC, the pure hardware encoder on an NVIDIA GPU).
I am completely fine with it. We need to convince low information voters that climate change is a serious issue, and the opposition likes to point at snow storms and bring snowballs to congress as proof that climate change is a hoax.
ARM SIMD is only 128 bit isn't it? Would eat pretty heavily on video encoding speed.
His mother also had Canadian citizenship which allowed him to move to Canada at age 17.
As someone who tries to build things myself, I think of it as a valid way to monetize what you have learned as passive income to make up for the time it took you to do it. Another well done example is https://faroutride.com/ . They have a very detailed and highly useful journal of their camper van build.
If you choose to not share your location, it will ask you to enter an address and it doesn't have to be a full address. Just city name is enough.
For those who want something a little more current regarding warming and hurricanes:

"In terms of detection and attribution, much less is known about hurricane/tropical cyclone activity changes, compared to global temperature. In the northwest Pacific basin, there is emerging evidence for a detectable poleward shift in the latitude of maximum intensity of tropical cyclones, with a tentative link to anthropogenic warming. In the Atlantic, it is premature to conclude with high confidence that human activities–and particularly greenhouse gas emissions that cause global warming–have already had a detectable impact on hurricane activity. A recent study finds that the observed increase in an Atlantic hurricane rapid intensification metric (1982-2009) is highly unusual compared to one climate model’s simulation of internal multidecadal climate variability, and is consistent in sign with that model’s expected long-term response to anthropogenic forcing. Reduced aerosol forcing since the 1970s probably contributed to the increased Atlantic hurricane activity since then, but the amount of contribution, relative to natural variability, remains uncertain. There is some evidence for a slowing of tropical cyclone propagation speeds over the continental U.S. over the past century, but these observed changes have not yet been confidently linked to anthropogenic climate change. Human activities may have already caused other changes in tropical cyclone activity that are not yet detectable due to the small magnitude of these changes compared to estimated natural variability, or due to observational limitations."

https://www.gfdl.noaa.gov/global-warming-and-hurricanes/