skysight-inc/HackerNews huggingface dataset:
> You can respect that developers you respect are humans who make mistakes and misunderstand things

No I can't.

Seriously, it was a joke, he's my best friend, but I guess I misunderstood his claim or he misunderstood render props!

From what I can see reviewing Vue's 2.x docs, they seem to have had this "slots" idea for a while. I get a little bit ill from looking at that syntax though so I think I'll refrain from arguing about the library again!
Thanks for the 5 tip! Hopefully I remember that.

Not clear how to use preview to make a pdf with multiple images. I'm guessing that is something that is easy if you have to do it often? I'd probably reach for html or word. Probably word, first.
Hackers Leak Entire Donor History of Every Campaign on GiveSendGo
I assume it fulfills their ego to know they have the power to affect unwilling others. They might not have a good education, retirement fund, upward career prospects, but they can impose at least this little bit onto the world to offset their broader lack of power.
People cling very hard to the idea that humans (or human "consciousness") are somehow special, and not at all like a computer. It will take a very long time to break this idea.
I've been a long time linux desktop user, recently switched over to macOS after getting fed up from not being able to do many basic "productivity" related tasks, without having to open a terminal, search for a package on google, fiddle with some config, do a rain dance, etc...

Skimming through just the blog post and some of the comments on this thread gives me a bit of a flashback thinking of all of the headaches I've endured __trying__ to get Linux to work for simple stuff like document management, PDF markup, synced notes, calendars, display scaling, general performance things, etc.. This was fun and interesting at first, but after a while there were diminishing returns. Believe me, I really wanted it to work, I love Linux (as a server). It hit me at some point that life is brief, and technology should probably be making my life easier, not more difficult.. So I switched to macOS.

That aside, it is really important for progress on this front so that we don't have a total monopoly, and kudos to anyone working in the space. Fighting the good fight.
P.J. O’Rourke, Conservative Political Satirist, Dies at 74
I've had problems with scrot and drawing selections, so I've been using maim for a while, otherwise: yes, exactly my kit - but for IM's convert I have to search for the syntax every damn time, it really sucks.
Very few people use them for "going off the beaten path" and would faint if you suggested them taking their freshly waxed lift kit truck down a dirt road where gravels flung back might hit their gorgeous paint job lol. Yeah I live in Texas and I know this as a fact. 90% of truck owners in the USA don't need a truck (no I'm not talking about commercial trucks so don't "whatabout" that)
You have backup factors. If you're using USB keys, you always have 2; there is never a reason to buy just one USB security key.
https://pmarsceill.github.io/just-the-docs/

Especially if you're already familiar with Jekyll. Bonus points for being able to deploy on GitHub Pages!
I don't understand how the size of the circles are determined. For example why is the UK with 439 the same size as the UAE with 15 ?
https://web.archive.org/web/20220215153357/https://dkb.io/po...
I don't think we know what the abstraction level of neurons are. It seems reasonable to assume that it's at the level os individual thought processes, but trying to prove that assumption might lead to interesting results.
You drew the same conclusions I did.

The Soviet system is the best example of what happens when the measurement becomes the metric - it produces all sorts of unintended effects, trains of freight being moved hundreds of miles to fulfill a ton-mile quota, ignoring what functionaries in the aparat say, because they dont fit the measurement-metric, etc.

Like you, I don't believe that mass starvation was the point, but it did have the effect of temporarily tamping down nationalism too.

I also found https://www.amazon.com/gp/product/B007CJLZKQ/ quite interesting, as to how it painted stalinist society, and gave me a clearer understanding.

I'm eagerly looking forward to the final part of the biography on stalin.
Yes, then I just think for now they are better of with one of the other two. I think its great what progress is happening on the GUI front, but I won't argue with gp that some things are a little sketchy.

But for those who do have the patience and understanding for the shell and man pages, well they can become more powerful than the other Oses combined!
As far as I've been able to determine, Ukraine wants to join NATO.
Try turning off App Lock in the Ms Auth settings. With this off I can even acknowledge requests from my Garmin watch.

It will disable the ability for Ms Auth is auto fill passwords in Android at least.
OK who let GPT3 write an article again?

This reads like it was written in non-english and then inexpertly translated.
Hello! I use computers too much and decry air travel as massive waste as well as pickups. I've done so for a long time and most of my friends agree, and also use computers a lot.
They killed and re-proprietarized OpenSolaris.
It's just the Knuth quote

"Science is what we understand well enough to explain to a computer. Art is everything else we do."

There is nothing wrong with trying to turn an art into a science. Music just has a bunch of implicit rules that people want to make explicit. Musicians find this frustrating because they aren't interested in understanding music this way. Both perspectives are fine.
> QML is practically electron - it's runtime interpreted declarative UI plus a Javascript engine.

It uses significantly less resources and QML and QtQuick are pretty nice to work with compared to targeting a weird embedded browser with HTML, CSS and JS.
Indeed, there is a lot of room to improve. I managed a cluster that grew from 9 to 40 then to 60 EC2 Servers over 2 years, with all updates and support we could afford.
It was a a nightmare to manage. The amount of cluster rebalancing, magic nodes that claim to be leader and then do not behave like it is amazing. I don't want ever to get back managing it again. Last thing I did (ES7 at the time) was to split the cluster in many smaller clusters, reimplement all counters on relational databases and use as little of ES as possible. As a former colleague used to say: Elasticsearch is MongoDB for people ashamed of using MongoDB. Hope AWS and Elastic tension helps them to do a better job there.
> or did I miss it?

Go to the tool: https://googlecloudcheatsheet.withgoogle.com/architecture

Then click on the "?" box on the bottom right, and then on Documentation.

It takes you to the excalidraw github.
Appearing soon in a post-mortem blog post!
Employers' uphill fight on remote work
I think the issues are the same for the arm64/m1. The cache structures are probably even similar. However, modern CPUs are out of order superscalar and dual ported.

You might look at something like the Arm® Cortex®-A75 Software Optimization Guide for a good picture of the microarchitecture. Unfortunately Apple doesn't put out that kind of information for the m1. The LLVM docs have a little information but the structure isn't that different from an A75 although the latencies are.
Most of the time this is solved by

* requiring code to be assigned by the author to a single person/company, consolidating ownership

* building your entire base on friendly licensed software (3BSD) and ducking any GPL

So it’s very easy to say, for example, that the Mozilla Foundation owns all the code that makes up Firefox - they won’t accept your pull request otherwise.
> Tesla says gas generators “no longer rational”, batteries are smarter, cheaper

And they burn longer.
The question was not "would it be FOSS". The question is whether you can have the benefits of FOSS, or as much of them as possible.

Imagine just as an example, a license for personal software that is exactly the same as GPLv2 except billionaires can't use it. Functionally that has the same benefits as FOSS, even though it's not.
> At that point, Japan didn't care a whole lot about those territories.

They weren’t really in a position to care any more. I’m fairly certain someone at the top was fairly miffed all their hard won gains were quickly disappearing.
Yes, flattening the graph is essential to getting reasonable performance.

A separate (difficult) problem is to keep all the tuple data consistent with the data in your store (often these contain duplicate info).
Clearview AI tells investors it’s seeking expansion beyond law enforcement
My experience has been that basically every time you need to change your Babel/typescript/webpack configuration you have to do it a second time, with a different set of quirks and constraints, for Jest. It's not a blocker but it's a persistent pain
Are those online people vaccinated?
How and why to properly write copyright statements in your code and more
Anders Hejlsberg: Microsoft’s App Dev Star Maker Machinery
you know that responding to comments tends to make a discussion flow, rather than stealing all our work for your own comment, incorporating them without credit? ;-)
Yes, it's difficult to even determine in which _state_ a (US) business is operating now.
If they were dictionary words, or a similarly constrained search space, fed through SHA, this is exactly how it works. The information given after one guess excludes a whole lot of guesses as being possible solutions.

Here, there's 91.7 bits of entropy in what goes into the hash function. Each guess shaves off more than 10 bits of entropy. After 9 guesses, only one password conforming to the generation format will be possible... yes, it will be very (impractically) hard to find this password, but the rest could be done offline to find the 10th value and solve it in 10 guesses.

e.g. Make 9 random guesses.

Then, for each of the 2^92 possible input strings:

1. Hash it.

2. See if the hash matches the things we know about the hash from the previous guesses.
*Fixed that bug.

I adjusted the circle size to try and make some of the smaller ones more visibly, but it had messed up proportions entirely. I reverted back to smaller circles so it doesn't break like that, you'll just have to read the hover text to see the full information.
Ye I wonder what fantastic APIs were actually exposed. I remember some 3rd party screen saver I had. Where like Goofy peeked out of folders and Donald Duck was cleaning up some file mess. I mean, how could you even program that?

I think it was on the real desktop, not some bitmap, but not too sure.
We just make it expensive to plug-in at night for the average joe so they plug-in during the day, at the office etc?

If you’re a courier or something you’re exempt.
If you have 30 reactors, maybe 3 are going down due to maintenance or other random reason. 90% capacity factor.

If wind doesn't blow over Europe, you can have 15% overall capacity factor.
"I dont magic myself a raise because income tax goes up. It works the same for landlords. If supply and demand remains unchanged, prices remain unchanged."

What you're missing is that the market floor get universally pushed up. There's no competition from cheaper places because they all increased their rent to cover the new coat so they can still make their same margin. The demand is still there because people still need a place to live.

"The only change I could forsee to affect either is previously empty properties being put up for rent"

Any numbers on that, or are you just going to keep claiming it's a big enough vacant supply to significantly affect prices?

"They'd really love for that to be how it works and sometimes they pretend it is."

This is still tied to the previous comment. If the number of vacancies are not sufficient, then supply is adequately constrained to just increase the prices to cover costs. Because, again, this increase moves the market floor.
I think you are right. Resources spread too thin is a major reason why intranet applications are hard to secure. I'd argue that if you can't secure a legacy application figure out some way to move to a SaaS and let someone else run it for you.

Only run stuff yourself that you have the resources to secure. It is why I'm bullish on Saas, it is eating the intranet.
I can see several cases where open sourcing your core product will be very helpful to your company at one phase and harmful in another. Whether that’s a big problem in the system is a topic that people will differ on.
A side question: is there anything licensed AGPL that AWS uses? Either AWS releases the code or found a way around the license?
> You could just write a letter saying the person in the pic wasn't you.

In Australia its still your problem. If someone else was borrowing the car you have to get them to admit they were using it at the time. The only way I think you will get off is if you report the car as stolen at the time.
>In 1925, only half of homes in the US had electric lighting. None had air conditioning. Many would have had only steam boilers (which can function without electric pumps) fired by hand-shoveled coal. Most would have had no insulation. In 1940, half of homes had no indoor flush toilets and no hot running water.

This is true but can be a little bit misleading.

You would expect new homes built in 1925 or 1940 to have many more of these amenities than the average. (you can see the flush toilet in the Sears 1914 home).

For context, The average home in the US today was built ~45 years ago.
It's definitely a good paper :)

Denormalization has been around since Date/Codd invented 6NF and relational databases, and then we all realized that most applications have to precompute some joins in order to execute in a performant fashion. In SQL Server we used to call them "materialized views".
I found it to be true, all bikes are virtually silent when I drive. All the road noise is just monotonous hum in the background even with music off.
Sorry but this is one of the least productive and silliest comments I’ve seen on here for a long time…
I use this script to help with selections:

scrot -a $(slop -f '%x,%y,%w,%h')
Massive fan of Secretive myself. Use it for all my SSH keys.
The military-political establishment had spent the past decade or more basically purity-spiralling out anyone seen as insufficiently dedicated to the cause of imperial expansion.

To me, the most striking example of this is what happened to Ishiwara Kanji[1]. This is the guy who gekokujou'd Manchukuo into existence, so not exactly a cautious humanitarian.

Ishiwara later got purged for opposing further expansionism in China: he thought that grabbing Manchukuo had been enough to assure Japan's quest for autarky in vital military materials, and that continued messing around in China would accelerate confrontation with the West and act as a resource drain on Japan's ability to shape itself into a militarily self-sufficient state. He was totally right, of course, but got it in the neck anyway.

There's a lot more examples of this, both in the military branches and in elite political circles. I highly recommend the scholarly book Japan Prepares For Total War[2] if you're interested in the details. The result, though, was that many voices of reason were explicitly removed from power for being too reasonable. At this point in the war, the cast of characters running the show weren't able or willing to see sense and had insulated themselves from all advice and criticism.

---

[1] https://en.wikipedia.org/wiki/Kanji_Ishiwara

[2] https://books.google.com/books/about/Japan_Prepares_for_Tota...
Why don't they just make the whole plane out of the same material as the black box?
The conditions the Japanese Supreme Council was looking so desperately for were:

1. The form of the Japanese government remains unchanged. (I.e. the Emperor is guaranteed to remain emperor. This was not agreed to, but it did work out that way.)

2. Japan was not to be occupied.

3. Japan would be responsible for demobilizing its own forces.

4. Japan would be responsible for investigations and trials of war crimes.

You comfortable with those?
Feels kinda emblematic of Google’s lack of investment in Draw that its not the basis for this.
It certainly obscures and overwrites. When you replace "fdp.exe" by "exe.pdf", you're obscuring and overwriting the leading "f" by "e", then the "d" by "x" and so on.
I literally just submitted a ticket to an Azure SDK because every API call was taking on the order of 100s of milliseconds.

This is because they were sequentially trying things in a loop and using exceptions for flow control.

If you use an APM, the overhead of this is monstrous.

This particular function is called in every authenticated Azure call by default. Using any such API turns the debug output into a wall of spurious errors scrolling past like the Matrix.

To top it off, they use asynchronous code in a sequential style, so the latency is strictly worse than naive synchronous code. This is a for a bunch of back to back HTTP API calls.

They closed the ticket with a “this is what the style guide says to do” and now millions of customers have to just live with this.

If you ever wondered why nothing takes less than a second in Azure, it’s just a handful of reasons like this.

An easy fix to reduce API response times from seconds to milliseconds… rejected.
> You said that it was possible to predict when Japan will surrender.

Could you maybe point out what exactly in my post makes you belief that?

What I said is that a survey by/for the US government itself came to the conclusion that the atomic bombs were not necessary to effect a surrender in 1945, NOR a ground invasion.
Fair enough. Since we’re on HN I’m also curious about your business model. How will this startup eventually make money? It sounds like the idea is to publish Godot games from members in the community?
Wow, thanks, turns out bitsavers has firmware and information about a thin client terminal I recently was tinkering with. Neato! Actually want to contact the owner as, in the photos, the serial number of their device is 2 digits off from mine, interestingly!
I'd imagine you're an outlier on HN by using Pinboard. It seems to get a lot of hate here since it ranks so highly on Google search and the results are mostly garbage.
The Last Transmission
So, nuclear bombing was used to end the war and save lives, but these lives were unnecessary. :-/
Amen. Engineers like to tinker.

From installing custom ROM on their phones, to deciding which JavaScript router to use along with other 99 packages to run a blog.

We’ve all been there.

But sometimes the time comes, where you just want to be as productive as possible or focus on other things.

And that’s when things like Ruby on Rails or iPhone start look interesting. They just work, and let you focus on creating value, rather than feeding your inner pedantic tinkerer.
Why? They're all enterprise software companies. They participate in open source to greater or lesser degrees. They seem absolutely part of the same category. This isn't either positive or negative commentary but just observation of what they do as businesses.
Charter schools are private and per child offer no education advantages over public school. There are -plenty- public schools that achieve better results. The idea that there is something inherently wrong with public education is a myth pursued by the elite (read top 0.1%) to persuade the general public to do away with the public education system so that only private schools will exist and they can prevent the public from becoming too educated and questioning the status quo and with the added advantage of lowering their tax bills.
Or maybe Unicode shouldn't include this crap in the first place?

If you "sanitize" Unicode you're just removing that functionality. Remove that character, and the right to left reversal wont' be there, right?

If you have to break it in the name of security and sanity, it shouldn't exist in the first place.
In Australia, rich people have their cars registered to companies so they are not responsible for the demerit points.

If the only punishment is a fine then it's only a rule for poor people.

edit: Just googled and they may have closed that loophole, I have no idea if any of it is actually enforced though. My point about fines only affecting poor people still stands.
Ask HN: Who takes the decision about buying a SaaS product in small companies?
We're a bootstrapped SaaS startup that helps you go from code to cloud in a few simple steps (you can use our platform or your own cloud platform).
As we are a team of developers with ZERO marketing experience, we don't know who should we reach out to in a company to sell the product.
Is targeting the tech-leads and senior developers a good idea? We know they most likely are not the people who take the decision but they understand the best what we do and the huge value they get from the product.
If you're interested in a shell that allows to trim a string without decoding the following:

trim_string() {
# Usage: trim_string " example string "
: "${1#"${1%%[![:space:]]*}"}"
: "${_%"${_##*[![:space:]]}"}"
printf '%s\n' "$_"
}

You may be interested in Elvish (https://elv.sh), which simply has a builtin function for trimming strings: https://elv.sh/ref/str.html#str:trim-space
Yes, denying bail was always an option. Bail is non-sensical. Either their alleged crime is severe enough to allow them to be free before sentencing or it's not. Money doesn't need to be involved.
92 bits of entropy, and the first guess peels off about 14 bits of it. Subsequent guesses a little less.

The annoying thing is, you still have to search that whole space to find the password.

But after 9 guesses, you can solve offline for the character string... it's just very expensive.
Agree.

Some red light camera enforcement have proven to be schemes to generate revenue. Yellow light duration was shortened. Camera vendors have a revenue incentive to maximize the number of tickets, so they aren’t impartial and make pretty bad umpires.
> Why is is so freaking hard to install an app on Linux (Ubuntu)? There's nothing in the software center

If I may also be opinionated… :)

IMO Ubuntu is not very good at curating their repo and presenting it in their Software centre.

GNOME Software is designed to only show graphical desktop apps that include enough metadata. Ubuntu modifies their version of Software to also show non-graphical apps, (including anything packaged as a Snap).

Fedora doesn't make this modification and as a result, Software has less stuff, but a greater wheat to chaff ratio.

Fedora's repos are almost as full of stuff as Ubuntu's, and that's still available through the command line for those who want it; but the more-prominent user experience is less frustrating.

Ubuntu is catering for IoT developers who want to use technical Snaps easily, which is fair enough, but not my use-case. Fedora is catering for a more general-purpose workstation OS, which is my use-case.

> I want a file I can double-click and end up with a launchable icon representing that app in my dock later. I would also like to be able to update that app easily in the future.

A .flatpakref file and GNOME Software does that. This works on pretty much every distro except Ubuntu :) because Ubuntu's modified version of Software doesn't include flatpak support.

In Fedora, I can open a .flatpakref file, which opens Software showing the app's details; I click Install; I have a launcher in the app grid. Software updates the app automatically in the background (unless I switch that off in its preferences).

I'm not saying that Ubuntu is bad here! I'm saying it's coffee; Fedora is tea; I prefer tea, and maybe you would too :)
I'm so glad you mentioned Padua's art and book. Her book ("The Thrilling Adventures of Lovelace and Babbage") was just a joy to read. The footnotes are magnificent, and span multiple pages, and it was just altogether entertaining as heck. The artwork is great as well. :)
This is awesome! thanks for sharing
The Dark Side of Saying Work Is ‘Like a Family’