skysight-inc/HackerNews huggingface dataset:
>It's not that simple. You also have to specify the effect set of the algorithm, meaning, assuming we do in place sort

I implicitly assumed that state would be encapsulated, since after all dependent types are fundamentally incompatible with observable state, but you're right that this is part of the spec. However I have severe doubts about the usability of any specification language that takes more than a one-liner to specify this.

>You also have to specify what happens for general sorting predicates

If you want to admit more general sorting predicates, sure, but normally you'd just allow pure functions.

>The sorting example shows that this largely doesn't work in practise. In my experience for non-trivial programs you tend to have to carry around invariants whose complexity matches the size of the program you are verifying.

If you include lemmas derived from the spec then I'd agree, but then the spec you have to check would still be a lot smaller. If not, then the only specs where I've experienced anything close to this are ones that are just the operational semantics of existing programs i.e. cases where you want to analyze a specific program. Otherwise I'm frankly uncertain as to what even the point of giving a spec would be.

>Haskell and Scala have (local) type-inference. That makes those complex types (somewhat) digestible.

Might make it more tractable to use, but I find my issue is that it's less direct and often obfuscates the meaning.
Apparantly you also get 13K a year in credits (mentioned in the article):

> I'm going to miss the $13,000 USD (yes) a year in free azure credits. Just remember this amount of money when you are reading content about "how good azure is" and "what the latest and greatest is" from influencers and community leaders here on social media...
My experience is that the only places where devs are using Windows is when it's mandatory

That is a very narrow (dare I say Silicon Valley) view of the world. I know tons of developers who love Visual Studio and cannot imagine programming without it. Plus there is a whole world of developers out there happily writing and shipping software that runs natively only on Windows.
C# still has a large mind-share in enterprise. And while it's net core is cross platform these days, Visual Studio (Windows) is still the preferred way of working for many.
Mac at work, Linux at home
Whatever the tooling works best on. So Ubuntu for me, mostly as specialised/dispensable VMs.
I develop on Windows and Linux, and I'm ok with Windows.

What are the main disadvantages to develop on Windows?
How will Tonga's broken internet cable be mended?
Yes, unfortunately phrased question. I think they are asking what OS is your development environment on, not deployment target. But a little ambiguous and so will probably be slightly unbalanced in it’s results.
Mauron Musy: 100% Swiss crafted Switzerland watches
The title is enough of a hint
It is good thing to know that this could happen to anyone. I guess that setting limits and alters should be one of the first things that one should do.

What would happen if a credit card limit was exceeded, a site would just stop working?
> Google had their link-counting gimmick

In the early years, Google was a breath of fresh air; their product (search engine) was miles better than the competition, it looked better, and it wasn't encumbered with ads. That was no gimmick. It's sad, what things have come to.
> All these languages that compile to SQL seem to forget one fundamental problem, when this stuff fails (queries becomes slow etc). We are left to debug auto-generated SQL, which is a complete nightmare..

My first inclination when hitting slow malloy (if I ever were to use it) wouldn't be to look at the auto-generated SQL, but to analyze a query plan directly, much like I would be doing for a slow SQL query.
I've switched to Windows from Ubuntu on my desktop for development. I do miss some things but WSL2 is surprisingly good, the bluetooth stack doesn't randomly fail (as often) and having access to Windows and Linux tools at the same time without having to dual boot is very useful
It can make sense to combine stoves used for heating with peltier elements. When the heat is used at lower temperature than the combustion, you can get electricity on the exchange. So you run your boiler at 105% normal capacity and extract 5% electricity. This generates electricity at the price of gas. Of course, your boiler must have the extra capacity, and the additional components are an investment.
The great migration to https, even for read-only self-hosted blogs, has been an amazing disservice to the world. Maybe if we had non-expiring ssl certificates with working OCSP or CRL, I’d have a different opinion.
Meh. On Winamp and anime skins, once I got mp3blaster under Linux and tankoubon collections at MLDonkey/aMule, I stopped caring about appearance and reading all the mangas for true instead of having to wait for the TV schedule.

I had no CBR reader for Linux back in the day, but a script could do the tring well.

Altough Milkdrop was fun under XMMS.
> The OS where my text editor runs?

Ubuntu Linux

> The OS where the build system runs in?

Ubuntu Linux

> The OS where the software I'm developing runs for testing?

Ubuntu Linux

> The OS I log into first thing in the morning?

Ubuntu Linux
This is basically what we do, too. We use a single joint credit card for all purchases and as many bills that can accept credit cards (this is the USA so most of my bills only accept ancient paper check technology). I track the CC balance twice weekly against two thresholds: We have a yellow dollar value that indicates “caution, limit the rest of the month to essential spending” and a red value that is a “do not exceed.” Then pay entire balance from bank account on the due date. Our red “stop spending” value is about 1/20th of our credit limit.

Paying exclusively with credit has benefits: 1. Zero interest float for up to 30 days (till next payment due) and 2. Credit card-specific rewards (cash back or airline miles, etc.)

Thinks like retirement, savings and investment, health insurance, umbrella liability, come out of paycheck before even hitting the bank account (Pay Yourself First rule). We aim for zero in the bank account at all times as it pays nearly zero interest.
In decades of software development in Danish enterprise and smaller companies I’ve never worked in a place that didn’t use windows. I don’t think I’ve worked in a place where using WSL wouldn’t be more of an administrative hassle than it was worth either.

Windows isn’t such a bad place to develop these days, depending on what you’re developing of course, but I’ve never had issue using Python, dotnet (as in the cli, not visual studio) or anything related to typescript or node in general.

I don’t particularly like using windows. I can’t tell you why, I used to like it, but I haven’t since I switched from 7 to 10. Which is sort of ironic considering that developing on windows has gotten much better with windows 10, but well, it’s probably just my personal opinion. So I actually often work on things on my personal Mac, which is sort of easy in todays environment if most of your assets live in the cloud which ours do. But I don’t mind using windows, about the only thing that annoys me these days is that you use “cd” instead of “ls” in the non shell terminal.
I primarily do backend (PHP) dev. I write code on a Windows machine. I test it on a server running GNU/Linux, and deployment is also usually on a server running GNU/Linux.
JFYI, for years (now it is rare) in Italy were in common use Idrolitina/Frizzina/Cristallina, which were a mix of chemicals ( sodium bicarbonate ( E500 ), malic acid (E296) and tartaric acid (E334)) to make (tap or well) water sparkling, but - besides the little bubbles they gave a typical taste.

Italian Wikipedia (not too bad via translator):

https://it.wikipedia.org/wiki/Idrolitina

https://it-m-wikipedia-org.translate.goog/wiki/Idrolitina?_x...
The reason Europeans tend to favor European service providers generally has to do with strong data protection guarantees and some level of protection against foreign surveillance. In practice a lot of European companies still use US services or at least services provided by US companies -- Troy Hunt is Australian and uses Azure from Microsoft, so this isn't just a thing Europeans do either.

I'd love to hear your reasoning why people who aren't European would prefer to avoid European service providers.
Wait, you work fully in Linux VM but are forced to use Windows? That's a strange requirement.
Someone wrote a nice intro to Scott Alexanders Blogs with links to some recommended articles.

My personal favorite read from the past months is definitely the article on ivermectin. Its a hell of a ride and he was able to create a very well working (at least for me) metaphor that allowed me to imagine how the covid-denial people came to their conclusions.
I reckon we can get the raw performance quite low, but it might be a challenging environment to program in, the ergonomics of programming linear types aren't figured out and it would involve a lot of memory management. While safe, reasoning about memory can be quite hard, just like anyone learning how to handle the borrow checked in rust can tell you.

It's currently one of my project to use QTT to statically enforce performance invariants and optimisations, currently I am looking at partial evaluation of programs and explicit annotations to control which parts need to be partially evaluated and which parts need to remain Unevaluated.

Regarding the benchmarks there are two things to address to make them go faster:

- the idris parser is actually pretty slow so we should get working on that

- the examples use explicit runtime bindings for type parameters which force the types to be allocated and available at runtime, which destroys the performance of some programs (stlc notably)

It's not expected to write idris code in that way since linearity annotations also allow you to _remove_ values from the runtime and make dependent programs go faster, if you were to be concerned about runtime performance you would use _runtime erased_ type variables instead of _runtime relevant_ variables. Some of this is due to the foreign nature of QTT, and we should do a better job at teaching how to use it for performance.

On the other hand someone could argue "if idris is that smart can't it warn/perform those optimisations automatically?" And maybe that's the way to go, but we need more eyes and brain looking at the problem and coming up with prototype solutions to make progress. idris is still a small project so we don't have enough people working on it to implement those smart features
If this is what I think it is, that wouldn’t be pretty. I used looker heavily a few years ago and its generated SQL is pretty gnarly. Imagine a wall of COALESCE( COALESCE( COALESCE(…
I don't think Azure offers a Cloudflare alternative, and I'm not sure they ever would - Cloudflare is too good and too cheap to compete against.
Help You Solve the Wordle
Well, our products work only on Windows/Windows server, so we don't really have a choice there...
I knew a couple of people who got fired after getting their org sucked into WebSphere. Long time ago but it does happen occasionally.
The OS you primarily develop on. Where does your IDE and devex tooling run.
ATS Language¹ is another language I would add to this list. First released in 2013, it tries to follow closer to performance and minimalism of C which can make it a good candidate for systems programming².

¹ http://www.ats-lang.org

² https://www.youtube.com/watch?v=zt0OQb1DBko "A (Not So Gentle) Introduction To Systems Programming In ATS" (2017)
Or a regular business had a lot of cash on hand, and the CEO wants a chunk of that cash for himself, without doing lots of paperwork. He uses a friend, or a fake account to buy NFTs of some random dudes head. Later he sells them on to his business for a cool mill profit.
Don't put Cloudflare in front of a Cloud egress bill. i.e. don't do this: Azure|Amazon > Cloudflare

Always use your own proxy where the egress is well within your free tier, i.e. do this: Azure|Amazon > Hetzner|Linode > Cloudflare

Why?

Because Cloudflare cache is a massively multi-tenant LRU cache and whilst hot files will be cached well (and with Cloudflare Tiered Cache even better - but this itself is a cost) anything else is still going to expose you to some degree of egress cost.

When I exposed AWS to the web I paid $3k per month to AWS. With Cloudflare in front of AWS I paid $300 per month to AWS. With Linode in front of AWS and behind Cloudflare I paid $20 per month to Linode and about $12 per month to AWS.

A Linode, Hetzner instance... or any other dumb cheap web server that comes with a healthy free tier of bandwidth is all you need to set up a simple nginx reverse proxy and have it cache things to disk https://docs.nginx.com/nginx/admin-guide/content-cache/conte...
Much better would be to only have real sugar and reduce the actually content of sugar. We adjust very quickly and if you don't eat/drink sugar for just one day, the next day you will be amazed by how sweet somethings taste.
Advisory locks can be taken at the session (i.e. outside/across transactions) level, and need not be tied to a database object (if you need to operate on multiple objects, which one are you going to lock?).

Simpler cases are supported by e.g. SELECT FOR UPDATE
I assume that when the parent comment said “educated”, they didn’t mean just things like literacy and math, but also educated culturally in terms of western ideals and civic values. As someone who actually grew up in Russia and was fortunate enough to immigrate to the US with my family around high school and has spent over a decade here so far, I can assure you that the civic values and the whole relationship of citizens with the law and the government are wildly different between those two countries. So I am definitely somewhat seeing the point of what the parent comment is proposing.

P.S. I ask people replying ahead of time, please do not derail the thread with assessment of western ideals themselves or bringing up a bunch of unsavory moments from western history. That’s obviously not what we are talking about here.
These things really should have a AI like alert that is basically “cost is departing dramatically from historical pattern” without the need to set thresholds and the like
To make a fair comparison you need to consider the time cost for setting all of that other stuff up compared to having it out of the box. I'd an engineer on 100k takes a week to get it up and running then your vps cost 2k to set up and 40/month going forwards.
But you can't use CloudFlare instead of Azure, so it's within scope for him.
That's quite normal, many places have blanket policies about what workstations run.
The direction is opposite IMO. As you grow bigger on prem starts making a lot more sense.
Not a big fan of SQL dsl's personally. If you feel you'd need a better query syntax and plotting for interactive use, I'd suggest looking at the dataframe libraries that have a larger community to discover how to solve things and have ironed out issues.

Specifically dataframe logic is easily mappable to dbplyr https://dbplyr.tidyverse.org/articles/sql-translation.html for those that know R and ibis https://ibis-project.org/ for Python/Pandas
Linux is used by developers so Linux will win this poll

MacOS would win in a forum which has professionals who work primarily in movie/music/animation sector

Windows if this was asked on internal platforms of enterprises
It's not that good. I'm constantly getting "Access Blocked" to various websites by Cloudflare trying to protect them....from me reading them.
Op is Troy hunt, an ms MVP. You can bet there are people from MS doing it for him as soon as they got wind
I seem to recall Pandemic being very highly rated and popular before the pandemic, but I bet it hasn't hurt it's popularity!
But you can remove that Blu-Ray decryption key from the toilets cistern lid. With the blockchain, that is much harder (or impossible?)
Marriage in Anglo-Saxon countries does seem to come with more risks for the man than in other countries.
Cloud seems like a pet tiger - really cool and fun, until it turns on you.
Unfortunately, Windows at work as of late. But I've been surprised at how not-that-bad it's been. With Webstorm + Windows Terminal + Chrome, I have an almost identical frontend workflow to my previous job on MacOS, and barely have to touch anything Windows-specific.
Reminder that this poll likely suffers from self-selection bias.
If you have a google workspace account and need google support, you can go in the admin console, help section in the top right, there is a contact form with phone and chat options.
It's not been the easiest, but with little exceptions, I'm Nix and NixOS all the way down now. The end result has been very good once it's rolling though.
Could you please elaborate why? I found macos/ios to be the most annoying platform to develop on by far, expecially if you are trying to make some kind of cross-platform software. For webdev grunt work, in 2022, I think there are no dramatic differences between the 3 OS...
And the taste of Coke Zero over both, in my case.
You just found a bug in Google Calculator. You wrote "calories" but Google is giving you the answer in "kilocalories". If you change "calories" to "kilocalories" the answer doesn't change.

I wonder how many times in the past has it given you the wrong answer without you noticing?
It's "cutting edge" in the sense that people are just now getting around to implementing most of the traditional centralized financial systems back again onto popular blockchain technologies.

It's worth calling out specifically because it will not likely last very long in its current state; large, intuitional actors will either jump on it, or it will die an unceremonious death, gobbling up billions of dollars in its wake.
Three Quarks Daily often surfaces high-quality long form content from a broad ideological cross-section. As others have mentioned, Arts and Letters Daily is often interesting too.

https://3quarksdaily.com/

https://www.aldaily.com/

And, while I'm commenting, some of my favorite Substacks who tend to write long content are:

https://freddiedeboer.substack.com/

https://justinehsmith.substack.com/

https://astralcodexten.substack.com/

https://razib.substack.com/

https://www.theinsight.org/
A white supremacist website got hacked, airing all its dirty laundry
Tl;dr delta chat has a chat app front end ui which uses encrypted email as the carrier. There’s no ‘server’ so you’re on your own with keys, backups etc.

Sounds like a good idea actually
This is PRECISELY the advice I needed!!

My reason for self doubt crept in, because I was on their business plan that was up for renewal. I realised it would be super expensive to renew. Last time, I was lucky to have a discount coupon code work for me with 50% off.

I couldn't muck around with the plugins (much), and then I realised the current Gutenberg has evolved to my liking (embedding).

I own the domain, and it made sense to have a unique one. I'll stick with them to ensure a peace of mind. (Their Live Chat for higher plans is fantastic!) They have their niggles, but work well.
He is Troy hunt and an ms MVP, as soon as ms gets wind, they'd be the one to contact him
It's not because you don't understand something that other people cannot live with it. Dare I say, I pity such lack of imagination? FWIW I use both limux and windows, if that even matters.
Ghost isn't for my workflows. I tried the UI earlier, but I found it confusing.
Oh fascinating. Are you saying that multiplicity annotations can affect compile time speed (in particular giving a laxer multiplicity than what is required)?
Danmark is very much still Windows first country for developers. Macs are showing up more and more and a few can use Linux. The thing is, those companies I know who allow their developer to use Linux, provides their employees with two computers, a Linux developer workstation, and a Windows machine for "other stuff".

I have the same issue with defining exactly why I don't like Windows. Part of the issue is my hand cramps up when I use it, but I don't know why. Windows seems sluggish, but people who measure these things says that it's not.
Earth Biogenome Project
> The other side of the coin is that it hurts readability if you are passing non-const references. When a function takes a non-const reference, the caller looks like this:

This has honestly never ever been an issue for me. I don't remember the last time where I passed an argument to a C++ function and actually had to wonder if the argument was modified or not. Like, what if they are being modified if that's the called function has to do anyways ? And even if it's const, the implementation can just remove the const which while not a very nice thing to do, is legal in many cases.

$ cd
$ rg "const_cast" -g '*.cpp' | wc -l
2004

(and that does not even cover the c-style casts)

> mynet_accept(int listener_fd, char *remote_ip, uint16_t *remote_port);

For this exact case my go-to solution nowadays is

struct connection_info {
int fd;
std::string ip;
uint16_t port;
};

mynet_accept({ .fd = the_socket, .port = 4556 });

which is I think much more readable than any of the alternatives ( actual example for pretty much this exact case: https://github.com/ossia/libossia/blob/master/examples/Netwo... )
WSL2 is a Hyper-V VM.
They taste so unbelievably different I don’t know how you can have this take.
I've found bgg's weight to be pretty uncorrelated with whether the game actually survives when players make a sincere effort to win. An illustrative sample of games sorted by weight might be Splendor, Wingspan, Res Arcana, Roll for the Galaxy, Race for the Galaxy, Warhammer 40,000: Conquest, A Feast for Odin, and Through the Ages. Of these, the middle games Res Arcana and Roll for the Galaxy completely collapse under the slightest effort to take them seriously, and Wingspan does less than great (you can just tear your ravens in half though, if you want to make things a bit better). Race, Splendor, and Conquest hold up quite well. I don't know enough about the final 2 games to tell whether they'll still be recognizable after 1,000 plays, but it seems like even if a huge part of the options in those games turn out to be unplayably bad the remainder of the options might still contain some interesting choices.
The case against local variables basically boils down to:

1. "I don't need the compiler to avoid writing bugs"

> I don’t need a keyword just to tell me that a variable isn’t modified during its lifetime. I can see that fact at a glance [...]

Not terribly convincing.

2. might inhibit automatic move of return value

This is an edge case that does not affect correctness, only performance, and rarely pops up unless the code has other, worse problems.

(also, when it does happen, it is trivially found by static analysis tools, and clang-tidy will point it out to you)

> But suppose there were many more lines of code interspersed between the [definition of fullName] and the final call to e->setName(fullName). That call makes an unnecessary copy. The programmer might try to fix it by writing e->setName(std::move(fullName))… but guess what? fullName was const-qualified, so the move does nothing!

If there are "many more lines of code interspersed between the variable definitions and the final call", this implies that fullName is used somewhere between its definition and the final call (it makes no sense to declare fullName before it is required).

But after fullName is moved from, it should not be referenced again. This means that rearranging the function (so that fullName is used after the move) would introduce a correctness bug.

This is in itself a bad situation which should be avoided by refactoring, so it's not a great example (it's also not great that the actual example is not written out as code, merely handwaved). But this is actually an example where defaulting to const could be at least a bit helpful, because doing so makes all non-const variables stand out and warrant extra attention.