skysight-inc/HackerNews huggingface dataset:
Not really : Peltier-based devices like this add (some) resistance to the heat flow. This added resistance means the air conditioner (or any heat pump, e.g. a fridge) gets less efficient.
I think the energy captured by the device will always be lower than the extra energy needed for the heat pump.

A device like this is not useful in a system where you are actively pumping heat around.
I use Arch Linux with dwm as my daily driver as a software engineer. Sure there is some initial pain setting it up but it’s been rock solid and super fast, never have any problems with it and I love how customised it is to my needs. I only use Windows to play games, while they may work okay with Linux this is certainly not the case with dwm.
I know, I read the article.

But I feel like Dr Strangelove here. Of course, the whole point of a torrent on a cloud service is lost if you also provide a raw download link.

Also providing a download link is tempting, but can easily cost (for a 17GB file and growing) up to US $3 per click.

Even off of their premium global network it's over $2 per click. The cheapest in Microsofts entire egress table would be $0.68 per click. (but that only kicks in after you've spent way more than $9400 in cheaper tiers in a given month)

Egress kills you, in cloud. "Oh, cloudflare probably caches most of this" is not something I'd recommend.
In my country (Denmark) every person and legal entity has a government-issued digital identity (NemID) so the authentication process is trivial and cheap.
I've used it exclusively for years, and it's produced some of the best results.
Anecdotally, getting arbitrarily blocked and locked out of your stuff is the single biggest practical security today problem today for me (maybe it isn't for non-technical users who reuse weak passwords, install catpicture.jpeg.exes and random software from the internet, log in using public computers or other people's PCs..).

I don't believe I've ever had passwords compromised. The only time I know I had malware was when I was a kid and installed a runescape autominer.. I've had some close calls with software vulnerabilities (I patched opensmtpd mere hours before bots started attacking it), but that's rare. haveibeenpwned only shows involvement in the last.fm compromise, which is a no biggie since I wasn't 1) using the service any more 2) using the same password with other services 3) using that email address with anything worth caring about.

By contrast, I've been burned by service providers blocking me many many times. They call this security but how is the equivalent of "we decided to take all your mail and not deliver it to you, and changed the locks to your apartment so nobody can get in" security? It's security in the same sense as "we decided to burn all your money so nobody can steal it, hope you're happy."

As a consequence, I've tried to cut out as many services and third parties out of my life as I can. It's an uphill fight though, and most services are hell bent on adding points of failure. E.g. where my bank before supported OTPs (in addition to login & password), now they require a phone too. It's probably not a matter of if but when I get bitten by this; I've had a Samsung Xcover physically break.

I think any notion of security should include secure access for the relevant party. If you can't access your stuff, security has failed (unless it can be demonstrated that there was an active attack going on and the only way to prevent it was to block everyone.. which these overzealous blocking systems in place can't demonstrate).
The Pros and Cons of Using Windows Subsystem for Linux WSL
Aircon needs to get rid of its heat to work well. Trying to capture the energy from the temperature difference makes it cool less well.
Windows has a market share of 75%. A vast majority of companies use Windows as OS, cause the computers are cheaper, and most people are used to it.

Why would windows be not used by developers? The .net environment is _really_ good these days, and Visual Studio is a top notch IDE.

Even within SV, lots of companies are running Windows desktops.

I actually find it surprising that Linux and MacOs are so well represented.
> The only thing that would really help were a hard spending limit that stops all services except storage.

Sadly, I haven't found a way to do that with AWS
I use a Mac at work, but I ssh into a Linux server and develop everything there. For personal projects, I use my Win 11 machine.
NixOS for everything. It's the Linux distro I've had the best experience with in ~15 years of daily usage.
Programming mistake? He intentionally filled with garbage by hand.
I thought the same thing as the parent post, assuming you have a column "account_id", can't you just do:

select *
from transactions
where
account_id=$user_account_id
for update;

Wouldn't all rows for the particular user be locked ? Then you can check the balance, append, commit and release the lock
What every GraphQL user should know about HTTP and REST
> I, uh, have a bill I need to pay

Kind of sad that service we are accustomed to using, various software integrates it (whether using HIBP API or downloaded pwned passwords archive) - is on a shoulder of single guy that now has to pay for his mistake.

Great that Cloudflare helps him with the service, otherwise who knows if we had access to HIBP at this scale?
I've heard that the situation you describe is common in Silicon Valley. Based on my personal experience in Sydney, Australia, the distribution is about a 40/40/10% Win/Mac/Linux. I've seen about the same amount of companies giving either Mac or Windows as the default, and almost always people can request a different OS if there is a specific need. In all other countries where I've worked (Italy, Thailand, Indonesia, Brazil) it's more like 80% Windows. I'm basing this on my direct experience in companies I've worked at, I don't have statistical data.
I just went and resetted it back to Chrome.

Probably someone' house at Kabo at Microsoft depends on some OKR and metrics to show growth for Edge. Pathethic, short-sighted, but most probably true.
Keep it up though. And encourage a friend.
I built Notaku https://notaku.website/product/blog, it uses Notion as CMS, your blog posts are stored in a Notion database.

Let me know if you have any feedback, I am still working on the right pricing and blog overall design.
> That "why" actually has an answer: "because the function might only copy the shared_ptr conditionally, and desire to remain efficient in the no-copy case".

Yeah. This blog post has a few well argued guidelines about passing smart pointers to functions, which covers this case: https://herbsutter.com/2013/06/05/gotw-91-solution-smart-poi...

> Use a const shared_ptr& as a parameter only if you’re not sure whether or not you’ll take a copy and share ownership; otherwise use widget* instead (or if not nullable, a widget&).
I think this is a common practice nowadays until the regulations resolved it. Even Google chrome now asks if you changed the default search engine by mistake.
You're grasping at all sorts of straws here. Never said being vaccinated is less effective than not being vaccinated, an absolutely insane takeaway from what I've said. Now the official government data from the UK is bullshit, and the CDC is a better source to explain what's happening in Ireland? Are you kidding me?

The issue is that if you're gonna try to blame unvaccinated people for your problems, they should actually be the source of your problems - which they're not.
I willingly use Windows. It's what I'm most familiar with, and I prefer the much nicer desktop environment where things "just work" a lot more. Anything I absolutely need to do in Linux will usually have a workaround in Windows (especially with WSL).
It's not like there isn't a grain of truth in it though. You don't have to look far to find people in financial emergencies because the ambulance provider didn't take their insurance or to find people with significant injuries begging a friend to take them to the hospital rather than phoning an ambulance because they are uninsured.

The US perverse infatuation with healthcare as a business is kind of horrifying to those non-US citizens. If poking fun at it is what it takes to effect change then hurrah for the power of humour!
Games on Linux are still hit or miss in my experience. With very simple setups (keyboard, mouse, one GPU) it can work okay-ish, but something "exotic" like gamepads, or multi-GPU setups still cause way too many problems.

Windows is a very fine game console, in comparison.
It seems that many of the answers point a general CS area or a trending topic in it, but I'm pretty sure that progress happens in all the areas (see arXiv's CS page [1], for instance), as well as in topics outside of hyped ones, and each area or topic has its "cutting edge" bits (new research).

[1] https://arxiv.org/archive/cs
> The fact that "pandemic" is at the top means that either we have a coincidence where the best game happens to be closely related to events of the past two years, or ratings merely reflect current fashion rather than game quality.

It's a coincidence. Pandemic Legacy (not to be confused with regular Pandemic) went straight to the top of the ratings when it was released (knocking off Twilight Struggle which had been there for years).
Just need a UI to start Chrome and Visual Studio Code. Have WSL for SSH into Linux servers.
Was the Jimmy Carter retired? I heard it had special equipment for that.
In the cases where you are dumping heat, I believe these devices can have the opposite problem of effectively insulating the heat source.

I think it might technically be possible to have a very conductive heat-engine. But it seems to me like most options are still less conductive than leaving them out.
A crisp, blinding white, heavy oxford cotton shirt that requires cufflinks is noticed by everybody but nerds. In financial circles you can even wear colored shirts but don't stray from blue or pink.

The people who wear those shirts also have expensive shoes. Get the tie right and you can get away with a slightly less expensive suit for technical sales meetings.

A clean shave and neat, well cut hair help too.

Its interesting to look at shoes, tells you a lot about a persons status in a big organisation.

Having said that, my daughter bought me some checkerboard vans so I wear those everywhere now.
> How do you deal with Microsoft's crap on a daily basis?

I don't; I develop on Linux. Ignoring this, within my very limited usage of Windows, it seems to me that MS has become increasingly more hostile over the last few years or so.

To answer with something actionable: I discourage people from upgrading to Windows 11.
Interesting! 2 Years ago I was reading that there is exponential growth in remote sensory data (drones and satellite due to CubeSat and decreasing cost in lunching material into space.)
Do you see growth in that area or where would you get more information about it?
> ensure security, install the software you need, keep it updated and secure etc

These things are now trivial enough that it doesn't make sense to pay 10x the cost of bare metal for a cloud provider to solve them for you unless you have a crazy amount of runway or absolutely no idea what you're doing.
But he could've put static files on a Hetzner server and still have his backend in Azure. That would've solved these issues and probably saved even more money.
Update on the Bagel language
> Obviously that doesn't imply you should do this everywhere. I'm just pointing out it's not "wrong".

The article makes a point about contracts. In their code base, it's always wrong, since function parameters, by convention, are only allowed to be (a) non-const values, (b) const references, or (c) non-const pointers. Anything else, in their codebase indicates an error. Their point is that these three are all you need, so that getting in the habit of only using them helps maintenance, since during code review or something you know for sure that any other parameters is a mistake someone made, not an intentional choice (because of the coding standard).

> P.S. I hear optimizers can sometimes optimize const objects, though I don't have proof handy for that example, so someone else can fact-check that part.

That can happen, if a reference to your local variable is passed to a function.

For example, tried this in Godbolt [0]

void some_func(const int& x);
void some_other_func(int x);

int bar() {
int x = 123;
some_func(x);
volatile int y = x;
}

The final line directly writes 123 to y if x is const (or if calling some_other_func()), but it reads again from memory as it is. This happens because some_func could do this:

void some_func(const int& x) {
const_cast<int&>(x) = 7;
}

If x was `const int x`, this is UB, but if x is `int x`, the program MUST write 7 to y.

Note however that this optimization only happens (with clang) IF the value of x is a compile-time constant. If instead the value is only known at runtime, there is 0 difference - the value of x is still read from the stack, not kept in a register for example.

[0] https://godbolt.org/z/YKf4ndq1v
Windows is what we get. I tried running Linux, I can't get our vpn software to work. I proposed reverse SSH tunnels, they call it an "unmanaged endpoint", deemed unacceptable.
On Hetzner and with their €1.00 per TB after 20TB included, you can pay up to €324 per vps as you are limited to 1Gbps if you fully saturate the link all month.
If it works, I think the waste heat from server farms should be the first target.
I am pretty sure Pandemic Legacy, an RPGish version of Pandemic, was at the top of the list a few years ago.
TPM Carte Blanche
Most cloud users will have a VM somewhere which you also have to manage.
Maybe. Mostly they want to keep you on board long enough to find out who writes the cheques.
“Eric here with a quick thought about your website”
This analysis is clever! I'd love to see someone use these ideas in an interactive tool for board game discovery.

Geeks appreciating complexity is obvious, but it's very interesting to see how much it actually matters in ratings. Some mechanic complexity is essential for replayability and depth, but maximizing the potential of individual components is a sign of great game design. Many successful games usually fit the saying "easy to learn, hard to master". Good games bring joy to pretty much anyone.
WSL2 is literally a whole OS shipped alongside windows. (with nice integration done by the windows devs)

Regardless of the implementation, the fact that you have to use it in the first place instead of native windows tools speaks volumes about how useless windows is for development. I can not fathom how anyone can consider it anything other than an "escape hatch".
I've noticed more and more editors (TV news rather than movies) moving back to windows over the years, the stranglehold that FCP7 and the macbooks from 10 years ago (having supplanted avid/windows) had on shoot-edits isn't anywhere near as concrete as it used to be.

For producers and reporters, the OS has changed from Windows to Chrome
It would be really cool if it also learned from the human player's failures
I used to ride to work too, I bought a Kickr v5 trainer and turned my road bike into an exercise bike. Mainly use it with the Zwift app.

I used to also do weightlifting for strength 3x a week at the gym, bought a pair of gymnastics rings and straps to do calisthenics instead. Hasn't been a 1:1 replacement but keeps me sane while stuck indoors.
You can use Hetzner's cloud. You get metrics and still have a lot of free traffic with very low cost above that.
I hope you meant “no” plans?
For the most part I agree with the article, but yes, for long functions I will often const locals that I want to make sure they stay constant (i.e. there is some cross variable invariant that I want to make sure always hold). I won't bother for functions of less of 10 lines (but it is not a rule and I wouldn't want it to be enforced).

I also see no issues in consting members of classes that don't have value semantics.
MacOS for work and personal, use a lot of docker/ddev, considering to switch to Linux however for work.
One wonders how Cloudflare can essentially absorb all bandwidth costs. But AWS and Azure are using them as a profit center.
There was also this 3d sexy Christmas dancers plugin. Remember as a teen was very impressed by the visuals :)
It's normal for desktops which are owned by the employer.
Wastewater comes to mind. A lot of it is heated, either directly (from e.g. showers, cooking) or indirectly because it was stored in toilets.

Edit: But then again, capturing and re-using the heat energy directly and saving the energy cost for heating via e.g. an electric heater would probably be even more efficient than extracting some of the heat as electricity.
> there's still the question of actually understanding what it's about.

Philosophically interesting, but in practice entirely unimportant. What you want is something that speaks like a human would speak in a similar environment, then the issue (getting the correct responses) is solved. Whether or not it actually understands won't change a thing about that situation.
History of Mathematics – An Online Exhibit
So many things that we take for granted today were revolutionary at one point.
timeline from the article:

2021-09-22: found back door in the FotoGraphy theme

2021-10-14: Escalated to WordPress plugins team to try to obtain contact with the vendor.

2021-10-16: Response from vendor

2022-01-18 Public disclosure
I wonder if this roughly encodes front end and back end devs? As someone is regularly doing CUDA work, most things tend to be on Windows or Linux - usually we are cross compiling to both.
The 80s called, they want their movie tropes back.
Really? I'm more surprised that so many are on Linux. I think that says a lot about who's on HN, as in "corporate developers" aren't on HN.
Makes me glad my MacBook Pro can’t run Windows 11 in boot camp…
Windows is pretty much alive and kicking. The best it has been since Windows XP.

WSL2, running Linux on Windows, VS Code, VS 2022, it's all good.

Windows 11 is VERY solid and you can play lots of games on it too :)

I am dead serious. I have been using Windows since 3, using betas of Microsoft products since Longhorn - right now, Windows is reaching it's PEAK in terms of performance, ecosystem. Sure, they will need 2-3 more UI/UX iterations, but who cares - I use the terminal, File Explorer, Visual Studio 2022, Office apps and Outlook :D
You should be prepare to bear the consequence before you do something controversial, or you don't do it at the first place, simple as that.
There is a difference between asking if you want to change something, and going and changing this something without the user consent.
When was the last time you tried it? I think they changed the formula recently.

NB: I'm referring to Coke Zero, not Diet Coke
You mean mounting as "/var/run/docker.sock:/var/run/docker.sock:ro", right?
That just prevents traefik from changing file permissions on the socket file.
The socket as pipe object stays writable, so you still can send arbitrary requests to the socket. Using ro mode for socket mount is definitely a good idea, but not a solution to the security problem!

See:
https://stackoverflow.com/questions/40844197/what-is-the-doc...
https://www.reddit.com/r/Traefik/comments/g46lhh/does_bindin...
I just straight up work from my gym. Motorized table with screens attached, by a window. I have an online PT that I check in with each week, they have an app where you upload your weight and measurements, pics, etc. Of course they also have exercise routines with videos.

Depending on your coding/monitoring split, you might be able to just ride a bike the entire day.
The game (probably because it's a PoC) uses the width of your display window as the width of the game, instead of a display independent width. So if you have a narrower window, the tanks will be closer.

In the narrow confines of a smartphone this means the tanks are right next to each other.
IBM don't want to deal with startups. They need big, old, ossified, cashed up businesses who are in some kind of trouble. There isn't any money in most startups that bootstrapped off a pile of open source or free tech.
Hetzner's cloud offer is limited but they limit your possible spending by default and it's very easy to set up billing alerts. I guess they mostly do it to ensure they get the money at the end of the month, but it's equally useful for their users.
Pardon if I'm getting this wrong, but

> This is pathetic, predatory and should be illegal.

> How do you deal with Microsoft's crap on a daily basis? Any similar stories?

This is quite low effort, and frankly doesn't add anything to the known status quo.
Sure but Google didn't nearly get broken up by anti-trust regulation agencies for unfair competition with browsers. Microsoft did... in a fair world they'd be facing serious fines or an actual breakup this time as repeat offenders.
I'm not sure about vertical slicing - but I've recently started doing a double horizontal cut in my thicker bagels - creating 3 slices for toast or a club sandwich.
Windows 11 made that computer my last MS purchase.

I’m only looking at computers that natively ship Linux from now on — that OS was a disaster, that doesn’t even support basic functionality and was shipped without support docs or training their support staff.
A line was crossed. Users should remember old microsoft policies of spreading FUD but very few moves create more fear, uncertainty and doubt than acting this way.
> How do you deal with Microsoft's crap on a daily basis?

That's the neat part, I don't. On the rare occasion that I use Windows 10 [1] (for some work), I try my best to get my work done quickly so I can switch back to my Linux boot.

[1]: Their desperate message to convince me to install Windows 11 makes me laugh.
Anybody have a good resource to read up on the basics of how this works and what use cases there are?
I think the case is for big companies that have a hard time attracting IT talent. Like, not in an even remotely IT-related industry, and their headquarters is in a city with no significant tech community. Places that scream "working here will not improve your resume".

I'm a major cloud skeptic, but there's a certain class of giant enterprisey companies that are never going to be able to attract good IT talent, and if they "just throw money" at the hiring problem they'll be innundated with slick imposters.

I think cloudy stuff lets those companies outsource a large chunk of something they'll never be good at. The cavalcade of Microsoft/Cisco certifications were an earlier decade's attempt at solving the same problem.
You can't click your fingers to produce a dozen new dating sites every year because of network effects. There can be at most one new successful dating site every year, which the 30B$ match group can buy out for 300M$.

The math you are proposing simply doesn't work.
> I think it's definitely not unique to big corps, but an emergent property of a distributed and homogenous system of self interested agents, probably. It feels very game theoretical, at least. What's clear is these systems are becoming ubiquitous rapidly.

Not sure the homogenity is necessary?

To an extent, the market delivers what people are demanding.

For most people, Google's package of cheap or even free services with minimal hassle in the common case, but almost no recourse in bad cases, is compelling.

And for many it's a step up from having everything locally: I'd bet that more people lose their local data than get locked out of Google?
What other use cases do you see for remote sensing data, aside from agriculture and climate change tracking?

Asking because our research team (social sciences, but interdisciplinary) is developing middleware and tooling for working with publicly accessible remote sensing data in Julia.
It's funny that even Hetzner can do that and AWS can't. Shows that there's no interest from AWS to prevent these things from happening.