skysight-inc/HackerNews huggingface dataset:
>The Hazara will be persecuted. Women will be delegated back to being second class citizens.

The Taliban has indicated that they have no intention of doing either of those things. In their address they explicitly stated they would protect minorities and womens rights to education.

While I don't personally support their governance, the previous government of Afghanistan was nothing more than a vassle state of the US/western occuption riddled with corruption. It was a literal blackhole where governments would dump money with very little effort to be traced, and wage proxy wars. I am glad that government has collapsed. I pray for peace for my countrymen, and I do hope the Taliban stick to their word, and bring peace to the wartorn nation. Do not forget that our media is riddled with propaganda. Their efforts over the past decade to remove the puppet government and have peace talks with the occupying forces give me some hope that things have changed. At the end of the day the US and western nations never belonged in that country, and the Afghan peoples destiny is better left in their own hands. May God be with them.
> Not really dude. If I was around other people even remotely often it would be a different story but I work from home, dont really hang out with people, and wear an n95 when I have to go to the store.

> It doesn't make me a bad person to be unvaccinated. It would if I was cavalier about potentially getting others sick...

Then you truly are a rare bird.
The problem with YouTube as an alternative to formal education is that it doesn't tell you what you don't know.

YouTube should warn people that its content shouldn't be mistaken for a comprehensive education on a dangerous topic.
Show HN: Track your LinkedIn Network’s career changes
A simple tool to track your Linkedin connections and deliver an information who's open to the new opportunities and to work right now
In the linked article it seems his conclusion was the issue was the small buffer size ls uses. But it's not the buffer itself so much as the things done to the data in the buffer that slow things down?
Would a battery really sove that though? If regulations say that anything feeding the grid should shut down if it detects an outage of incoming power (I'm still perplexed as to how you'd measure that on the same conductor, but it's not really my field), wouldn't a battery feeding the grid have to do the same. And if you have the cut-off "upstream" of your house (so your house can still get power from the battery, but the grid doesn't), then why couldn't you do that just with the panels and no battery? Obviously a battery would be better, but in terms of cutting power in an outage, I can't see a difference.
Would that really happen though? I don't think I would actually release recursive code.

I find recursion to be very simple and elegant for prototyping algos, but I would instinctively rewrite it with an iterative/queue form as soon as the "toy" stage is over.
Show HN: Repurposing AWS Systems Manager API to automate infrastructure testing
I can see the appeal for urban zones to have new underground high voltage lines (even though it's not ideal from a technical/operation standpoint) to appease land owners, who don't want big new easements for overhead transmission eyesores in their backyard.

That being said, in a typical neighbourhood it's still wires everwhere to the house. I even went as far to drop the little man in google maps and have a peek. Wires everywhere the eye can see!
The posted solution seems to work even when the objects have zero area, and are just points in space. If you just surrounded the target with 16 points, there would either be gaps or the points would be infinitesimally close to the target and would occupy the same space.
I'm not a programmer ;)
Thank you for the open minded and decent response. Based just on what you've written, I have no doubt that you are a person with genuine admiration for the peoples you have encountered.

I hope that my comments about your writing tone can help others better understand you as you are and not the way you say you are often perceived.
I wonder how big their forces are and how supported they are by the local population.
Lab-made dairy products are now a reality
Return works within loops right?
Insinuations against particular individuals are against the guidelines, not a blanket ban on mentioning that astroturfing / shillings are an accepted reality of today's social media as part of social media marketing. And I recognize that sometimes what is said is out of ignorance on the part of the poster, (which is what I have highlighted).

That said, I have no hesitation in pointing out that that calling my posts "uninformed", without actually providing any actual context, is just a lazy and aggressive way of avoiding a discussion.

Or you can engage with me and point out where my reasoning is flawed. Here's my stated position and reasoning for what I have said so far, and you can chime in with you thoughts:

First, I started by pointing out that the beliefs of some Apple fans that Apple has made it easy and / or is actually helping developers to port Linux to the M1 is pure ignorance - Apple is doing no such things, but it is in their interest to let the public believe that. What is uninformed about this, in your opinion?

Second, I voiced the opinion that "open source developers are wasting their time trying to support such a useless "closed" piece of hardware, and instead should be boycotting it". The reasoning behind it is obvious - supporting a closed black box system, like the M1, and the proliferation of such devices will mean we will lose more of our computing freedom / right-to-repair on the computers we own.

Is it "uninformed" to point out that the M1 is a closed system that limits us, compared to Intel / AMD alternatives available? Or that the efforts of the developers will be a waste when Apple can, at any time, thwart or derail such reverse engineering attempts on the M1 by updating its firmware?

Third, porting Linux to the M1 will make it attractive, and help its sale. But it is a short-sighted and regressive move that will not help the open-source movement, and will backfire on us as it will help to make such closed box systems popular. The better approach for the open source community is to actually publicly boycott and disparage the M1, so that Apple is forced to open up the M1. Porting Linux to it then would not only be easier, but also makes more sense. What is "uninformed" about this way of thinking?

Fourth, while I do appreciate the strides made by Apple in developing their own custom ARM processors, I do genuinely believe that the technical gains (more computing power) are competitively temporary - both AMD and Intel systems have at some point always shown such leads. And it is not far fetched to say that this technical lead is even negated due to it's closed box nature. Do you think I am wrong in concluding that AMD / Intel will not catch up, or even overtake, Apple ARM processors?
"output" is a keyword, cannot change it (I guess one could recompile the interpreter and define it as something else)

semicolons separate statements. Dont like them at the beginning, move them to the end.

Dont like the label names. Rename them to whatever suits you.

The thing that you may be misunderstanding is that this is written for me, not you. It is written to please my sense of aesthetics, not yours. I am not employed to write programs for other users or to be read by programmers. Every user is different.

You probably could not write a program I would use. I would find "deficiencies" and reject it for something else.

If programming is objective then why are there thousands of different languages, and the number is constantly increasing. All of them are basically doing the same things.

Honest question. Why are there so many different languages.
Whats behind that.
This only changed the look of the tabs, not their size. The tabs still look oversized and eat up screen space.
I don’t remember that book having many fluffy parables. A lot of it was the kind of implementation detail he would talk through in person with a coaching client. I would think most people looking for that kind of help would rather just use the time it takes to read a full book to help them think through their personal situation.
You’re incorrect. People are moving to urban centers, many in the south, all of which meet your your criteria of “tax, tax, tax and waste money.” According to the conservative lens, which doesn’t really grasp the concept of “per capita.”

Meanwhile vastly subsidized rural America, much of it in the south, is dying, because the wealth producers and job creators in those tax tax tax waste money jurisdictions are tired of sending money to people who complain about having money sent to them.
Don't forget the intelligence agency off book guns, drugs, money triangle. I've thought for a while as a border state, thats the primary thing exerting influence over the state congress. One of Columbias most famous hitmen said it, if the US legalizes it would change a lot of Mexico for the better, and ironically would be bad for Columbia since they are the upstream supplier. AZ went legal and I can't wait to see how it has impacted the peripherial black markets like human trafficking. If a state on the border like AZ can do it well and reduce over the border criminal activity then I think Texas will start catching up.
If your application is simple enough that the pipeline stages fit neatly into the number of CPU cores you have, that's great. But for nontrivial applications one threadpool per pipeline stage would generally mean many more threads than CPU cores, at which point you're doing a lot of wasteful context switching. And since pipelines are one-way (unlike a function stack where you can return to the caller) there's a significant maintainability cost to structuring your program like that.
That "N" used to astound me when it animated :)
I would recommended to take these steps right in the beginning, when you setup email for a domain (or even when just registering a domain with no intent to use it for email).

It's much less stressing to work with these when you don't yet have anything important going on.
> I'm also wary of functional programming gurus that tend to over-abstract things and use all the language latest features, making code very hard to read.

Wanted to echo this point.

I'm a huge FP proponent, and I do believe that liberal use FP paradigms can result in code that's in many ways measurably more expressive and less complex than code that make liberal use of imperative looping, in-place mutation, and inheritance, etc. When I'm coding on my own for side projects, I always strive to use the most elegant and expressive FP constructs I can think of.

However, at the end of the day, most of the coding we do is part of a social activity. And in a social setting, familiarity matters.

Writing slightly less expressive, more complex code in a way that most people who read it will be already familiar with can result in more productivity in aggregate than writing code that's super expressive and simple but requires everyone reading it to first learn the paradigms/patterns that enabled the code to be written that way, especially in a fast growing startup where people are constantly onboarding into the codebase.

Optimizing too much for familiarity can also become detrimental though, in that it results in stagnation and closes the doors to paradigms/patterns that can have an outsized impact on overall productivity compared to their cost in learning/education.

The real challenge is striking a good balance between familiarity and expressiveness in the choice of paradigms/patterns to use.
Good working relationships has the capacity to boost productivity like nothing else. The cost of the unproductive time of a pleasant work-place conversation should be easily out-weighed by 'happy socially-engaged-in-the-workplace employee' pulling out all the stops to solve problems for their colleagues.

I don't believe this can be represented by KPIs, and therefore doesn't factor into (bad) managements' view of the world.
The theme does come up in some papers - Google's F1 papers for example.

A lot of it doing the engineering work to make known techniques work - you can have a broadcast join that spills to disk (using a hybrid hash join or similar) and then layer on other techniques to make the spilling more incremental and reduce the penalties from spilling (e.g. bloom filters). It's just an order-of-magnitude increase in complexity to go from a simple broadcast join to a robust one.
> On the JVM, native threads are really expensive, especially in terms of memory.

If you're running on Linux, this is rather less the case. People see 1MB Xss values and assume that 1MB of 'real' memory is required to spawn a thread. In reality, on a standard linux system with overcommit enabled, stack pages are only consumed as they're written to - the rest is just virtual.

Possibly you're talking about something else, but I commonly see this raised as a concern about creating threads in Java.
weird read : https://en.m.wikipedia.org/wiki/List_of_unusual_deaths
On a technicality: this wasn't an invention, this was just poor execution.

Same with the electric Tuk Tuk earlier, the line between re-implementation and invention is apparently blurring, personally I feel that the term 'invention' should be saved for things that were not done before.
I never considered blocking email on domains I don't email from! I will implement that.
> 70% of the countries GDP were

country’s*

Regardless, that’s a stat for morons to parrot (e.g. https://www.brookings.edu/blog/the-avenue/2020/11/09/biden-v...). A county that Biden won 60/40 that produces $1 billion GDP is not $1 billion of GDP support for Biden. It’s 600 mil Biden and 400 mil Trump, and that’s under the charitable interpretation that rich people are just as likely to vote Democrat as they are Republican.
Yes, under MPM, you have a listen backlog. If there's a spare worker available to process a request, they'll be picked off the backlog.

https://httpd.apache.org/docs/2.4/mod/mpm_common.html#listen...
No, learn too little, they will hurt themselves.
The reasons humans started kissing
Give your local box a static IP from a LAN range, give it a name in .local or .lan domain, and you're likely fine.

The more interesting stuff begins when you want several boxes, and also your laptops, phones, tablets, etc to form a reasonable LAN, while accessing the internet. Bonus points for remote access to your LAN from outside it using your laptop or phone. Etc, etc.
Tuneable stiffness is a basic property of muscles. You can think of a muscle as a spring-damper combination for which you can set the spring constant, zero point, and damping factor. That's what allows elastic energy storage in running. In human runners, you get maybe 70% of the energy back on each stride. Cheetahs get 90%.

Building an actuator with those properties is tough. There are a few approaches.

One of the best is a double-ended pneumatic cylinder. If you can control the air pressure on both sides of the piston, you have a spring with adjustable stiffness. This can store energy. Raibert's original hopper used something like that for the hopping motion. You need fast proportional valves near the air cylinder to make this work. Also, compressed air. Festo, which builds advanced pneumatic systems, does this sort of thing.

This can be done with two opposed springs, each with its own drive motor. That's been done a number of times. Tighten up both, get a stiff spring. Loosen up both, get a limp spring. The mechanical setup tends to be bulky and involve pulleys and cables. CWRU has built robots that way.

There's a way to fake it using something called a "series elastic actuator". This is a single screw drive linear actuator with a stiff spring on the end and a sensor to tell how much the spring is compressed. If a force is exerted on the output end, the screw drive motor cranks fast to try to stay ahead of the applied force and create the illusion of a spring with the desired stiffness. There's no energy recovery. In fact, as a force is applied, not only do you not store energy, you expend energy to move the actuator. So this is mostly for research projects and things that don't run on batteries.

There have been various efforts to make muscle-like actuators, using fluids that change properties as electric or magnetic fields are applied. I don't think any of those devices became useful.

Linear motors can do this directly, but linear motors tend to cost too much, and have low power to weight ratios. With some designs, you can do regenerative braking and get energy back. There's never been a killer application for linear motors, and so they tend to be small volume items.

It's one of the mechanical problems in robotics with no really good solution yet.
An informed thread-based approach is quite more careful than just spinning "lots of threads" and can certainly achieve a concurrency of 50, or 10000.

Let's say we want a concurrency of 1000 and have 8 CPUs available. I'd have small thread pools, one per logical kind of task. Maybe this would result in 20 threads total for the whole JVM.

Concurrency would be represented by the items being held in BlockingQueues of max size 1000. Items would be transferred from thread to thread by communicating via said queues (pipeline pattern).

CPU utilization would be practically ideal as there's always a thread having some kind of work at hand.

And the system would be actually concurrent since the queues can have interleaved workloads (e.g. work for users #1, #2, #1 again, #3, etc).

The max queue size allows to communicate backpressure to e.g. a load balancer.
Ancient comb jelly had more complex nerves than its modern relatives
"Knowing enough to be dangerous" is a well known phrase for a reason.
I'm guessing that is based on dollar amounts rather than calories? In other words, CA may appear to have a larger share than the reality if they focus on more expensive crops like avocados, pistachios, and almonds.
Yes, as other users said, it’s a consequence of short passing periods, inconveniently located lockers, and students having to move between specialized teachers every hour. I would also add that not many American schools teach in a lecture format, so students feel they need to bring textbooks and workbooks instead of just a notebook and/or computer.
Thank you for sharing, it was interesting to read. However, the article is not at all clear about the actual effect of those state measures. Wikipedia says that the steadily high total fertility rate in that country plummeted after 1985.
Hang on to that one please. These old formats are getting harder and harder to play back to and format transfer if possible. Maybe Archive Team would be willing to take it off your hands?
Well someone is lying.

there are plenty of reports of girls being forcibly taken from houses (to be married to fighters), plenty of footage of dead men in the streets (corroborators), pictures of Western iconography being removed, or painted over and plenty of footage of people trying their dammed to escape before the Taliban turns up.

That last one is for me the biggest giveaway. People dont leave their homes behind easily.
> Carolyn Shoemaker started her astronomical career in 1980, at age 51, searching for Earth-crossing asteroids and comets at California Institute of Technology, Pasadena, California, and the Palomar Observatory, San Diego, California.

Was she a late bloomer! I am about the age that she was when starting her astronomy career. This gives me immense hope that an entirely new (and possibly successful) chapter of my life can be started now.
All those OSHA rules are "written in blood" as they say - and there are reasons for "stupid" rules like seatbelts and such - likely he would be alive had be been solidly strapped to the machine (thought of course he could have died other ways).
Where I am, If I want to buy an EV then either I'm going to have to make a long trip, or I'll buy from Carvana. Other options?
Oh and also don't just give me API documentation.

Give a few "Hello World" examples and then a a few slightly more in depth but minimal examples that do something useful.
Rage Ground
Creating an almost-working helicopter with this level of resources is a huge achievement — it’s like a 5 foot guy making a slam dunk. To a seven footer it’s “just a helicopter” but honestly the world has lost a great talent.
Maybe either would have worked: learning less or learning more.
so i want to know how much of this price is licensing costs? suppose today the e-ink patent goes public, is free to use, how much of a price delta can we see?
You should just read the book instead of guessing at the ideas in it.
> It makes one think that maybe the ”hero inventor” stereotype does not lend itself well to our current level of technology

I'm sure if you look at the history of inventors there are many people who were killed along the way. The Wright brothers were heavily inspired by Otto Lilienthal, who was killed in an accident flying one of his gliders.

Of course this doesn't make this any less tragic, my prayers go out to this man's family and friends.
Very common in rural areas too - I wonder if it's mainly being able to find someone to teach it.
Launched our MVP – 1Page – Show them you know them in every meeting
Very complicated multilayer fuzzy pattern matching.

If you look at it that way, it's not dissimilar to the brain.
Progress in those cases makes sense, it follows an exponential curve of technological progress that fits perfectly with our understanding of how things work.

What doesn't make sense is that all the examples you gave happened in just over a century. If you go back a bit further there is pretty much nothing.

Biologically, there should be very little difference between us now vs 5, 10 or 20 thousand years ago.

If we made an index fund that tracks human progress, For decades (millenniums) its normal linear growth like the S&P 500, something you put in your retirement fund. Then suddenly you have a massive green dildo that went up more in 2 seconds than decades worth of gains. Now the fund looks like a shitcoin.
Sure, but we can think behind our thoughts. And we can sound things out before we say them. And we have mutable long-term memory.

There's not much between us and GPT, but there is some distance still.
Only if you have multiple layers of depth. You can easily have a single layer and then its a flat loop to list everything and broken up in to multiple much faster operations.

I haven't looked in to the details but one system I can imagine is hashing the file names and then placing the file in the folder named with the first x parts of the hash. Then to look up you can use the filename to work out exactly which folder the file is in and you never exceed a set limit for files in one folder.

If we say 3000 files is perfectly safe in a single folder, 3000 folders with 3000 files holds 9M files.
How is imprisoning a cat in the house 24/7 not animal abuse? My indoor cat develped OCD and died early at 10y of age because it developed hyperthyroidism according to the vet. I stayed at the 3rd floor with concrete and a fence under by balcony at the time, so 100% death rate if the cat fell off. Got the cat when I lived at a house with a yard, had to move over, otherwise I wouldn't have gotten a cat in the first place. I will never ever keep a cat indoors 24/7, better just refrain from getting one if no yard is available. Also no caged mammals, marsupials or birds.