skysight-inc/HackerNews huggingface dataset:
Right now on Lua 5.4.2

I've had some success by tuning the GC with `collectgarbage('setpause', 100)` and then manually calling ` collectgarbage('step')`every once in a while.

That being said this problem isn't unique to Lua, There are horror stories about Unity and their integration of C# for example.
Describing prison as "free room and board" is absurd. People are not going there by choice. They are there because we as a society say they should be there, and we pay for that as a society. Every attempt to not do that (e.g. by charging people for the cost they impose on the judicial system) has turned out to be an exploitative nightmare. Are you also upset that people steal and therefore your tax dollars need to go towards policing?
Everyone will be using it when the law passes so it’s no different.
Oh, I was talking about domestic transfers. I've never done an international wire transfer so I wouldn't know, sorry.
Curating stuff means:

You aren't offering most of the things people can imagine,

You aren't offering all the latest trendy stuff, important in the moment,

You're paying people to check the quality of your limited range of dusty goods.

(Wikipedia has solved this problem by having an army of 120,000 active and mostly conscientious volunteer editors, but that's some kind of magic trick or luck that cannot be deliberately copied into other domains.)
> this is why humanity seems to have made major leaps in science and technology during and after military conflicts

Did it? I can't really find numbers on that.
What latency range are your strategies aimed at? Are you executing strategies on CPU, or lowering the DSL to some kind of HDL or ASIC config?
The contemptuous phrase ‘lifestyle business’ is just VCs saying the quiet part out loud. You want to run a company that feeds your family and provides some decent stable jobs, indefinitely? You must be a clown, they think.

The other memorably awful/ macho bullshit line I once personally heard when pitching an idea to a young thruster was: “Who gets fired?” by which the guy meant, whose jobs are on the line if you build your business successfully?

Not all games are zero-sum, I had to tell him.
> That leaves a market gap and then a better company can fill it, unlike centralized economies. Is that happening?

Not really, as the gradient points towards those companies cheapening out or folding. After all, under information asymmetry, companies that sell low-quality crap for mid-level price and lie about their product quality outcompete those selling mid-quality goods for mid-level price honestly.

> I rely on purchasing guides for many of my buys and those point me to brands whose primary attribute is quality (or cost effectiveness) instead of marketing or historic adoption. That's great for me and great for the company!

That's assuming any of those guides aren't paid advertisements, which I believe most are. Even Wirecutter is questionable nowadays. And that's before considering that manufacturers do stuff like giving first high-quality batch of products to reviewers, and then, couple months down the line, swapping components and process for cheaper, low-quality ones, but retaining the SKU.
Funny, these little moments are why I WFH - they're so necessary yet frequent

The time I can put to work is limited. The flexibility is useful.

I get juniors need to learn, but I also need to do work other than teach. We don't have this 1:1 Jedi pairing nonsense.

There's more of them than there are of me/peers, capitalization is robbery. Either another junior or the whole business loses.

It's something to dial in. Both in terms of means and amount. There is never a perfect prescription. We must all adapt.

There were probably a few billion fewer people in the world when handholding mentorship was common
Despite agreeing with you in broad strokes I still don't see this being completely feasible. We should obviously strive for a society where people don't need to steal and don't feel compelled to steal either. That said, even in a much better situation there will still be someone who does it. At some point you really do have to go "investing more resources into this is not productive for society".
Right now they live off donations (including mine) and I won't donate if they commercialize. Also, there's no easy way to monetize on users without ads, and I'm pretty sure signal users are one of the last demographics to fall for "privacy preserving ads".
Bullshit Jobs: Book Review
That's because that happy family of business logic living in with state envisioned as a savior in the Smalltalk days turned out to be a hot mess. Information hiding does not magically make problems go away, in particular not when code isn't "write once and don't ever touch again" and state outlives code iterations. OOP has been a great contribution to how we organize code, but its principles are best applied in moderation. It's quite mindboggling to see how many people still believe they are followers of the OOP ideals when in fact they have long moved on.
Doesn't help you at all when the company waits until the review is done (possibly speeding it up by soliciting independent reviews early), and then swaps out the components and manufacturing process for cheaper, worse one, without changing the product name and the SKU. Big brands have already been caught red-handed doing it; most recent big story I recall was about hard drives.
This is indeed hard to solve. But there is need for a solution. Not because I want a good couch for 4 figures, but because we should have more sustainable and goomd couches. Not just for reducing environmental impact, but also for improving quality of life and financials for all but the poorest, by letting them actually get long lasting furniture.

Currently anyone who would produce that needs to compete with IKEA, and somehow needs to convince customers that their furniture will last longer. Currently the best way to do that is hand-cut dovetails and only hardwoods. But there's quality to be had with modern solutions that are muuuch cheaper than the old methods.
Love this sort of "eye candy". Reminds me of the kind of style I was looking for when theming my jailbroken iOS devices. I loved William Silvester's "Jaku", it had similar skeuomorphisms in its design, and the texture of the materials in the icons were pixel-perfect.
IIRC, the right way to check if a table is empty is

next(mytable) == nil

As the sibling comment points to, the documentation of the # operator is complex. It returns a border which is defined as:

a border is any positive integer index present in the table
that is followed by an absent index, plus two limit cases:
zero, when index 1 is absent;
and the maximum value for an integer, when that index is present.
Note that keys that are not positive integers
do not interfere with borders.

When the table has multiple borders, the behavior is undefined.

lua
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> print(#{nil, 20})
0
> a = {10, nil}
> print(#a)
1
> a[-1] = -10
> print(#a)
1
> a[1] = nil
> print(#a)
0
Yes. We are heavily manipulated by the media to think that we need 20 brands of deodorant. I think this is the subject of Herman/Chomsky book "Manufacturing Consent" (from a more political angle but I think applies to advertising as well)
https://en.wikipedia.org/wiki/Manufacturing_Consent

(edited typo)
Featured last December on Great Big Story, "Upgrade Your Hand With This Extra Thumb":

https://m.youtube.com/watch?v=fIuEw_q1ZQE
Which you can also do during any of the time you don't spend commuting, without having to do it on a noisy train car.

At the limit the optimal commute is work from home.
Paged Out #4 is out
Makes it better, that tells you something lol
I was thinking you could do product demos / help videos combined as an acceptance test suite.

You would programmatically build the self help tutorial like a ui test (use a test browser and it would be like cypress/selenium). You would write a script, (ai) text to speech, and you could even respond to user input for branching.

These would be, de facto, your acceptance test suite and your tutorials will flag when they break on new ui developments, helping to keep them up to date
Or if it's not a pipe.
> The better way to do this would be for Apple to contribute iOS support themselves.

Why would you wish Embrace-Extend-Extinguish onto Python?
Coward.
https://www.daniclodedesign.com/thevine20
Origins of Croydon Airport Part 1. 1915 to 1928 (SketchUp and Twinmotion) [video]
Anthropic Chief of Staff: These next 3 years might be the last few that I work
I've gotten this message and it kind of illustrates one of the many aspect as to why web-browser apps are so terrible, that the storage is disconnected from the app and the connection is unreliable (and in most cases (if not on mobile) it is just that the server is unreliable, because it has to handle 10 million other connections).

> Make sure you copy the contents of the message before you discard if you want to use them later.

Like, really? Is that the best you can do? You rely on a human to copy-paste text because you can not be bothered to create it yourself?

In theory, yes, that might be the best they can do because they can't connect to the server - in my case however, that was not the case. Outlook worked fine and I got new notifications, but I had to manually preserve the content.

It's been 20 years since gmail "disrupted" webmail, yet it still sucks. At best they only give the illusion of search, because they don't have the resources to do it properly. How people can stand it is beyond me.
I second Session though for Android users I always recommend Briar primarily, if to fill simple text and photo messaging needs.
How do you want a portable build system (that uses POSIX) between Linux and Windows?

Autotools certainly won't give you that. Maybe inside CYGWIN or WSL and even then

> The moment I see 'build.sh' I am certain the build system is not portable

Obviously. They usually ship a build.sh and build.bat or something more modern.

The moment I see a configure script I know the developers are still in the 90s

"but the buildsystem is not portable" well, I have bad news for you regarding the rest of the fsking owl.
My home server is a little square PC and it has done a marvelous job. It's massively overkill for my use, but it converts full movies to H264 quickly.
Largest botnet' taken down. Chinese mastermind arrested $29M seized
World's largest botnet' taken down as alleged Chinese mastermind arrested and $29m in cryptocurrency seized
It would be even a bigger mistake not to. Such platforms should not be ignored as they are big enough to be important.
Of course from a venture capitalist's perspective, running a lifestyle business is the ultimate failure: not only don't they get their investment back with a nice 40x return, but also they cannot write off the investment as a loss as long as the business keeps going.

This is not a judgment about lifestlye businesses per se, it's just not a match for risk capital regarding funding.
Right. How different would it be from just writing inline CSS, exactly?
I liked the outcome of the article but disagree with the author’s misplaced anger.

“Capitalism” is not some entity that makes decisions, it’s people and groups who do. You want to blame someone? Blame the policies, programs, and choices (some intentional, others unintentional) of those who decided it was better to make things cheap than to make things well.

This is not a capitalist idea, it is a human decision.
That's not what the law cares about. Being able to encrypt stuff end-to-end, is not what is being targetted — it is not realistically possible. What is being targetted is millions of people getting private, true end-to-end secure communication with no content scanning of any kind through some service. Are you providing that service to millions like Signal is? This law applies. Are you the size of Meta and are you implementing some 'clever' two-component solution to sidestep this law? Expect legal trouble.

You can already install a mail client with PGP-support. Will K-9 Mail get in to trouble if a million users in the EU started privately exchanging keys and using GPG with K-9 Mail? Who knows. These laws are not about such practical details. This is about unlocking massive amounts of signal intelligence to do… who knows what, and those large communication platforms are juicy targets. All it needs is a law to coerce them to cooperate.

Don't expect reasonable arguments from the proponents of such laws, and don't expect to be able to avoid them for millions of users with clever tricks; you'll still fall foul of the spirit of the law, if not the letter.
I have a chisel scar on my hand that I call my "get down and move the damn ladder" reminder scar.
I do work from home, actually. Regardless, I still have places to be at times that are not my house.
One Heck of a Halvening
>If they would even be caught by this at all to start with.

I doubt it. Teenagers sending each other naked pics, maybe (but after the law passes they will know they have no privacy and will stop doing that. I fear what awareness of constant surveillance does to a young brain). The actual pedophiles were always on top of their opsec game. In this case it sounds like they just need to opt-out of scanning and send each other obfuscated links or base64 encoded encrypted zip files in text? This is child's play, there were highly sophiasticated pedophile groups using tor-only infrastructure with forced opsec and rotating identifies every month. They never trusted mainstream chat apps, and they won't be affected. This only makes it possible to track regular people.
"to immediately go take control of a hydroelectric dam."

How do you propose to accomplish the takeover and operation? What about security? What scale of dam?
Nope. Marketers always spam, buy or copy any “neutral third party” to death.
Nuclear reactors are definitely simpler. The simplest reactor is just a pure enough and large enough blob of a fissile material. A Turing machine is more complex.
(and there is another point that belongs to this conversation, even if not addressed in the OP.)

3. Sustainability: Everything will have to be replaced eventually, even repairable sofas. It is important when constructing a piece of furniture (or anything else) how will the parts be recycled? We should aspire an ecosystem that goes: buy -> repair -> repair -> recycle.
Setting aside my shock at you invoking motte-and-bailey here, given that I'd apply it to your counterargument first, here are some concrete proposals:

- Ban most of the advertising as it's known today, recognizing it for the cancer on modern society that it is (see: [0]);

- Make vendors pay for costs of disposal of their products; this would curtail the profitability of shit-tier products and planned obsolescence;

- Institute a carbon tax; this will improve things across the board.

--

[0] - http://jacek.zlydach.pl/blog/2019-07-31-ads-as-cancer.html
Apollo had a much much higher tolerance of risk - Apollo 12 did not abort after a lightning strike and total systems reboot (except the engines), Armstrong and Aldrin basically decided they were going to be the first men to land on the moon dead or alive (they actually ignored the fuel out alarm during lunar module descent). Would never happen in todays elf and safety culture.
Also depends on the leather.

If it's aniline, there's little they can do. That's also the nicest leather for a sofa (IMHO) as it breathes and so doesn't get uncomfortable to sit in when the weather is warm.
I think maybe it's the case that the VC's biggest competition for top talent and good ideas are from the innovators that they hope to invest in.

If they encourage a thousand lifestyle business bloom, one might turn into a boot-strapped "unicorn" that didn't take their money, so it's in their own interest to make lifestyle businesses seem like a terrible idea.

The more talented people are convinced the only way to start a business is with VC, the higher a value VCs can extract from talented people. If we actually had more socially acceptable options, more folks would have the leverage to walk away from the table and shove the VC's non-competes, non-disclosures, preferred shares and meddling board seats in their face.
The problems you cite with Web apps are not unique to the Web, but to client-server apps in general.
The Art of the Rip
Sounds like something you could do with an LLM
Python seems to do pretty well ignoring iOS.
> what else are governments going to do

One way that would put down lots of exploitation and support privacy of adults would be video and online surveillance of all children when not alone, using a parent-controlled computer to detect bad things happening. This could start in kindergarden and school and gradually expand to all spaces that are not home. Children have some right to privacy, but not as strong as adults.

On the 16-th year, if the child wants so, surveillance gets turned off and he/she is granted more privacy. Like with age limits on car driving or working, at some point the state says, you are old enough to take responsibility, we won't protect you from harsh life anymore.

This is a targeted, reasonable solution with little collateral damage, that upholds the right to privacy for adults. It's what parents would want, instead of the bureaucrats. And who really, actually cares about safety of the children, parents or bureaucrats?
Doesn't kagi require paying or is there a free version?
Since I cannot install stuff from a third party on my iPhone without paying Apple (unless Apple says I can), it is clear that I don't own my phone. So it seems fair that Apple then is the one paying for the efforts of getting FOSS support on their device.
A solid part of that book goes to the notion that "the media" are also manipulated | shaped by external forces .. economics leading them to often take the path of least resistance for greatest return.

The linked wikipedia overview lists 5 key points (of the authers outline) of the "Propaganda model of communication" and lists the government and the advertisers having a powerful shaping force on the media.
To be fair, it really depends how you use them. Vim has a better TUI while Emacs has a better GUI. Vim is generally easier to configure while Emacs is easier to extend. Vim has more packages that extend the modal editing itself (e.g. extra text objects), while Emacs has more packages that do everything else. Etc…
My first multiprocessor system was one of those! Two Duron CPUs, "upgraded" to think they were AthlonMPs. Worked pretty well, but it used a lot of power. I burned through two PSUs in 18 months (admittedly, both were not exactly top-shelf).
> Is there a budget line item for market development?

Sure.

> And you convert maybe $20m into cash, and have reps in major metro areas?

You’ve seen examples in the thread. Flea markets, online marketplaces, injections into clean retail supply chains. (Amazon)

> Do you fire low performers who don’t steal enough?

Yes.

The existence of small time crooks doesn’t prove that organized crime is a myth. Getting stolen at scale commodities to market is not so different than managing global supply chains of cocaine and heroin. The street level people are independent contractors who make near minimum wage. The best example of business that skirt the line between legit and criminal enterprise are Chinatown busses… they provide cheap, unsafe travel and fuel the human trafficking pipeline of sexually exploited women as well as economically exploited restaurant and other employees.
What is the case you imagine where mutable strings would prohibit this?
I have this same issue. Got 25 years worth of journals written in cursive that's a bit... non-standard.
I think there's a mistake in your assumptions, in that the system delivers what people want. The feedback loop is broken; most sectors seem to be supplier-driven, which means people choose fuck all. Customers don't choose from space of possible goods of a given type - they choose out of what's currently available. It's increasingly hard for a quality good to compete now, when the competition can make shit stuff for much cheaper and lie to the customers about it being quality.
Thats a mean and unworthy comment to make in response to a eulogy. Maybe consider keeping your opinions to yourself next time?
Firewalls are a thing!
Would be nice to bundle it with Tauri
Even if you build your shared objects with -fvisibility=hidden?
Yeah I was only a couple of years older than you and barely had the money, hence the overclocking :D Tbh it was fun even to be on a forum talking about it and checking benchmarks etc, some guys had very cool watercooling setups that I was very envious of
There are two types of countries observable in the world today: ones that are shit like capitalism, and ones that are shit like North Korea.
3tubs × 40gal/tub × $3.50/gal = $420.

Wow, you're spending $420 on shipping? How far away are they keeping those slaves?
r/K selection is about the tradeoff between quantity and quality.

https://en.wikipedia.org/wiki/R/K_selection_theory
I wonder if we’ll ever grow up as an industry and get over these MBA-enforced buzzwords like OKRs, SCRUM, etc.

It’s just sad to see so much energy from so many smart people poured into this crap.
I agree that such mockery isn't very charitable, but there is an underlying line logic to their thinking. We know that a system like North Korea's is possible. We know a system like ours is possible. We don't have any evidence that any other system is actually possible.

Sure you could imagine something better. But such a system could very easily have fatal flaws you didn't imagine. In fact, North Korea started as just such a utopian ideal.

You could also argue that we used to have a system that was better than this. But if that system ultimately became this one, than reverting to the previous state would likely at some point result in the current state occurring again.

So in a sense "Do you want to live in North Korea?" is the only valid question.
New England towns are 100s of years old. My town was considered the gateway to the west as it is the last town in the northwest corner of Massachusetts.

The town was developed around walking but our modern infrastructure has eliminated the practicalities.

My only point is that parking minimums shouldn’t be thought of as universal solution.
Qatar has 300.000 Quatari citizens for 2.500.000+ migrants and foreign workers, and yet, not considered to be migrant friendly.
:has() syntax was recently supported in Firefox 121:

https://developer.mozilla.org/en-US/docs/Web/CSS/:has
> more than half of $1.2 trillion enabled by the Infrastructure Investment and Jobs Act of 2021 will be spent on highway expansion and resurfacing.

Someone correct me if I’m wrong, but that sounds like enough to build a China-like countrywide rail network. Spending it on resurfacing asphalt would be criminal.
Americans have an obsession with strollers that I haven't understood. I took my infants on Caltrain, BART, and light rail using a baby bjorn. When they could walk, they walked or were carried. It's not something you should avoid having kids over.
Yes. Stupidest rule on HN.
Some video: https://www.youtube.com/watch?v=d4ISn04xT1Q&t=1s
The word "randomness" in the title is in quotation marks, which seems like a pretty clear indication that it's not referring to true randomness but to something random-like.
Then my family changed my underwear.

Then the town…
Look better than new in my opinion
Ever recorded any metrics? I wonder how much of your "feeling" productive is real.
Why should everyone have to suffer so that state's job in catching criminals is made dead easy ? Such criminals are a microscopic minority of the population. Governments - esp in the west - have disinvested in traditional investigation and moved to using mass surveillance as their default operating strategy. And citizens are being made to pay the price.
Or just call me and I will tell you what your phone number is.