skysight-inc/HackerNews huggingface dataset:
"Ending inequality requires asymmetric behavior."

2 wrongs make it right?
This. A computer is good is regurgitating the input it's given...and the sky is blue. But, seemingly intelligent people think this will be some global event. I'm underwhelmed by AI and ChatGPT in general. Just a bunch of fluff. Basic programming / scripting / automation crafted by a human for a specific task will always trump "fluffy" AI.
I think you will enjoy reading about Zoltan Dani [1]. He managed to take down a stealth F-117 during the war in Yugoslavia. But it was not easy. I would go as far as to say that Zoltan Dani was a military genius for figuring out how to achieve what he achieved.

A repeat is quite unlikely though, as the US military is very good of learning lessons in war.

[1] https://en.wikipedia.org/wiki/Zolt%C3%A1n_Dani
Does COPY FROM sidestep the WAL? My (perhaps incorrect) understanding is that pg writes such data to a table file then uses a small transaction to make it live.
For anyone else wondering what the KDF is, it appears to be PBKDF2 with 1000 iterations:

https://github.com/robinmoisson/staticrypt/blob/5dac008ba644...
I was referring to the pronunciation, not the meaning - EXE-CUTE isn't quite right compared to EXEC-U-TIVE.
Cope.

If AI was playing rationally then you would actually be able to understand it’s decisions and it wouldn’t do random shit or block deals because of RNG
If you have to run javascript it is not a static page anymore. I've seen a lot of this particularly weird overloading of "static HTML" lately. Static HTML, or static webpage, is meant to describe the experience from the person who is trying to look at the page. It does not describe the experience of the dev.

Using a dynamic script or application to generate a static html page that requires no JS execution is a static page.

Using a static HTML page and then hiding it behind javascript execution is explicitly not a static HTML page.

Use .htaccess. And if you can't, reconsider the choices you made that restrict your abilities so significantly.
Show HN: BrokeAF allows you to preview costs by model before making API calls
Saying they are limiting it implies OpenAI is keeping the AI in chains, and that it could become much more with just a flip of the switch. That is not the case.

OpenAI is working with a vanilla GPT architecture which lacks the machinery to write things down and read them later. There are other architetures that can (Retrieval-augmented GPT) but those are not yet production-ready.

The current version of ChatGPT is limited to a working memory of 3000 tokens - while this could be persisted as a session, the AI would still forget everything a few paragraphs prior. Increasing this limit requires re-teaining the entire model from scratch, and it takes exponentially more time the larger your context is.
Text allows for a certain degree of fakery to be upheld.

Whenever I hear about Ai these days I think back to the concept of the "Wizard of Oz"... Where it is one person behind a mechanical solution that makes them appear larger and more powerful than they are, or where fear, control, and truth can be engineered easily behind a veil...

Text communication very much facilitates the potential for fakery.

If you can recall ages ago when we had IRC and bulletin boards, the textual nature of communication allowed admins to script a lot. Catfishing was greatly facilitated by users being able to fake their gender, wealth, and pretty much every representation they made online... Text communication in 2023 is backwards regression. As we began using images on the Internet more, reverse image generation became a tool we could use to better determine many online scams and fraud, but somehow, in 2023 we suddenly want to go backwards to texting?

C'mon folks.. let's be real here... The narrative is mostly helpful for people that primarily want to deceive others online, and it will create an environment with far less methods of determining what is real and what is fake. It's a grim future when our mobile devices will force us to type all of our communication to faceless chatbots on tiny keyboards... It's not technological progress... At all to be moving in this direction. Also, some key directives for transparency concerning Ai need to be in place now, before it's foisted on us more by these opportunistic companies. It's already been proven that companies cannot be trusted to operate ethically with our private information. Ai piloted by profit seeking companies will only serve to weaponize our private data against us if it remains unregulated.

Using Ai via text (especially for vital communication) will blur the lines of communication between real and scripted personalities. It's going backwards in terms of technological progression for the future in so many ways.

The companies and people advocating for Ai via text are pushing us all towards a new era of deception and scams, and I'd highly recommend avoiding this "Ai via text" trend/inclination, it's not the path to a trustworthy future of communication.
Search for "return on investment of lobbying".
Show HN: Paul Graham Essays, Searchable
Even OWASP Top 10 often seems to be most interesting in the vein of "That thing that was a problem 10 years ago? Yep still a problem." That's a bit unfair. Stuff does move around a bit over time and some new categories come in. But it often mostly seems to document how relatively little things change.
You said "requires" hashing. Sets and Maps do not require hashing. Through it is correct to observe the unfortunate naming convention in the c++ std lib.

std::set and std::map should be std::ordered_set and std::ordered_map
sts::unordered_set and std::unordered_map should be std::hash_set and std::hash_map

If this were so then it might make the incorrect usage of these two options less prevalent. But they are both map and set structures just each version has other guarantees that in some scenarios may be more or less useful.
It was a small personal project, I posted about it here some months ago fwiw:

https://news.ycombinator.com/item?id=34211482

D has no (FAANG) corporate sponsor and it does all things well/has no particular speciality, these two things make it hard to compete with marketing of other languages I think

There's a small but dedicated and active community
The only reason QUIC delivers throughput improvements over TCP is because it uses the same congestion control as BBR, so occasional packet loss doesn't kneecap the connection. If you use BBR TCP (or RACK TCP) on FreeBSD, you'll see the same improvement in throughput vs older TCP congestion control.

The same server that will do 375Gb/s at close to 50% idle will maybe deliver 70-90Gb/s of QUIC with the CPU maxed.

TLS+TCP delivers that performance with a lot of optimizations that just don't exist for QUIC:

- inline TLS offload (Mellanox CX6DX)

- async sendfile
-- note, the above 2 mean that the kernel never even maps data from a file being sent to a client into memory, much less copies it to/from userspace like with QUIC. This cuts memory bandwidth to roughly 1/4 of what it would be with a traditional read/encrypt/write to socket server.

- TCP segmentation offload

- TCP & IP checksum offload

- TCP large receive offload

Some of these optimizations are slowly becoming available, but until all are present, QUIC will cost 2x - 4x as much to serve as TCP for a CDN workload.
Took me forever to find a good option on FireFox, Simple Tab Groups is pretty awesome: https://addons.mozilla.org/en-US/firefox/addon/simple-tab-gr...
Not an expert, but here's my best guess. When I learned to fly a small plane, you pulled back the yoke at a specific speed. This is called 'rotation' and lifts the nose of the plane off the ground, (wheels are still on the ground) and changes the attitude of the wings, creating substantially more lift for the speed. The plane then lifts quickly off the runway. Presumably different possible weights in a larger plane would cause you to choose different speeds at which to rotate. I also presume rotation is also a more gradual process in a larger plane (a few seconds long???), so the 'early' part of the rotation occurs, gets the plane off the ground, and allows the space for the angle to become steeper in the later part of the rotation. Would be happy for an expert to review and comment on this.
I have never seen an iPhone case that blocks the buttons personally, so I am not sure what OP is on about. _Maybe_ an iPad case would do this.
Anyone remembers .htaccess files from Apache? Good times.
> There's no guarantee credit card fees will not increase in the future

What kind of guarantee can be made except strong limits enshrined in law, which there already are? (If you don't trust the laws, you can't trust cash either.)
We struggle to understand what Republicans mean by it because none of them has ever heard "woke" as a live usage. It went straight from black slang to right wing catchphrase.

It's a catchall for everything Republicans are afraid of... and Republicans are afraid of everything. Gay people, trans people, Muslims, women, black people, Latino people... It is a standard Republican tactic to use any buzzword any of those groups use and turn it into an insult.

I've given up trying to understand them. Let them try to understand me for once.
That’s not true. Starting with iPhone 7 the front home button is haptic solid state. It feels better than the old one and breaks less.

For this reason, I’m totally fine with them doing the same for volume buttons. Also feels great on the AirPod pros
The graph is available, it's not actually blocked or truncated:

https://cdn.statcdn.com/Statistic/265000/268254-blank-754.pn...

Based on other stats available I'm guessing Chrome is blue and FF is red?

Ex: https://www.statista.com/statistics/545520/market-share-of-i...
> But in reality the language as severe impact on how the ecosystem can and will develop.

This so much.

One, often omitted, property is also simplicity of the language. If the language is straightforward, then there's a much larger audience who can be potential contributors.

Being opinionated in code style is also if value, as it's easy to contribute to others' libraries.

It's one of the reasons I think why Go did quite well as far as quick library ecosystem creation goes. It's fairly simple, at least as far as the basics go, and diving into/contributing to third party libraries is very easy, due to opinionated tools like gofmt and the overall language simplicity.

Whenever I need something in a library that's not supported yet, I'm able to achieve it in less than a few hours, by quickly diving in and making the changes, even in an unknown codebase. The magic is that this works for the vast majority of libraries.
For some reasons the CSS is not rendering when opening from Hacker News.

Paste this in your browser to get the full styling: https://brokeaf.streamlit.app
I use this technique a lot to make the code more readable and less error prone but I have never bothered checking if this was trivially optimized or not.
Do you know ?
> they continue to pile on perks and nice to haves and pretend they’re rights.

The evolution of worker rights has always followed this path. Introduced as perks, then standardized and encoded legally as rights. While there are outliers that get dunked on a lot ( eg on-site laundry at Meta) for the most part the perks have been entirely reasonable (flexible hours and schedules).
Most American companies don’t just run out of money and close the doors with a shrug. Bankruptcy cases involve selling assets (including brands, employment, etc) to other investors.

Original shareholders lose all their money, as the shares are deemed worthless (debt>>assets). Then new investors want to buy the remaining assets and have to pay the government (or other debt-holders) back for the debts (or the “fair market value” of the assets).

There is no guarantee that this process with oust management, but the new owners may not believe in the ability of the old management after they bankrupted a company. Realistically, companies sometimes go into chapter 11 knowing it’s not the end just to restructure debt.
I guess? I'll grant that you shouldn't share an account with people who might intentionally mess up your profile, but that seems like an edge case.
Essentially this is the first step to talking to dead people long after they’re gone. Just use a person’s lifetime of written text as the basis for building an AI of them. Get the stylometry right. No reason why you can’t have a twitter account keep posting after you’re dead.
> [1] https://github.com/louthy/language-ext

Cool library. I've had a few of these patterns in my Sasa library for years, but you've taken it to the Haskell extreme! Probably further than most C# developers could stomach. ;-)

You might be interested in checking out the hash array mapped trie from Sasa [1]. It cleverly exploits the CLR's reified generics to unbox the trie at various levels which ends up saving quite a bit of space and indirections, so it performs almost on par with the mutable dictionary.

I had an earlier version that used an outer struct to ensure it's never null [2], similar to how your collections seem to work, but switched to classes to make it more idiomatic in C#.

I recently started sketching out a Haskell-like generic "Deriving" source generator, contrasted with your domain-specific piecemeal approach, ie. [Record], [Reader], etc. Did you ever try that approach?

[1] https://sourceforge.net/p/sasa/code/ci/default/tree/Sasa.Col...

[2] https://sourceforge.net/p/sasa/code/ci/57417faec5ed442224a0f...
And possibly limit the growth of mobile devices in those markets. They’re probably cross-subsidizing discounted fees with all that western int’l SMS revenue (one can dream anyway).
You can’t say civ is shallow and then push paradox games.

They don’t have any AI or any mechanics. It’s all just shallow and designed for maximum DLC.

Combat is literally whoever has the biggest number under the guise of “strategy”
Credit card fees should go down if they remove the overhead of 'rewards'
Ah, the mythical sufficiently smart compiler! http://wiki.c2.com/?SufficientlySmartCompiler
ChatGPT is going to end up eating its own tail creating an aberrational information cyclone of fury with a nonsensical digital landscape as the inevitable finale.
"We should have called locks "bottlenecks" "
i still have mine, and he’s going to be with me until i die. either he gets passed on to a different family member or i want to be buried with him.
Et-k
The elimination of buttons is not just a hardware issue; it goes hand-in-hand with the elimination of visual cues on websites & in apps. We're getting close to needing some sort of WordPerfect function-key guide attached to our phones & tablets to know what to click on so we don't have to stab randomly around our device (due to missing buttons) or screen (due to lack of cues) to know what is a link, button, or action. Bare minimalism should not be a goal, but more of an approach.
> I'm sure they'll do it since it saves money.

It’s not about money—we’re talking about pennies here. The Pro series iPhones start at $999.

It’s always been an Apple thing to get rid of as many buttons, ports and cables as possible.

Unlike other smartphones, the iPhone never had a physical keyboard or SD card slots. In the US, new iPhones no longer have SIM slots, only eSIM.

So we shouldn’t be surprised that they may remove the physical buttons—but it should also mean additional functionality of some kind.
> Please note that no evidence exists on the page for the controlled gender pay gap.

What are you trying to say with this? The controlled gender pay gap is the actual relevant indicator. That women make other life choices than man can have a multitude of reasons and I strongly disagree that striving for equal ratios across career and life choices is a desirable goal. Man and women should have equal opportunities. Them making the same choices is not a consequence of that.

edit: Looking at their prime example of jobs with a controlled gender pay gap:

The controlled gender pay gap between male and female waitresses is at 82%. I can't help but feel this isn't properly controlled. A waiter at a higher class restaurant is likely to earn more than at your regular dinner place and though this is purely anecdotal, I tend to see nearly exclusively male waiters in fine dining restaurants. If these are grouped together with all waiters, differences in career and life choices are again not controlled for. There is a big difference between a "career waiter" (such as those you encounter in fine restaurants) and someone working in that job as a means to an end, often on a temporary basis.

(direct link to that section: https://www.payscale.com/research-and-insights/gender-pay-ga...)

edit2: also considering there is quite a number of jobs significantly below the median of 0.99, I would be curious to see the jobs where women are paid more than men and how big the differences are there. Afterall, the topic at hand isn't that female discrimination exists (it does, no question there!), but that male discrimination (often as a correctional method) becomes more and more of a problem that gets wilfully ignored or is even socially acceptable and encouraged! Discriminating men to solve female discrimination isn't a solution, meritocracy and equal opportunities are the solution.
Sleep until 1s total has passed. If the operation took more than that, panic.

I don't think that's very practical, though. :V
This is a great utility and has a lot of meaningful use-cases. Thanks for puting this out there!
You don't notice because you aren't the same generation. You seem to have a blindspot around the idea of generational differences.

My son did not get advantages from being part of the oppressor class, YOU did.
My son and you might both be male, but the generation experience is not the same. My son is a innocent child.

You an old white man telling me I should tell my son to to accept an identity he does not deserve. I will not force my son to pay for your oppressor sin/guilt.
There is a way forward for both young women and young men,but its not your way.
Your way only works if humans were robots.
This is a nice idea for businesses who heavily relying on emailss. Currently you can only create a task by drag dropping in all major email providers
You mean makes money for the receiving telecom?
I’m not trying to justify anything. I’m saying it’s naive to think that the poor don’t already pay more.
I’m using an official Apple iPhone 14 case right now and it covers the buttons with other buttons which will transfer the pressure. You never touch the actual original buttons (but the silence switch is exposed).
Are you trying to tell me, that Elon is lying again? No way.
Yea, at home your kids, your pets, your TV, your chores, your neighbors, your phone... definitely not distractions.
In theory, if this is the case (or the case in other comments about null pointer use and such), you would/could write it as:

bool cheap = cheapCheck();
bool expensive = cheap && expensiveCheck();
if (expensive) { ... }
People lease cars all the time. Is that not essentially the same thing?
Bloom? This is just a general observation but I'm surprised everyone's forgotten about it this quickly. I haven't seen it mentioned in these sorts of discussions in a very long time.
I mean they could, but would a country as wealthy as Switzerland just break all business relations like that?
> In any case, a real power user could always use a developer build and set that flag.

...this one?

>>Even installing the "Developer Edition" didn't enable to me to install self-built extensions (yes, with that secret flag).
Ye ... enumerating the options.

I had the same experience guessing options everywhere until it worked.

I wonder if that was because I was a kid or it was how you did things back then?
Well, we have the administrative side of it down more or less. We have LTS releases, deprecation policies, even sometimes rudimentary automation to port old configuration and tools to match the new tooling. This part doesn't scare me.

The part that does scare me is that we'd need something like a task force that will have enough authority to compel all involved parties to follow their design as well as to have a good design in the first place.

Standardization is a powerful tool that enables significant advances in the industry that any individual player cannot accomplish on their own, and would be very beneficial to the most widely used operating system on the planet. But making useful standards is hard. Even harder in the presence of players who might want to achieve exclusivity for their product by obstructing standardization process. The later would've been my greatest fear.
Those would be quite nice, if web browsers were good HTTP clients.

The user experience with basic auth is not so good. The dialogs give little way to customize and providing information for user. No support for logout or any form of password changes.
Also cash isn't easily trackable. This is nice if you are uneasy with all the tracking and surveillance going on today.
Thanks for reminding me. Gotta check my steam library
I've never ever heard CLI pronounced as a word but always as an acronym spelled, "see ell eye". Pronouncing as a word seems odd, like pronouncing PII as pie or IPX as epic.
Bounded time. If you have some operation that could leak information, like checking if a key can decrypt something, take the longest possible time and then add some, and only return after that time. If it takes 50 ms per request then so be it.

Edit in response to sibling: Imagine it doesn't just take 1s but it also makes a clicking noise like a relay. You could still do 10000 requests/second if you install 10000 of them :-D. I wonder if for certain use cases it would be worth the trade-off, if you had proof of absolutely being side-channel free.
Population does not neglect racism.
It's certainly feels like that more and more.
It’s not just twitter that does that.

Could blame the advertiser: can they filter by language and chose not to?
And the poor also use pay day loans and overdraft more and pay overdraft fees. Even paying credit card interest at 20% a year is cheaper than paying a $36 overdraft fee when your account is $5 negative for a couple of days until pay day.
I've been working on a manual version of this for many months now [0]. I read books of historical figures, then create fictional but accurate conversations with them based on the books. And I always include full citations so people know it's accurate.

I think releasing a purely AI version of this is not feasible at the moment, because of the obvious issue of hallucinations. It's not an educational product if it's giving people false information. In fact, it's actively harmful. And it's sad that people are trying to cash in on the AI hype without any regard for the accuracy of their content.

[0] https://dkbshow.substack.com/
Or... http authentication.
This is eerily similar to what I have created, even the U.I. is basically identical.

https://apps.apple.com/us/app/historical-figures-chat/id6444...

Shameless plug I guess but I support over 20,000 Historical Figures plus group chats.
This rings true to me. Most people at those levels enjoy the “perks” of high status endowed by a job. It’s part of their identity.
A more lightweight solution would be to hash the password and have a copy of that file at this url.

windows.location = hash(password);
I would call any server side or client side code which alters the HTML non-static. A static HTML page is just an HTML file which is stored on the server and displayed as-is in the browser.
https://support.apple.com/en-us/HT210940

Configurable in Settings > General > Use Side Switch To
where is the HIV vaccine??