skysight-inc/HackerNews huggingface dataset:
Re: "does your knowledge of your application's memory needs and memory performance trump all the effort and knowledge that went into creating the memory allocator of the operating system you're using?".

Almost always.

You can almost always answer the question "am I going to need memory again after this free()".

If memory is tied to a request or some other object you almost always know that.

You can almost always make a good guess at how much data a repeated operation will need, thus how much memory to reuse.

You almost always know the benefit of caching data in memory that is otherwise on disk. Often the OS is better at this than the developer thinks!

You almost always know if data is likely to be needed in memory again. When you free() you lose the space and the data. Quite often you can benefit from a managed free() that you can ask for the memory again still populated if nothing else needed the space it in the end.

You almost always know the security concequences of reusing memory. e.g. the OS cannot tell if calloc or malloc is needed. Secure(ish) allocators are a thing.

You almost always know if a memory block might grow or is fixed size.

You almost always know when you need an i/o buffer that can be reused.

You almost always know if smart pointers are beneficial or not.

In C its perfectly normal to allocate on the stack rather than the heap because you know better than malloc().

You often know more than the allocator about memory alignment.

I think you could almost always do better than the OS allocator when writing servers.

I'd agree its often not worth the effort.

Unless you are writing lots of C. free() is such a pain.

You can almost always write better, safer, faster memory allocators than ad hoc use of malloc() and free().
One of the many reasons why I hate modern websites. They try to be too clever and try to guess what language I want, despite my OS and browser being set to en-US. And then make it particularly difficult to change the language manually in a persistent way. Why even bother with region settings if they're not going to be respected by websites or, hell, even games. I've noticed that if I have my system language set to English and my region set to German, some games will default to German. Which is annoying, but particularly infuriating when some games don't even provide an in-game language select, instead forcing me to Google for the right config file I need to change. And the only reason why I sometimes have my region set to German? There's no other way to change the MS/Xbox store region.

Actually, it's not just websites I hate. A lot of software makes me jump through ridiculous hoops to do basic things.
HN makes no secret out of that. Reddir has Tencent's influence crippling them.

The fact that YC doesn't need to monetize HN , and others mentioned how so much talented is sourced here is what makes it a good and comfortable place for technologists and tech enthusiasts.

Although, I am still a wee bit dissappointed at the lack of discussion about actual hacking.
Why I love HN. Thank you!
Macropy transforms Python's AST. So it doesn't allow anything that Python can't parse.

I spent some time earlier this year looking at tapping into the Python compilation process before the AST is generated, in order to allow statements that are not legal Python syntax.

It's definitely possible using the `tokenize` module, but doing it right was turning into more work than the quick hack I wanted.
Because "geniuses" may well want to get reasonably wealthy and retire, but might be fundamentally unable to adapt to working for a large corporation.
Yes, please! It is incredibly annoying, especially when it is hard to find the button to change it. Google seems a big offender; I have to fix it many times. Very weird as they also present localised ads which I cannot read...
Identification for billing. The more information you have about someone the easier it is to collect debt from them.
Germany's data chief tells ministries WhatsApp is a no-go
Your career isn't necessarily your job. If you work somewhere where they judge you for having kids then it might be best to move on. Do they judge people with hobbies, pets or drinking habits a similar way? The only time that is an issue is in industries where you genuinely need to work a lot of hours, which are few. Trading desk, pilot or surgeon springs to mind.

Also if a company requires you to do 60 hours of coding instead of 40 and it's just JIRA tasks adding feature X Y Z then those extra 20 hours don't help your career at all, but if you did a 40 hour job and spent 10 hours learning carefully selected skills in your spare time that would help your career a lot over time.
> As a long-time Win32 developer, my only answer to that question is "of course there is!"

As a long-time Linux user, that's what I say as well.

And as a privacy activist, that's what I routinely use.
That sounds a lot like Deepak Chopra's pseudoscientific woo.
I'm still somewhat early in my career. I have 2 toddlers.

I don't know how others perceive me but I know I'm not able to give nearly as much to work as I would without kids. When I last interviewed for jobs, I was asked about my side projects. I made the joke, "I have kids, they are my side project, haha," and I think he understood.

This is in the short-term though. I suspect that long-term my career will be better than it would've been without kids b/c I think I will be overall happier with kids than without, and I'll be forced to make better life choices like go to bed on time, etc. To be clear I didn't have children so my career would be better :D
I think there are plenty of examples of teams that hit that cliff and had to rewrite. I am trying to remember specific articles. Counter-argument: I think stackoverflow hit a cliff, and remained monolithic, but that was several years ago [1] (sure they have a ton of servers, but they appear to be classic cache+web-server+database). There was another, maybe Instagram, that was monolithic and had to figure out how to shard their DB overnight.

[1] https://nickcraver.com/blog/2016/03/29/stack-overflow-the-ha...

Also, I don't think your post deserved a down-vote.
Ehereum was designed to do this. Look it up. I'm a bit stunned no one has mentioned it.
ah, I always found that supposed difference not very convincing.

Both Kay and Berners-Lee deserve their Turing awards. Both have had good and influential ideas. Ideasthat have taken a life of their own and didn't quite turn into what they imagined, at least not in the mainstream.
USCIS could run out of money by the end of summer without a $1.2B bailout
I am running Emacs on macOS, and it only takes 43 MB barebones, and my regular setup takes about 81 MB. Both opening the same org-mode file. Point being that it really depends on what you choose to run on Emacs, and it does not have to be about 100 MB.

Just to add to that, I don't think anyone should be concerned about their text editor taking 200 MB anymore. I doubt it is worth worrying about.
Has this guy been living under a rock? Slashdot and Digg? seriously?

RSS died because better systems came along which did a much better job at following sources "directly".

He talks as if we no longer have any relationship with authors anymore, when Twitter and Facebook actually made audience and publishers closer than ever.

RSS died because it wasn't necessary anymore. It's a typical pattern of pendulum swinging between centralization and decentralization.

If you're going to say "It's time to get back to RSS", at least understand why RSS is dead. Then maybe you will have a real solution instead of a non solution like "go download feedly".

Lastly, people blame Google for "killing RSS" by abandoning google reader, but these people have no idea. RSS was dead long before Google discontinued it. Instead of coming up with conspiracy theory, think about more plausible reason for why something would be disrupted by another piece of technology.
Warren Buffet may only live in one house, but he owns literally billions of dollars of real estate.
Becoming disabled while working a tech job
I'm going to have to jump in here and say, no, HFT can and does not front-run your trade. There are reasons why your execution on RH is not as good as professionals, but it's not because of front-running.
The average computer user has trouble saving documents in folders. It doesn’t matter because it’s not a critical business function.
I may be totally wrong here, but my read on it isn't that a specific individual is becoming filthy rich but rather the Fed is pushing up asset prices, effectively looking to justify the existing market cap assets and asset classes.

It's more that people who had "paper money" (i.e. shares) are being "kept whole" through the purchase of assets at pre-COVID prices.

Just because you own 1 share of AAPL (out of 4.334 million) at $310 in notional value doesn't mean that there's $1.34 trillion dollars of liquidity in the market. If shareholder all tried to exit at once that would quickly evaporate. So the fed is picking up the slack of folks existing out of panic, to keep more people from exiting out of panic, to preserve the value that society has as a whole in assets.

The Fed then plans to exit its positions once the market stabilizes, and cancels out the newly created money, net of any profits they may or may not have earned.

tl;dr: The investor class retains its net worth through the addition of liquidity. People aren't really "gaining" anything, not for as long as assets broadly remain below their pre-COVID levels.
https://docs.microsoft.com/en-us/windows/application-managem...

This seems totally unsuited to desktop non-enterprise use.
So this seems all well and good for urban areas but what about rural land ownership? Or is that not a concern here?
> Why would you want to see Laotian?

Statistically speaking, Laotian users speak Laotian. As a traveler, I’m the minority.

Regarding the rest, I feel you. They can guess whatever language as long as they make it easy to change it, without unnecessary redirection games.

Apple.com is relatively good with this:

> Hey I see you’re in Thailand, maybe you want to check out the Thai site.
This here is what is insufficient:

> They're being told "you have to go back to work, regardless of whether you think it's safe, because we, the state, think it is."

Now, how do you justify the state telling people what is and is not safe for them to return to work?
I've used iOS devices of one kind or another since around the 2nd and 3rd generations, and seen some of those devices through years of major updates. Anecdotally, I have never seen things as bad as they have been in the past couple of years, other than Apple's seemingly arbitrary policy on abandoning support for older (but not necessarily old by most standards) devices entirely.

The really sad thing is that iOS devices still seem to be relatively robust compared to either Windows 10 or macOS on the desktop. It feels like Apple and Microsoft have both decided they are so dominant now that quality control doesn't need to be a business priority, and as a result we've left behind the "golden age" up to the mid-2010s when your OS mostly Just Worked(TM) and entered a new age where the most basic reliability of our essential IT systems is in question.
I genuinely believe that if Americans knew what the rest of the Developed world gets for it's tax dollars vs. what Americans have to put up with for their tax dollars, they would riot in the streets.

There's a very good reason the major news outlets in America never directly compare America to other Developed countries, and only ever compare it to undeveloped or "evil" countries (China, Sudan, Iran, Russia).
It’s very very easy in the modern world to end up in a situation where you’re not allowed to contribute positively and have very few options other than crime.
The Miracle of the Internet's Not Breaking
This is a picture from a Windows 10 Enterprise domain joined machine with a whole set of GPOs we try to keep up with this type of stuff: https://imgur.com/a/M5d9MVt

That's a lot of space devoted to just old versions of games. I understand malware has a specific definition, but I don't know what's in these folders and we obviously didn't want them on user machines.

Deleting them required a whole dance around SYSTEM access, it was insane.

Enterprise.
I agree that consciousness is correlated with this, but having a lot of experiences over years does not explain to me why I feel things.

Similarly I can definitely see how there would be a mechanistic explanation for intelligence (basically just build a machine that acts intelligently, perhaps even claiming that it's conscious), but there's a distinction between appearing conscious and actually feeling something.
See, I said anti-trust. Not anti-monopoly. Anti-trust was, traditionally, about preventing market distortions by market actors that are becoming too big and powerful. It wasn't solely about monopolies. The whole "we're not a monopoly" shtick has been pushed by corporations in recent decades as if that absolved them completely from behaving in anti-competitive ways, and for some reason your average schlub has eaten it up, hook line and sinker, and politicians are more than happy to cut them slack because of lobbying.

Especially now, when you have companies like Giphy being tied into services across the globe and providing a surprising amount of data about users and usage patterns, the idea of monopolies is completely obsolete. It's time to bring back the idea of companies not being allowed to much reach, power and control over all aspects of our lives, as well as being able to use it to assert control over competitors and users alike.
I was referring to people mostly or wholely denied such mobility regardless of aptitude.
Among the scientists it's easier to make a clear cut statements about impact.
I think you overestimate the lucrative opportunities available to hard-working honest people especially in developing countries where a lot of these operations are based
I came across that just yesterday funnily enough through Scott Adams going on about a podcast featuring it. (American Red Pilled, Let there be light)
caveat usor
Consciousness seems like it should be special, but that’s not evidence that it is. Consider, after a lifetime of subjective experiences from exercise etc, a cardiac surgeon can still know far more about your heart than you do. Nobody is arguing some mysterious force is pumping blood through their bodies, but the feeling of blood pumping through your veins somehow feels primal not simple plumbing.

You can intellectually extend that to everyone else about our bodies, so why not consciousness?
Me neither, I'm not going to lie and say that I had 40 applications opened, but I DID have 5-10 apps using the web with 0 issues (A browser+IRC App + Email Client+MICQ+MSN Messenger+Kazaam/Napster+Winamp in stream mode).

Very very few of the web and desktop applications of today are as snappy and user-friendly as classic Winamp.
Individual voters don't have to be rational as long as their errors cancel out. This is the "wisdom of crowds" / "central limit theorem" argument: statistically, you can get a very good approximation of the true value out of very unreliable individual measurements as long as you have a large number of independent such measurements.

Whether this theorem is robust against systematic cognitive biases is another matter. I don't know the answer to that, but it seems like voters are more likely to eg. vote for a tax that falls on someone else but gets passed along to them as higher prices, which would be an argument against an LVT ever being enacted.

Also, elsewhere in these comments are good arguments why an LVT is very difficult to "bolt onto" and enact a government once it's already been formed, which may be why we don't have one. That's simple path-dependence: Georgism didn't exist when most modern industrial nations were first formed, therefore it can't exist now.
There's a web API for that! https://web.dev/native-file-system/
Why Telegram's TON failed, and what needs to be done instead
The other way to look at this is that you are punishing children that draw parents that don't care.

I think it's likely that society will probably work better with high mobility vs the random draw that "perfect" mobility requires, but that's a fuzzy feeling based on human groups being complex, not the distilled moralization that you are using.

I suppose the less complicated discussion is about raising the baseline outcome being better than working to make outcomes the same. Raising the baseline is about absolute outcomes rather than relative outcomes, so the latter aren't as big a piece of the discussion.
> Broker offerings here seem a few "paradigm shifts"
> behind the US. Zero commissions are unheard of last
> I checked.

A US-style zero-commission model is not viable in the Australian landscape. The root of this is due to regulatory differences, rather than actions by the brokers.

A key to understanding the US system is something
called Regulation National Market System (RegNMS). Loosely, if you are filling an order for someone, it must be at a price that is at least as good as the best price available on any US market at that time. [Anecdotally, if the NYSE receives an order, and there is a better price available for the same stock on Nasdaq at the same time, NYSE can't fill it at their inferior price.]

This creates a hyper-competitive single market. At any one time, you can know the bid/ask spread for any stock, nationally. And, it's a tight spread.

Market makers compete here. But a market maker would prefer to interact with retail orders. Because what a typical retail participant cares about is getting an immediate execution at the best price currently in the market, in order to make a long-term investment.

So a market sprung up: market-makers pay brokers to send these benign orders to them directly, without going through the public market. The market maker fills these order at a price that satisfies RegNMS. [Some of them might even distinguish themselves by giving the consumer a better price than they would have got on the public market. Your broker might send you a report with your trade saying how much "price improvement" you got compared to what you would have got at the same time on the public market.]

The reason the trade is "zero commission" is because the market maker is paying your broker for the privilege of interacting with you directly, because you don't have a view on where the market is going to be in five seconds' time.

Australia has not developed anything equivalent to RegNMS. Without that, there is no foundation for the zero-commission trades (there is no national best price to protect consumers with). In Australia, the typical situation is retail orders being sent directly to the book on the ASX (a pseudo-monopoly exchange), where they are directly interacting with the most sophisticated houses.

If you google, you can find an ASIC paper trumpeting that Payment for Order Flow has been banned. In my view, the real story is a lack of innovation by Australia's regulators.
Initial Analysis of Underhanded Source Code
Have you tried giving it a shot without studying beforehand to see how it is yourself?
It’s hard to quantify because military supremacy and having the best weapons in the world is a huge part of why the dollar is THE global currency. And we can print dollars, hell we just printed 5 trillion in a couple weeks. This gives us insane leverage when it comes to foreign debts because most debts are in dollars. The dollars for military budget and the dollars raised by a school fundraiser are not even the same currency.
Or you could use languages that allow you to share code, so you have 6 thin native UI layers on top of a shared cross-platform core with all the business logic and most interactions with the external world.

You can do it today with C# and https://www.mvvmcross.com/
Have you visited any non American cities? As someone of Asian descent, hospitality workers are expected to have absolute deference to you, and expectation of a tip. They are expected to defer to your whim because they are below you in "status: as a worker not a customer. I've worked in both culinary buisiness in Asia and America. America was hard work, but it was nowhere as near as mentally and physically strenuous as the places owned by Asian owners
Most of the time you don't even need a cluster of any kind. We live in a world where you can spin up a server with 3TB of RAM and 128 cores whenever you want, and it will cost you less than a senior developer.
Yeah that sounds like a big headache and pretty bad behavior by ms.

Strictly not malware though.
In a fair society closed software would be illegal and people wouldn’t tolerate this kind of stupidity.

No need to hack it with taxes.
Also: STOP DISABLING ZOOMING.

WTF!
> Legal or not there is no need in Canada for a person to own a semi-automatic rifle.

I struggle with statements like this. I’m in the prairies. You know what semi-automatic rifles are great for? Predator control. As an easy example from two weeks ago, a pack of coyotes came into my in-laws farm yard and started attacking the sheep. Would a bolt action rifle work? Sure, but significantly less effectively.

> Even with the guns there is no need for supersonic bullets and large grain/large mass bullets.

Are you referring to the 10kJ rule? Or just in general? It’s always tough to tell where someone’s actual understanding of these things is, versus misconceptions. Supersonic bullets are absolutely necessary for hunting game, as are “large mass” bullets (although 10kJ is not generally necessary for the game you’ll encounter around here).

The vast majority of the rifles that were recently prohibited fired low-mass high-velocity bullets. In many provinces, those bullets were not allowed for hunting because they did not have sufficient energy to reliably kill wild game.

> If anything would help it would be heavily restricting access to ammo. I don't understand how people with illegal handguns can even find the ammo for them.

You’re talking about people who are already in possession of a smuggled handgun, and you can’t conjure up a way for them to get ammunition?

Ammunition is currently regulated the same way firearms are: you have to have a firearms license, after having taken a course and been vetted by the RCMP. The people who are causing the vast majority of (non-suicide) firearms death in this country are not people who give a crap about the firearms licensing regime.
I was offered significantly more money from a non-FAANG than any of my (three) FAANG offers were willing to give me, with better liquidity. At the end of the day, that's all I cared about. I'm very happy with where I landed, and have no plans to leave in the near future. My present company has an academic engineering culture that prioritizes outcomes over process, while encouraging curiosity and autonomy.
For reference, what age are you?
RSS was very bad at helping sites keep their content monetized. This is why it died.
I added my own.
Yes, nothing has inherent value. Different humans value things differently under different conditions. For example, I may be willing to trade a lot for oranges if no other food is available. But if lots of other food is available, I wouldn’t be willing to trade anything. Some people don’t like oranges and wouldn’t trade anything unless they were starving. This is why prices are always changing in a market. Prices only reveal two individual’s preferences at the time of a particular trade.

So you see, there is no inherent value or price to oranges or water or land, or anything. This is a fundamental misunderstanding that Georgists have about the nature of prices and the world.

The fact that someone can be appointed to declare an imagined inherent price to water or land or whatever doesn’t change it. Yes, the government does appoint people to do this and it is ridiculous. My house isn’t worth what the government says it is, it’s worth what I’m willing to trade for it.
Apple to Reopen 25 U.S. Stores, 12 in Canada This Week