skysight-inc/HackerNews huggingface dataset:
> How do you handle DB connections?

Look at

https://github.com/John-Nagle/vehiclelogserver, which has database connections.

Each FCGI program has a database connection. That database connection persists as long as the program instance is running. So it's not establishing a new database connection for each transaction.
Still hoping someone releases a bootloader exploit for iPads that would allow dual booting macOS -- it's such a shame that my iPad has the same SoC as my Macbook, but is so incredibly limited; I can't even run a website in the background.
I'm sure ChatGPT has it's uses for some people, but the few times I've tried to use it for tasks I would have used search for it's been confidently, eloquently wrong. A search engine you can't trust, or at least evaluate it's sources, is completely useless. Recent publicity on LLM has been incredibly successful at over-inflating the hype, largely because the technology fulfills the fantasy of being able to interact with technology in plain language and get plausible, seemingly coherent responses.
https://civilization.fandom.com/wiki/Civil_Service_(Civ4)
That's low. Does that means you're at a higher elevation than I am at near-sea-level?
Spawning a process is not that slow on modern hardware. CGI is considered slow, because back in the 90's, everything was slow and resource constrained. Slow processors, limited RAM, slow disks for swap, slow internet connections... I remember developing Perl CGI scripts on a Sparc 10 with 32 megs of RAM connected to a T1 that was nearly always maxed out.

On a related note, "modern" cloud-based application development strategies (like AWS Lambda) seem no faster than CGI. We've come full circle. Though now things are more distributed, of course.
I would think there is plenty of people who objects to eating legumes based on culture and taste. Culture has always been the dominating factor in influencing people to eat different kind of food, and its fairly common for one country to have food that people from other countries wouldn't touch. As a person living in Sweden, we have candy that people from other countries find as torture to eat.
Wouldn't that be a bit of an issue for low income people, to make it flat?
"Could lose accreditation" is a stretch -- all this article is doing is repackaging a press release saying that someone wrote a sternly worded letter. To an institution that was almost certainly already aware of what was happening, since I've seen this story in the news a few times already.

At that, the press release said they submitted it through the accreditor's website, which I have looked up[1], and which very explicitly says that "HLC does not: Accept complaints from third parties". Which suggests that this is very much a PR move by FIRE, and HLC's default reaction to it is going to be ignoring it unless FIRE is now actually representing someone involved.

(None of this is meant to imply that I think the college has done anything approaching the right thing in this case, from everything I've heard about the story...)

[1]: https://www.hlcommission.org/Students-Communities/complaints...
Consider more of: here is a BSLOC 'application' find a routine that does X and make it do X'.

Continuing from the quoted passage above...

> So behind all the top-level interfaces was layer under layer of support. Some of that software had been designed for wildly different situations. Every so often, the inconsistencies caused fatal accidents. Despite the romance of spaceflight, the most common accidents were simply caused by ancient, misused programs finally getting their revenge.

> “We should rewrite it all,” said Pham.

> “It’s been done,” said Sura, not looking up. She was preparing to go off-Watch, and had spent the last four days trying to root a problem out of the coldsleep automation.

> “It’s been tried,” corrected Bret, just back from the freezers. “But even the top levels of fleet system code are enormous. You and a thousand of your friends would have to work for a century or so to reproduce it.” Trinli grinned evilly. “And guess what—even if you did, by the time you finished, you’d have your own set of inconsistencies. And you still wouldn’t be consistent with all the applications that might be needed now and then.”

> “Sura gave up on her debugging for the moment. “The word for all this is ‘mature programming environment.’ Basically, when hardware performance has been pushed to its final limit, and programmmers have had several centuries to code, you reach a point where there is far more signicant code than can be rationalized. The best you can do is understand the overall layering, and know how to search for the oddball tool that may come in handy—take the situation I have here.” She waved at the dependency chart she had been working on. “We are low on working fluid for the coffins. Like a million other things, there was none for sale on dear old Canberra. Well, the obvious thing is to move the coffins near the aft hull, and cool by direct radiation. We don’t have the proper equipment to support this—so lately, I’ve been doing my share of archeology. It seems that five hundred years ago, a similar thing happened after an in-system war at Torma. They hacked together a temperature maintenance package that is precisely what we need.”

> “Almost precisely.” Bret was grinning again. “With some minor revisions.”
I posted this one because it's a tiny bit more family friendly than the one you mentioned.

This scandal makes me think the Constitutional Sheriff movement might be very bad.

https://www.themarshallproject.org/records/2587-constitution...
Or use Regolith Linux. They've done a fantastic job integrating i3 with Ubuntu, including settings, etc
> “we believe a concerted effort to reverse the rising tide of bureaucracy offers a more immediate and less speculative route to enhanced economic performance”

David sacks was on episode of show “UnHeard”. Hit nail on head. ‘professional elite’ or ‘surplus elites’ he called them.

sacks came at it from politic angle. we know what happening but media and everyone quiet. this manager class say right politically correct thing.

in two big tech company me saw anti pattern where so many managers who give no real output. directors.. product and engineering management.. all involved in increasing headcount fight territory battles.

product manager and managers of product managers who just have meetings. product same thing as it existed 2 year ago..3 year ago.. 5 year ago. no innovation. maybe find way to show more ad.

me immigrant in this country. what me saw is h1b and other visa farm. entire industry of importing from other country. people sit idle.

if stock price $100 a share this organization not contributing even 1$ to that price. revenue is from legacy ad business. managers just bureaucratic up charge and organization so slow and resistant to change they contribution maybe -5$ or lower negative number.
> I have no insider knowledge but I suspect that index is maybe the second largest thing on disk on the entire platform

I really wonder how much of a challenge this is and how much it occupies, not even talking about disk, but continuing the theoretical exercise in the linked URL, you can get 1U size servers with 2TB of RAM these days.
Asking it to “explain how GPS works like I’m a seasoned engineer” yields a more detailed explanation and there’s no mention of GPS terminals sending messages back to the satellites.

Probably the “false output” you mentioned is due to the fact that the prompt asked to “explain it like I’m five”, which made ChatGPT answer with a “dialogue between terminal and satellite” explanation, which (arguably) may be better understood by a 5 years old.
Your comments here are not the kindest and they seem pretty ignorant and arrogant.

There is no complicated contraption here. A couple tens of thousands of lines of code that makes arranging windows in any way you want completely effortless is a useful piece of software. Your window manager that just works (Windows, Mac) probably uses more lines of code just for its animations.

Different people use their computer differently with different pieces of software and have different needs.
As a putative member of the plaintiff class, I feel my interests are far better aligned with GitHub than the representative plaintiffs. Unfortunately I am aware of no way to take such a position before the court to prevent class certification, other than perhaps a very heavyweight process like intervening. If I merely opted out of a settlement, the damage would already have been done: in effect, the plaintiffs have hijacked my identity (and more importantly, thousands of others) for their own personal benefit.

Also, as always, the case is frivolous because the plaintiff class has each and every one (including myself) either licensed their code to GitHub under a license which does not require attribution (under GutHub EULA) or are the victims of a third party purporting to license the works to GitHub, without rights to do so.
I love these types of projects. A suggestion to take this a step further is to encode it inside a QR code.
Back story

https://www.vice.com/en/article/7k83gq/afroman-raided-by-cop...
> Personally, I wouldn't go long on search engines that don't have a strong ML component to them in the future.

Arguably, it's the ML that made Google useless for some people. Since some time, Google seems to be curating it's results to address searches in a question format. In the past we were searching for occurrences of our keywords in webpages but today Google seems to be trying to be an answer machine. Unfortunately it's not very good at it and it is just as inaccurate as ChatGPT.
the hackers left a looooong time ago...

At the moment I write this, the title has a "(1995)" so it could explain the disconnect.
Private entrepreneurship was possible, but now Xi has been turning the clock back and clawing the control back to Bejing. More authorian, more central, lead China seems to be the way, with the extended third term for Xi.
What is the role of an engineering manager exactly? I've been thinking about this question for awhile and I get wildly different answers depending on who I ask. It seems to me that an engineering manager contributes to the intellectual product, attempts to solve communication issues between teams, and fills in gaps for what the team needs. It is amazing to me that there is so much variance for something that should be a well defined role.
IBM Power chips can run in both big and little endian modes
Are there similar characteristics to be used or applied from the concept of induced demand (I suppose the traffic filling extra lanes example) with Parkinson's law?
Sorry I meant pasting images in description and in comments. Glad this is on your list!
A lot of people buying these sneakers will be quite young and/or not necessarily have ID.
Thank you for your input, I appreciate the honesty!

That is an entire aspect I did not think about yet
I spent some time as a middle manager, talked way too much with friends in similar situations at other places and I learned the following:

* It is very easy to be both very busy and do nothing useful at all. Just accept and schedule a bunch of meetings.

* Your potential of improving things depends mostly on the C-level suite. Trying to get buy-in from other levels of management is a waste of time.

* Middle managers are quite often recreating other orgs they aspire to without any thought if their prescriptions are suitable for their orgs.

* The C-level are actually behaving more like individual contributors than managers. The CEO is typically working mostly on closing deals and attracting investors.

* Lower level managers are often created from senior or valuable employees because a title change is the only way of rewarding them and using their experience

* Some of the best managers are HR professionals, but they are completely sidelined. HR is working to protect the companies which for good and evil can clash with your goals.

* No one is a prophet in their own village, not matter how loyal you are climbing the ladder, and how much you learn along the way chances are they are still going to hire someone from the outside to be your boss that knows less than you. It's better to switch orgs when making big jumps in your career.

* There are certain pure management skills (everything with budgets) which are quite valuable, and managers are either undertrained

So, if I ever run my own company of over a 100 people this is what I'm going to do:

- make sure executives / senior managers are doing as much decision making as possible, while accepting input from every senior person in the company, manager or not.

- Promote only experts in their fields, preferably from your own ranks as managers.

- Instead of introducing hierarchy, consider instead providing managers with experts in management as deputies. Recruit fresh MBAs or experienced HR professionals. This way they help instead of hindering.

- Make sure every role has ways to grow while remaining individual contributors. Just give them levels, like Software Engineer lvl 12. Make sure they have free capacity to get delegated tasks or for their own initiatives.
The balls that Apple used look like they had a matte black fabric cover which must have been a lot less grippy

https://pbs.twimg.com/media/E8rF656WYAM8sYP.jpg
There's an amusing hyperlink ("drastically wrong") in his post -- the replies from the chemist who runs the blog at that link are hilarious.

I won't post it here because it goes to a page describing exactly how to cook meth, but it's amusing enough to be worth following the bread crumb left by Derek.
I am pretty sure that you can improve the productivity of almost all companies by firing half of middle management and using the money saved to hire skilled people who do the actual work.

The most productive and successful company I worked for have zero middle management (150+ staff). The worst most dysfunctional company I have worked for had more middle managers than software developers (50+ staff).
I don't know about the hormonal changes, you'd have to back that one up.

But regardless, we can't ignore some major cultural shifts. LGBT is an example where you have real LGBT and what seems to be a cultural version of it. People honestly probably not belonging to that group in a lasting way, but joining in regardless.

It's fits a larger pattern of creating a persona with as many victim labels as possible. These labels creating the self-fabricated identity, which are then used to excuse yourself from your own flaws and bring down the "privileged", those with less labels.

This may be fun for a while but the obvious danger is that this self-obsession over identity gets you nowhere in the real world. Nobody gives a crap about these labels nor can you hide behind them.

You should not read this stereotyping the wrong way. I have empathy for minorities, I loathe the cultural version of it where it's worn like fashion or weaponized.

And I do worry about social contagion. A teenager chronically online in the most gullible part of their lives are absolutely affected. A teenager will believe anything you tell them and they'll copy anything other teenagers do.

Teenagers are idiots. Source: once was one.
And that still adds more complexity than just installing Postgres and creating a monolithic API
Spacing between windows is an "extremely complicated contraption"?
Victor 9000 / Sirius 1 computer (1982)
For the great leaders, money no longer matter as their yes man can deliver them anything they wish. Thus, the next step on Maslow hierarchy is to make oneself to a god:

https://en.m.wikipedia.org/wiki/Maslow%27s_hierarchy_of_need...
I’m not exactly some hip and happening ‘on the inside’ developer, but I’m aware enough of the various Big Personalities in the Python community to be quite confident in my belief that politics played a role in PyPA not taking a more consistent stance.

Which is…not at all justification, certainly.
One view of the Chinese system is that they run their country like a company. With that analogy, it's expected for a company to profit off the rewards of their employees' labour, and therefore it's within a country's right to rein in their business leaders as their success was facilitated by the country's resources.
Would be great if we could get some actual screenshots of the boards rather than speculating. That's why I'm curious to see if 1985 is the same as 2023. Without data we're just guessing.
Communication through sound is just vibrating your inner organs at a pattern of frequencies, causing the air to vibrate at the same frequency, and resulting in someone else's ear drums vibrating at the same frequency. This causes thoughts to spontaneously appear in your partner's head. How is this different from telepathy?
US alone by various estimates already has enough capacity to produce food to feed 2-4 billions of people. It is just most of this capacity is used to produce various grains for animals to produce cheap meat.

So in general for US reduction in agricultural output just makes meat more expensive shifting diet towards starchy food.

As for specifically for California reducing agricultural land just makes almonds more expensive and one can live without them.

This does not argue that it is Ok to keep the status quo, but claiming that California agriculture is essential for US survival is just wrong.
> Is it possible to prevent this behavior through prompts, or will ChatGPT always mix false information with true information?

No, because it doesn't know what lying is. It doesn't know what the truth value of the text it produces is.
>"Managers and administrators tend to be better educated than the workforce"

I'd say in many modern industries, science, r&d this would not be the case in average.
Is the author implying that only black men experience "violence" in football?

Talk about clickbait titles...
Err, actually, that was the wrong scam. I do remember a different one that had a website investors would go to to see fake “profits” though.
Completely agree. I coincidentally got through the King of Tone wait-list right after the Helix released its update with its own version. I hooked them up side by side and they both sounded great. So I sold the KoT to a friend at cost.
The American who invented the TV remote control
I used Perl's CGI::Application to transform an Excel spreadsheet of teachers, used for fielding telephone enquiries, into a PostgreSQL-backed web service used by 33 household brands. Everything ran on Apache CGI without a hitch for 15 years.
I consider myself a YIMBY and I believe that a lot (if not most) NIMBYs do not operate out of financial self-interest. Defending the character of a neighborhood is often done against NIMBYs own potential financial benefit! Having more people move into your neighborhood is likely to increase the value of your property as businesses pop up to take advantage of the increase in density. But many NIMBYs do not plan to sell! They want to live there, that is all, and simply do not want things to change. They don't want it to be harder to find parking. They don't want people richer than them moving in and businesses catering to those with larger bank accounts.
We wasted 5-6 figures of salary dollars lovingly building those clusters and the automation surrounding them. We had blue-green zero downtime deploys, but no customers who would notice any downtime to begin with. I think the CTO just wanted k8s on his resume.

In one afternoon (at most), I could have written a script to deploy our demo with docker compose over ssh. Sure, docker compose won't scale forever, but their runway didn't last forever either.
Exactly!!! If only all religious people could understand and follow this simple/logic/valid statement.
Authority and American Usage [pdf]
I suspect that this is the nature of org evolution. Any project has a certain probability of success/failure. When a failure means exit/promotion pause... then continuing to deliver projects is just rolling the dice. Eventually the smart people in an organization wise up and move to less measurable parts like management. It doesn't make sense to disallow this - as you smart/successful people moved into the bureaucracy and keep the training wheels on. On the other hand, it can get out of hand - particularly when hiring in a bureaucracy from the outside world.
Also great when you want national resources managed by policy and not by cronyism. I get the modern trope that bureaucracy = bad, the whole point I'm trying to make is: the concept was first proposed as an idea of improvement in administration in the 1800s.
I recently started writing on my phone using dictation and cleaning the text afterward. Dictation is wonderful because you can do it while driving, light exercise, etc.

Also consider recording voice memos and running them through some speech-to-text software so you can keep the original audio for reference.

EDIT: You may also be interested in an editor like Runestone with a tiny portable Bluetooth keyboard.
There’s no cure for Alzheimer’s because the biological model they were following looks to be wrong. Drug candidates that satisfy the model don’t do anything for quality of life. More basic research is required to develop a new model or two. And I seem to remember that no other species gets Alzheimer’s so the research has to involve gene modification and inference from the adapted test animals.

But the market is immense so the cash will continue to be thrown at the problem.
I'm just curious as to what kind of motherboard this personal computer is going to have? I'm asking this because of the limit on PCIe bandwidth. 100gbit NIC? How?
The best engineering managers I've seen help remove unhelpful friction for the team. This includes helping the team make decisions quickly, facilitating interactions with other teams, shielding them from unnecessary meetings, etc.
I think it's a mistake to attribute all the success to hard work and all the headwinds to state intervention. More realistically, Jack Ma was seen as "on side" for the CCP and so it was acceptable for his companies to succeed. There were always some questions around what he said in interviews - but it's impossible to argue with a billionaire. Now he's "off side" -he's not an ally of the regime and so he can't succeed.

If he really is the genius that we all know he is, he'll build a billion dollar company in Japan. If he was just in a good spot with the government in China, then maybe not.
Pros can use Halide. For me, the default iPhone camera app is pretty good in my opinion.
Unbreakable with Bruce Willis?
Ask HN: Can we get a sequel to Hackers, featuring Crash and Burn 30 years later?
Reunite the whole cast if possible?

That would be most triumphant!
I didn't get the impression that this would duplicate the entire functionality of Twitter, just what amounts to the MVP functionality. If you are only talking about the MVP it's at least somewhat plausible with a lot of careful engineering and highly efficient data manipulation.

Adding images, videos, other large attachments, rich search, and all the advertising and billing and analytics stuff would blow this out of the water, but... maybe not by as much as people think...? I would not be surprised if a very performance-engineered version of Twitter could run on a few dozen racks full of beefy machines like this with HPC-grade super-fast fabric interconnects.

I have a strong sense that most large scale systems are way less efficient than what's possible. They trade development ease, modularity, and velocity for performance by using a lot of microservices, flabby but easy and flexible protocols (e.g. JSON over HTTP), slow dynamic languages, and layers of abstraction that could be integrated a lot more tightly.

Of course that may be a rational trade-off if velocity, flexibility, and labor costs and logistics matter more than hardware, power, or data center floor space costs.
Wow, that's actually impressive. Any idea how chat gpt would know that? Surely it's not making the request for it and surely it's not actually decoding any base64 right?
In the legal world, plagiarism is known as "precedent".