Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 4y ago · link · parent

You’re out of town for a weekend, you have one busy weekend at a bad time, you upgrade but don’t realize something is broken until the shit hits the fan later that week.

comment 4y ago · link · parent

Tell me about it. Any time the Debian machine I have running as a Unifi appliance loses power (on an XFS filesystem on a disk with write caching disabled), the mongodb database is absolutely hosed (despite no xfs corruption at all) and I need to wipe the data directory and restore from backup because mongo 3 is just such garbage. (I mean, mongodb is still garbage but it's improved a tiny bit in some reliability metrics.)

comment 4y ago · link · parent

Oh, I intentionally did not include that because I found it to be anti-pattern. I most often have a terminal window and one other window from another app (browser, editor, etc) visible at once as a sort of "in-tandem active pair" and would hate if switching to the specific browser window I want (via a keyboard shortcut) would cause other browser windows to come to the foreground as well, obscuring the second half of what I am currently working on (just because it's from another app).

comment 4y ago · link · parent

This is the unifi controller service patched against the log4j rce. It's been out for a few days now; unifi claims there were no known exploitable vulnerabilities associated with log4j in the stock unifi controller configuration but released this out of an abundance of caution.

Given that unifi uses log4j, can be made to log everything, and by default logs things that users have control over such as their pc name, their mac auth username, various hotspot client parameters, the names of neighboring SSIDs, etc I find the original claim dubious but props to them for getting this out quickly.

Edit: clarified wording regarding "no known exploitable vulnerabilities"

comment 4y ago · link · parent

Facebook's been on HN for time-related things in the past (see [0] w/ a discussion at [1]).

I submitted this because I wasn't aware that Facebook had switching to leap-second smearing, which previously prevented me from using Facebook's time servers. Why use this over Google's? For those of us not on the west coast, Facebook's time.facebook.com and friends has a round-trip delay of ~2.5ms (on a dedicated fiber uplink, so no docsis overhead) and more importantly, a jitter of less than 0.025ms, whereas Google's best round-trip delay (for me) is at ~30ms and is subject to a more variable jitter given all the hops it takes to reach it. You shouldn't (read: can't) mix smearing and non-smearing time servers, so using them even as an alternative NTP node wasn't an option in the past.

It doesn't really make a difference for NTP consumers, but I also wasn't aware that Facebook had made the switch to chrony - also mentioned in the article.

(Sidenote: time.apple.com has servers all over the US w/ some really low latencies for me, but no one seems to know for a fact if they smear leap seconds or not, which to translates to they almost certainly don't. Can any Apple insiders on HN answer that question?)

[0]: https://engineering.fb.com/2021/08/11/open-source/time-appli...

[1]: https://news.ycombinator.com/item?id=28140732

2586.

Facebook switches to new timekeeping service (2020)(spectrum.ieee.org ↗)

3 points · by ComputerGuru · 4y ago · 1 comment

comment 4y ago · link · parent

Specifically regarding this point:

> Breaking changes to APIs and tool changes are a big issue in general, so they are best avoided

There seem to be two different camps in the rust world. Any crates that have to do with web (orthogonal to but not distinct from async) or some GUI-related aspects seem to be constantly breaking in major ways between releases, way too often to actually keep up with. Anything else in the rust world, such that someone coming from a traditional C/C++ background would be interacting with, has a much more mature ecosystem around it w/ saner breakage (i.e. only when/where necessary and typically only changing a name or restructuring a type, but not "let's wholly rearchitecture both our own code and the code of anyone using this in the wild" kind of thing).

comment 4y ago · link · parent

I took the current “just show the time” behavior to be a mere PoC and commented with the expectation that OP or someone interested in replicating OP’s design would ultimately add either PTP or (s)NTP server functionality to make it actually a functional bit of infrastructure.

Thanks for teaching me about OCXO. I found this relevant write up: https://www.paulvdiyblogs.net/2020/07/a-high-precision-10mhz...

comment 4y ago · link · parent

In git, as encrypted files. It couldn’t be easier: https://neosmart.net/blog/2020/securestore-open-secrets-form...

comment 4y ago · link · parent

It’s a real shame to use a rubidium clock but use only the initial ntp sync value to base it off of as your source of truth. Ntp, aside from only having ok accuracy, takes time to settle. This would be much cooler with a gps time source.

comment 4y ago · link · parent

That wasn’t around (this was five to six years ago).

comment 4y ago · link · parent

Yup; that’s one of the few things that I missed when I left macOS so I wrote a tiny app that adds that functionality to Windows. Free download: https://neosmart.net/blog/2017/easy-window-switcher/

I actually mostly only missed that and iMessage; the latter of which led to this very long story: https://neosmart.net/blog/2018/imessage-for-windows/

comment 4y ago · link · parent

If you miss that on Windows: https://neosmart.net/blog/2017/easy-window-switcher/

comment 4y ago · link · parent

scite.ai is one of the spammiest sites and is a heavy proponent of dark patterns. Clickbait title, meaningless results, I’m not surprised.

comment 4y ago · link · parent

Well, Firefox is adopting it too but not breaking the old manifest support at the same time.

comment 4y ago · link · parent

They get paid to set the default search engine to Google.

comment 4y ago · link · parent

I don’t think you quite grasp how much money Google throws at developing Chromium. Maintaining a fork is a massive undertaking.

comment 4y ago · link · parent

Yes, but modern Gnome 3 and KDE Plasma have also similarly regressed.

comment 4y ago · link · parent

The AWS status page no longer loads for me. /facepalm

comment 4y ago · link · parent

You can use UPI as a foreigner without an Indian bank account?

comment 4y ago · link · parent

Not a right to be awarded but a right to bid/be considered, certainly.

comment 4y ago · link · parent

Console has lots of us-east-1 dependencies.

comment 4y ago · link · parent

Arab-Israelis are second class citizens of Israel. Israel, with or without the West Bank, is absolutely an apartheid state. https://www.waronwant.org/news-analysis/israeli-apartheid-fa...

comment 4y ago · link · parent

Congress has been pretty clear recently that the right to spend money (or not) is a matter of freedom of speech, not just association. See PACs.

comment 4y ago · link · parent

An individual owning the company has rights. Contracts are only open to companies, not individuals. Ergo, those individual rights are infringed.

comment 4y ago · link · parent

Why would it be specifically regarding boycotts of Israel? How does doing business with a company that boycotts Israel force others to boycott Israel?

comment 4y ago · link · parent

These are anti-BDS laws specifically and only banning boycotts of Israeli goods (yes, by name). This site indexes them happily: https://www.jewishvirtuallibrary.org/anti-bds-legislation

Here’s the Texas info, for example:

Texas Governor Greg Abbott signed HB89, an act relating to state contracts with and investments in companies that boycott Israel, on May 2, 2017. The bill prohibits the State of Texas from contracting or entering into business with companies or entities involved in the BDS movement against Israel. The law ensures that public funds will not go to companies that participate in BDS.

In 2019, Texas started to divest $72 million worth of stock in the Norwegian financial services firm DNB ASA. Two state pension funds – the Employees Retirement System of Texas and Texas Permanent School Fund — own $68 million and $4 million, respectively, in stock in the company. This is the first action taken under the anti-boycott legislation.

In April 2019, a U.S. District Judge ruled in favor of Bahia Amawi, a former speech pathologist who sued the state over the law after she was fired from her job for supporting BDS. The court found “the statute to be a viewpoint-based restriction intended not to combat discrimination on the basis of national origin, but to silence speech with which Texas disagrees.”

In response, the legislature rewrote the language limiting the application of the law to companies with more than 10 full-time employees and contracts of more than $100,000 with the state. The governor signed the bill.

comment 4y ago · link · parent

It would be great if the picture demo running the node application included timestamps. The landing page keeps using "fast" to mean "bandwidth" but without any mention of latency - my primary question is how long it takes to boot the kernel and start launching the userland process (i.e. cold start time) but there's no mention of that.

comment 4y ago · link · parent

https://github.com/LibreSignal/LibreSignal/issues/37#issueco...
1
868788
277