skysight-inc/HackerNews huggingface dataset:
I use a similar workflow, except I send the i2c stuff straight to the monitor without a docking hub in the middle. I can verify that this works fine on 5.5.11. I use a udev rule to detect a USB 3 hub being plugged in and plugged out, and ddccontrol sends the relevant i2c signals to the monitors.

I'm happy with the ddccontrol based switching with 2 computers (linux desktop + mbp), but I want to add an additional computer (mbp) to the mix, so my workflow won't work anymore.

Does anyone know of dual head DP KVM switches that work reliability? Googling shows a few options, but the they are old posts and things may have changed. Single head (1 DP monitor + MST) works for the linux desktop but Apple does not support MST on macbooks it seems like[1][2] (I can't even find an official page on apple.com with relevant details).

I have tried [3] but it is quite buggy with displays blanking out once every few minutes even with higher quality, DP 1.2 compliant cables (cable length < 1.2m).

[1] https://www.dell.com/community/Monitors/P2720DC-use-MST-func...

[2] https://old.reddit.com/r/MacOS/comments/gliki5/in_2020_why_d...

[3] https://www.amazon.com/gp/product/B089LY4S63/ref=ppx_yo_dt_b... (select the 2 monitor x 4 computers DP model)
Among the best Sci Fi shows I’ve ever seen. I’ve read the book series 3 times and on my 3rd watch through of the show. I’m biased (Sci Fi is about all I watch/read) but it’s truly one of the greats.
You'd have to feed your model a copy of the entire internet, and if you can do that, you've already done the hard part of creating a Google clone imo.

In general, if folks want to know how Google works, just do some reading on grey hat / black hat SEO. There is an entire (somewhat) underground industry of people that have ranking in Google down to a science - put exactly this on your page, set up exactly these linking domains with exactly this type of content, satisfying all of these metrics, etc. I honestly think the reason competing search engines are so much worse is just because none of them have tried very hard, or maybe because they just lack funding.

AFAIK, the algorithm is still the core of what it always has been (getting PR links to your page) but Google has just added a bunch of layers on top of that which basically check for things to disqualify you completely or make minor adjustments to your position in the rankings.
Thanks, I love these sorts of actually in-depth comments. Any estimate/range on cost? I'd love to get a hint.
Ask HN: What's the best thing you've learnt in 2020?
Something new you learnt that others should learn/know about?
The regime responsible for his prosecution is back. Maybe they will pick up where they left off too.
The Pentagon’s Unidentified Aerial Phenomena Task Force
>We are perfectly happy to give money to people for them to do things without fully understanding their inner thoughts and the processes behind those thoughts.

yes, but we wouldn't say that we're programming them, which is the problem with the operational definition, it applies to everything. If my drunk uncle is great at horse-betting and I just need to give him a nice sixpack of microbrew and get measurable net worth increase out I've not turned into a computer scientist.

Hence my argument that legibility is what matters. Programmers must be able to reason, and rearrange, and understand relationship between syntax and semantics of a program.

I think it's more accurate to compare deep learning to running a sort of physical experiment, rather than programming.
What Comes After Smartphones?
> Eddy Cue, Apple’s senior vice president for internet software and services, who has been at the company since 1989, has told partners that “the two things we will never do are hard-core nudity and China,” one creative figure who has worked with Apple told me. (BuzzFeed News first reported last year that Mr. Cue had instructed creators to “avoid portraying China in a poor light.”)

I miss the days when Apple wasn't run by cowards.

(It's also interesting that simple nudity now qualifies as "hard-core", a term formerly reserved for pornography.)
I just do non-blocking waitpid in a loop (until nothing is returned) after I get signal via signalfd.

Not sure why this would not work for the OP or miss some process terminations due to merged SIGCHLD signals? I guess using pidfd may be more straightforward, but I don't think this was some unsolved problem previously.
It probably should be.

Here's a quote from that link:

The Judge Rotenberg Center is a school in Canton, Massachusetts that uses the methods of ABA to perform behavior modification in children with developmental disabilities. Before it was banned in 2020, the center used a device called a Graduated Electronic Decelerator (GED) to deliver electric skin shocks as aversives. The Judge Rotenberg center has been condemned by the United Nations for torture as a result of this practice.[10] While many human rights and disability rights advocates have campaigned to shut down the center, as of 2020 it remains open. Six students have died of preventable incidents at the school since it opened in 1971.
But now, from beyond the grave, Gawker is revealing another reality in this era of media consolidation: that the chief executive of one of the biggest companies in the world, who testifies before Congress and negotiates with China, also decides what television shows get made.

I'm having a little trouble with the premise of this story, that it's somehow novel for an executive to have a hand in killing a show. This is like 40% of the premise of 30 Rock. But that was about the Sheinhardt Wigs hegemony over NBC (and tri-vection microwaves), not Tim Cook's influence over a tiny portfolio of streaming shows nobody watches.

As long as he doesn't fuck with Ted Lasso, I honestly don't give a shit. I'm sure I'll buy another Apple product in 2021, which will re-up my Apple TV+ subscription somehow.
Everything about road design is for cars.

I've lived in a place with dedicated bike infrastructure. It was amazing. We should be pushing for that.

And why are cyclists so antagonistic? Not a good look if one wants their group to be taken seriously.
When is Lambda going to catch up to cloud run, and support handling multiple requests concurrent on a single instance.
The abstraction is abstraction. It does not matter how it is implemented. Might as well do 100 levels of function pointers or simple nested calls with no classes at all.

I think the author's main idea is that your methods should carry some weight and be long enough so you can visually trace the logic. Do not write functions that do nothing but multiply 2 numbers.
It’s possible that some day in the future bitcoin may he converted to proof of stake also.

That's not going to happen. The core reason Bitcoin is the hardest money that's ever existed is because of proof of work. Part of why Bitcoin has monetary value is due to the energy used to produce Bitcoin and to secure the blockchain.

Eth 2.0 is unproven so far; it certainly wouldn't be trusted as a global reserve asset in its current form.
Handing out the pitchforks: BuzzFeed and mediated digilantism
"attacked"? I thought HN is about discussion, not combat
Yes and no.

It shows the default bindings of the active application's shortcuts. However, with KeyCombiner you can also create personal collections of shortcuts and commands. Those are always shown. In these personal collections, you can set whatever bindings and customizations you like. You can quickly build these collections by importing selected(or all) shortcuts from the public collection of an application.

In practice, when I use the lookup and search for a shortcut that I have customized, I will see both the default binding (because it's shown for the active application), and my own binding (because it's in my personal collections).

Sorry if this was confusing. The blog post explains it in more detail and illustrates with animations.
It’s mind blowing how relevant this comment is.

IME needs to go away.
It’s much worse. You should read the book “The Doomsday Machine; Confessions of a Nuclear War Planner.”
It does feel entertaining to read the comments from people who have so obviously never worked for a large (or old) organisation doing an admin related job who think that spotlight or fuzzy search will save them.
In a previous job I had to respond to freedom of information requests for a public sector organisation with more than 20,000 employees, which meant deep diving different departments shared drives and shared inboxes. The vast majority had no real structure at all and good luck finding a system that can search dozens of silo'd shared drives for info in .pdf and .doc files with permission systems that have evolved over decades. Discovering that the R&I division (which had several thousand employees on its own) mostly used johnny.decimal on their shared drives and often in their personal spaces was like discovering a tribe of ray gun wielding supermen in the depths of stone age Norfolk. It just makes life easy.
That is terrifying, it reminds me of the alien movies.
How to balance my energy even when around other people and some ways to handle being a superempath.
It's the confluence of executive authority that folks are sketched out by, not the executive authority or actions themselves, imo.
I don't often agree with a Jobs quote, but when I do...

My experience as a geek, on shores very far from Silicon Valley, is that engineers are second-class citizens almost everywhere, but particularly where "creatives" are on top.
You know Jack Donaghy testified before congress too, right?
My wife detests football, and audibly groaned when I said I wanted to give an episode of that a go. We both ended up loving it and can't wait for series two. Seriously good show.
Yours could have been an interesting comment, if you explained why you think the CEO is nuts, instead of just dropping it there without explanation.
SEEKING WORK

Software engineer for Apple platforms (iOS, iPadOS, macOS, tvOS, watchOS)

Location: Mountain View, CA

Technologies: Objective-C, Swift, SwiftUI

App Store apps: https://apps.apple.com/developer/austin-conlon/id1189508961

GitHub: https://github.com/AustinConlon

Email: austinconlon@icloud.com
Unless I've misunderstood what you're suggesting, I think you would need a (20? 40? Gbps) Thunderbolt 3 switch for this to work, because the dock only has one host port (the dock's topology looks more like a USB hub than a network switch). I suppose there are chips that can do this, but I've never seen a standalone Thunderbolt switch as a product, and if one existed it would probably be expensive.

In any case, my desktop is old and doesn't speak Thunderbolt. I'm not sure whether I can bolt it on with a PCIe card, but even if I could, configuring an nvidia card to reroute output from its own ports to a Thunderbolt add-on card sounds... not fun. And then you'd have to deal with the fact that the longest passive cable that the TB3 spec allows for is like, 2 feet long, and I have a standing desk...

It's certainly an interesting idea, and pulling it off would be an impressive technical feat.
>> road capacity does not increase with higher speeds

Fundamentally untrue. If you reduce the average speed of a section of road, say for example in heavy rain, the capacity or throughput of that section of road is reduced since less vehicles can pass through in the same time.

If you can keep drivers attentive enough to maintain safe distance between vehicles, you can increase the speed of a section of road.

>> Once you hit the peak for that road section

You can increase the practical peak in an imperfect world by increasing attentiveness of drivers.

For example, you could defer the onset of gridlock by X minutes by making more efficient use of the available road space. In some cases it will be possible to increase X such that gridlock is never encountered for the same traffic volume.

>> Some roads are exceptionally safe at low speeds

And yet the focus on speed means that roads which are not exceptionally safe at low speed have reduced incentive to be improved. Why improve a road (hard in some cases) when the impact is not measurable and speed is an easy band aid.

Better to pretend the immeasurable doesn’t exist and simply focus on speed. Even if other approaches could have a greater impact on road safety.
I'm perfectly willing to trust that the WaPo is reporting truthfully and that their sources are legit, but without concrete evidence it's hard to judge how serious the allegation really is.

Is it "they forgot to switch their VPN on once and we got a direct connection from an IP that belongs to the Russian state" like that other time (still manipulable but fairly conclusive IMO) or is it "that really looks like the modus operandi of those damn russians and we really need somebody to pin it on right now"?

To be clear I'm not making one of those "fake news" pro-russian rants, I can totally believe that Russia would very much do the things being reproached here if given the opportunity, I just have a really hard time taking the word of an anonymous source without concrete elements in these matters because the potential for manipulation is so absolutely tremendous.
I can agree with the second paragraph but I disagree with:

> The abstraction is abstraction. It does not matter how it is implemented.

To me, it does matter. A good abstraction should not get in the programmer's way. This directly depends on making the language's syntax support the abstraction in question. This, in turn, depends on the macro system of the language or lack thereof. Finally, that is a question of the given language's expressiveness, or lack thereof.
It's quite significant because as you can see in the sample without hyphenation you get quite a lot of whitespace between words which makes the text hard to read and also look unbalanced because the length of the whitespace varies a lot between different lines.
If it always goes up why would anyone ever sell?

There will come a time when even the most hardcore hodler will have to sell to pay for something. Like buying a house…
One of my dear colleagues a few years ago went on a tear and added interfaces to basically every single class he could lay his hands on. C/C++ header style I imagine. To this day I cannot easily follow code because any time I Ctrl+Click on a method call I end up stuck in the interface and have to first find the single implementing class, open it and then navigate to the corresponding method.
Solarwinds is systems management that runs the gamut (router config managment, network monitoring, systems monitoring, logging, etc) for gui ninjas (read: people who use microsoft way too much) and execs who listen to sales people (and some gov orgs). I've used it plenty in the past, not all their products but many/most, and it's actually not that bad on the surface, but dig deeper and you begin to see the flaws quickly. I almost aways advocate against it if I ever see a proposal for even a single one of their tools pop up.

The thing it does for many orgs is become a "one stop shop" for the array of products a "modern" IT stack needs... and if you thought splunk was expensive...
It's not that regulation needs regulation.

It's that regulation needs enforcement. If no one is watching (effectively) then you can do what you want - rules or not.
Are those motorcycles zooming between cars at high speeds? Is that comparable to a cyclist?

And filtering to get in front in the intersection is safer for a cyclist, as one is then better seen. So no reason not to filter through stopped traffic, really. If it's a safety issue, the solution is probably to remove those making it dangerous (cars) from the streets.
> Zig is a lot more complex than C

True, but on the other hand... C _does_ have preprocessor macros, which from a pure language standpoint adds a lot of complexity.
Power Book II:Ghost Season 1 Episode 8-Family First– A major mystery revealed
Fans of the popular series Power Book II Ghost will be broadcasting on Starz one week from now. After this episode, only two episodes left in the first season and will wrap the series in the next year, January 3, 2021.
When I was daily driving an old Mercedes SLK roadster, every trip - no matter how long or short, in traffic or not - was fun. I owned that car for 6 years and for the whole time of ownership it always made me smile just thinking about going somewhere (well, expect for times when it was broken but it wasn't often). Unfortunately I had to sell it because it started to fall apart and I bought a brand new car that's practical, safe, reliable, but simply boring and now driving became a chore. I'm planning to buy a fun car once again as a second one and use it whenever I can because I miss the joy of driving sooooo much.
I overlooked it and searching the page for "seven" did not turn it up. That's what you get for the artistic spelling :) In fact I could not remember how it is spelled and tried "7even" in a Google search.
Also kettlebell
Yes this is true, but because of the separated infrastructure there are much fewer collision point between motorized and non motorized traffic. Basically all streets where cars can drive 50kmph (30mph) and up cyclist have a separate cycle path.
Yes there are some in there - I think the full series for my link is here:

https://archive.org/details/m203analysis1tv8completenessintr...

Thanks for finding!!
EA to buy racing game developer Codemasters for $1.2B, outbidding Take-Two
Create Payment Links
From the landing page, I found it difficult to find the value proposition immediately. Is this an alternative to HelpScout / Zendes?
Well, replacing that battery is not that easy, I assumed 30 minutes labor in total, the battery needs to be shipped, too, and there is tax, so out of $199 the battery itself was perhaps $100 or so.

In other words, if I were to do this elsewhere, I would need to buy the battery, ship it, and pay someone (or perform the task myself) to do the replacement. The $199 price seemed entirely reasonable, especially as this was in California at the time.

I think the price seems "outrageous" only if you ignore the costs of labor, shipping and taxes.
Europe's Biggest Vertical Farm Will Be Powered by Wind and Planted by Robots
This is the best option I've tried so far. Thanks :)
Sure, the past was different. However we are in the present.

CryptoAG doesn't even exist anymore.

As far as RSA goes, look at their website https://www.rsa.com : it is all about risk management and compliance. Yes its an information security company, but is the modern version a crypto company? It doesn't look like it from their website.

I don't mean to suggest that there are literally no crypto companies, that is certainly not true, but it doesn't seem to be a unified industry by any means.
OCaml has this compilation speed heritage too through its roots in Modula-2: https://dev.to/yawaramin/ocaml-interface-files-hero-or-menac...
"every decision to spend that money" sounds pretty specific to me. The decision to split the pile isn't sufficient to escape that requirement.
Without really taking a position on the merits of the issue, I think the idea is that Jack Donaghy might testify before Congress about the television shows he runs, while Tim Cook testifies before Congress about matters unrelated to television.
I've been avoiding proprietary options because it's usually a big time investment to get them working on nixos, but I'm open to suggestions.
Both actually kneel to marketers and sales tbh.

Look at any high paying industry/job, apart from FAANG tech or doctors - it's either marketing or sales at the end of the day. I'll go so far as to say that even most doctors in the US are in the sales business.
I tend to believe in environments like Java or C#

there's shiittton of focus on architecture, patterns, interfaces and generally testability

there's shitton of discussions about those topics in those langs

So it may be reason why people tend to over abstract stuff.
Sorry, what does TFA stand for in this context?

I think it's thanks for asking but that doesn't seem to make sense?
When I read the title, I thought it was going to search inside the 28M books, but it's just the title, subject, and author. Still a cool project though.
I'm not usually very distrustful of mainstream news (at least, by internet standards) but I am very distrustful of the news' capacity to vet very technical issues correctly. Remember that Bloomberg "the Chinese put spy microchips on our motherboards" story?

I'm not accusing the WaPo of being distrustful here, I just think that in these cases the potential for manipulation, half-truths and technical mistakes from their sources is very high, and without either knowing who these sources are or what are the concrete element they're using to make their conclusions I find it very hard to blindly trust these sources.
He testifies representing GE!
My no longer "side" project recently hit the milestone of $4k/month https://pawelurbanek.com/profitable-slack-bot-rails . Took me over 3 years to get to this point. It allowed me to quit my job and focus on growing it even further full-time.
No, it's a stupid point, repeatedly being made. Why should cyclists be judged as a group by their worst members, but drivers as individuals?

As a driver, I think all roads should be closed for anyone else but cyclists. I'm a driver, you can't argue with my point, as I represent all drivers. "As an X person" is really good for discourse..
> have to first find the single implementing class

This _can_ be a problem with Java, admittedly. Sometimes you've got a single meaningful implementation, but you need an interface either for using it with services that implement such interface at runtime to create proxies (e.g. Spring, Hibernate, others) that augment its functionality, or to properly mock a dependency. BUT: the IDE should be your friend. Almost every Java IDE supports "go to the implementation".

And, what is the alternative? Fewer interfaces sometimes lead to even worse patterns (for testing: monkeypatching and concrete class subclassing). I prefer the clarity of declaring an interface wherever an interface makes sense.

Using a lot of interfaces and defining APIs (which are, mostly, collections of related interfaces) makes the Java ecosystem highly pluggable. I can mix-and-match a lot of different libraries and/or implementations, as long as there's an interface they can work together in a rather good fashion.

Consider Python: there're very few (and sometimes poorly defined) interfaces and API; so, quite often you need to pick a library/framework which implements everything and works poorly with other implementations.
1. Back button is broken
2. I'd increase Support by 10-100x, there's no way 50$/month is sustainable.
Oh! I did not know that. That's unfortunate. Hopefully they are still committed on vulkan.
Not just reduce the monitor brightness, but also use "dark mode" whenever possible. I read a lot on the web, and found the darkreader extension incredibly useful for my eyes strain.
Can Fintech Fix this $1.6T Problem?
Also by the author https://humancalendar.com/ (very interesting)
A single transaction is not evidence of bitcoin "becoming the standard."

There were 9,064,548 Bitcoin transactions in the last 30 days [1]. There are many relatively large transactions that take place everyday.

[1] https://bitcoin.clarkmoody.com/dashboard/
In my experience languages have a culture of their own.

For example, C++ has a culture of caring about low-level details to squeeze out maximum performance. I once found myself writing something that wasn't performance critical in C++ due to a library I needed, and just minutes later I caught myself reading up on move semantics for maximum efficiency. I couldn't help myself getting sucked in by the language culture!

Java's culture, in my opinion, is one of abstractions. There's little in the language to force you down that path, other than decades of it being the prevalent way Java is written, which bleeds into the standard library, core frameworks, and becomes the Java Way of Thinking.