Better HN
topnewbestaskshowjobs
Log inSign up

gray_-_wolf

805 karma · joined Oct 7, 2017 (9y ago) · 317 submissions

Submissions

comment 6y ago · link · parent

And as others have already mentioned, I've seen the external link printed in several manuals for various products I've bought.

242.

PSA: You cannot use %.*s to print strings with NUL bytes

2 points · by gray_-_wolf · 6y ago · 1 comment

comment 6y ago · link · parent

Kinda important part mentioned in the link is

> Adjacent bit field members may be packed to share and straddle the individual bytes.

So it might not be packed. Ofc it usually is, at least on gcc and such.

comment 6y ago · link · parent

That is probably more relates to IOPS credits I would think.

comment 6y ago · link · parent

> Is there nobody there that connects by hostname to a ssh server with a port > 8192?

I use alternative port but < 1023 since binding to those ports requires root. And I've never seen it being used. I'm not saying it's not, just that I did not see it in 10 years.

So it probably really is not that common.

comment 6y ago · link · parent

> Sure, but most large companies (the kind which AWS gets a lot more revenue from and cares about a lot more) want the exact opposite.

It does not have to be all or nothing. You could for example setup separate account per department and/or purpose and impose hard cap on spending for experimentation, but not on production.

comment 6y ago · link · parent

> Because “it just works” seems to be the summary

I am using it in chromium on linux, and I can tell you it does not just work. The audio is really really shit (constant crackling). I'm basically unable to attend meetings on zoom. Luckily most of them are in google meet which works fine in a browser.

comment 6y ago · link · parent

> since it's harder (if possible at all) to monetize those videos

it's not like we don't have ads on radio

comment 6y ago · link · parent

I think other running programs would fall under

> information that we collect about you from third parties

comment 6y ago · link · parent

I like the first one more, am I weird?

comment 6y ago · link · parent

> I'm sure that makes users disconnect.

I guess I'm the oposite. For me personally this "adaptive" thing without any user control is more likely to make me go away. For example I've stopped paying for amazon's anime strike after trial period because it kept playing in like 480p without way to enforce better quality.

If it's buffering, fine, I can either try to find out what is wrong with the network or just let it buffer the whole thing.

comment 6y ago · link · parent

It excludes people even temporary present in the apartment. So guests are supposed to be fine. If they are outside and their phone auto-connects, it is technically a breach, yes.

I asked about it and have in writing that the intention is to prevent sharing with neighbors. But I mean, there is no way to enforce it either way so ¯\_(ツ)_/¯

comment 6y ago · link · parent

I guess it depends. At least in my contract for connectivity is a clause then I cannot share the connection with people not living in the same household. I would imagine it is fairly common.

comment 6y ago · link · parent

I doubt that it's 3% of users, I have user.js and also disabled telemetry. I would suspect there is not small amount of people who have both user.js and telemetry disabled same as me...

comment 6y ago · link · parent

I still consider weird that results of go generate are supposed to be committed. Since when does generated code belong to the repository :/

comment 7y ago · link · parent

I loved it, but my issue with that game was severe motion sickness after 20-30 minutes... never finished it :(

comment 7y ago · link · parent

That is simply not true in this case. All I need to get twitter readable with no-script is this ublock origin rule:

    ! 7/24/2019 https://twitter.com
    twitter.com##form.NoScriptForm
The data (tweets) are there already, they just intentionally hide it.

comment 7y ago · link · parent

> Cars constantly talking to eachother, the network and making thousand of tiny decisions about what lane to occupy, where to turn in order to expedite their own trip and that of their nearby neighbor.

How do you imagine making such system secure against malicous actors? I don't think it's possible, it would just open huge door for terrorism.

comment 7y ago · link · parent

Hm or maybe for APIs just replace the whole thing with sinatra and sequel. Most of advices still apply in the article still apply though.

comment 7y ago · link · parent

Hi :)

As few people already pointed out, it would be nice to see some laptops with AMD CPUs.

For me personally, I would also love having trackpoint, have it on my thinkpad and did not use touchpad once.

comment 7y ago · link · parent

Yeah for example designated initializers. Such a useless feature... /s

comment 7y ago · link · parent

C++ is not a superset of C. There is valid C code not compilable with C++ compiler.

comment 7y ago · link · parent

> Also, without some sort of indicator, Vim’s modal design is awkward here—it’s very easy to forget which mode you’re in.

Luckily for us, there is option for the indicator :)

    set editing-mode vi
    set show-mode-in-prompt on
    set vi-ins-mode-string +
    set vi-cmd-mode-string :

comment 7y ago · link · parent

It's clear after reading the article, but imho the news title gives different impression.

comment 7y ago · link · parent

How can the download step be skipped then if you are using the hash of the content as a key??

comment 7y ago · link · parent

I feel like posting this link here goes against

> The "subscriber link" mechanism allows an LWN.net subscriber to generate a special URL for a subscription-only article. That URL can then be given to others, who will be able to access the article regardless of whether they are subscribed. This feature is made available as a service to LWN subscribers, and in the hope that they will use it to spread the word about their favorite LWN articles.

> If this feature is abused, it will hurt LWN's subscription revenues and defeat the whole point. Subscriber links may go away if that comes about.

but hey...

comment 7y ago · link · parent

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

--Brian Kernighan

comment 7y ago · link · parent

So it needs to be updated every time new tld is added? That seems... suboptimal. Also it will not work for intranet addresses (valid.insidemylan/test).
1
7891011