Hacker News new | past | comments | ask | show | jobs | submit | Loranubi's comments login

Can this be a replacement for Hamachi?

Yes. There is also ZeroTier, but it is proprietary (as is Hamachi)


None of Amazon Just Walk Out, Nate or Engineer.ai used GPT-class LLMs.

Pre-ChatGPT (2022)? Sure. Meme applies. Today, it doesn't make sense--the closest comparison for AI's coding output is that of a mediocre offshore IT outsourcer.


I would argue that most of these features (basically everything except metaclasses) are not advanced features. These are simple, but for some reason less well known or less used features.

Metaclasses are however quite complex (or at least lead to complex behavior) and I mostly avoid them for this reason.

And 'Proxy Properties' are not really a feature at all. Just a specific usage of dunder methods.


Simple doesn’t make something basic or beginner level.


I do like the else clause with for loops. However most people are not familiar with it, and also `else:` as a keyword is confusing. I always remember it as `no break:`.


I think of it as "otherwise:"


That's still confusing though. The problem here is that `else` is semantically attached to `break`, but syntactically attached to the body of the loop. The latter makes it look like it executes if the loop body didn't, if you interpret it in the most straightforward way.

IMO a better design would be to have a block that always executes at the end of the loop - there's even a reasonable keyword for it, `finally` - but gets a boolean flag indicating whether there was a break or not:

    for server in servers:
        if server.check_availability():
            primary_server = server  
            break
    finally did_break:
        if not did_break:
            primary_server = backup_server

Or better yet, make `break` take an optional argument (which defaults to `True` if unspecified), and that's what you get in `finally`. So this could be written:

    for server in servers:
        if server.check_availability():
            break server  
    finally server:
        primary_server = server if server is not None else backup_server


I hate Win11. It is horrible, but the first few points don't really make sense. I use it in 2 environments. - enterprise version: no bloatware, no ads, and edge is there but never has to be used for anything - professional version: bloatware is uninstalled in like 2min after OS install, another 2min later all ads are disabled. And it usually stays like that after updates too. Edge is never used at all.

Windows architecture is great. the WinAPI is better documented and more comprehensive than anything on Linux or Mac.

There are so many other issues. - The file explorer gets slower and more broken with each update. context menus randomly don't show, or take literally 30 seconds to load. - The renderer crashes randomly once a week (it's not a huge issue, but the screen goes black for 10 seconds or so) - the settings dialog is bad. goes through like 5 different layers of Windows generations and recently makes the old dialogs hard to find but doesn't offer adequate replacements (looking at network and sound) - and much more...


I uploaded a video because no one can show me this alleged slowness or context menu stuff, it's all "vibes" and it is getting ridiculous on hackernews.

I have a huge problem with windows - some api uses "@" for something, so all my folders with @ in the name(it sorts alphabetically before everything and is easy to type - on macos it's option-8 for similar, Linux I use @ as well) and because of that Windows API most applications crasb if you last saved into a path with @ in it and do file->open. Notepad++, notepad.exe, handbrake, VLC, mplayer, and so on.

Its a frustration, but it is my fault for developing a stupid habit back before metadata or changing colors of folers or what ever exists now to force an arbitrary sort order.

https://www.youtube.com/watch?v=Qx_t8SUwrEk


using win 7 with 5400 RPM drives... it's still fast...


There are many embedding models supporting instructions. https://huggingface.co/spaces/mteb/leaderboard


> Unlike requires requires and requires { requires }, which are perfectly reasonable C++ code, requires requires { requires } is completely silly.

Normal day in cpp land...


How on earth did C++ brainrot lead them to think that reusing that keyword was anything but a nightmare? The very first line of the article

> Probably the two most useful features added to C++20 are requires and requires

said without a trace of irony ... the whole thing reads like parody!

I keep hearing that C++20 or whatever is getting so great but if so why would they specify such a dumpster fire of syntax???


Smart TVs are the reason I haven’t bought a new tv in almost 15 years. I would like to upgrade to a fancy 4K one instead of my old 1080p one. Dumb TVs back then weren’t more expensive than smart TVs today so I don’t believe price is the reason for smart TVs. Margins maybe…


I'm actually using a 47 inch LG 3D TV that I purchased in 2012 that's 1080p. I keep looking for an excuse to upgrade but it's been working fine. It's been almost 15 years as well and I thought they weren't going to last this long for some reason. I don't even use any of the 3D stuff!


Various VPNs allow to tunnel over SSH. If they don't want to block all SSH traffic, DPI is useless.


What I understand is that they are using machine learning techniques to detect access patterns. Even if they don't understand the bytes because it is encrypted, they can match the sizes and timing of packets. So if the tunnel over SSH technique is common, and they detect a SSH connection that behaves in a specific way, for example because of fixed-size handshake packets, they can guess it is tunneling a VPN.


That was my experience.

When I was in China I would use my own VPN using ec2 and the now defunct Streisand (which uses stunnel). First few requests were always fast but as you use more bandwidth your requests would start to slow down considerably.

Oddly a foreign sim gets uncensored internet, so that's what I've recommended to travelers, but haven't been back since COVID so that might be outdated info.


do you mean, xray to a vps and install mullvad on that vps? Tried that, but as soon as I install mullvad on a vps, I'm no longer able to ssh into it. Gave up, too complex.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: