skysight-inc/HackerNews huggingface dataset:
Is docker fast because you have other containers running already and you’ve got a vm up?

Vagrant used to be a thing and it would spin vms up pretty quick.

There are differences technically, between docker and vms, certainly, but conceptually they are the same, aren’t they?

There’s no real
D1 is eventually consistent so better not use it with that. I'd rather use Durable Objects
That's a great to hear, but unfortunately nobody else is doing it and Apple does so many other bad things to more than make up for that from an environmental pov.
Type hinting sucks
I agree 4 spaces is preferable, but working in a code base with both conventions due to legacy code is hardly ideal.
Most Experts Agree That Elon Has Made Twitter’s Child Sexual Abuse Problem Worse
That isn't the official one, just yet another implementation.

https://www.tcl.tk/software/tcltk/8.6.html
What if the "countermeasures" described here (1-2 breathing, voo-hum, yoga nidra, meditation) have their own risks?

I think the takeaway here should be that all the woo-woo aside, the ability of the body and mind to manipulate itself into a state of stress and anxiety is surprisingly powerful.
Anyone getting into these techniques for the doubtful and unproven supposed benefits should proceed with extreme caution.
These days, AML algos look at cash transactions in a sliding window fashion: $2k ATM deposit on Jan 1, 2022; $3k cash deposit on Jan 21, 2022; $3k cash deposit on Feb. 28, 2022; $3k cash deposit on March 18, 2022. Boom, in the span of 3 months, $11k cash deposits, back office (not tellers) can file a SAR.
I tried Alfred with an old Motorola something but the app and/or phone would crash and/or shutdown because of the heat. Your mileage may vary of course.
It's just fast.

I have not used a container today. Let's use one:

$ time docker run --rm debian:11-slim echo hello
hello

real 0m0.528s
user 0m0.015s
sys 0m0.023s
I think this glosses over the downsides of sharing a kernel. There are lots of edge cases where containers can interfere with each other by consuming kernel resources or causing contention in certain kernel code paths.

So you can run a db on kube ok, but a "production like" setup will be keeping other workload off the same kernel. So the kube bit is because it's what you prefer to operate, and you might as well be using vms.
I was deadly afraid to run databases in k8s in 2019. But I've been running CrunchyData's postgres-operator (no affiliation) since 2020 and I can't say anything bad about it, just works.

It's basically just a bunch of already well thought out open source tools like patroni, pgbackrest and postgresql combined into an operator. So it's not really magic.

And the backup to s3 feature in pgbackrest is so solid that I've used the clone cluster and restore cluster feature a few times, just because it's so convenient.

But this is in environments that serve only thousands of users, not at all comparable to huge startups, or environments where ms latency is important.
I don't completely disagree with you that the risks have not been discussed enough but to me what is much more important is we have absolutely no structures in our society to deal with these risks.

Not only do we not have the structures but we also have no ability to create them. If we did we would have already created them.

Instead we are going to go with the tried and true method we always use:

"What does this button do??" Then push the button and see what happens.
I've been a paid subscriber to Medium for a few years now (I have a lot of writer friends and it seemed a way to support the art) and I think it's great (I'm not afiliated to the company in anyway and not one of their creators) - I read it every day and there's always at least 2-4 interesting articles which is pretty standard compared to other more pricey publications eg. the Financial Times (I read about 20 online titles every day) - I'm not sure why a lot of these commenters seem to think removing a paywall or increasing read free limits will help improve the company, if anything the reverse will happen and these people will probably never pay for anything. I would actually wouldn't mind sensible text style ads added to articles (think eary 21st century Adwords style) if only because if an article gives me an idea then it would be great to then find a relevant solution provider - if YouTube can stuff 2-4 ads in every video then I think you can safely run non intrusive ads though I guess the army of ad blockers might cause issues (something YouTube videos seem immune to) - oh and reopen the API as that would help data driven content generators
How do you measure a good programmer? Haven’t gone through article yet, but that’s my first question that pops up.
Only in what concerns WinForms and now Blazor.
It is, see his linked posts
React.js: The Documentary – How It All Began
Smaller customers are often happy to hire a freelancer directly without the overhead of going through a middleman - as long as they trust the freelancer. Larger organizations tend to prefer hiring consultants through agencies since it is simpler and reduce risk.

I worked as a freelancer for years and liked it, but in the end I decided to get attached to an agency because there is a lot of footwork in finding your own clients and negotiate, and I didn't particularly like this part of my job. Now the agency finds the project and I just say yes or no and start working. I also earn more even after the agency cut because they are better negotiators than I was.

I wouldn't accept a contract which said I should be on-call for support after the project finish. I only accept full-time contracts, and when it is finished, it is finished. Otherwise you go crazy supporting old projects while at the same time working full-time on a new project.

Some level of non-compete is reasonable. Like don't get hired directly by a client which know you through an agency. This would be undercutting the business model of the agency.
Too much of the web is developed on fast machines with fast internet and high quality monitors.

I spend a lot of time in trains, hotels and airports, and I carry a 2017 12" MacBook. It strongly influences how I build websites. It's infuriating to wait for pure content to load because it's tied to a bunch of crap that isn't what you want to read.

In that context, developer docs are often the best kind of websites.
GDPR's tool for punishing transgressions is fines:

> For especially severe violations, listed in Art. 83(5) GDPR, the fine framework can be up to 20 million euros, or in the case of an undertaking, up to 4 % of their total global turnover of the preceding fiscal year, whichever is higher.

> “the concept of an undertaking encompasses every entity engaged in an economic activity, regardless of the legal status of the entity or the way in which it is financed”

These services have no economic activity whatsoever, or if they do it's in the forms of donations to keep the lights on. Who do you propose that the GDPR hammer strikes?
Ah for Gods sake!

> "Unreviewed Content"

> View in the Reddit app to continue.

Nah, I'm good.
I will happily point out that pride in the former empire is exactly what's driving Russian aggression in the Ukraine at this moment.
If you have a complex user interface with the possibility that many parts might be in use at any given moment, full page refreshes mean your users could lose work.

This would definitely be a bad user experience.

But it doesn't mean refreshes are bad, just that the architect of that application hasn't factored them into the user experience appropriately, or they've made their interface unnecessarily complex.

All modern browsers have enough tools baked in that we can work around this without reinventing the execution and rendering pipeline (e.g. localStorage).
You're forgetting that ASP has many versions, unless you're speaking about the original one.

For example, Blazor definitely is capable of http/2.
> edit: chatGPT version of my posting:

While I acknowledge that the spread of hateful messages online can lead to tragic consequences, such as suicide, it is difficult to determine which political side causes more harm through speech. The impact of speech on individuals varies greatly, and not all individuals are equally resilient to criticism.

In my opinion, businesses with a monopoly must serve all customers regardless of their beliefs or opinions. However, businesses without a monopoly are free to work with whomever they please, as long as they don't discriminate based on factors like ethnicity or gender. The rejection of a message or idea is not the same as denying service, as long as there are still other competitors who are willing to work with the individual in question.

In conclusion, I do not believe in the existence of "cancel culture." I welcome further discussion and arguments that may change my mind.

> Original, confusing message by me:

After book burning, we burned people.
Do we cancel people into their graves next?
Yes, hateful messages get humans to commit suicide. But I don't know if (politically right?) not canceled messages vs. a (leftist?) cancel culture cause more self-harm.

That said, I believe every business that holds a monopoly must serve anyone. Any other business may deal with whomever they want and reject on any grounds, unless these are explicitly forbidden. Ethnicity or gender may fit as non-reasons for denying service. Not liking a message and not wanting to share it is different, if there are still competitors that will offer to work with you.

TL;DR IMHO there is no such thing as cancel culture. Change my mind.
I think what is really encoded in the otherwise arbitrary choices of code aesthetics is the care one puts into it and overall greater readibility/understandibility that you get from consistency.
Gary Marcus has been incredibly vocal against LLM for quite a while now. The problem is that the guy does not understand that modern LLM are no longer just classifiers, as the article seems to imply. The underlying transformer architecture has completly transformed the field. For instance, training an AI to recognize cats has nothing to do with training a LLM, texts are fed to the machine without any labels. Attention is where these models take their strenght. It is a way to learn how to predict the next token by learning which elements are connected between the input and the output so far. These architectures model a sequence, which is very different than simply finding the next token with a basic probabilities as ancient approaches did.
Can you tell me how the storage there works when using their replica feature?

Can I just provide it storage from a k8s-host and it replicates it to the hosts where the other replicas live via software or do I need to provide it a StorageClass that supports distributed volumes?

This is the one thing I cannot wrap my head around and apparently there isn't that much information (read benchmarks) on the implications of using different kinds of storages for databases on k8s (or at least I can't find anything)
A vaccine trial targeting the most lethal breast cancer just took its next step
Where can I play this game? It’s probably available online in-browser?

Also would love to see what ChatGPT would output if asked to describe a map or give instructions to draw.
But people already felt for the fake it till you make it. This will make it even easier, but how many people have a vague idea in a coffee place, register a domain and put a landing page and that’s it? Some put a saas starter on to catch signups and leave the dashboard ‘coming soon’, also forever…
I drifted away from Medium five years ago when I built by own site with interactive features Medium lacked. But I still continued publishing non-interactive pieces there. However, last March, when Facebook and Twitter started hunting down russian bots, Medium became the last safe haven for them. I blocked quite a few but eventually gave up and deleted the account along with a few dozen posts.
About five years ago we had agreement in principle with Mozilla to extend the web extension API to accept keypresses from anywhere, provided that someone did the work to write that API.

We started it [1] but lost interest because we think Tridactyl works mostly fine without it (press ctrl+, anywhere to get back to Tridactyl) and I have always found more urgent things to improve.

I'd be happy to help anyone who wanted to pick it up, but a lot of the political work of persuading Mozilla that such an API would be useful would need to be restarted since most of the people we persuaded in the past have now left Mozilla.

[1]: https://github.com/tridactyl/keyboard-api/
I believe so, but also because they decided to still fly missions on a day where the Prowler EW platform was inoperable. Due to the extreme predictability of the route, along with no countermeasures, and intelligence on the matter, they were able to burn through.

This is the article I read about this some time ago; good detail here! They quote complacency as a factor, arrogance would be another good word - in grossly underestimating the sheer determination on the other side.

https://theaviationgeekclub.com/an-in-depth-analysis-of-how-...
Crackdown on ‘birth tourism’ as pregnant Russians flock to Argentina
The other good story about remoteness

https://en.m.wikipedia.org/wiki/Weather_Station_Kurt

German sub drops off a team in 1943 to install a weather station on Newfoundland.

Wasnt discovered until 35 years later only because some scholar found reference to it in the German archives.
Same feeling here. There was a time in which it was pleasant to read an article in medium but not anymore and they made the experience so awful that I'm not willing to give them any more chances to improve. And reading the CEO here it seems they aren't even aware what the real problems are.
No, they are a joke and actively harmful. Shows how little some organizations respect software engineers. There's no 2-day course you can take and get a job micro-managing doctors, lawyers or finance workers.
Black is opinionated, but you just run it, accept the opinions, and never think about formatting after that. No debates over how to format a code block; focus on the actual logic being implemented.
I don't know if it's relevant, I think it's interesting, to me at least as an economist, to ask these questions. What you do with this information is up to you.
And knots. Speed limits at sea in Norway (in harbours and other places with much traffic and little room for maneuvering) are always in knots. But we measure water depth in meters, not fathoms.
Not having a positive ID, I reckon.
I wish there was more written here about how each approach of delivering JS/HTML and adding interactivity works on the server and on the client in techical terms. The nomenclature used for these quickly turns into a confusing mess.
You keep saying I pick-and-choose when to support IP. Nowhere have I said any such thing. Rather, I consistently support it — in the case of software, art, engineering, and medicine, etc. When an actual alternative financial model with a chance at becoming reality appears, I’ll be first in line.

That I disagree with your position is not inconsistency on my part, it’s a reflection of us having different values. That’s okay. I’d still love to hear your alternative financial model, like I said.

Unless you’re accusing me of being a secret artist? Even then, that assumes your position (“all artists, without exception, support the theft of software tools but do not support the theft of their own material”) is correct, which it is not. For starters, how are we defining artist? For example, do you imagine Mimes are pilfering Adobe on principle?
Formatting is one small part of a style guide, and yes in every self-respecting place formatting is automated. What is then left is more interesting and important: naming, code organization, management of state, ...
ESRI have similar network effect to Microsoft. No individual product is that great but taken together it is very competitive. And ArcGIS online is developing that network effect in a similar way to Office 365.

Also, the GIS space tends to have crossover between different departments in companies. You have a mix of IT departments, GIS specialists outside of IT departments managing infrastructure, data management, casual users etc. Each has a different budget and a different competitive environment. ESRI sits as a compromise between these different groups. Each group may be able to adopt a competitor but not gain traction outside their group.
VM platforms had the opportunity but not the motivation to achieve comparable startup times. There are a handful of examples out there like AWS Firecracker, but the majority out there are “full fat”.

As a random example, Azure full-clones 127GB disk images by default. It takes over a minute to create a VM. Booting form a cold start is sluggish because there is no sharing with other tenants, hence no caching.

Using the same hypervisor (Hyper-V) I can clone out a Windows server VM and boot it in about 3 seconds by simply using delta cloning. Subsequent boots of it or any of its siblings is just over a second!

Containers and Kubernetes are throwing the gloves down and will force the competition to pick up the pace.
The way I understand it, Substack is literally a platform, more like Wordpress than Medium. It is incumbent on those who publish to do all their marketing, outreach, discovery, virality etc. using their own resources. Substack takes a very reasonable 10% on your revenue, so you don't have to be a programmer to distribute a newsletter, but getting the word out is up to you.
I've never seen that before, but I'm configured to use the old UI. You can switch to it by changing "www" to "old" in the URL.
My guess would be with a binary ruler
Needs the title edited to reflect this is in the US only.
> reasonable threat to the safety of civilian flights

Aren't civilian flights more a threat for the planet? Not suggesting to shoot them, just to stop them
I believe that a global time is possible, indeed, because of physics, causality and information paradoxes. I don't have a proof for it, just a hunch.
Positively Identified. Western forces have many safeguards in place to only shoot at PID targets because the cost of 'blue-on-blue' is so destructive for morale
I think it just comes down to preference since the government never mandated it.

Science and engineering all use metric in the US. Automative all moved to metric voluntarily. I know construction is still imperial.

Its mostly consumer facing things that still imperial. And if you go to Canada its pretty common to see $/lb printed along side $/kg. People often talk about height in feet and inches, weight in pounds.

Its really not that different.
One of my favorite quotes in Computer Science comes from Ousterhout:

"The biggest improvement in performance is the non-working-to-working."
See also https://circumcision.org/circumcision-permanently-alters-the...
> Why's she so flabbergasted after Biden's answer? How does her follow-up question make sense if she thought he was talking about sanctions?

She just asked how Biden would do it, since the pipeline was within Germany‘s control. And he answered: „We will be able to do it.“

He did not identify who „we“ is and how it‘s done. „We“ could be the US and Germany together, it could be the western World or it could be the US alone. If it were the US alone it could be done by imposing sanctions on that particular pipeline and it could be done by putting diplomatic or economic pressure on Germany (many ways to do that) and it could be done by putting sanctions on companies that interact with the pipeline and so on. It could also be done by using force, but that is merely one of many options and I believe that Biden at that time didn‘t even know how himself. He made a strong assertion in order to take control of the situation and he did.
Frontend devs only know javascript
From what I've heard, yes they size their Y1 and Y2 cash bonuses such that your TC will be stable over the first 4 years as long as AMZN stock goes up 15%/year.

eg one of the first Google results for "teamblind Amazon offer eval" turns up someone who was offered >$100k of cash bonus in each of their first two years:
https://www.teamblind.com/post/Offer-Comparison---Amazon-vs-...
It is a shame that default arguments isn’t a bit longer. Perhaps it’s out of scope to talk about anti-patterns but in my experience default arguments cause a lot of distress to a good code base.

Defaults are useful when you are providing a library function for other teams to use. If you’re inside a more private code base and doing work on the implementation of your team’s service then it is wise to avoid default arguments.

The problem is they provide a point after which it seems acceptable to add a flood of more default arguments. This is particularly the case for junior developers who lack confidence to refactor instead of patch. Default arguments go hand in hand with conditional logic and cause functions to bloat into do-everything multi-page monsters without any focus and no tractable flow of logic.

Forgive the contrived example, but what was once this:

def greet(name):
print(f”Hello {name}”)

ends up becoming this, all because no one would bite the bullet and pick this apart into individual functions:

def greet(
name,
language=None,
io=None,
is_ci=False,
and_return=False,
):
greeting = “Hello”
if language:
greeting = translate(greeting)
message = f”{greeting} {name}”
fn = print
flush = False
if is_ci:
fn = log
flush = True
fn(
greeting,
flush=flush,
io=io if io else stdout,
)
if and_return:
return greeting

The slow rot of more and more defaults makes the function longer and longer. Moreover, each time someone adds a new option it gets harder to justify why they shouldn’t do it when the previous person was allowed.
Productive, in the commercial sense.
> and then hits a runtime error due to some stupid typo.

I don't think that the parent comment implied prototyping in dynamic languages but rather in statically compiled ones.

FWIW in C or C++ you don't have to do as much code gymnastics to satisfy the compiler so consequently prototyping is both faster and easier when compared to Rust.
I hope that any company who does this will have an api, as I would want to add it to our automation workflow.
How we added support for the C++23 assume feature in GCC
Ask HN: Are Paul Graham's Classic Startup Essays Outdated?
Updates needed on Paul Graham's startup essays?
I think we're conflating Kubernetes with containers here.

I definitely agree that databases don't benefit from running under containers - they are pet-like (and so don't benefit from fast spin up or massive horizontal scaling) and tend to require host-level tuning (which breaks the container abstraction).

What Kubernetes brings is a well-principled orchestration framework that can easily be extended with custom operators for workloads such as databases that need it. (In fairness, he does refer to this in passing at the end.)
Basic probability - randomly walking a graph will tend to have you in regions of higher vertex density. Same reason why randomly picking a road intersection will tend to put you in cities - cities just have most of the intersections.

(the walk isn't exactly random but it still works - the pathing heuristic is real-coordinate agnostic).
The difference is US companies and the government isnt actively hostile towards in the way China is.

Same way if i found out the UK was spying on me as an American. I wouldnt be happy, but its not the threat China is.
SYSCL, CUDA and Metal Shaders are quite close to regular CPUs.
Ah. Sweet memories of a legendary Steve Ballmer moment: https://youtu.be/eywi0h_Y5_U
It's like the management consulting scam but with absolutely none of the prestige.