skysight-inc/HackerNews huggingface dataset:
Please understand my line of inquiry is sincere and not intended to be read as bad-faith-argumentative. I say this only because tone is so hard to convey.

Anyway.

Isn’t the choice of eg JSON-string vs any other string format somewhat beside the point? Wouldn’t you either 1) need to scan for metacharacters or 2) NOT need to scan for metacharacters, regardless of whether your log is structured or unstructured, at time of output?

Ignoring for a moment the additional cost per character of outputting additional data, but ignoring nothing else in the scenario, wouldn’t something like, for example:

“My index is {index}␟index=5”

cost the same to output as:

“My index is 5”?

It seems to me that the cost of interpreting the formatting doesn’t need to be paid until you wish to read the log message, which presumably you don’t strictly need to do at all until you actually care about the content of the message, or at the very least can defer the cost until a less critical moment, or do some “progressive enhancement” dependent on some set of pre-requisite conditions.
He just means the phrasing is kind of poor. A general description of an undefinable number could be something like: given a sequence of Turing Machines, T_1, T_2, ..., T_n, where T_1 is the smallest representation of Turing machine over a grammar G, and T_2 is the second smallest representation of a Turing machine over G, and T_3 is the third smallest etc... take the limit of the ratio of said Turing machines that halt to Turing machines that don't halt as n goes to infinite.

I mean that's a description of some number, you could even write it out mathematically or write an algorithm to express that number. Of course neither the algorithm or the formula will ever converge and yet it will also always be bounded between 0 and 1 (hence it doesn't diverge to infinity).

So is that a description of a number? Well sure in one sense I just described it, there is only one single real number that can satisfy that description, and as I said I could in principle write it out formally and rigorously... and yet in another sense it also doesn't describe anything since no matter how hard you try, there will always be at least two real numbers that could potentially satisfy the definition and no way to eliminate one of them.
I think the author put specific recommendations into their own sibling posts, accessible from this table of contents: https://www.teamten.com/lawrence/programming/
I thought that exceptions were intended for the one situation where people more or less agreed goto could be a net positive for legibility: "I'm twelve nested loops in and realize that I can't proceed, how do I bail out?"

The alternative I've seen tends to be something like "set $faulted when you realize something is unrecoverable, then make sure the entire rest of the function checks for it and makes sure not to do anything else if we've already identified a fault."
It appears that my suspicions may be correct. The article mentioned appears to be an inferior and redacted copy of this article[0] from the New York Times (archive.is version here[1]).

Ans so I continue to wonder what the motivation might be for doing so, as those who can read English with even minor proficiency and have even a passing familiarity with baseball would immediately see it as something really abnormal.

The other really odd thing is that it appeared as the the third result in a search for the title of the NYT article.

[0] https://www.nytimes.com/2021/10/05/sports/baseball/yankees-r...

[1] https://archive.is/iW2ur
>> when you could promenade the deck while watching the world pass silently from 500 feet or so?

I don't know where this assumption comes from. Airships were not silent, nor would you ever want to promenade the deck. These things moved very quickly. The wind/engine noise was considerable. If you opened a window you would be hit with a 50+mph blast of wind. Only during takeoff (liftoff?) and landing would there be any sense that you were floating as opposed to flying.

>> I think a modern Zeppelin could be built for less than ten million dollars.

No. Just no way. There is no possible scenario whereby one could develop a new over-ocean passenger-carrying aircraft for 10mil. Talk to Boeing/Airbus. You probably need to double that number and add at least one zero.
There was recently a launch on the Ethereum mainnet for a carbon credit DAO called Klima. Might be worth checking out, I’m reading up on it myself.
Arguably, every line of code in the Linux kernel came from someone who couldn't run their binaries on mainline.
"Good news everyone":

"We have just received an email the appeal has been accepted and the app is available again.

...(the other app is available with the same icon)"

"(1M+ downloads) 2021 game from a Chinese publisher"

Want to guess if google will be removing Chinese game with 1M+ downloads? :)
Intel CEO says AMD’s time is ‘over’
I think it’s kind of related to how the oomkiller really needs to be integrated with the applications - the application needs to be able to identify memory as “critical, nice to have, ehhhhh, and cache” and then let the kernel throw them away as necessary. Once you start having to throw away critical pages you oomkill the process.
cant think of a scenario where you need to query multiple databases in same query!
Nice demo, but deploying it all in a cluster is distracting. Maybe do your next demo with docker-compose!
That shouldn't have happened enough times that Ive developed a Pavlovian reflex to avoid unpacking his bag. Or if all hotels they stayed at were that shitty, perhaps some stern words should have been said to the people responsible for booking travel.

But this sounds like a case of someone being a diva. Hardly the mark of a great leader and role model. I've known people like this by the way. They act like any accommodation is beneath their princely person and berate the servant class members unfortunate enough to be assigned to caring for their majesty. It actually stems from a deep sense of insecurity and the need to overcompensate by appearing larger than life.

Obligatory disclaimer: Jobs still achieved great things and I like my iPhone just fine most days. We can celebrate his accomplishments while acknowledging that he was not a perfect person. None of us are.
I feel like I'm broken. I got the problem fairly quickly but had no aha moment!
can't wait to be able to mount a docker image in my brain
I’d love to give this a try, do you not workout during these or?
There is always some kind of consideration like that for these types of trick problems.
I think this is not necessarily a flaw of the design. It's a fundamental weakness of the real world.

Either you can take the backbone being unavailable as a symbol that the PoP is broken, and kill the PoP; or you can take the backbone being unavailable as a symbol that the backbone is broken and do your best.

When either interpretation is wrong, you'll need humans to come around and intervene. It's much more common that the only the PoP is broken, so having that require intervention results in more effort.

The flaw here is more that the intervention required to get the backbone back was hard to do because internal tools to bring back the backbone relied on DNS which relied on the backbone being up. As well, there were some reports that physical security relied on the backbone being up. And that restoring the backbone needed physical access.

This isn't the first largescale FB outage where the root cause was a bad configuration was pushed globally quickly. It's really something they need to learn not to do. But, even without that, being able to get key things running again, like the backbone, and DNS, and the configuration system(s), and centralized authentication, needs to be doable without those key systems running. I suspect at least some of that will be improved on, and hopefully regularly practiced.
The way this is worded seems to assume that anyone at Facebook is able to leave a job without any risk. No regard for the responsibilities they might have and on top of that, add all the interview prep, grinding leetcode, etc. they might have to go.

It’s not so easy sometimes.
> My Junior year of college I joined the programming team.

School and the software industry are different beasts. Once the pressure of "real life" kicks in, your brain starts to work differently, often trading some of that academic brilliance for other things you need to survive.

Ironically, I have seen some of the best code quality at places with crappy salaries. These companies are aware that they cannot compete with the bigger fish, so they are not as prone to squeeze their developers for that extra cent.
Every argument of the form "why would we piss off advertisers" or "why would we make our users unhappy" is void, because they are a monopoly. The mechanism that would make them responsive to customers is completely absent. Everyone hates Facebook, because it sucks. And everyone uses it, because it's a product with the most powerful network effect conceivable.
There is a way to have competition, and that is to create a standard for interoperability between competing social media platforms. In theory, the US government could legislate something like that, but in practice that's unthinkable.
So it has to come from Facebook itself. That's the only thing that could convince me that Facebook gives a shit about it's users. If you really think people are with Facebook because they like it, prove it. Let them leave. Give them the choice.
Question: if we take CO2 out of the oceans, will the oceans take it out of the air? And is it easier to take it out of the oceans than it is to take it out of the air/can we take out stuff out of ocean water at the same time (lithium, gold, etc.) that would make processing all that water worth it?
We've been normalizing artificial happiness for millennia with alcohol and other drugs, it only makes sense for humans to continue experimenting with such things.
This is a 2019 study. Would be more interesting if anyone else had managed to replicate it.

Reading the study doesn’t inspire a lot of confidence in their methods. They make a lot of basic errors like listing dB figures (a relative term) when I think they mean dBmw (an absolute measurement).

They tested multiple frequencies but for some reason only 2450MHz showed significant effects. 900MHz and 1800MHz showed no effects, despite 1800MHz being relatively close to 2450MHz.

They also didn’t use very many rats for each group. Only n=6 per frequency, which were further divided into n=3 for some of their measurements because they couldn’t use the same rat for both tests. They also chose a lot of stress-related measures which are known to be heavily influenced by mishandling the rats (e.g. if a researcher accidentally dropped one during handling)

Unless someone can replicate these results and do it with more rats, I suspect the results are likely from one or maybe two rats having abnormal baseline results and that being amplified by the ultra-small sample size.

As for relevance: Unless you’re standing in close proximity to a high-gain, directional antenna emitting continuous wave tones (not intermittent modulated WiFi packets) then your WiFi exposure won’t come anywhere near what they used for these experiments. Inverse square law and omnidirectional antennas mean that very little WiFi energy even makes it to people near a WiFi router.
Is this an "Ask HN"?

(If anyone is reading this in the future, the current title is "Why Isn't Google Fiber Peered with Google")
And some say that it might be caused by very loud crickets. Because none of the electronics in the area died.
You should have some salts to keep well hydrated, also be healthy and don’t have any problems like diabetes, or with your kidneys. Anything over 36-48 hours would be better to check with a doctor first.
I am very conflicted about this situation. On one hand, I recognize that Facebook may be a sort of anger multiplier when people scroll only through content that reconfirms their biases and buries said people deeper into their "truth bubbles". I get it.

On the other hand, the two main pillars of this story: "won't somebody think of the children?" and "the democracy at risk" have been used to justify authoritarian measures all over the world. I do informal surveys of election news in some countries and often find that "the democracy is at risk" really means "people will elect somebody I don't like".

China has recently banned effeminate men from appearing on TV primarily due to a concern that "Chinese boys' masculinity was under attack".

I don't know this person and her politics, so I will not make judgments yet. I'd be disappointed if she is revealed to be an aspiring politician or one of those people who think every company they work at needs to follow their politics and moral compass.

Edit: I have visited her Twitter page and frankly was a bit disgusted. It looks like a corporate page readying to spring to a world of newfound fame through speaking gigs and book deals.
just as going from 98% effectiveness to 99% effectiveness halves your risk (you go from 2% chance of falling ill to 1%)

its a common concept in games in which armor follows a linear formula (each point of armor is more effective than the last when calculating effective health)
Now if only I could figure out how to control the RGB leds in my case…
The general public do not give a shit about any of these. Wouldn't matter if there was only one.
Lots of things that move traffic to/from AS15169 (Google) through peering via routeservers at major IXes aren't direct peers of it.

https://bgp.he.net/AS15169

One thing that is not immediately apparent from looking at BGP tables and peering relationships is the business relationship between various ASes. Which can be entirely opaque. Obviously they have a lot going on with Hurricane as a primary upstream transit provider. How much money is involved we have no idea, and we also have no idea what kind of "special" relationship the Google Fiber people have going on behind the scenes with Hurricane.

Also Google Fiber is a few isolated pockets of connectivity in the cities it serves, it's not actually that big as compared to the scale of a huge residential last mile ISP like Comcast, Shaw, Centurylink, RCN, Charter/Spectrum, etc.

Rather than the HE BGP analysis page a better point of view to get an idea of google fiber's IX point presences, etc, would be peeringdb.

https://www.peeringdb.com/net/5063

It should also be noted that google fiber also now owns Webpass through acquisition, which is its own pre-existing AS

https://www.peeringdb.com/net/19
The reason for this is that the bullet has to be made of a softer material than the barrel, or else the barrel would wear out really fast.
Neither Google Fiber nor Google is a transit provider. Even if Google was peering with them, neither AS would propagate these BGP routes to the rest of the internet. These routes would then not appear on he.net.
Someone beat me to the punch, but yeah, at this point, C barely works the way actual computers work under the hood. It works the way a PDP-11 does, and most modern computers have been forced (even at the CPU level) to basically act as PDP-11 emulators.

Take, for example, the entire stack-and-heap thing. That's not a bedrock feature of computing; it's merely a thing that was particularly convenient to do on a PDP-11. But if you're working in C, you have to do it - so it stays a "seemingly bedrock" feature even if the hardware has drifted far from the PDP-11. A lot of these features boiled down to the ISA making it fairly convenient to do them that way - there were built-in instructions that made it pretty easy to "color-by-numbers" and get the job done.

---

This is similar to how we (societally) did barely any woodworking with screws before we had the industrial processes (like lathes or whatnot) to make them. Nails weren't some magic ground-truth or axiom of woodcrafting - it was just obscenely difficult to craft a screw, so why would anyone in their right mind attempt to build something with them?
Very well put. When people say "it's always been like this" or "it's no different than X" – this is exactly the difference, and while fundamental human behaviors or impulses haven't changed, the design of the platform is changing how they are expressed.
How did you sign up to textnow without an email address?
The goal posts went from a point about big tech controlling the web3 browsers (which they don’t), to web3 browsers not being on mobile (they are), to not many people using them…

I take it your definition of “not many people” to mean less than the number of users that use safari or chrome, so you win.

But the clever thing about web3 browsers is that they are crypto wallets so odds are if you own crypto, then you have have downloaded and use a web3 browser. Browsers like Brave and MetaMask have 10’s of millions of active users, it’s not exactly nothing for web browsers that didn’t exist a year ago.
> That makes no sense; you are not talking about a refundable deposit that is only deducted in confirmed cases of shoplifting. People do not borrow food from Whole foods and then fail to return it.

"A refundable deposit that is only deducted in confirmed cases of shoplifting" is, for all practical purposes, an additional fee that would remain out of your pocket for as long as you want to have a right to the library, even if you have no intention to steal, which is more or less the same as Whole Foods just deciding to charge $200 to any potential shopgoer for the right to enter their store. Refundable or not, that's $200 that is gone from your pocket until you either move (and then pay another $200 fee at a different city's library?) or give up your membership.

Our access to libraries are already funded by our taxes. We've already paid for access. Why disincentivize people to use what we all pay for, other than to justify spending less tax money on libraries because not as many people are going?

> Have you ever rented a tool?

Yes, actually. Most recently, Home Depot just put a $30 charge for a $3500 lawnmower on my card -- with the threat that if I don't return it within a certain amount of time I'll owe it in total. They did not ever put the total cost of $3500 on my card.
> And carbon taxes simply won't work for many reasons

That’s a bold statement to leave unsourced.
Show HN: GraphQL mutation union erros (6a) with Hotchocolate GraphQL Server
Climate change is a big problem for farmers in Hawaii
But the recommendation sounds like it's trying to work around a limitation of the language.

"We don't support named parameters, therefore, create an enum whenever a boolean would have been enough with proper support of named parameters".

I think this is unsound reasoning, but regardless of whether you agree with this or not, the idea of creating an enum for every boolean that gets passed to a function sounds pretty crazy to me.

If you have named parameters, you just don't need to create an enum whenever you are passing a boolean to a function.
Breakfast actually made me feel physically ill for a while when I was in my early 20s, so I skipped it out of necessity. I think it had something to do with insomnia. Keeping down half an apple was a struggle. So I basically starting skipping entirely.

These days a single coffee with some milk is enough until lunch, whenever that is. I can eat breakfast (or at least brunch) decently well now, but like you say I just get hungry again anyway. And if I'm going to the gym any time before 1pm I try to eat nothing beforehand or I just feel worse.
Yes, I work out daily, 30 minutes on a row machine, 30 minutes strength training. Strength training has been found to protect muscle tissue from wasting during fasts, and the cardio is because I enjoy it.
This is not an angle I’ve heard before - how does an SPA save money?
Biomass that falls into the deep ocean doesn't quickly cycle back into the carbon cycle, so some companies are look at the opposite, with the deep ocean as a sink. https://www.phykos.co/

But your idea is somewhat correct, and it has to do with desalinization tailings. There are companies like Heimdal which can take the high mineral runoff from desalinization and use it to make concrete. https://www.ycombinator.com/companies/heimdal
A specific suggestion the author makes in a post related to the TFA:

> Everyone knows good programmers should plan
> for the future, should avoid boilerplate, should
> write elegant abstractions. Don’t. Those “good
> programmers” write heaps of garbage that get
> thrown away.
What is “artificial” happiness?

If a device that isn’t plugged directly into my brain makes me happy, is it no longer artificial because it’s being experienced via typical sensory inputs? Or can an external device also cause this “artificial” happiness?
but if it's base zero, you still wouldn't get a buffer overflow ;)
Its a wonderful image, but how do you propose sequestering the carbon? Without a powerful source of truly carbon-neutral energy, the losses incurred would simply see more carbon released downstream as a result of whatever process you choose to create such artful carbon chunks.

I still really enjoy the mental image of a post-industrial society in a few thousand years sitting on a foundation of diamond bricks. :)
I don't know how BGP works in detail, but I have to wonder how HE would be able to observe peering between Google Fiber (AS16591) and Google (AS15169). Google Fiber won't carry third-party traffic through AS16591 to AS15169, and vice versa, so I wouldn't expect either AS to announce routes that would expose the peering. But they are definitely peered, as confirmed by a simple traceroute.
If two people build a feature, two people are slowly forgetting how and why until they move on, and nobody else gets it at all. It is easier than documentation (which I agree is hard enough to more than double the dev time), but it only postponed the problem a little without solving it.
I think I'm with you on that. Real numbers don't exist in an objective sense, I mean they exist in the same sense that an Escher painting of a hand drawing a hand exists, but they don't exist in the sense that a hand drawing a hand actually exists.

When I was in high school I remember thinking that computers use the discrete to approximate the continuous and that it is the continuum that is real and the discrete that is an imperfect representation of the continuous. Then a high school teacher blew my mind when he told me to consider the opposite, that in fact it's the continuous that is used to approximate the discrete. The discrete is what's real and we humans invented the continuous to approximate the discrete.

That simple twist in thinking had a profound effect on me that influences me to this day 30 years later.

If anything I may have some extreme opinions that frankly no one takes seriously and I'm okay with that. For example I think the finitists had it right and infinity does not exist. There really is such a thing as a largest finite number, a number so large that it's impossible even in principle to add 1 to it. I can't fathom how large that number is, but there's physical justification to believe in it based on something like the Bekenstein bound:

https://en.wikipedia.org/wiki/Bekenstein_bound

At any rate, I like thinking about this stuff, I do appreciate it, but I don't take it literally. It's poetic, it can inspire new ways of thinking, but I also remind myself to compartmentalize it to some degree and not take these ideas too literally.
I’m not sure if I’m missing something, but nvme drives are pretty rapidly approaching ram in terms of bandwidth, so it’s possibly sane to just offload tabs to ‘slow memory’ too.
Study reveals why some people get Covid toe condition
Aha, and so now this link is on HN and if questioned users would obviously deny the existence of this effect in humans until proven - still the assumption in the comments here is that this would work in humans too.