skysight-inc/HackerNews huggingface dataset:
Let's try and break my basic Node.js concurrent app
I build a NodeJS app that uses worker_threads for concurrency. Ultimately, I want to create an app that keeps track of all the online clients on a WebRTC network that I'll build.

What I want to see is how many clients can it keep track of at the same time.
It identifies clients via their IP (which can be masked). It would be awesome if you could help me find its limits by doing the following:

1. Open 4-5 chrome tabs and navigate to https://clientcounter.herokuapp.com/total in all of them.

2. Open the console and paste the following code:

setInterval(()=>{fetch("https://clientcounter.herokuapp.com/subscribe",{method:"get",headers:{"x-forwarded-for":Math.random().toString(36).replace(/[^a-z]+/g,"")}}).then(e=>e.json()).then(console.log)},50);

3. Let it run for quite some time.

4. Tell your friends :)

The github repo (in case anyone is curious or would like to help) is: https://github.com/christosmaris/clientcounter

Thanks a lot in advance :D
It's going to be interesting if batteries good for far more charge cycles become available and the phone makers resist using them because they will extend device lifespan.
Signal: Link Preview
You're right, I totally enjoyed that blog post! I might borrow your analogy of tennis, since it is a bit better than the F1 one. :)
Typing is 2/10 of your job? If your typing is half as efficient, then it would be 4/12 of your job. Twice as efficient makes it 1/9 of your job.
They are so, SO, freakin' lost.

Just look closer in the tunnels / craters below the surface for god sake.
Shameless plug.

You can use a programmable tooltip for macOS, so you don't have to remember all the shortcuts for these workflows.

Please see https://github.com/tanin47/tip
My oldest notebook was sold in 2006-2008. I repaired it multiple times. I use it everyday, a Sony Vaio SZ1m
Eye irritant and skin irritant. The only toxicity one mentioned is reproductive toxicity; it causes reduced fertility and shrinking of the testes:

https://archive-media.formlabs.com/upload/Clear__Resin_SDS_E...

> Repr. 2, H361f (Fertility, causing [1] atrophy of the testes)
Location: San Francisco County, Marin County, Santa Clara County, San Mateo Country, Available to Relocate for right position
Remote: Available
Willing to relocate: Available
Technologies: (SAMPLE OF SKILLS)
DATA SCIENCE: Python, MATLAB, R, Julia
IOS AND APPLE: Objective-C, Swift
ANDROID: Kotlin, Java
FULL STACK: Scala, Java, Play Framework, Ruby on Rails, Python, Django, Flask, JavaScript, TypeScript, PHP, WordPress
GAME PROGRAMMING: C++, Unreal, CryEngine, C#, Unity, Source Engine, JavaScript, TypeScript, Phaser
OTHER: Bash, SQL, Maya, PhotoShop, Blender, PolyBrush, ProBuilder, Substance Painter, Substance Designer
Résumé/CV: Available upon request
Email: jjbusinesspartners@gmail.com
Additional: Planning to begin Masters program(s) next spring
>* The other is "if you stop people from earning bazillions you won't get innovation.*

We had tons of innovation in the past (even more important things than today) when people didn't earn bazillions from them...
>Not everyone in the US lives in some 100 person small town "community". Instead, many people live in cities that have hundreds of thousands of people in it.

Which can be broken down into numerous communities living together.

>People absolutely still continue to support family members, all the time, even when they do "bad" things

This isn't someone doing a "bad" thing, this is someone of full mind willfully saying they want nothing to do with the family. You think they'd still force their aid on them?

>And there is nothing that you could do to stop me from helping them, unless you are going to do something very impractical, like exile everyone who supports their friends and family as well.

You seem to still be under the impression that "I" am forcing my will. Decisions are made by the community, that these people are a part of. I'm not forcing people to sell out their friends, their friends are the ones rejecting their help. Your idea that people would still unquestionably offer help to people who have stated they do not want it and will not return it is just silly. If that happened in modern society, we would assume mental illness and barring that cut ties for at least some time.

All of your arguments resolve around someone committing some bad deed, and some faceless authority issues punishment on them. That is so far removed from what is happening, I don't know how to continue this conversation.
My point is that in a good code base types should be obvious from context. If you don't know the context then you will be slow (and make a lot of mistakes) no matter what the type say because you'll likely misunderstand the domain logic (context) unless it's something trivial. I would hate to work somewhere where I'm expected to randomly drop into micro services I didn't have anything to do with and debug/support them - sounds stressful.
> Somehow, I have never caused any kind of liquid damage to any electronics I've ever owned.

It wasn't until recently that the general public would be carrying around an electronic device 24/7, including in such common situations as: sitting in the bathtub, holding the device around a toilet, using the device on a pier over water, etc. Waterproofing as standard has definitely saved myriad people from having to buy a new phone or ebook reader.
The point is that if we could move the pieces of key schedule around freely it would increase the complexity of the tool significantly since it will have to match each potential block against a number of other potential blocks.
best thread of the year
Think we need something better than the concept of money.
Even their README is click baity then. I quickly glanced at their repo and thought it somehow is related to ZFS, before reading comments here.
Yes! I like the idea.
I've definitely got my money's worth from this one, there are a lot of interesting emergent qualities in the game and the map has a lot of secrets scattered around it for you to discover. This game took up my evening for a few weeks when I first got it, so well worth the money in my book. I still come back to it from time to time as it's under pretty active development.

I really enjoyed testing the limits of the engine and using the wand system to craft interesting physics things.
>Medical doctors are paid pretty well, and that's a real job if there ever was one.

On the other hand, the health industry (from drugs to hospitals) makes a shittoan of money, and most of it is by pushing BS on people and (in the US) by overcharging 10x simple procedures...
From my friends in Poland I hear many of them are considering moving after the latest election and the direction the country seems to be heading. Good to know there are tech workers from Belarus to step into their positions.
That doesn't sound right; the slicer outputs paths, and the firmware isn't going translate flat paths into diagonal paths.

The head can not travel in a plane parallel to the base plate, so it can't use paths calculated for a regular flat primer.
Text mode is not the same as command-line.
A full screen text UI is a low resolution GUI.
I’ve never been able to make eshell part of my workflow. I wonder if you would share more info
Reminds me of Sentry's model: https://blog.sentry.io/2019/11/06/relicensing-sentry
Living in Central Asia, I'd say, although Lukashenko was/is a corrupt leader, amount of corruption in educational system was relatively low compared to those in -stans of the former USSR, or even Russia. This a necessary prerequisite for high tech companies to appear and grow.
“Allowed” to report? When did we get into the topic of government interference with the press? This is about what private citizen protesters do.

But I suppose if you were concerned with government interference in the media you’d be going after the fascist who has been crying “Lügenpresse” for the past four years—who also wants to silence criticism of himself on social media by executive fiat.
Just to play devil’s advocate we have no idea what is between this couple, or any couple for that matter, and are being presented with her side as he is silent. Sometimes people break up, and one person doesn’t want the other to get a single penny, whether they have $1 or $10 billion.
Well, safeclib memcpy_s (Posix standard, Annex K) is on good compilers faster than glibc memcpy, whilst also being safe. Unacceptable is just gcc, mostly.

Haven't seen a safe memset yet, other than mine.
I was initially hoping for an e-paper optimized OS, which is what is still missing (luckily KOReader does a lot of what you need).

If you're generally interested in Linux on e-readers you might like that the people at Mobileread have managed to install Debian and Alpine Linux [0] on various Kindle models.

[0]: https://www.youtube.com/watch?v=rcZiVo1z4Eg
I abandoned Microsoft compilers a long time ago due to their lack of support for newer C standards. I know a lot of other people that did, too.

It may also have contributed to a lot of software developers moving to Linux, which has always had great C compilers.
very cool! thanks for sharing!
You forgot to make a point...
Yeah I actually don't think Lua is great for those things, tbh. Lua is not a good tool for manipulating JSON--JavaScript is probably sensible for that (it is JavaScript's object format, after all). And yeah I don't think it's good to use a bunch of external libraries in Lua, since as you say there's not a common ground for how data is organized. The libraries I rely on are are more native integration things like lpeg, luasocket, luasec, love2d, ... They've all been quite good. And yeah you keep saying 'sentinels' in quotes but honestly it's worked fine when using lua-cjson. There's always an impedance mismatch between JavaScript's object format and Lua's though. Lua also allows non-string keys which are great in Lua but not a thing in JavaScript, and in practice I've found the array/object-table mismatch more problematic than `nil`/`null` and so on.

I've mostly applied Lua for embedding in game engines, and to that end there's nothing that comes close, short of rolling your own VM that's exactly built the way you want. The main way to use it I think is to embed it somewhere and build up the set of utilities / libraries that you need to script over. But yeah it's not great for API glue code bc. APIs tend to bias toward JavaScript / JSON and other ways of doing things.
"repercussions" covers a lot if things.
Putting an IDE in debug doesn't take any time though.
It is definitely more natural with property based testing, but I think it works to some extent as a perspective in general.

You have a huge input space where each point represents some combination of possible inputs, you can think of representing correct behaviour as 0 and bad behaviour as 1 for each of those points. You're attempting to show by your verifying and testing as best as you can that the sum across all the inputs is 0.

For fixed example testing, you sample some points that you consider to be representative or boundaries, show that they are 0, and use that to argue that the whole space is 0. With property testing, you can let it literally do the monte-carlo thing. With verification you attempt to do the integration analytically.
Cmd+Shift+Period : toggles 'shows hidden files' in Finder
It's not a given (or obvious) that online tools are superior to books for learning to program. Even if that was objectively true it's trivial for a school to make online resources available to students without external Internet access.

The point the GP was making is schools can provide technology to students but don't have to let them goof off on the Internet. Students definitely don't need Internet access to learn to program. Generations of programmers learned to program quite well without YouTube tutorials.
Thank you for the warning. I'm planning to get into the hobby with a box of preserved broken objects and that was not something I'm ready for. Has anyone found an alternative lacquer or used biohazard-like PPE and procedures to avoid contact completely?
The ultrarich don't comsume as much of their wealth, whereas the poorer consume everything they make (aka "hand to mouth").

A 10,000,000/year consumption by a billionaire is an insignificant part of their wealth and their annual revenue, but still allows for an extravagant lifestyle.

A 40,000/year consumption by a working class person make barely allow them to make end meet, and it might be everything they made in that year (and they might even owe a lot as well).

So, taxing 20% on consumption, would net 2M on the billionaire (a laughable amount for them) and 8K for the working class person (which could be a matter of life or death for them, some health treatment, their kids going to college, etc.)
I used both of those for years but recently switched to vterm. I highly recommend it.

I do keep a terminal open for a variety of reasons (and some curses apps don’t work perfectly in emacs) but I probably only use it every other work day.
The end around this is convincing yourself that you’ll spend it better than the government would. There is a famous clip of Michael Dell saying as much at Davos.

Bezos and Musk think they’re saving the human race by deploying their capitol towards the pursuit of life in space.

Gates is attempting to make various diseases extinct.

Soros is attempting to bring about a world more closely aligned to the philosophical ideals that shaped his early education.

The richest of the rich usually have some pet project that they think is the most important thing in the world.
> I prefer the idea that a billionaire is a market failure.

Not at all -- the market is working exactly as intended (as long as it's not coming from externalities, like pollution that's not being paid for).

What's failing isn't the market, but taxation. We should be celebrating billionaires because they've succeeded in delivering better, cheaper products than other people. But we should also be taxing them at 90+% by that point.

Again -- it's not market failure. It's taxation failure.
There's a big thing missing from this picture: If you have $ 1 billion, then you will eventually have $ 10 billion (40 yrs of 6 % returns), and your kid could easily end their life with $ 100 billion (add 40 more yrs). Is that ok?
> Except Icelandic people can read Old Norse, and that's all the hype you need.

Yes, but again, that is due to 1) the 19th-century language reform, and 2) a conservative orthography where the spelling remains the same even though modern Icelandic pronunciation is nothing like Old Norse.

When it comes to languages being conservative or innovative, linguists examine the language itself over time, not just the present literary standard or the orthography used to write the language. So, yes, Icelandic has converged back towards Old Norse in certain ways due to artificial 19th-century efforts, but in the intervening centuries there were such massive innovations that praising Icelandic as conservative is disingenuous. Linguists tire of having to explain this (and some similar cases like Romanian versus the rest of Romance) to laymen.
If just one country has it, it will be safe from nuclear threats until the others catch up. However, it might still be vulnerable to conventional invasions. Because perfect ICBM interception doesn't change the equations for countries that are not nuclear and don't have a reliable ally that is.

If all powers have it and ICBMs become useless, WW3 is still possible, even more likely. After all, the Cuba crisis happened right after MAD became plausible and set a precedent that is hopefully followed in the future.

Finally, MAD is just as possible with bombers and cruise missiles, possibly launched by submarines. It's just a lot more expensive and probably less reliable. But if just, say, one or two nukes can reach their intended target, it might be enough to discourage large-scale and/or nuclear wars.
>Plus taxing consumption would be much easier and harder to skirt than a wealth tax.

It's actually just as easy, if not more. E.g. you don't "buy" a car, your trust/company buys it, and you just happen to use it for "business purposes". Same for all your other needs. And good luck trying to tax spending abroad...
I disagree with that.

There are Marxist extremists associated with BLM, and while "disbanding the police" may not be textbook Marxism, it is a "loony leftist idea" and therefore interchangeable with Marxism in the public discourse.

Similarly, very few of the people arguing for making the US a white ethnostate are literally "National Socialists". Yet, we call them Nazis.
In the US, investments held less than a year are taxed at normal income.
Body building supplements 20%off
There's (T)SME.
Yes.

Information theory leads to information retrieval

Signal processing can be used to measure health of food

Statistics can be used everywhere
And now we have global reach. Windows can be sold everywhere for no extra cost. That was never the case before software. Spotting a trend is not as good as understanding a trend.
It does appear to be early access, so it looks like they plan on taking it further
I agree, in general, with his point. But multiline editing was a real game changer for me. Things I once did manually that can be achieved with significantly less tedium.
I am using TLS.

The OpenBSD box has its own dhcpd and dns server. The leases it offers point to itself for dns in the LAN. Then it makes forwarded queries over TLS.
The guide is also really well made. Arguably that's the real product here and it's CC-BY-SA.
There's always ambiguity. People often say "billionaires" but if things get to the point of executing billionaires, it will probably keep going until the rich includes everyone with a white collar job. Or who wears glasses.

(on the evacuation of Cambodian cities)

"On arrival at the villages to which they had been assigned, evacuees were required to write brief autobiographical essays. The essay's content, particularly with regard to the subject's activity during the Khmer Republic regime, was used to determine their fate...those occupying elite professional roles were usually sent for reeducation, which in practice meant immediate execution or confinement in a labour camp"
Capitalism

Imperialism

Poverty
>as long as it's not coming from externalities, like pollution that's not being paid for

When it comes to crazy wealth, most of it comes from externalities - from environmental to paying workers poorly.
Can anyone explain why search is still broken on Amazon after so many years?!

Why do you get completely unrelated products, even though there should already be plenty of relevant products?

Why is the option to sort-by-price is more like sort-by-random-order?
Without the declarations -Wformat will not help much. Who adds __attribute__(format declarations? Almost nobody.
Hey kahlonel! Just wanted to tell you that I watched your stream and it was really good, I learned a lot. I don't have a twitch account so I couldn't use the chat when you were waiting for someone to show up. So I just wanted to tell you here that everything was great from sound quality to the content you provided! :)
No, it's not saying you should or shouldn't vote. It's saying that after election day, they will ask you to fill a survey, which is optional. That is literally all the invite is saying. In fact, choosing not to vote would be a valid & extremely valuable bit of information.
Russia is an IT midget, comparatively. And with ever increasing sanctions regime it's going to remain backwaters for the near future.
Money is just "the relative value of things and services". Whatever system put in place to measure relative value will be gameable, and will also have many legitimate winners whose win lots of people don't understand.
Well at least he doesn't not call the working clas "deplorables". Michael Moore has a very good comment on why Trump won in 2016, and why he still has a chance in 2020. Overall, Trump's performance up till COVID was okay, but he mishandled the pandemics terribly. Biden will win only because of this. Other than that Biden is boring bland candidate.
I’ve never needed car airbags, but it’s good they’re there. I have dropped a phone in a toilet.
Data from a study indicates that starting with 30-40 micrograms is good for most people: https://tripsafe.org/how-to-take-lsd/#3-use-a-safe-dosage-an...

It's extrapolated from psilocybin dosage but it seems about right.
I'd say it's time, not attention that is most scarce, but they are highly correlated so I suppose attention is a reasonable proxy for time.
It seems your school really sucked, and not just with regards to learning as most schools seem to do. For many people, though, school is also a source of lifelong friendships, romance, and other good things.
I think the implication is that we do it
don't say anything online you wouldn't want seen again

But the rules change at random, what is perfectly fine to say one day may not be the next.
Depends on what is making it wobble, and the surface on which it is placed.
Why it's so lonely at the top, and difficult for bosses to have work friendships
Yes this guy says two things are addictive, so he must have said that two are alike in their addictiveness. I really don't know what you need, but I'm pretty sure I don't have it.
There was actually a whole genre of action games in the Finnish indie game scene in the 90's, cave flying games (luolalentelypelit) that usually had similar physics from which Noita (Finnish for witch) clearly draws inspiration from.

Although most of the cave flying games were from the dos era, probably the most famous one, wings, had a "new" version [1] made that runs on windows and linux.

[1] http://www.wings2.net/
And Gates, Bezos, and Musk are probably right.

If anything, it is a much more efficient way to spend some resources. Instead of filling the bellies of thousands of red tape enabling workers, or spending that much money in pharmaceutical advertising.
Which is only of somewhat benefit.

"While Tesla offers mechanics the ability to pay for access to car manuals (as much as $3,000 a year), Benoit says the company limits access to its diagnostic toolkit to official Tesla service partners and attempting to become one could easily cost six figures and still be unsuccessful."

https://www.digitaltrends.com/features/right-to-repair-legis...
It's funny -- a lot of products are 90% 5-star reviews, but nearly all the top reviews on a page are 1-star (the ones that get voted up as "most helpful").

This actually seems to solve the problem. You read through a bunch of them, and use your critical thinking to figure out if the problems are real are not.

Because the first couple are often just "this product broke after using it once!" which you can just ignore, because that's always going to happen to somebody and for some reason people love to upvote it.

But then you'll either start to notice a theme, or not. If there's a theme (8 of the 10 top reviews complain that the handle breaks, or that it's not compatible with Macs), then you can be pretty sure it's legitimate and probably want to look for a different product. But if there isn't any theme except "it broke immediately/arrived damaged" and then you start seeing reviews where people are like "it works fine", then you're good.

I dunno, but that seems to work for me. So thank goodness Amazon has the upvote button -- if it didn't it would make finding meaningful reviews a lot harder.
An interesting fact is that this has influenced the design of computer fans: https://news.softpedia.com/news/Lenovo-Details-Its-Unique-Ow...
I may be extrapolating too much but I think Steele team workig on Fortress was also doing monoid like thinking to parallelize heavy. He made a talk on how to delinearize problems into partially solved subproblems to be reconciled later.
The summer job at Teespring was an internship — iirc around minimum wage. After my internship I became a fulltime employee and they put me on a normal salary which made SF more affordable.
To come back to Google, I wrote a Wikipedia article: https://en.wikipedia.org/wiki/Draft:Effects_of_the_2007-2008...
How to run Mac OS Catalina on unsupported hardware