skysight-inc/HackerNews huggingface dataset:
* exceptions for error handling: you can also use the 'result' type (an OK of 'a|Error of 'b type in the stdlib) if you don't like exceptions.
At least the function's signatures will give more details in how it can fail and force you to handle the failures (or pass them through to your caller).
Unfortunately you lose backtraces that way (though you can use wrappers like reword_error, or logging to give more details on what goes wrong, but backtraces can be convenient in locating the source of an error sometimes).
A compromise is to use a wrapper like trap_exn (from Bos) that puts the exception with its backtrace in the Error type and then you propagate that...
Anti trust laws were made to protect consumers, not paper-millionaires shareholders of other compenies.

There wasn't an organic hatred against Microsoft, people were teaching courses on how to create a startup aimed at getting acquired by them and retire early.

It was a DC play from people who knew nothing about software but were jelous of what they were reading on Fortune and Forbes.
Because there are institutions that rely on them. Things like air traffic control, the stock market, etc. run on mainframe environments. If it ain’t broke, don’t fix it.
Someone needs to go find out.
Yes but this way you only need to keep track of one lie instead of a bunch of lies, like the kind of covid test you took or when you took the test. More mental load to remember falsehoods than to remember truths. Or so I've heard.
If their goal was to normalize and humanize Rust evangelism then this post failed catastrophically.
As told in the Walter Isaacson book about Jobs, Larry Ellison wanted to buy a controlling interest (or all of it) in Apple and install Jobs back as CEO around the time Jobs was attempting to accomplish the same end goal by acquisition. Jobs was responsible for preventing Ellison from using that tactic, on the argued basis of claiming the moral high ground.

https://www.businessinsider.com/steve-jobs-larry-ellison-201...
Hyundai and Hyundai Doosan to show ‘smart construction’ solutions
This works, thanks. I had to set up one mypy hook for each project, however. Is there a better way?
Could you recommend a PCIe adapter to receive a Nokia 3fe4960ac SFP+ transceiver (AT&T fiber) and maybe one or two 2.5G or 10G modules?
Eh just through in a sum type. Unwinding or other runtime support for exceptions is highly overrated in my mind.

What's really dank is doing https://www.ccs.neu.edu/home/shivers/papers/mrlc-jfp.pdf i.e. multiple return pointers. This way you can do the Rust Result (Either Monad) thing without branching.
Only 2.5G is an oddball. (I guess consumers are scared of fiber or too lazy to pull it)

40G QSFP is just 4 lanes of 10G and can usually be broken out into separate ports

Same for 100G QSFP28 (4 lanes of 25G SFP28)

You see this all the time with interfaces. Like with PICe bifurcation. Or how 56G infiniband is 4 lanes of 14G tho you can’t split it, etc
Yeah, agreed. Plus using the iPhone as a metric plays into the 'all that power is in your pocket now!' narrative.
I don't have enough experience with it yet to say. Also, I think improved productivity will be a function of the utility of the markup directives. For example, I just added a new one today ("dateline"), that solves a minor pain point for me. It feels promising, but will have to check back in in 6 months.
While that's good, the top 10 chart on ProtonDB.com still looks terrible.

Until someone finds a way to get anti-cheat systems to work in Linux, I won't be switching to Linux as my main OS.
2021-22 Tesla Model Y earns highest IIHS accolade
It’s Ubiquiti advertising their own products.
Sorry you felt it was obnoxious; certainly, I came away from the book much more interested in NeXT than I was going in. (The NeXT view that Sun was their primary competition was surprising to me for the reasons you outlined.) That said, there were a bunch of decisions that NeXT made that were highly questionable. (Stross's book is well-researched, and goes into many of these.) But I think it's also clear that the NeXT experience informed Jobs at Apple, where those mistakes (especially with respect to the market) were not repeated.
Anybody who has a "bottleneck" caused by a table with a few million rows is functionally incompetent. From any half-modern database's perspective that's "tiny". Any reasonable production machine would be able to fit (at least the important parts of) a million row table in memory. Even if this is your hobby project running on a RaspberryPi Zero, you'd have at least the index in ram.

Either you don't care about that query's runtime (a perfectly valid approach if your use case is "this creates a report after COB on Friday that needs to have completed before 9am Monday morning"), or you need someone who knows what they're doing take over from you (also a valid approach if this is in your tech demo or POC, and you're the Technical Founder who's now out of their depth and needs a proper engineer to build a scalable product for you).
Prominent Harvard Professor Found Guilty of Lying About China Ties
The Photonic Age
Ask HN: Did you start receiving more commercial emails after moving to the US?
I am very careful with my email inbox, and try to unsubscribe regularly to commercial emails I get from various service I sign up to. From my understanding, lately in Europe it was forbidden to make commercial email notification opt-in the default, but still there are some services which find creative ways to send you unwanted emails and I always take the steps needed to unsubscribe when I see messages like that landing in my inbox. So three weeks ago my inbox was fine and clean with just the emails I want to receive.

Then I moved to the US, and all of a sudden, starting maybe a week ago (so ~two weeks after moving), I've started receiving a lot of new different commercial emails and general notifications from various services. That's happened with a lot of different services, from social media, online shops I've used maybe once, to that time I left my email while registering my purchase in a french music shop in Paris. My wife who moved with me is also experiencing the same thing.

So I have some questions: first of all, are those services behaving differently depending on your location? are these services assuming I opt-in to options that are maybe forbidden by Europe by default, but not in the US? And what if I am just in a vacation? But foremost, How do they know I'm in the US? Remember the music shop in Paris, or some services I've not visited for a while?

While I do have some ideas on how this sorcery may work, if you know something more feel free to comment.

Did some of you also experienced something like this?
Shrink Your Compile Times with Split Dwarf
The slow motion video at the end is terrific. Incredible!
Sveg?
Sounds like Wells Fargo :grin:
Is there a rm variant that bundles an undo command?
...and what's also interesting is how little innovation there is in SPACs. Tells you a lot about how stale/uninnovative the entire finance industry is.

Everyone has similar warrants, similar share structures, and even the $10-pre-merger price. AFAIK, there's no reason for all these consistencies beyond copying and pasting the original docs.

Anyway, I am tracking a lot of SPACs and waiting about 1-2 years before diving into some of the more promising ones. We'll see how it goes!
> BeOS was chosen to be the successor to MacOS 9 until the 11th hour, when a meeting with Jobs and the board of Apple met. BeOS was dumped almost immediately for NeXT that night.

Somewhat. Be's CEO way overplayed their hand and left the door open for Jobs (or anyone else) to come in and steal their opportunity. Which is exactly what happened. The internal valuation Be had of themselves was completely delusional, as just a few years after the Apple-NeXT merger showed.

It's too bad. BeOS was a thing of beauty. I still have fond memories of it.
I don't have any cloud account to run my home network, I just have a VM running the Unifi software locally. I'm quite happy with the setup. USG to route packets, PoE switch with three AC-Pro access points hanging off it.
For those curious about the "Wi-Fi spam" comment: even though nothing is connected to the network and it's a hidden SSID, it still has to broadcast beacons every 100ms. The 802.11 standard says beacons must be sent at the lowest rate the AP supports, so your ~350 byte beacon at 1mbps (2.4 GHz) uses around 5% of the frequency. It doesn't take many SSIDs on the same 2.4 GHz channel to make the throughput fall through the floor. Beacon spam is one of the reasons why 2.4 GHz is practically unusable in dense environments these days.

Thankfully for 5 GHz this isn't as bad since the lowest rate is 6mbps and the signal penetrates less. Some routers have the option to disable 802.11b which raises the minimum 2.4 GHz beacon to 6mbps as well, but unless everyone does this it won't make much difference.
Here it is - https://imgur.com/a/XeAVWzs
> If I understand your critique, it's this: "How dare you critique their use of Ra? You have no standing! You have no right!" Which is basically an ad hominem attack that doesn't address any of the substance of my complaint.

Sorry, no, making up your own caricature of what I said isn't an effective way of responding to it. And it doesn't speak well of your cultural sensitivity if you can't treat the thoughts of someone different than you fairly. Try quoting the actual text I wrote and responding to that text.

As it happens, I quite obviously did address the substance of your complaint, if you read the entirety of my post. Taking offense on behalf of others can be valid if backed up with real evidence or personal experience, but there's a big risk you don't know what you're talking about. And as I said, I'm not necessarily that bothered even if a literal Ra-worshipper doesn't like this blog. People are allowed to say negative things about gods. It doesn't matter if their feelings are hurt. Feelings are not always and everywhere legitimate. The ability to be irreverent about gods is a wonderful quality of the modern developed world. It won't be taken from us.

> there are people I know who would be negatively impacted if this slant on Ra ever became more mainstream in Western culture, that I could not remain silent.

Please provide a meaningful, legitimate way in which anyone would be negatively impacted by someone associating an ancient Egyptian deity with bad things for artistic purposes. And no, carrying a chip on your shoulder about how no one can say anything negative about your culture's god doesn't count. It'd be one thing (not decisive by any means, but something) if people still worshipped Ra, but it's unclear that even that is true, and what evidence I've found with Google so far suggests not.
These are used pretty often when doing data analysis. It's a simple way to group things together.

For example, find all users who have have been active at least 10 days. This provides a simple way to do a complex operation (if a user signs up Dec 29, a naive implementation won't catch that their 10 days is in January of the next year).
Fusion Industry Association
According to the OP theory the current inflation is caused by simple change in statistical method used to calculate M2

The reason for the jump is explained in below the graph

>Before May 2020, M2 consists of M1 plus (1) savings deposits (including money market deposit accounts); (2) small-denomination time deposits (time deposits in amounts of less than $100,000) less individual retirement account (IRA) and Keogh balances at depository institutions; and (3) balances in retail money market funds (MMFs) less IRA and Keogh balances at MMFs.

>Beginning May 2020, M2 consists of M1 plus (1) small-denomination time deposits (time deposits in amounts of less than $100,000) less IRA and Keogh balances at depository institutions; and (2) balances in retail MMFs less IRA and Keogh balances at MMFs. Seasonally adjusted M2 is constructed by summing savings deposits (before May 2020), small-denomination time deposits, and retail MMFs, each seasonally adjusted separately, and adding this result to seasonally adjusted M1.

That's highly orthodox, I would call it even weird theory.

ps. Friedman's claim that inflation is a monetary phenomenon is now considered false (or at least highly conditional)

https://www.jstor.org/stable/3441104

>The relation between long-run inflation and the money growth rate is not proportional. The strong link between inflation and money growth is almost wholly due to the presence of high- (or hyper-) inflation countries in the sample. The relationship between inflation and money growth for low-inflation countries (on average less than 10% per annum over the last 30 years) is weak.

https://fred.stlouisfed.org/graph/fredgraph.png?g=K70a
Alien invasion … excavation revealing hidden secrets … threatening to destroy middle England … government scientists hell bent on eradication …

https://en.m.wikipedia.org/wiki/Quatermass_and_the_Pit_(film...
If the other team lets you do the work, who's going to review it, explain the codebase to you and, by FAR the most important thing: who's going to maintain it when it breaks? Are you commiting your team and your time to a response when a bug appears with your code or when it needs to be migrated?

That's pretty much the same issue as FOSS maintainers have with random drive-by patches - someone needs to still maintain that stuff in the future and in 99% the original owner fscks off by that time leaving the original team to deal with their artsy hacky creation.
Yes, that's why I stated that crypto was still applicable. You get the benefits of money transfer without the barriers to entry (except maybe in converting to and from fiat).
still confused why browsers allow private network access from non-private domains
In the slomo at 6:30ish, can anyone more versed explain what was happening? It looked like the fuses were all lit but nothing happened, then some flame ball from the left came and everything just disappeared. Just curious of the mechanics of that.
All the intercoms are labelled 'trap'. The one in the image is a trap.
Another interesting resource is Jobs speaking at the MIT Sloan School of Management while NeXT was in the process of pivoting to enterprise rapid application development.

https://www.youtube.com/watch?v=Gk-9Fd2mEnI
I entered grad when labs were freed from the tyranny of central university mainframe into local computers. The mainframe inputted punchcards and output to lineprinter. The lab computer ran UNIX and had CRT terminal input/output.
The 740 was also available with the 2.7-liter PRV V6.
Looks like they plan to build a desktop browser "around the OS-provided rendering engines" (likely meaning embedding a WebView with Edge / Safari). Wish they'd adopted something like Ungoogled Chromium (https://github.com/Eloston/ungoogled-chromium) instead and built on top of that.
Top subreddit mod accused of extortion
I’ve seen bad mod behavior before, but extortion? This requires further investgation. This mod controls what is and isn’t seen by 26million subscribers.
He even referenced the Phoenix Project ;)
THANK YOU for that link, I didn’t realize that our self-hosted DHCP was facing attacks not only from the shitty ISP cable modem but also from the TP-Link APs. Hopefully an upgrade will fix that. It really says something about their attitude:

> And there seemed to be some misleading about "smart DHCP". This feature would not be enabled for no reason.

It took >2y and >100 forum posts on the issue before they even acknowledged that even in “AP mode” it silently enables a DHCP server as long as it doesn’t get a DHCP reply within 60s from boot.
I like the idea of having different degrees of "death by coconut."

1st degree: you were struck and killed by a falling coconut. 2nd degree: you shot and killed yourself trying to open a coconut with a gun. 3rd degree: someone else got hit in the head with a coconut but lived, albeit with severe brain trauma. Years later, they suffer from intense CTE and go on a murder/suicide rampage and kill you... but the coconut kinda started it.
The psychological momentum of cryptobros far exceeds that of central bankers. Cryptobros and affiliated parties are comprised of thousand of vanguard who have built their entire financial future and self worth on their very limited life experience and ignorance of even the most basic economic principles and history, and a technological screw driver behaving as a hammer looking for a nail. BIS participants are, at minimum, involved for decades in global finance and markets with exceptional educations and understanding of the forces at work, unpredictable and unstable they may be.

Just as popular ignorance driven by hype, buzzwords, and FOMO has lead to bubble after bubble, victimization by ponzi schemers, and endless financial fraud, so to will the crypto space. It will help if we just stop debating whether crypto assets function in any way differently than a ponzi scheme and acknowledge they have zero capability of scaling as a currency to meet the demand of global finance, particularly while providing no security or recourse against basic human error like incorrect payee, charge backs, identity theft, etc, and are nothing more than a speculative asset with zero intrinsic value waiting for the next greater fool to come along.

"Just accept that my bags will always be around and eventually worth more than I paid for them"

No, I don't think I will
Worked in defense in a previous life. Spent a lot of time in DC and northern Virginia.

Take any amazing organization that does great things, give it a bunch of money, and have the revenue stream not get impacted by failure. You get rot. You get IBM 1960 vs IBM the 2010s - present horror show. You get Ford in 1920 vs Ford in 1980. And this isn't limited to the private sector. It's a feature of massive organizations where revenue is divorced from success.

The US Federal Government is an utter horror show. It was once an amazingly capable collection of efficient, nimble organizations. It could hire rogues and mavericks when needed, and was able to fire the desk-riders too. It's now a rotted-out shell. Success happens in-spite of, and never because-of, the organizations themselves.

I always invite people to go and work with one of the US Fed contractors or agencies. Go look at their job postings. Look at the energy levels of the team members. It's somewhere between a DMV and a mausoleum. Ask yourself if you honestly think they need more money or just far fewer, far higher paid staff with the same or even less budget. Then ask yourself if these organizations are capable of understanding, let alone governing, complex domains.
Evidence is Pocket PC

Evidence is also how the iPhone struggle to communicate with Windows PCs and everything which isn't Apple.

Evidence is also the fact that out of the box you cannot charge your 1700$ phone while listening to music at the same time.
they have a dual 2.4/5 GHz network on the same SSID, but certain devices just cannot handle it

My Canon wireless printer is one of those devices that can't handle it. If they both have different SSIDs, then it will connect fine. But if there are two with the same SSID, during setup if fails to ask the user for a password and therefore cannot connect.

Meanwhile, Amazon's eero has removed the option to have different SSIDs for each network. The two mistakes combined (Canon's and eero's) mean it's not possible to use the Canon on an eero network. Unless...

What I ended up doing was unplugging the eero, and setting up an Airport Express I used to use for traveling with the SSID I want for the eero. Hook the Canon up through the Airport. Unplug the Airport and turn the eero back on and it connects. A stupid workaround.
An amazing article, the use of 3D graphics for a tour of the site is very impressive.
Ha, looking at the pictures, I thought "that looks just like the records building in the middle of season 3 of Mr. Robot", and it's the same building.

BTW this is unrelated to the thread, but Mr. Robot is an incredible show, and the middle of season 3 (where this building is featured) in particular is probably the greatest television I've ever seen. Episodes 5 and 6 are like a full two-episode climax to a story arc that had been building since season 2. I generally avoid any "hacker" type shows/movies for the cheesiness/cringiness of the hacker portrayals (and Mr. Robot does start off a bit cheesy), but I'm glad I made an exception here.
Using the BTC as collateral lets you stay long BTC and get the car. You also avoid paying capital gains since you aren’t selling.

The positions are fundamentally different. If you take the loan you are long BTC and short dollars. If you sell BTC for the car you have zero of both.
> Does your company offer fat paychecks for improving internal tooling?

It does. But not to me. There are entire teams with millions of dollars of budget to improve tooling.

But of course they only do what they like. And my management doesn't care enough to bring our complaints to them. Individual engineer complaints are ignored.
> It's just theatre. It's there mostly to stop you playing with your phone and pay attention to the flight attendant doing the safety speech.

They frequently give the safety demonstration before requesting people turn on airplane mode. And besides, there’s no safety demonstration when landing.

> If this was truly a problem, really truly actually causing radio interference, this wouldn't be allowed.

And they would drug and alcohol test pilots before flight, yet you can still read NTSB reports showing toxicology in fatal crashes.

> Famously, some of the victims of the 9/11 hijackings got to make phone calls from the air, and/or received SMS texts notifying them of what happened to the other planes.

Those were satellite phones (or used special ground-based receivers) they weren’t regular cell phones. And they were embedded in your seat-back and presumably certified as being airworthy.
You could penalize that without penalizing those that work long hours for legitimate reasons.
> Anti trust laws were made to protect consumers, not paper-millionaires shareholders of other compenies.

And consumers were harmed by one company controlling 97% of the desktop market, when its would-have-been competitors had better product but couldn't compete because it cheated.
A different perspective: you moved to the USA close to the holiday season. Promotion emails and notifications might be soaring following the natural seasonality of marketing campaigns.
In some cases, the advantage of a SPAC is that it has a senior management team that will take over the acquired company (not unlike a PE deal). For some investors, this makes the target company more attractive than it would have been going public on its own without a management team.
> At the same time, the language clearly needs a comma-like operator with higher precedence than the comma,

When a bulleted list is too much, I usually fall back on 1) this thing 2) this, this and this other thing and 3) this final thing. Gives you an easy way to refer back to each item too. Bit stuffy for causal writing though.
Sort of like the Blue Cube in Silicon Valley. Even knows its a bullseye in nuke war.
My mother has an associate degree from a community college in early childhood psychology, and was a kindergarten teacher for a couple decades. Eventually it got physically tiring, so she left to take a grunt-level desk job at our local ISP.

She immediately rocketed up the corporate ladder. Even as a middle-aged woman with zero relevant experience and no bachelor's degree, she was put in charge of ~100 people within a few short years.

She said the same thing as you: many of her learnings about how to manage a classroom of young children also happened to apply to managing a team of full-grown adults. (She was also killer at speaking in front a group because she'd been doing it for decades in the front of a classroom.)
The data scientist I've worked with that I most respect once told me "It's not 'big data' if it fits on your laptop".

Anything that fits in ram, at least in the context of "a table" in a RDBM probably counts as 'micro data'...