skysight-inc/HackerNews huggingface dataset:
It is. We can decide that bad kids are bad and throw them in jail at exorbitant cost to the taxpayer, or we can invest more resources into the kids at most risk upfront, to improve their chance of becoming productive members of society.
What do you suggest, Gopher?
How does a single server run millions of active connections?

Wouldn't you run out of TCP sockets?

What am I missing?
The same here - I think templates would be a good fit!
https://agenda.com fit the bill for me. Offline use (though can only sync today through iCloud and Dropbox, I think, which sucks - but you can sync folders manually), pulls calendar from your system integration, simple payment. You can link your daily agenda items/notes to calendar invites.

Though it does not connect to email, at least today, which was OK for my use cases.
In my experience, productivity apps have more in common with lifestyle brands than, say, email. In that way, there's no winning any more than one brand can effectively own a space.

If I were CEO of one of these products, I'd quickly diversify into other areas in order to differentiate, add value to subscriptions, and better cater to a particular audience. How I'd do that would depend on the lifestyle brand I'm trying to establish. I've heard this called the law of division in marketing.[1]

1: https://ericsink.com/laws/Law_10.html
The Nexus 5 issue was just an example. Even phone makers are totally dependent on Qualcomm etc. providing drivers and maybe updates to those drivers.

It's not like you can just hack updates together yourself. Not always anyway.
having re-watched the original recently, one of the most striking things was how successfully they managed to create a setting that excuses practically every single convention of bad screenwriting and still works as a film.
> I didn't know this. It's absolutely bizarre. I wonder why Russia even bothers with elections -- it's clearly not on the bandwagon for western liberalism, which seems fair enough to me, but then why go through the motions?

Why did Stalinist Russia bother with show trials? The appearance of legitimacy is enough to give cover to people who approve of the government without wanting to own up to its dirty tricks, and to mute the voices of those who disapprove.
Show HN: Bootstrap 5 Components for Vue 3
Doubled My Money with AI
Hey OP, in case it wasn't clear from my original comment, I am impressed with how stable your site is! "A few seconds" is wonderful for a #1 post, and far better than what usually happens to lightly-hosted sites that get to this point. Those are usually timeouts or outright failures to connect.

I just figured I'd start some conversation on the post, since there wasn't any comments when I initially looked. For better or for worse it seems like I got people talking.
Looks like the project hasn't been updated in a while? The last files on the downloads page are from 2019-06... I believe https://www.gharchive.org/ is still updated though.
IMHO - no one is really concerned about problems like this. Progressives and conservatives come in with their bias first and foremost and the problem is always that their agenda has never been carried out in a pure enough form.

Everyone acts like they care, but both sides manage to turn a blind eye to inconvenient truths surrounding the issues of poverty, black education, black crime, etc. And when the issues highlighted by the right and left, individually, create a cyclic cause-and-effect? Then forget it. Everyone is always concerned about 1/2 of the problem b/c to admit the other portion is using <insert tribal identification> talking points.
This is one of the reasons that many Uber drivers in El Salvador cancel rides paid with credit cards. They prefer to be paid in cash.
spectacle is important here. it’s important for Putin to claim that people chose him, he is a leader of population by choice, not force.

look at Belarus, when stuff became too obvious, people started to display dissatisfaction. That is Putin’s fear IMO.
I had a discussion with a coworker about something about slow memcpys, that roughly went the same way except... you know, DDR4 RAM has a speed of roughly 40GBps.

Also, that "awful" 1MB memcpy is likely all in L3 cache these days. But even if it weren't in cache, we're talking about an operation that takes 50 microseconds (1MB read + 1MB written == 25microseconds + 25 microseconds).

Given that modern CPUs have like 16+ MBs of L3 cache (and more), and some mainstream desktop CPUs have 1MB of L2 cache... its very possible that this memcpy is far faster in practice than you can imagine.

1MB is big, its a million bytes. But CPUs are on the scale of billions, so 1MB is actually rather small by modern standards. Its surprisingly difficult to get intuition correct these days...
Look @ https://www.genesis.com/us/en/2022/genesis-gv70.html & Tesla I would hardly call gv70 a beige box compared to Tesla Y
Smallest Rocket Flight Computer? [video]
My blog is fine, my self hosted analytics (on another server) not so much!
Yeah, this never would have flown at my high school. My school's secretary personally called my parents the first time I ever missed a class with an unexcused absence, and that was a single class, not a full day. At the very least, after the first few unanswered automated phone call, a human follow-up should have been made.
If brands don't survive as a separate company, then they could also do this as a division of a parent auto company.
A connection isn't just a dest_port, it's the unique combination of 4 components: source_ip:source_port:dest_ip:dest_port
socket multiplexing
I really love that quote "..A good programmer...", do you have a source?
> I'm sorry that it's so offensive to you

Let's clarify. You're sorry that I find your insults offensive?

> Lol every time I see the word "feet" I'm reminded that this article isn't targeted to anyone but Americans

> I absolutely have never had to use those units in a serious professional context.

> Any time I see a technically-sounding article use units like "feet" and "football fields" I subconsciously find it very difficult to take anything afterward seriously.

You basically said "the American units of measure are unprofessional and I can't take anyone seriously when they use them" and you wonder why that might be offensive?

You're reading an American newspaper about things topical to Americans. Are you reading it for laughs then? I don't understand.

It's ok to not like the Imperial system, most Americans hate it too. And we're stuck with it until momentum can built to change that fact. But what you're exhibiting is elitism and snobbery.
It isn't that easy to do. Anyone advertising their ex-con status is sabotaging themselves. So what signal do they use for every inbound resume?

So the company can't just trash the resume. After the interview, if things are moving forward, the candidate can inform the hiring manager of the situation. But if the company doesn't do background checks, they don't ask so you don't tell.
Yeah. Now that CPUs are insanely powerful and you have NVMe SSDs etc the bottleneck is always memory.
> What fraction of customers is affected by the issue?

Also, is there a workaround and if so how easy/tedious is it?
“Useful idiot” is a term coined back in the day to describe people who unwittingly spread the propaganda of communists without really understanding the ultimate goals. In this case being a progressive while disagreeing with the leading ideas of the movement.

And no it doesn’t mean a vote for Trump. It means not supporting candidates that parrot this type of rhetoric and to not support causes/movements that are a part of it. FWIW Trump did ban critical race theory from being brought into federal offices and Biden quickly reinstated it under the guise of “learning to be nice to each other” - which it isn’t. Biden, in this case, I believe is a useful idiot for propagating their propaganda, mistaking it for harmless “diversity training”. There’s a big difference!
Unfortunately with comingling of inventory in Amazon warehouses you'd still end up with counterfeits.
Yup, that's exactly what I was hinting at. This sort of statement makes it clear that there is an undesired connection to the system clock, but of course all those tests that use time.Now() or whatever are equally likely to become faulty.
Apologies if this is obvious, but if you're not getting callbacks, usually the issue is with your resume or application. If you haven't already, I would look for groups that review resumes and applications (especially groups that involve people who are already working or have experience hiring.) You could also try posting on the /r/cscareerquestions subreddit to have people critique your resume.
Great to hear
Discussion: https://news.ycombinator.com/item?id=28443449
I mostly use duolingo and lingodeer together. I've found that just working on it twenty minutes a day keeps it interesting.
> Sure. It's also not relevant.

Except that it is.

> You asked a question that made no sense. The appropriate question would've been "Who has more impact on company earnings, a quarterback or a CEO", in that we're discussing one's ability to drive revenue for a business. It has nothing to do with celebrity.

No. For one, you're wondering off into the weeds. We've gotten sidetracked discussing the effects of a particular type of action (stating a personal opinion publicly) on revenue, not the effects of all actions theoretically available to the role. The CEO can certainly have "more impact on company earnings," but that's because they could do things like badly misallocate investment, which are not relevant to a discussion about personal political statements.

The amount of "celebrity" someone has directly effects how much attention their statements will get, and thus the impact of those statements.

> A CEO has far more ability to damage the company they work than a quarterback. This is why your behavior is in bad faith. You're arguing points nobody made/don't change the outcome of what we're discussing.

Eh, no. Way up here (https://news.ycombinator.com/item?id=28440465), someone drew an equivalence between Colin Kaepernick and this CEO, which sets up an uncomfortable dilemma for certain common clusters of political tendencies (i.e. it was right to fire Kaepernick). That dilemma was "solved" by gerrymandering criteria to differentiate their positions in a way that doesn't actually make much sense (e.g. somehow this CEO's controversial opinions can be predicted to negatively affect revenue, while Kaepernick's much higher profile statements could not have). Showing that "solution" doesn't make sense because it doesn't match the facts restores the dilemma.

My ultimate position is that both this CEO and Kaepernick should have both kept their jobs, in spite of the political opinions they expressed. I suspect that any set of seemingly politically neutral criteria that justifies the CEO being fired but not Kaepernick likely was engineered to justify a result that was really determined by underlying political biases (e.g. applying a factional Overton window to the broader population).
I certainly agree that there was a serious amount of parental and school figure failure here, but a school and a parent can only motivate and encourage. A student has to take responsibility for themselves and do the work, too.
I guess you'd be saying the same about the (extant) Congolese rocket program?
So many challenges. One is that we can only receive information from certain parts of the brain—those where the neurons are perpendicular to the scalp. As you know, the brain is really convoluted, so this makes for a very messy signal. Another issue is that the raw noise makes it extremely difficult to detect faint signals.

An approach for this is training models that have expectations based on the stimuli themselves; e.g., to find neural resonance with different frequencies in the stimulus.
naively, yes.

Those developments are basically unrelated to ICE vs EV, at least from what I've seen. Car companies are working on that in ICE models too (and tried before they announced EVs). Car companies make EVs that don't have this kind of integration, and will continue to do so. Some probably have decided to align it and develop it in parallel for EV models only, or at least pretend to do so for marketing reasons, but it's not a fundamental property of either/or.

"Having" to do both now of course doesn't make life easier for car companies, many of them still struggle very much with this "software" thing, and it shows.
This is incredible. It takes the best parts about Spotlight/Alfred on MacOS and applies it in-context to the web. Great job!
Would you care to go on record as asserting that limits can not be placed on Constitutional rights?
Exactly, I dont see the point bragging about this nevertheless posting about it on HN ...
You never have to interact with a
TV’s interface already.

HDMI CEC allows you to take a new TV, plug an apple TV in, and just use the Apple TV remote. The TV will automatically turn off and on switched to the Apple TV input, hence a dumb screen + Apple TV.
Improving Data Science Processes to Speed Innovation
I cannot understand why the petrodollar myth persists but here we are so I'll break it down:
1. Oil is traded in dollars because dollars are a reserve currency.
2. Dollars are not a reserve currency because of oil.
is that $30 for a single droplet or is it spread out between a few different services? I'm kind of curious since I use DO for small projects myself.
All people turn anti-science, anti-curious reality deniers when they feel their cultish extreme views are threatened by questions. And some turn into nasty hateful bullies.

A leftist is not immune, and a professor is certainly not immune to this.
You just said having USD was part of the best of both worlds (despite fed monetary policy) and Bitcoin has the risk of crypto as well. Seems contradictory
Our currency is the USD. The former local currency only exists in collectors hands or old laws.
Dedicated here sounds like coded language for "will work the longest hours"
That estimate can be verified with load testing systems like Artillery. My theory is that things would break far sooner than estimated along the following lines:

- Too many WSGI connections if the timeouts aren’t tweaked

- Too many database connections, especially without caching and tuning

- on the Apache side if MaxRequestWorkers isn’t set there will be memory issues with 1GB RAM

- the disk could easily hit IOPS limits, especially if there is a noisy neighbor

It’s not likely all or any of these things will hit IRL, but that all depends on traffic and usage patterns. It matters not, if you were getting 4.2 M requests each day you’d be in the Alexa Top 1000 and could probably shell out for the $8 server :)
I have another todo list in my mac's notes 'app' which syncs to my phone.

However, for non-work stuff, I usually rely on pen-and-paper lists.

It works for me, I've experimented with a few apps but they've never stuck within my workflow.
My comment still stands on its own. How do you know there are only "two ends"?
Even database queries aren't that slow on reasonable hardware, as long as the queries are simple. The problem appears once you have dozens of DB queries per page. It's really not a fair comparison to the site this topic is about, but for trivial queries you can easily get a few thousand requests per second out of Postgres on desktop hardware without any real tuning as long as the DB fits into memory.

But static content is of course still much faster and also much simpler.
It seems as though the school administrators are going to keep being "socially promoted" without doing their job the same way this student was.
Saving costs asking for Forgiveness in Python
Sure, startup is defunct now and I think arbitrage & data on centralized exchanges is a dead market now. Wall Street HFTs got into the arbitrage game, and the data sites laypeople actually visit are the ones started in 2014.

Codebase was pure server-side Kotlin running on the JVM. Jackson for JSON parsing, when the exchange didn't provide their own client library (I used the native client libraries when they did). Think I used Undertow for exchange websockets, and Jetty for webserving & client websockets. Postgres for DB.

The threading model was actually the biggest bottleneck, and took a few tries to get right. I did JSON parsing and conversion to a common representation on the incoming IO thread. Then everything would get dumped into a big producer/consumer queue, and picked up by a per-CPU threadpool. Main thread handled price normalization (many crypto assets don't trade in USD, so you have to convert through BTC/ETH/USDT to get dollar prices), order book update, volume computations, opportunity detection, and other business logic. It also compared timestamps on incoming messages, and each new second, it'd aggregate the messages for that second (I only cared about historical data on a 1s basis) and hand them off to a separate DB thread. DB would do a big bulk insert every second; this is how I kept database writes below Postgres's QPS limit. Client websocket connections were handled internally within Jetty, which I think uses a threadpool and NIO.

Key architectural principles were 1) do everything in RAM - the RDS machine was the only one that touched disk, and writes to it were strictly throttled 2) throw away data as soon as you're done with it - I had a bunch of OOM issues by trying to put unparsed messages in the main producer/consumer queue rather than parsing and discarding them 3) aggregate & compute early - keep final requirements in mind and don't save raw data you don't need 4) separate blocking and non-blocking activities on different threads, preferring non-blocking whenever possible and 5) limit threads to only those activities that are actively doing work.
You are also paying for credibility even at the small business side. As an s corp owner buying a house was much harder than it would be for a normal w2 engineer. The letter from our cpa was priceless in the process.
For those of you who missed the links to the examples:

> Try:

> ServerOps sample - a more in-depth version of the quickstart you just completed, using CPU metrics from your own machine

> Gardener - Intelligently water a simulated garden

> Trader - a basic Bitcoin trading bot

- https://github.com/spiceai/samples/tree/trunk/serverops/READ...

- https://github.com/spiceai/samples/tree/trunk/gardener/READM...

- https://github.com/spiceai/quickstarts/tree/trunk/trader/REA...
> Security is enforced by blockchain smart-contracts

Hard pass, there've been too many smart contract failures to even think about going down that road.
Making Numpy Accessible: Guidelines and Tools – Quansight Labs
> It's not that unbelievable though.

I don't doubt it. Doesn't make "Bin Laden's Bookshelf" less of a PR stunt
> Farley has said Ford’s future depends not on selling cars one at a time, but on selling features to owners to constantly update their cars like they do their phones.

I really disagree with this on so many levels, and I believe the market will ultimately reject it too. When you’re spending tens of thousands on a car, the last thing you want is some optional monthly fee for seat warmers and navigation features. This seems to be driven simply by the desire to have a monthly income versus what consumers actually want.
>For me, it was when I had to climb a metal structure for work. I didn't want to be afraid in front of my peers.

Interesting, displaying fear in front of your peers was a worse outcome than the perceived risk of heights.
The other thing add that it is okay to support men who need that support. This was exactly what the Ontario Ministry of Education was encouraging men to get into teaching a decade ago. They had data that showed boys attainment of literacy was declining and viewed more male role models as a potential solution.

It is also worth noting that providing supports for men does not mean removing supports for other under represented groups.
I would guess they may be muxed over fewer sockets, by their LBs, but that's not strictly necessary.

I'm not sure exactly what you mean by "run out of TCP sockets", but theoretically speaking, the only limitation is how much memory is available to store the necessary info about the socket (like address/protocol info and process info).

In practice, OS's do have a "max socket" or "max FD" limit, but that's usually configurable and (with enough RAM) could easily be set to "millions".
Development and Release of Type4Py: ML-Based Type Auto-Completion for Python
+1.
I remember modest VPS/Parrallels serving PHP at 350r/s
>It is especially important in today's environment of cost-cutting and increased profit margins that safety not be sacrificed.

Was there ever a time where the environment was not one of cost cutting and increased profit margins?
So by "unhindered capitalism" you mean “partially-hindered capitalism”?
Mentally engage and participate verbally if it is that kind of meeting—-ask questions, offer views, etc. If you can’t speak, have this dialog with yourself in your head, and/or follow up with participants later.
Like I said, Airplay is a feature of an iPhone, not a TV product. The Apple TV set top box is a stop gap for a real tv. They need a placeholder platform to have the developer side of the platform seeded.
Crossing my eyes I can almost see the dinosaur ....
Mastering Web Scraping in Python: Scaling to Distributed Crawling – ZenRows
Slashdot doesn't seem to keep them separate, so they really don't work that way at all. Information is still tossed to /dev/nul
What qualifies this nicely put propaganda to make to the top of HN? I am trying to understand what is the criteria?
Have some sympathy with India dealing with the worst terrorism for decades and china with all the money always on its neck. This article squarely ignores the security challenges India faces. I guess the expectation of the article writer is to just move away and let the Pakistanis/Chinese rule you.
> I think perhaps you misread me? I chose you as a representative comment to reply to because there were a few along similar lines. If it was just one, I probably wouldn't have bothered.

I did, sorry.
It's called boasting
Not op, but it generally means a reality similar to the one depicted in The Matrix movie
>If the money supply hadn't increased, those secondary effects would not have happened

I can't tell if this is supposed to be sarcasm, humor, or merely a hilariously misinformed view of the effect of the pandemic on spending and lending behavior (which apparently you think happened instead due to the change in money supply).

>Sorry, but "all else equal" doesn't, and can never, exist.

Which is my point! As your paper explains, these secondary effects from pandemic and other causes help explain the expression of inflation beyond the money supply effects.
Opera Browser had this feature for a long time.

User styles vs site styles. Either or both could be on or off.
I just created a little tool to aid in the reverse engineering of the system that generates the URLs for each custom video segment. The filenames of each video are the result of hashing an "options" string plus a pepper value; this tool takes care of the hashing.

Tool: https://agmm.xyz/matrix
I don't think anyone denies the kid checked out. At what point does the school not have culpability after letting him go to the next grade?
Right. I calculated what 5m/day converts into. And it's like 60 req/sec. Considering non even distribution and spikes, I would assume its like 200req/sec.
That really makes no sense if the goal is to increase “minority” representation. In my experience at BigTech Indian and Chinese applicants outnumbered white by at least 2:1.
Did he not know this was a possibility? We hear about something like this or aws or whatever like once a month. I get that he didn't intend for it to happen but if you let someone and facilitate the action aren't you at least partially to blame?