skysight-inc/HackerNews huggingface dataset:
> Then you have to learn two languages.

Why would I need do to that?

> But I write complex commands in the shell a lot ... It's not rare that I write commands that are more than 5 lines long.

Ah, well, yeah, in that case, you might wanna stick to ZSH. I don't write complex commands on the shell. If it's more than 1 line long, I will make it a script. Multiple lines of commands with, or without, backward slash separators look ugly and unwieldy to me. A text editor like vim would do a far better job handling those 5 lines instead of an interactive shell.
When do you get your most creative ideas?
I get some of my most creative ideas and solutions when I awake around 4 or 5am. Something to do with a rested mind, silence of the night and gut instinct?
"public nuisances like vim"

Others here seem to have taken this as tongue-in-cheek. On the first read I took it as "I think vim is ridiculous". I'm honestly curious to know which it is (or if both are inaccurate).
This is a wonderful format for explaining software engineering practices and I hope to see more like this.
The New Female Ascendancy
Since WWI NATO countries either together or separately had participated in truckloads of military conflicts. Now remind me please how many of those had started because some country directly attacked NATO member.

I am not against having big stick just in case. That is what nukes are for.
My MacBook Air was pretty damn light..
Absolutely this. The past is not a guide to the future, at least in this sense. A lack of buzz does not mean something is dying; more often, it means that it is mature and well-understood, with much of the necessary supporting information already out there and readily discoverable.

It’s useful to summarise the leading solutions at a moment in time, but nothing ‘has won’ - it is only ‘winning for now’. That is the insight/hindsight that is missing from this borderline-obnoxious opinion piece.
> I would bet that you aren't boiling your water as fast as you think you are relative to a gas burner though.

I moved recently to somewhere that has gas and noticed its is quite a lot slower than the induction stove I was using. The gas one seems worse in every way but initial cost.
Setup ur apache first, lol
Yeah, because not everybody has balls.
I mean if people didn't like it wouldn't it go away? What is the fraud involved? I am sincerely curious. Are the sales fake or something? like they have very limited inventory and just get people in and while they're there the store hopes they'll buy an alternative? That used to be a big thing around here but generally these days if you get there early you can get the deals, or if you sit up late and buy on the web site.
The Polio vaccine is >99% effective after the full course.
Related: one of my favourite code golfing tricks is named access on the Window object <https://html.spec.whatwg.org/multipage/window-object.html#na...>:

<div id=result></div>
<script>
document.getElementById("result").textContent = "Why do it this way—";
document.querySelector("result").textContent = "—or even this way—";
result.textContent = "—when you can do it this way?";
</script>

Edit: adding another similar test to this page, window[`test${i}`] is taking roughly twice as long as document.querySelector(`#test${i}`) in Firefox, but only half as long in Chromium—which is still a bit slower than document.getElementById(`test${i}`) in Chromium, and than window[`test${i}`] in Firefox.
Intel: Wall St bets on the decline of one-time chip champion
Eyes of the Afghan Girl: A Critical Take on the 'Steve McCurry Scandal'
Looks like "Enigma Virtual Box" was first released in October of 2010:

https://web.archive.org/web/20101122031415/http://enigmaprot...
I've rewritten a ton of legacy PHP services / page generation code into NodeJS over the last couple years. I know PHP inside-out and love it the way you love... um, something fugly like an old futon. It's really nice to be working in Typescript on both ends now, to have share modules and data models between server and client codebases. But one thing I do miss about PHP is not needing to make sure the server restarts on every backend code change. Nodemon and PM2 are both pretty good about this, but it's that one out of ten times they don't restart and I spend a minute or two wondering what I missed before realizing they didn't restart; happens a few times a week and drives me up the wall.
> In this particular case, I believe "Cholets" is used as a proud "originality" term.. but it certainly could be used as a demeaning term by the local equivalents of the infamous USA "Karen" type :)

You might want to consider your use of gendered slurs.
There was also a small glass/saphire company that agreed to sell exclusively to Apple, they had to innvest a lot of money to increase capacity, and in the end, Apple decided to continue using Gorilla glass, and the company went under.
Same in Germany. Though I like that I can have

[1] https://en.wikipedia.org/wiki/Aachener_Printen &

[2] https://en.wikipedia.org/wiki/Speculaas

long before Christmas.

It's so weird seeing the sortiment in supermarkets change to all sorts of foreign events. Not that I'd care much for the native ones, either.

Basically it's all just BUY! BUY! BUY! like in They Live from 1988.
> Why not? If I'm writing scripts for automating configuration on modern macOS, for example, where ZSH is installed by default, why not write ZSH scripts?

I guess there are two reasons

- if the script doesn't need arrays, POSIX sh (dash) scripts will be much faster than bash/zsh scripts

- if you do need arrays, bash is vastly more ubiquitous than any other shell on the planet right now (except POSIX sh). It's installed on almost all Linux distributions by default. I'm not gonna use a ZSH script because I'd have to install ZSH, which seems unnecessary. A good example is tomb, which is a ZSH script for encryption on Linux.

If you're sure that your scripts will always run on macOS, use POSIX sh if you don't need arrays and ZSH if you do need them.
> We'll now need to plan to move over 20k instances to Rocky Linux.

No judgement - curious, what does Rocky give vs. al2022? RPM compatibility? Or maybe, what do you like about RHEL compatibility?
Do you have a cough?
Ditch omz and use Prezto with the Powerlevel10k prompt (just change the theme in the zpreztorc file to 'powerlevel10k' and restart your terminal), follow the initial prompts for setup, with "instant prompt" enabled and you'll never go back.
Dutch company ASML has an inordinately large influence on global chip making
Interesting video about how the only reason you even need a fan in the mac book pro is because how hot the shell of a laptop is allowed to get is legislated so you don't burn yourself on it.

https://www.youtube.com/watch?v=ghDvyItIHTY
that's why you decide what you want and set up alerts for when those items are on sale.
Big fan of using a largely upstream Linux kernel. In general, I've been very happy with AWS Linux kernels vs. Ubuntu and CentOS in AWS

It's funny, I was just about to move to kernel 5.10 for amz Linux 2. Might just wait a bit for AL2022
The wine and water explanation doesn’t make sense to me. Wine and water have different molar masses and combining a liter of water and a liter of wine doesn’t give exactly two liters of the new substance, in the same way as a liter of ping pong balls and a liter of sand doesn’t produce two liters of ping pong sand when mixed together - some of the molecules are bigger than some of the others.

Once you pour a liter of the new, mixed, wine-water substance back into the first container, you’ll likely have less than a liter in the second container, so the wine bottle will contain more than the container originally containing water. Right?
Not caring enough to try to come up with good names.

I see tons of functions named update_data and get_state and add_items in the business logic sections, which should be named for the specific things they touch. But laziness leads to using meaningless generic terms.

The other two are lack of English knowledge (both in native and non-native speakers), and when the function used to do something else but the name wasn't updated.
There are a lot of .EXE's out there.

Some of them require Active Directory.

In the core of this, Windows is not going anywhere.

Linux could do it a LOT of damage, if this 2024 plan is executed.
As the video discusses, they wear and the bimetallic strip wears/stretches/distorts with age and so it doesn't always actuate. There is an adjustment which can help.
"Kafka" *really* doesnt seem like a good name for some software that is supposed to be good / helpful.
The KC-46 is somewhere at $5B in losses to Boeing (the USAF wrote the program contract defensively, for once) and years behind schedule.

And as for bombers, Northrop Grumman is at the pole position with the B-21 Raider contract.

The B-52 will be flying forever, but that can't be a major revenue win for Boeing.

The F/A-18E/F is getting a bit long in the tooth, and the Navy (and Air Force) are both starting up new fighter programs (aka Next Generation Air Dominance, separate for each service).
This explains why at best I get maybe a couple more alerts (or none) on my wish list type tracking services regarding actually good deals…
You're right. The Air branded products, the iPad Air and Macbook Air, are counters to what I said about nothing Apple makes is lightweight.

Although, the MacBook Air is the same weight as the 13.5" Surface Laptop, so it's not like the Apple is magically lighter. And according to the specs, the Surface Laptop is actually thinner.
I almost hate myself for writing this - but any given AWS AZ has had more outages/ performance degradations/service interuptions over the past ~5years than my home internet/electricity... and with an unmetered connection with a 200mbps+ uplink, how much more do I really need for a personal page?

Maybe a raspberry pi behind my sofa isn't so stupid?

Of course you could use multi-cloud/multi-azs, but do you really WANT to for a personal website?
Scala's base caluculus is proven sound!

The implemented language as such has minor soundness holes, correct. But you need to resort to "murky" parts (like combinations of null, top and bottom types and sub-type relationships between them) to exploit this.

In practice I've never run into any case of this soundness holes. You need to explicitly construct a pathological case. (Just avoid null and you should be safe in any case afik).

This can't be said about things like MyPy or TS. There you run into soundness holes on a daily basis.

OCaml and F# are undecidable? Also because of sub-typing?

And what's the problem with Rust? It doesn't have sub-typing.

The problems with sub-typing in general could go away in the future when algebraic sub-typing catches on.
> ignores the first 5 results (to avoid caching effects).

This would be the correct approach if you're interested in the "sterile laboratory" performance of these APIs. But the average webpage is going to not be doing a bunch of throwaway work before it starts selecting elements.

I think it would actually be much more interesting to see the cold start results to see if they're comparable to each other. Hypothetically if e.g. GetElementById is only faster after the result has been cached by this simulation, then I think any conclusions about real world impact here could be misleading.
Fair. I missspoke - I typed too quickly. I'd view this as nonsense.
I mean, I'm far from an NFT buyer or fanboy, but what can smart contracts and distributed trust-less compute do?

Supply chain tracking is a fairly perfect match. An example in production usage today is https://simbachain.com/ and https://www.computerworld.com/article/3439843/how-pharma-wil... and a particularly interesting vaccine distribution database from IBM: https://www.ibm.com/blockchain/industries/vaccine-distributi... - or how about voting: An example in production usage today: https://www.govtech.com/products/utah-county-makes-history-w...

There is the obvious securities trading usages, but that may or may not qualify as speculative. Anyways, you could argue blockchain is a stupid tech for all those reasons and all the startups mentioned in these articles will fail - and fine, maybe you're right. Maybe postgres is better for all those jobs. But these are non-speculative use-cases. If they're the right fit for those problems -- well, I'm not running a crypto startup, so... But in the long expanse of history, I do believe trustless societies will eventually emerge.
Why is Chrome so slow with this? Does anyone know
Canadian F-35s wouldn't need aircraft carriers to deploy to trouble spots in Europe. They have a decent ferry range with external tanks, and could just fly there with one or two refueling stops. Of course they would still need logistical support from NATO allies for any sort of sustained operations.
Despite using the same platform, no two companies setup their product catalogs the same way, from how multiple products/colorways are grouped together to metafields are used to communicate more nuanced product features. There's simply no way Shopify could hope to present a unified catalog given those implementation nuances.
Please don't listen to this, it's misleading.

querySelector *does not* take 62ms to run. Both of them take 0.01ms at most, try it yourself. This is the sort of micro optimization you should not concern yourself with.

How often do you need to select unique elements by ID? Don't use IDs in the first place.

This is akin to using `i--` in loops to "speed up your code" — we're past that.
I'm sure this surprises no-one who has ever waited for a Black Friday (deal) only to suspect/know that the price is no different than before. It feels especially this way in Europe where retailers have adopted "Black Friday week" or similar purely to encourage additional spending.

There is a tool (in Switzerland) I use a lot. TopPreise (http://toppreise.ch) scrapes, aggregates and compares prices from retailers but also keeps a graph of the price evolution over time. You can see the highest and lowest prices over the recent period and it's very useful to know if what you're actually buying is a "deal" or not.

One of the largest retailers in Switzerland - Galaxus https://www.galaxus.ch/en/ - has also adopted a similar strategy for their own products. Showing 3 months of how the price has changed.
A quick reminder that unless you were going to buy it anyway, a reduced price is not a "deal". You're spending more money than you otherwise would.
I hope to see more of this all over the world. Just because you -can- do something doesn't mean you should do it. Technology that infringes on the right of privacy should be heavily curtailed as a matter of first intent and should only be reversed for things like criminal warrants. I would hope this would become a basically understood right if the West really wants to maintain liberal democracies rather than forever inching towards one-party fascism like we are currently headed in the USA.
It's not in the top 50 languages on GitHub[1], its community package repository contains only 195 libraries[2], and it's in 2944th place among Stack Overflow tags[3].

Yes, there's lots of Ada code in safety-critical applications that have their own resources and development methodologies isolated from the regular open-source and open-source-adjacent ones. This has very little relevance for someone who is starting a project that they presumably intend to rely heavily on preexisting libraries for, and who presumably doesn't want to pay for a support contract.

[1] https://madnight.github.io/githut/#/pull_requests/2021/3
[2] https://alire.ada.dev/crates.html
[3] https://data.stackexchange.com/stackoverflow/query/1520700/r...
That's globalism for you. Multinational big corps pushing their shit globally, all the times ;->

Saúde!
In the UK older high school kids will go on Duke of Edinburgh expeditions where Gold is the highest level, and they are going 14 miles a day carrying packs. That is young, healthy 17-year-olds. I deliberately didn't do it because I wasn't fit enough.

I'm only 38 now but I wouldn't keep up with those youngsters. 10 miles is a good day's walk for a normal person, or 6 miles for a pleasure walk.
CamelCamelCamel is a similar tool for tracking Amazon prices: https://camelcamelcamel.com/
In the future, OS will be a DB-like, and Clojure will be the best DML, The future OS kernel will be a data-oriented scheduler (with Computer hardware and software integration architecture diagram)

https://github.com/linpengcheng/PurefunctionPipelineDataflow...

Reference

1. The Math-based Grand Unified Programming Theory: The Pure Function Pipeline Data Flow with Principle-based Warehouse/Workshop Model

https://github.com/linpengcheng/PurefunctionPipelineDataflow

Its mathematical prototype is the simple, classic, vivid, and widely used in social production practice, elementary school mathematics "water input/output of the pool". My theory rebuilt the theoretical foundation of the IT industry, It makes the computer theory system fully & perfectly related to mathematics in a simple and unified way: from hardware integrated circuits and computer architecture, to software programming methodology, architecture, programming language and so on. It solve the most fundamental and core major problems in the IT industry: The foundation and core of the IT theory lack mathematical support.

2. Why my "warehouse/workshop model" can achieve high performance and low power consumption (take Apple M1 chip, Intel AVX-512, Qualcomm as examples)

https://github.com/linpengcheng/PurefunctionPipelineDataflow...

3. Foxpro Database-oriented programming paradigm is the development direction of the future programming language

https://github.com/linpengcheng/PurefunctionPipelineDataflow...
what seems to be missed here maybe for some vague ideas of it being less "natural" is that every hedgerow that I've ever seen that is being used as a livestock barrier has a hefty dose of barbed wire preventing the livestock from going through. You can nail barbed wire right into trees and bushes and attach electric fences with screw on attachments right into trees. Works great. Still has all the benefits for nature but is much more practical from a farmer point of view.
Just be aware that it isn't a drop in replacement. We were using AWS Corretto (https://aws.amazon.com/corretto/) and had to back out because we had all sorts of connectivity issues in combination with Mulesoft Mule ESB. I suspect it was because Corretto deprecated a number of cipher suites, but we weren't able to determine for sure.
Of course it's tongue in cheek. Vim is venerable high quality software that a lot of people love. Emacs people dunking on vim (and vice versa) is just an old traditional joke with no actual animus behind it.
I've seen https://en.wikipedia.org/wiki/Holi here in Germany.

Don't know what to make of it. Wouldn't want to have colored powders having thrown at me.
I work at a large bank and we are also sad they didn't release another RHEL compatible distro. We prefer not to pay RH subscription fees and are now looking at both Rocky and Oracle Linux. Can I contact you to share notes on approaching such a migration from AL2?

In addition to RHEL compatibility, AL2 worked well because our existing support plan with AWS covered it. It also came with free kernel 'live' patches unlike others (except Oracle).
What do you mean?

$10k in 1970 was the equivalent of $70k today. So all the transactions between 10k-70k in today's dollars would not have been included in the original intent of the law, but are now included today. I won't pretend to know all the kinds of transactions that fall under that scope.
Gosh I've really enjoyed using the Shop Pay checkout experience on an increasingly large number of ecommerce sites this past few months. It didn't really click until recently that this was all Shopify backed!

Makes me think it might not be too late to figure out a sensible valuation for NYSE:SHOP and invest.
How to Filter and Group the Blazor Dropdown List Items
Woah, no way. Although I could see this being abused, it's amazing that this even works.
American trust in media is 36%. I can assure you the vast majority of Americans are extremely skeptical of what they consume.

https://news.gallup.com/poll/355526/americans-trust-media-di...
India is thankfully untouched because Black Friday falls after the biggest Hindu festival of the year - Diwali. Most people are already shopped out by that point. Also the reason why our big sales are in October.
This resonates for me.
What’s stranger is that the US also has several days named similarly with negative connotations, like Black Tuesday and Black Thursday.

https://en.m.wikipedia.org/wiki/Wall_Street_Crash_of_1929
Ask HN: What is something important I should start doing in my 20s?
Something I should do in my 20's which will have good impact on my future.
Also things I should NOT to do in my 20's.
I am looking for all types of stuff - personal, professional, etc.

Thanks
"Now what? Fill me in on how we resolve this situation in your mind, once we've reached this point."

In the example you gave whether we chose to transact in cash, wire-transfer or bitcoin the result would be the same. I would have to rely on layers, civil or criminal courts, police, insurance companies, debt collectors, thugs or myself to physically retrieve the funds (or equivalent) if possible. If that was not possible some form of fair physical or financial punishment would be dealt to you or not. Honestly for that amount of Bitcoin I wouldn't be bothered and wouldn't follow it up. I would just never do business with you again and from that point forward never relinquish physical custody of goods for sale prior to receiving payment.

"Because the bank is acting as the (government approved) escrow service! Basically - The bank is arbitrating the dispute to resolve it (whether you like how the bank resolves that dispute is mostly irrelevant here)."

Trusted third parties will always be an issue where there is no trust between the buyer and seller. Sure multisig helps but the difference is Bitcoin gives us power to choose who we involve in the transaction. I and the other party I am transacting with combined are not forced to involve any one individual, company or nation state in the transaction if we do not wish them to be part of it.

I think you are conflating trust in the Bitcoin network with trust in the humans transacting over the network. Regardless of the medium of exchange in order for transactions to occur we as humans need some level of trust in the party we are transacting with, trust in the network we are using to perform the transaction and trust that other humans are going to continue to value the medium being exchanged. Not everyone's level of trust in these aspects are going to be the same and people are going to value some aspects more than others.

Personally I think if bitcoin doesn't overcome some of its hurdles soon it will probably just turn into a form of the existing banking network through legislation. It's already beginning to look like that with most individuals storing their Bitcoin on exchanges. Private wallets will be banned, transacting with non KYCd entities will become impossible using regulated custodians and any Bitcoin received from (or linked to) non KYCd addresses will be automatically seized by the government. At that point the supply can be artificially inflated. The number of Bitcoins in your account doesn't actually have to reflect the amount of bitcoin the custodian holds for you. The surveillance apparatus will become hyper focused on the Bitcoin network and everyone interacting with it. Like Ross Ulbricht you may be able to resist seizure of your Bitcoin but it will just result in a lengthy prison sentence. It may not stay like this forever though.

So do you want a postcard? :)
Inline PHP reminds me JSX. Everything old is new again.

<? include '../menu.php' ?>