skysight-inc/HackerNews huggingface dataset:
Google search UI has degraded so much in recent history. It's become almost comically user-hostile. I say comically because I would be laughing if not for the fact that real humans use this service every day and are subjected to this abuse and that is in no way comical. The quality of Google search results have seemingly declined as well, based upon numerous anecdotes found in any recent discussion of these results.

I encourage everyone to stop using Google search (I personally recommend https://duckduckgo.com). You don't have to put up with being treated this way. Alternative search engines are likely to return results on-par with -- if not superior to -- those of Google search. For those other times, if you're using duckduckgo (for instance), prepend your duckduckgo search query with !g and duckduckgo will forward your query to Google search for you. All your needs met with none of the abuse.
I like the ones who stop to wave you out into traffic, not realizing they're only one lane on a 4-lane road, so you can't go without getting hit by at least one of three other cars, and the backup they've now caused behind themselves has closed the entry window you were about to have if they'd just picked "smart" over "nice."

I'm as skeptical about the appropriateness of rules as it comes, but a surprising number of the ones around driving actually do work to make the traffic flow efficiently!
I built a documentation platform [1] for work since I didn't want to worry about licensing costs (With something like Confluence) being a factor, limiting potential access, when it comes to documenting and sharing knowledge.

I also wrote a simple little PHP script [2] to check HTTPS certificates (And email results) to help keep on top of things.

[1]: https://github.com/BookStackApp/BookStack
[2]: https://github.com/ssddanbrown/sslcheck
A PCD to E57 file converter for 3D pointclouds
Actually, if you read the rest of my previous reply (as opposed to an offhand comment at the end) you will see that I'm considering the logistics of operating an in-DB queue as well.

Using an in-DB queue doesn't give you zero OpEx does it? Maybe you can make the argument that it's cheaper but it's cheaper for a reason: the job wasn't done properly, so to speak.

Both options introduce new failure modes and op costs into your system. Might as well do it properly if (and this is a huge IF in my opinion) for slightly more cost. When you run into a failure it's standard, maybe the solution is even one Google search away as opposed to realizing, one hour into a late-night debugging session that, shit, that table should be treated as a queue!
I thought this might have been the thing I'm looking for; relatively painless screencasting or sharing from a local (Linux) PC to another device on the network (e.g. Raspberry Pi + Big Screen TV). The use case isn't necessarily full motion video + audio, but more for business/conference room type use, where response time isn't wildly important, since it's something like a whiteboard.

Monitor-over-network would be great too, but not a requirement; I'm aware that solutions exist, but so far everything I've tried has been painfully clunky.
Sam Harris on UFO Disclosure
Most people, including me, do not think bad officiating is randomly distributed, so human officiating is inherently unjust.
Jeff Bezos Will Fly Aboard Blue Origin’s First Human Trip to Space
I work with both D3 and Observable full time.

The claim that one has to "reverse engineer the runtime" is simply absurd.

The people that complain about D3 on observable always turn out to have taken neither the time to understand Observable nor D3 and are looking for a way to just copy paste something into their codebase, without understanding it, and without any willingness to really learn the tools they are using. Which would have never worked in the first place, because D3 is not a plotting library like vega or observables plot, it's a library library, building material from which you can build your own bespoke visualisations.

Observable is in essence reevaluating the entire code with each "requestAnimationFrame", no fancy diffing a la react or other magic, if it runs in observable, it will also run in your code as a static thing. Copy paste the cells out of observable, prepend them with a "const" and you're done,
not more work than removing and rewriting the boilerplate that's in every codepen.
Great idea!
Develop this as a standalone solution. There is a huge market open for you.
Why was 3M storing their data on Volkswagen’s servers? /s
I was too lazy to learn how to use a packager so I built one in Node. It's dead simple and lacks features but works great.

On my website: https://benergize.com/software/pyleon/
On git:https://github.com/benergize/pyleon
Anyhow, if there's a system or strategy that enables you to win every time.... what happens once everyone knows and uses it?
Thanks! Contexts looks like an improvement. It's still missing the window previews though.

I had mixed results with the option key pressed while clicking maximize, some apps such as safari gets slightly bigger by a random amount that is probably a failed tentative to guess the optimal size.
"Eureka" https://en.wikipedia.org/wiki/Eureka:_A_Prose_Poem
It a good place to see how unexpected his work could be.

I would fairly say I had some sort of shallow Hollywood stereotype pigonhole I lumped poets into to my determent.
Is there any other solution other than going full STM on this?
> Pointers to Arrays

>In a few places, the original source code contains expressions that point one past the last element of an array. Here is a simplified example of the C code:

int array[1024];
int *p;

if (p >= &array[1024]) {

}

>The C standard (see e.g. C11, Section 6.5.6) allows pointers to an element one past the end of the array.

Wait? Why?

I get that char strings in C are null terminated and that might seem like an off by 1 issue if you aren’t paying attention, you still size your string one larger than your string.

What is this all about?
I would summarize it as the entropy over distribution of topics over the whole news spectrum, rather than a the entropy of a particular piece of news.
This is the principle behind anti-radiation missiles like the AGM-88 HARM. It’s impractical for A2A combat because in this situation, the enemy missile is already fired at you and all else being equal will hit before yours does.

https://en.m.wikipedia.org/wiki/AGM-88_HARM
Risk Legacy (2011) is ranked in position 368. So if that list is of any use, then this variation of the classic Risk must be immensely better!

To be honest I'm curious. The description of the game seems to imply that the game itself changes every time you play it, because some of the cards used should then be destroyed and thrown away from the game box, never to be used again. That, and the game concept covers complete campaigns, not only discrete games that you play once and then forget about it: https://boardgamegeek.com/boardgame/105134/risk-legacy
What Is a Flying Car?
I'll give it a shot :)

Pick up time 8 minutes in Aarhus as of writing. If I go to Ikast it's 24 minutes.

And a 10min ride is 25 USD. A hour ride is about 200 USD.

Might try it if I ever need a taxis, but it's still a bit pricey.
Desktop applications that manages local files can still use web UI. There is plenty of reasons why it's can be nice to be able to access it through web.
I built Firn[1] a static site generator for my org-mode oriented wiki[2]. I needed a system that could nicely handle publishing public information, and keeping private information private. In addition, I wanted something that accumulated my clocked time in org mode so that I could see how much I have worked on each project.

[1] https://firn.theiceshelf.com/
[2] https://weakty.com/
On the contrary, an open alternative to Google Cast is very welcome and much better than a Chomecast clone. The protocol is not very good so trying to re-implement it is just asking for trouble.
Yup I totally agree with you
As I clarified this is only for fun/educational purposes
Definitely not intended to run in production and for serious stuff
A lot of French, Italians, Spaniards, and Greeks have horrible quality of life as well. You can go out to some of the more remote parts and be shocked at the living standards in Europe. But they are still higher than the world average, and this also true for the U.S. as well. I think perhaps part of this is the lack of pop-culture coming out of Europe, since scenes from movies/tv showing terrible US ghettos and american countryside decaying towns are watched around the world, but Europe isn't producing entertainment showing czech Roma living in mountains of trash or bored teenagers wandering around French slums or toothless grandmothers in rotting Italian villages. But it's all still there.
Usually the people who have done the best are the ones who’ve already been investing when things were boring. Those who were already in the stock markets before it dropped and rebounded were the biggest winners. Those who steadily increased their crypto holdings when it wan’t all over CNBC came out well (even with these recent drops). Those who bought homes out of housing necessity suddenly saw their home price go up in value. The good thing about FOMO periods is that it gets everyone to start investing, the bad thing is that it attracts people who don’t like boring financial consistency and who like wild swings.
Just 3% of organizations have real-time visibility into runtime vulnerabilities
Thanks. I should try to rebind the shortcuts to make mission control a bit more convenient to use. I have it in a hot corner, but this is useless on dual screen. Maybe a button on the mouse will be better.
Please don't be an asshole in HN comments. Posts like this are extremely damaging. If you know more than someone else, that's a great chance to share some of what you know, so we all can learn. If you don't want to do that, that's fine, but then please don't post. Damaging the commons, as you did here, is not a good choice.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...

Also, can you please stop posting unsubstantive and/or snarky comments in general? You've done it repeatedly, unfortunately. We ban such accounts because we're trying for a different sort of culture here. If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.
Here's a list of suspected perpetrators of crimes identified via genealogy databases. [0] This case is not in this list (yet).

[0]: https://en.wikipedia.org/wiki/List_of_suspected_perpetrators...
Best Torrenting Software Reddit to Try – Best Software Examples
+1, I've also been using the paid Mac app Smooze (smooze.co) to get smooth mousewheel scrolling animation like I get on Linux and Windows out-of-the-box when web browsing and so forth because I haven't found a free app that can do this.

And while we're talking about the effort needed to get sane mouse behavior for serious CAD/3D editing/art/gaming, it is way too hard to reliably disable cursor acceleration on Linux. There are at least three different X11 mouse drivers on Ubuntu: the really old one, the evdev one, and the newest libinput one. (I don't even know what you have to do for Wayland... never got there....) So if you web search "disable mouse accel linux" you likely get the wrong directions (at least I did) because you might be using the libinput driver and the instructions you found are for evdev. One unreliable method I tried involves setting a matrix. This at first works and then you eventually discover some apps like Blender develop cursor jump bugs....

So the reliable method is....

If using libinput mouse driver you do something like this:

$ xinput --set-prop 'Cooler Master Technology Inc. MM710 Gaming Mouse' 'libinput Accel Profile Enabled' 0, 1

If using evdev mouse driver you do something like this:

$ xinput --set-prop 'pointer:Cooler Master Technology Inc. MM710 Gaming Mouse' 'Device Accel Profile' -1

To figure out your mouse name string like the MM710 example I used above you do this:

$ xinput --list

The number of tweaks I've needed to research and implement for both Mac and Linux are one reason I'm now currently using Windows + WSL for getting stuff done. I want to solve computer science problems more interesting than configuring my mouse and my window manager vsync tearing / compositor issues....
Thanks. I will try this one too.
Is this the future of PI hacks...company pays for credit monitoring...considers matter closed.
This article is just empty
Everything Apple announced at this year's WWDC
Minidisc was a HUGE commercial flop, with a paltry number of releases. It found utility in some pro audio racks but in no nation did it ever come close to replacing DAT in pro audio applications, or cassette tapes for music copying or distribution.
Open Source and Mental Health
Cloud Storage Experiment to Level Up Chia Farming
This just makes me want persipan.
More Surgical Teams Using Real-Time 'Digital Playbooks'
I think it more or less depends on the mindset of the developer. For example from my observation developrrs from telecom or other big companies tend to turn every program into a "solution" i. e. it must have a full weaponry and other bells and whistles. Me? I'm the opposite amd won't add anything or fix anything unless it is really useful.
With all respect to several of the clever methods shown here, sometimes brute simplicity is the better part of creativity.

For any sufficiently complex sequence of commands, I'll create a script and either place that on a universally-accessible mountpoint (e.g., where NFS mounts are used), or scp that to the target host as part of execution. (This is effectively how numerous configuration-management engines operate, as with chef, puppet, and the like.)

1. Quoting is a non-issue.

2. Parameters to the command being a possible exception.

3. The process is reproducible.

4. The command(s) can be updated / iteratively developed, if necessary.
The phrase "delight the user" has always rubbed me the wrong way. I cannot recall ever being "delighted" by software. Frustrated often, yes. Not frustrating != delightful. Sometimes I have even been impressed, but that's different from delight.

Mostly the phrase "delight the user" is a red flag that the speaker is spouting buzzwords.
I run my computing environment on a remote box, to which I `mosh` to and run `tmux` on from a local MacOS box. Anything commandline (including Emacs) runs remotely, and anything graphical (including web browser) runs locally.

Sometimes I need to copy text from the remote Emacs session to the local MacOS clipboard in a cleaner way than using MacOS select-and-copy. I ran into the quoting issue because

'

is needed before and after the text being sent to quote it for the shell, but then that character can't be sent in said text, breaking the entire pipe. I was stumped for hours before finding a solution by trial and error. I think the comment says it all:

; single quotes necessary to escape
; argument for shell
" -c '"
(replace-regexp-in-string
"'"
;;; This can't be the simplest way to do this
"'\\''\\'\\'''\\''"

(I see from isodude's comment that the above indeed isn't the simplest way to do this, and should try his solution sometime.)

The complete function follows for the curious (and for those who can suggest improvements):

;;; BOS
;;; my-clipboard-kill-ring-save - Send any text to remote clipboard
(defun my-clipboard-kill-ring-save (beg end)
"Copy region to kill ring with `kill-ring-save', and send to
remote clipboard."
(interactive "r")
(kill-ring-save beg end)
(condition-case nil
(let ((my-clip (current-kill 0 t)))
(unless (string-equal "" my-clip)
(shell-command-to-string ; send it to remote clipboard
; Calls my shell script that takes argument and, on local machine, either
; a) opens it as URL, or b) with the -c option, sends it to local clipboard
(concat browse-url-generic-program
; single quotes necessary to escape
; argument for shell
" -c '"
(replace-regexp-in-string
"'"
;;; This can't be the simplest way to do this
"'\\''\\'\\'''\\''"
my-clip t t)
"'")) ; closing of argument
(message "Clip \"%s\" sent to remote clipboard." my-clip)))
(error (message "No clip sent to remote clipboard"))))

(global-set-key (kbd "M-W") 'my-clipboard-kill-ring-save)

;;; EOS
Yes. I work in healthcare and was actually among the first group in the state of California to get the Pfizer series. I have records showing my first was back in December of 2020. A huge reason for getting vaccinated as soon as I could was to be part of the early test data, and also because I believed that this was our doorway to things being back to normal. Unfortunately it seems that for so many, now the goalposts have moved to "but what about the children?" despite the numbers for them being really, really low.

And now I am happily awaiting June 15th, 2021 at 12:01am when the California mandates finally expire.

Zero side effects.
LibreTranslate – “Building the coolest translation software ”
Isn't command + ` switching between windows of the same application?

Exposé is not the same no.

The option click algorithm that decide how big the window should be hasn't impressed me to say the least.
AT&T CEO seems confident industry can kill Biden’s municipal broadband plan
> I would also enjoy a maximize button that does maximize the window and not create a virtual space with the application in full-screen.

This was the biggest thing that annoyed me when switching from Windows. I’ve been using SizeUp for 5 years now without any problem and it’s great, especially when using a 4K screen (quarter screen window tiles).

https://www.irradiatedsoftware.com/sizeup/
There are several chapters on wealth inequality in Piketty's book:

* https://en.wikipedia.org/wiki/Capital_in_the_Twenty-First_Ce...

Wealth is harder to measure because it's not as reported in most countries. You get an 'income slip' for tax purposes (e.g., US Form W-2), but there's no official 'wealth slip'.

That's one of the things that Piketty suggests: declaring of credits and debts in an official way, which could then be used for a (net) wealth tax. Starting as little 0.1% if you're just over (e.g.) $US 10M, and having a top rate of (e.g.) 2% for those that are worth more than (say) US$ 1B.
I saw this the other day: https://twitter.com/TechEmails/status/1403062097156657156

I'm hearing a preacher put a capstone on the Protestant Reformation with hints of Islamic Alchemy. I don't quite understand what is going on, but it sounds like a mixture of sophistry and engineering.

It's a good thing Hollywood did him because he's relevant, and as far as I can tell, there isn't any explanation for that. He should be a random rich dork, but he's the Great Sorcerer of the West.
It's so you can do exactly what's being done here - see if you have reached the end of the array by comparing the current position pointer.

Lots of iterator designs have a special "end" iterator you can compare against but not deference or access - this is just the same for C arrays.

The C standard here allows pointers to elements one past the array, but it's still busted if you try to dereference it.
If your Qt app has single C++ line of code cross platform builds become much harder. Also regardless you still have to solve packaging and updates for Windows, macOS and Linux. Also it's much harder to do QA and it's take much more effort to maintain cross platform Qt app in general.

For Electron apps it's all much easier because all native code is heavily tested by other commercial software and there is even on-the-fly updates possible.

PS: I shipped C++ apps built using Qt and cross-platform part is huge time sink.
Looks awesome! Also worth looking at is Delta diff.
It does, but is the interval that they did that work only during May 2021?

I think this summary page is pretty pithy but then I read the report and it's not too detailed either.

I was optimistic to see such a report being published by FB but now I wonder if this effort is adequately resourced.
My last tool is WireGUIrd, a wireguard gui client for linux.

https://github.com/UnnoTed/wireguird
That's extremely impressive.
Programming bacteria to solve the Burnt Pancake Problem
You can point to the element one pass, but you cannot dereference the pointer.
Fuchsia Running on Google’s Nest Hub
This is precisely how modern IADS (Integrated Air Defense Systems) work. You have long-range search radar deep in your territory which can alert to contacts entering your airspace and feed that information to tracking radar located nearer to the front lines. Tracking radar only needs to fire for as long as necessary to get a lock, fire on an aircraft, and allow the radar-guided missile to establish its own lock.

Missile launch sites are located separately from radar sites so they can’t be targeted (since they have no radar emissions themselves) and so that pilots don’t know ahead of time where to look for missile plumes for visual indicators of a launch.

All of these sites are networked so can feed information across a large region and back to a hardened command center far away. Sharing information this way allows minimizing the amount of time between a vulnerable front-line system revealing its location and launching a missile at its target. Tracking radar and missile sites can even wait to become active until a hostile aircraft is over or even past them to defeat wild-weasel style tactics.

Both tracking radar and missile sites are also often mobile so once they’ve disclosed their location by using radar and/or firing a missile, they can quickly move to a new location to avoid retaliatory strikes from anti-radiation missiles and regain the element of surprise.
#define COUNT(array) (sizeof(array) / sizeof((array)[0]))

int array[1024];

for (int *p = array; p < array + COUNT(array); ++p) {
// ...
}

For the loop to be well-behaved, such pointer formation must be well-defined.
The best way to deal with burn out is to start offering a 4 day week imo.

I recently launched https://4dayweek.io to help normalise this - Software jobs with a better work / life balance
Why not declare AT&T, Comcast, et al. to be public utilities, by an Act of Congress?
For smoother scrolling with a non-Apple mouse/trackpad you might want to look at Smooze [0], it's what I use for my logitech mouse. That said, it's paid and it looks like Moz [1] claims to fix smooth scrolling so maybe check that out too.

[0] https://smooze.co/

[1] https://github.com/Caldis/Mos
Nobody really knows how to translate the "daily" in that sentence because it's a word that appears nowhere else.
I personally know a few people who could very likely be your customer,so I second other commenter: do release it as a product.
Seems like the position you'd expect of a country founded on a mistrust of centralized, remote authority.
Tesla has remote root access to every car. If they get hacked it will be a disaster.
I love the disclaimer at the end of your Readme. It really symbolizes the spirit of it all!
Animals and preverbal children can use tablets; even the mouse is a step beyond the direct interaction with visual elements.

I find it creepy that so many toddlers play with tablets and phones.
"AT&T CEO John Stankey yesterday called President Biden's plan to fund municipal broadband networks "misguided" and said the US shouldn't pay for any broadband deployment in areas that already have networks. But as AT&T and other ISPs lobby against public networks and government-funded competition, Stankey said he is confident that Congress will steer legislation in the more "pragmatic" direction that AT&T favors."

I suppose that's what he's supposed to say. Good to at least get a discussion about this topic. How good internet people should have is very much a question of viewpoint. Is 10mbit good internet?
Tammany hall is great for the first three elections, and then falls apart in the final round when it’s just about counting votes on the board.