skysight-inc/HackerNews huggingface dataset:
I recently migrated some services from DigitalOcean to Fly and it was quite pleasant. My only issue is that routing to Fly from Southern California is awful.

My friend and I have different ISPs and yet we’re both routed to the east coast instead of the much closer Los Angeles edge server.

So our requests end up going to the east coast(edge), then back to the west coast (app), back to the east coast(edge), and then back to west coast (origin).

The latency adds up and makes requests to a nearby app almost as slow as to one hosted across an ocean.

I’m worried that other users will hit this and make hosting on Fly terrible for apps that require lower latency :/
Combined Fleet: Exhaustive Imperial Japanese Navy resource still using 90s HTML
got some other interesting insights from the BCG post by Akash Bhatia related to the stage of the company and their cloud adoption

see `Creating a Developer-Focused GTM Model` [here](https://www.bcg.com/publications/2022/developers-influence-i...)

taking the purchase pathway of:
1. need/demand
2. shortlisting
3. testing/evaluation
4. final decision

it seems like the dev teams has (and derivatively, the developers have) say in at least the testing/eval and the final decision stages. as cloud native becomes more mainstream, i'm sure we can see how this influence will affect each stage of the purchase pathway.
Ask HN: Is it normal to like people at a distance and dislike otherwise?
People wise, as I grow older, I seem to like keeping people at a distance i.e meet them in person and go out for food at most once a year and no contact beyond that. Beyond that distance, people tire me, bore me. I seem to have no interest in getting to know them better other than while conversing during that one meetup/year. I actively dislike people who try to keep in touch all the time and want to grow closer. Was wondering if anyone else is like this?
You could try working before work

Otherwise, depending on your schedule, I find waiting until after supper and having relaxed for a few hours makes a big difference
I think that misses the point of the exercise. What the OP is asking is more analogous to using negative energy in conjunction with existing models to see what would happen. It's not reflective of reality, but it tells you something about the limits of the model.
I am "too young" to get the reference but I looked it up and once again smiled at how little I know :)
An awesome and comprehensive DIY troubleshooting guide.
Another day, another management article with a lot of opinions and no research. I find https://en.wikipedia.org/wiki/McNamara_fallacy and https://en.wikipedia.org/wiki/Surrogation to be better starting points on the dangers of organizational measurement.

> The first step is to measure whatever can be easily measured. This is OK as far as it goes. The second step is to disregard that which can't be easily measured or to give it an arbitrary quantitative value. This is artificial and misleading. The third step is to presume that what can't be measured easily really isn't important. This is blindness. The fourth step is to say that what can't be easily measured really doesn't exist. This is suicide.

> Managers tend to use measures as surrogates for strategy, acting as if measures were in fact the strategy when making optimization decisions. This appears to occur even if a measure-maximizing choice ultimately works against the strategy.

For those interested in history, there's a lot to learn about metric abuse from the Vietnam and Iraq Wars. For example:

> On October 27, 1967, The Wall Street Journal ran an un-bylined blurb from its Washington, D.C., bureau on the front page talking about a “victory index.”: U.S. strategists seek a “victory index” to measure progress in the Vietnam War. They want a single statistic reflecting enemy infiltration, casualties, recruiting, hamlets pacified, roads cleared. Top U.S. intelligence officials, in a recent secret huddle, couldn’t work out an index; they get orders to keep trying.
(from: https://www.theatlantic.com/technology/archive/2017/10/the-c...)
Ask HN: How much of the stack will be rewritten from scratch this century?
A lot of the foundational layers of software are quite old. Kernel: Linux/Darwin, Compiler: GCC/LLVM, Database: Postgres/MySQL/SQLite, Browser: V8/WebKit.

The more low-level, the older it gets.

The industry is still extremely young. It's hard to imagine that we won't eventually rewrite everything in time.

What do you think will be re-written, and what benefits will it bring?
My nickname in high school was shaq
You're still allowed to fight and go to war... just don't force ME to die for some lines on paper. Yes, I'll gladly take whatever I have and leave instead of dying in a pointless war. Or stay under a new country. And you're free to die for your country if you want.
The article is about Lua 5.0 which is obsolete. The only relevant versions of Lua are 5.1 (LuaJIT/nginx + Roblox/Luau) and 5.3+
I have some rewrite rules to detect it and serve up a small GIF:

http://www.glitchwrks.com/images/general/hotlink.gif

Mostly I had issues with folks hotlinking some of my higher resolution images in their own site/blog/forum posts and claiming it was their work. I set up the rewrite rules after noticing a big spike in bandwidth utilization and seeing a bunch of requests in the logs. Referrer took me back to the offending pieces.

It was suggested to use some sort of shock image instead, now that would be antisocial!
> digital definitely captures less information than analog

If your sampling frequency is high enough, digital captures the signal perfectly. Analog captures less of that signal, and a bunch of noise.
What ISP's are involved here?
No worries, I got your disclaimer. Unfortunately I have no more time for a proper reply, at least not today.
I spent so much time in Qwest datacenters in the early 2000s.. Was so happy to move out of there into Equinix.
Tech workplaces hold no special claim to conformity.

It's not uncommon for big old professions and specialities to have institutes and charters which include compulsory precepts along the lines of "thou shalt not publicly disagree with or badmouth thy fellow".

There, agreeing-to-agree is foundationally baked in; the very professions are sustained around the continual churning out of cookie-cutter journeymen, with intergenerational progress carefully, hierarchically regulated such that the profession all steps forward together.
>I was from the first generation to experience this, by being raised on the internet in the 90s. But I guess I had to just kinda figure it out on my own.

The problem is many children cannot figure it out.

>I think it's important to have external education about this from other sources, but I'm not aware of any good sources on this.

I don't think there are many resources. The only one I am aware of is https://www.yourbrainonporn.com/

I don't think just having resources will solve the problem. If that was the case then kids wouldn't do drugs.

>A lot of religious institutions tend to rely on shame and taboo to persuade children/teens from watching porn. But I don't think that's effective either, shame and suppression can cause other issues.

I'm not sold that shame and taboo can't work. In the past, prior to internet porn, you would have to go to a theater or buy a magazine or video. Many people who had the urges didn't because they didn't want to be caught due to the shame and taboo nature of the material.

Due to the widespread accessibility and use by the population there is no longer shame or a taboo nature to it for many people. I saw some study a while back that said around 90% of men in the US watch porn at least once a month. I don't know the veracity of the study and I couldn't find it when I looked, but even if it is only half of that, you can't really enforce taboos and shame with only half of the population.

Also, since most kids view porn there also wouldn't be any shame and taboo in their peer group.

>I think even outside of porn it's important to understand this about all forms of media, that most of it is thin and largely fake. Media addiction and letting it affect your perception of reality is a general problem, especially today in the on-demand era.

I fully agree. I'm not sure if a law like this is the best way to deal with this addiction, but I have to give them credit for trying.
National Audubon Society President of Data and Technology
i'm trying to think of an example. do you have an example?

i can come up with a composite word whose two parts are non obvious and obvious, but they're not loan words : were+wolf, with were germanic cousin to Latin vir and wolf obvious.
I think he's insinuating you're getting blown up.

Guaranteed tinnitus cure
This is 1999 type stuff.
The price has gone up of late, you are probably looking 4000-5500 depending on inverter quality (that's based on 2023 STCs)

But that said, Western Power's inflexible blanket ban on any feed-in above 5kW (single phase) has had a wonderful side benefit of enabling solar companies to be ultra competitive with the 6.6/5 kW system installs because basically everybody wants the same equipment, allowing much greater standardisation.

Electricity is still dirt cheap in WA (30c/kWh) but that will soon change.

Interestingly, solar has penetrated so far in WA that there's almost no value to the grid operator of putting more daytime solar onto the grid.
Here’s what I got from ChatGPT

class InfiniteArray:
def __init__(self, generator_function):
self.generator_function = generator_function
self.items = []
self.index = 0

def __getitem__(self, index):
# if the index is out of bounds, generate more items
while index >= len(self.items):
self.items.append(self.generator_function())
return self.items[index]

# example generator function that generates capital cities
def world_capital_cities():
# list of capital cities
capital_cities = ['Paris', 'London', 'Tokyo', 'New Delhi', 'Beijing']
# generate capital cities in a cyclic manner
for i in itertools.cycle(range(len(capital_cities))):
yield capital_cities[i]

# create an infinite array object with the world_capital_cities generator function
capital_cities_array = InfiniteArray(world_capital_cities)

# access the 10th item in the array
print(capital_cities_array[10]) # prints 'New Delhi'

# example generator function that generates concatenation of two lists
def soft_sweet():
# list of soft items
soft = ['cloud', 'pillow', 'fluffy']
# list of sweet items
sweet = ['ice cream', 'candy', 'bunny']
# generate concatenation of soft and sweet in a cyclic manner
for i in itertools.cycle(range(len(soft))):
yield soft[i] + ' ' + sweet[i]

# create an infinite array object with the soft_sweet generator function
soft_sweet_array = InfiniteArray(soft_sweet)

# access the 5th item in the array
print(soft_sweet_array[5]) # prints 'pillow candy'
The first two are the same for all BEVs the third not really look at how much crap EV manufacturers put under the bonnet. Heck the EQS SUV doesn’t only not come with a frunk but the bonnet can’t be opened by the end user they even had to make a special port to fill the wind washer fluid.

That said Tesla has remarkable scores for frontal collision, side collision not so much and they don’t do that great with pedestrian safety scores either.
The funny part is all modern CPUs use register renaming (with a 100s deep register file) so they're effectively SSA machines if you squint.
> RDS is ultimately a solution for people who look in the mirror and confidently say "you don't know how to run a database."

I think this is a terrible oversimplification and something tells me that you haven't had to deal with a complex database setup from an operations perspective. RDS reduces a huge overhead in terms of operations (ha, backups, upgrades and clustering being the first ones that come to my mind). Between RDS and running a database on a virtual machine(s) and manage it with, let's say, Ansible for providing the four aforementioned features I would chose RDS any day of the week.
> This implementation uses the __getitem__ magic method to override the behavior of the square bracket operator ([]) for the InfiniteArray class. The __getitem__ method generates more items using the generator function provided in the constructor if the requested index is out of bounds. This allows the array to appear infinite to the user.

Note that this implementation is just an example and may not be suitable for all use cases. For example, it does not handle negative indices or slice operations. You may need to modify the implementation to suit your specific needs.
Meh. Don't know where that came from, sorry.
MegaLinter now has its own domain name
Is there a place you recommend where I can learn more about this?
Throw it in a ZIP file or something so people can't hotlink directly to it. Might also save you some bandwidth.
Quick guide to managing scope creep in gamedev projects
Url changed from https://jmvdveer.home.xs4all.nl/en.download.algol-68-genie-c..., which points to this.
The passthrough isn't supposed to be able to read an eye chart. The actual displayed screens look very good though.
I’ve found success with a “first fruits”[0] approach: If I want to code as a hobby, I code for myself first thing in the morning instead of after work when I don’t have the energy or desire anymore.

[0] - https://en.m.wikipedia.org/wiki/First_Fruits
Don't take it on me old man, I am just stating a fact you don't like. I am not even saying they are logical, right or advisable (see behavioral economy and all that).

> This reads like people complaining that a new iPhone is $1,200 and then saying "BUT I NEED A PHONE!". Yes, you need a phone. No, you do not need the $1,200 phone. Take the blinders off, there is a whole ass world out here.

And you read like an angry and sour person who wants to rub people's nose in it just to say "told you so" by deliberately missing the point I made. Maybe it makes you feel good but you are not helping anyone.
I see you edited your comment to take a swipe at Bandler, eh?

Why are you carrying on if there's no real point? (Sorry. I shouldn't tease you. I do appreciate the opportunity to hash this out in a public forum.)

AFAIK people call him "Dr." out of respect for his genius and contributions to humanity, it's never occurred to me before to wonder whether he actually had a PhD. I mean, it's not really relevant? He doesn't need a piece of paper to do what he does.

(BTW I think he was at UC Santa Cruz, not SF.)
Aphantasia doesn't seem relatable to me at all. I certainly can imagine mental pictures at will, even pretty detailed ones if I try really hard. What I certainly can't do is to recall a picture I've seen "in its entirety". I can imagine Mona Lisa and somewhat describe how it looks like, but I can't recall many things about it - like the actual background behind her head or the way her hands are placed. I can only make it up based on some clues I remembered (for example: I remember a popular novel describing Mona Lisa's background as being higher on one side and lower on the other, but which one was it?)

Now, if I spent many days studying Mona Lisa with intention to memorize it, I would probably be able to recall it "in its entirety", maybe even sketch it pretty well - but the same would apply to an essay.

Maybe the author actually has hyperphantasia instead?
Got annoyed by what? Idiomatic C++ is safer than idiomatic C, whether the 90s or today (if anything, the gap is wider today).
This. We have a similar situation with Azure services being gradually migrated to Fly. Stuff that costed us $200+ to do on Azure is just like $15 on Fly.
Ah, problem is in memory. Probably also needs two piles of equal number of items :)
It seems to me, anecdotally, that the number of kids you have is inversely correlated with the amount of money you earn. My blue collar friends have the third kid in the oven, my DINK attorney friends are worried about "financial viability" while they watch their fertility window slip away...
The same techniques used to restrict intrusion, can be applied to a monolith.

Microservices aren't inherently more secure.
I am like this. I have enough people in my life, and people who are trying to “keep in touch” are annoying and feel needy to me. I dislike other people’s company much of the time and find that the majority of things that are said are often better left unsaid.

But… I’m not normal by just about any metric, so you may have cause for concern.
Lua 5.0 doesn't have the incremental garbage collector, only the original mark-and-sweep collector.

The pdf they based the blog post off of even says the incremental GC is upcoming in 5.1, and you can read through https://www.lua.org/source/5.0/lgc.c.html yourself and see that, unlike the 5.1 version, it only has a single mark list and doesn't use the tri-color scheme.
I was pulling the problem from memory. Add the requirement boths sides are same number of items.
Isn't this just how Prometheus works alongside Grafana? I've never used fly.io but I've used that exact setup with these two services.
* In USA / America

(At the very end of the article, some hint is given as to where the author is located.)

Those numbers - for USA, and for 2022 - seem very high.

Author obtained 7.56 kW of panels with a single phase inverter for a list price of USD$26k - which was reduced via subsidies down to USD$19k actual.

Here in Australia, 24 months ago I had 12kW of panels with a 10kW three-phase inverter installed for an on-paper price of AUD$13k (USD$9k), similarly subsidised with government incentives down to AUD$8k (USD$5k).

I'm about 200km north-west of Sydney ('regional' by any definition), and installation involved 3 guys for one full day (presumably they were a multi-day loop to customers in the area, as we're 3h from their base).

In any case, ignoring post-subsidy delta, why are the list prices so savagely different? I know all these panels and inverters come out of China, but I'd have expected stateside pricing to be much more competitive a year ago than rural Straya pricing two years ago.

In terms of finances / payback - author seems to overlook one (mostly positive) feature, which is the behavioural changes of 'free' power. It's summer here now which means regular 40C+ temperatures, and so the air conditioners (3 x 500W max draw) go on daily, automatically, for 10:00/17:00. This obviously improves QoL but also some non-obvious benefits - extends shelf life of food, takes a significant load off the fridge, etc.

Basically, a raw comparison of before/after often won't be as compelling as it assumes no changes to how you consumer power. I've got $0.33 export / $0.07 per kWh, so the trade-off is slightly simpler to calculate -- along with the installation of an $80 timer switch for the 1800W HWS (only draws power during the middle of the day) I calculate effective payback for me is in the order of 3-4 years.
Start working 80% time, and spend more of your limited mental energy on your own fulfilling endeavors of choice.
By your own admission you chose work instead of raising your own children. Why is that different?
> Cuba probably does not feel any better about the US hegemony, they are getting punished for no good reasons since 60 years.

Perhaps, and I wouldn't blame them either if they didn't want to be under US hegemony either.

> I think this makes a big difference because the possible solutions for this conflict will be very different.

Ukrainians will not accept not joining the EU; migrants will risk life and limb to board rickety deathtraps of boats to enter the EU.

Putin knows this, of course, and whether or not he believed in stopping Ukraine from joining the EU or only acted so no longer matters because this war aim is no longer achievable.

So he has settled at the moment for the consolation prize of the annexation of the four oblasts of southeastern Ukraine. Again, whether he believes in a Novorossiyan project or only acts as if so in order to come across as having at least gained something, anything from this war, hardly matters. The Ukrainians have little reason to stop their offensive at the moment. They likely believe (and I do, too) that they will be able to retake all of the land that the Russians captured last year, that they will be able to drive Russia back to at least the pre-February 2022 borders. If they are correct, there is no reason to settle for anything less than a return to those pre-war borders.

Either way, this is incompatible with both Putin genuinely wishing to annex these territories and Putin acting so but in reality just trying to scrape out a win.

If Putin is driven out of Kherson and Zaporizhzhia, if the land bridge to Crimea is broken, if Ukraine can still join the EU, then he will have wasted untold resources and lives for nothing. No amount of spin can blind even ordinary Russians from realising that at that point, and whether Putin believes in this project or not, he has already inexorably tied his political fate and legacy to the outcome of this war.

And if Russia is pushed back to the pre-February borders and has nothing more to offer in negotiations, Ukraine may decide to push into Donetsk, Luhansk, and/or Crimea - and at that point, it becomes worse than just a waste, but a genuine loss.
That or guides that walk you through the process of destroying wireless capabilities.
Would you be surprised to learn that in the US, banks capture 85%+ of the fee you're talking about (in their roles as card issuers and merchant bankers).

I'm serious, you can even do the math from Visa's disclosures - they make $30bn of revenue on $10tn of transactions (i.e. 0.3%).

The reason Mastercard and Visa exist (I'm serious, both used to be wholly owned by the banks) is to have a fall guy so that banks can blame someone else when they want more of the transaction settlement pie.

Do not assume German banks are somehow "the good guys" unless interchange and merchant discount rates don't go up, because there's nothing about Visa or Mastercard that forces them to take the interchange (in fact, one of the weirdest parts of the US is that wealthy customers just get that interchange given back to them).
> Besides, we have no idea on how the pricing would work when fly.io shows our app as one app but there are actually 3 processes running (web, Sidekiq and Redis).

On Fly, you provision virtual machines. That's a "Fly app". That's what you pay for.

What you do inside that VM is up to you. Fly doesn't really care if you've made a single dockerfile that starts up a web server, sidekiq, and redis - they'll just charge you for the virtual machine it's running on.
hard to shake that off
The comparison is between identical cars except that one has an engine between you and what you're hitting and one with empty space there and the engine behind you.

Also, I'm more than a little skeptical about the frequency of accidents in which a vehicle is launched into the air and rolls over due to the engine being pushed under the passengers.

And even if that scenario is common, I'm skeptical that the risk of that happening offsets the benefit of having an engine between you and a colliding object.
I took it for a spin and got a Golang panic every time i tried to deploy a container.

Not a good impression of the service. I think some of their engineers are excellent and will check back again in a few years to see if it is stable.
Posting computer-generated comments. HN is for conversation between humans.
> we get the first terrorist act in history to reach millions of victims,

Depends how you define reach.

I can't buy dynamite without a bunch of onerous license requirements thanks to a variety of 70s "activists". I can't buy a bunch of fertilizer without getting on a list because the FBI doesn't like when people make them crispy. I can't call overseas without the metadata being recorded in perpetuity by the NSA because some terrorists hijacked some planes. So a nation of 300+mil has already been "reached" by plenty of terrorists if you count putting up with not directly violent but inconvenient BS.