skysight-inc/HackerNews huggingface dataset:
I'm not a programmer, but I switched to hand-coding my personal website a few years ago and started using BBEdit more and more. The text filters, multifile search-and-replace, and clearly written manual have been especially helpful. The program is a pleasure to use.
I am a highlight reader. Going through this thread, I thought it would be nice to automate it, as it's a triple-click to highlight a paragraph in safari.

What if instead, it was just on hover? I'd like to opt into this for just pages with long text, and so I created a bookmarklet.

Using this page:

https://mcdlr.com/css-inject/

I added this naive css:

p:hover {
background-color: Highlight;
}

It works ok, if any fellow highlight readers want to give it a try, but does anyone with any sort of css-fu know how to make it more robust? I tried adding other tag:hovers, but nesting quickly makes this weird. Is there a way to select parents of text nodes?
The people who do the visual analysis of the losses put a lot of effort into making sure they don’t count duplicates. The tanks despite being the same have some differences between them because they have been upgraded with differently. Russia also fields different variants then Ukraine.

You can also generally tell from the markings on the side of the tank who it belongs to.

A large number of the confirmed tank loses are likely from videos of the two forces attacking each other which makes identification quite easy.
In case you haven't tried it and want to: I read PDFs on my Kobo with KOReader (hosted on GitHub). The Mobile Read forums have instructions.
The barrier to reading science papers (or anything in columns) is high for me because the text is both small and washed out, but reading The Declaration of Independence (from Feedbooks) is okay (anything not in columns, so far) as is an a collection of poems for children. So far I mostly read epubs because the text can be easily changed.
i think tab would prompt you choices to enter next. possibly configurable. iirc this was all in a module that wasn't necessarily installed if your site couldn't spare the extra Ks of diskspace :)
Were you not burned by the many iterations of Windows Live Movie Maker? It was a 16-year product. https://en.m.wikipedia.org/wiki/Windows_Movie_Maker

Here’s Microsoft’s Windows blog post about ClipChamp, their latest attempt: https://blogs.windows.com/windows-insider/2022/03/09/announc...
> macOS has a weird snapping implementation where you need to click and hold the green “zoom” button, then choose to “tile” left or right. But, once you pick another window to fill the other half, both of those windows (together as one) move to their own virtual desktop. I want them split on my current desktop, not on a separate desktop.

This functionality is actually built into macOS by default, though it’s not very discoverable. The Tile Window to Left/Right of Screen options (which can also be found in the Window menu in the menu bar) change to Move Window to Left/Right of Screen when you are holding ⌥, which will move and resize the windows as desired without entering full screen. (For windows whose minimum width exceeds half the screen width, the left edge will be aligned properly while the right edge will overflow into the other half of the screen or off the edge of the screen respectively).

> Also, unlike Windows or Linux, you can’t “maximize” a window using the green “zoom” button, it will only make the current window fullscreen (and again, on its own desktop). Confusingly, you need to again click and hold the green “zoom” button, then choose “Zoom”. Apple calls the green button “zoom” in their documentation, but its default function is fullscreen, not zoom.…For all the Apple fanboys screaming “There’s an app for that!”, I hear you, but remember, this is a work machine and I need to get everything I install blessed by IT security.

While it is unfortunate that Apple doesn’t provide any shortcuts for these features, you can set them up yourself without any extra software via  > System Preferences > Keyboard > Shortcuts > App Shortcuts. I have the following “missing” shortcuts set up, kind of like the tiling shortcuts on Windows but with more modifier keys.

Move Window to Left of Screen: ⌃⌥⌘←

Move Window to Right of Screen: ⌃⌥⌘→

Zoom: ⌃⌥⌘↑

Tile Window to Left of Screen: ⌃⌘←

Tile Window to Right of Screen: ⌃⌘→

Enter Full Screen: ⌃⌘↑
there are services specifically for static site hosting. I'd let them do the gritty devops work personally.

Netlify, Amplify, Cloudflare Pages, etc.
Age of Empires IV Players Eligible for UArizona Credit Through History Dept
Any idea what makes Heaps / Haxe generate HTML5 games that are faster to load?
Very impressive. I'm left wondering whether DALL-E 2 could be used to generate furry erotica, among other things.
It does use electron. The source code is available on github.

https://github.com/mullvad/mullvadvpn-app
That's true for income tax as well
Hey, I'm the submitter. Please accept my apologies! I submitted this but did not understand the difference between Hugging Face the hosting platform and their own work/contributions.

I truly didn't intend to miscredit. I reached out to the HN admins over email to ask them to rename the submission.

Sorry again!
According to Google, the Pi Foundation explicitly does not call itself or the Pi a "open platform". The only hits are from the forum, where people are pointing out that it isn't.
That’s an interesting take on the remake I hadn’t considered before. But as someone without an artsy bone in my body, I wish something other than superhero movies could be made
It's steel, it will rust. No one would want to spend the huge increase in cost for a fully stainless steel car. DeLorean tried!
No I am not. Breaking classical physics is not breaking physics.
There's a Element group on Facebook where people post ones for sale.

The admins insist on pics from every angle and ton of details so there's nothing sketchy. Of course high miles are the norm because the last model year was 10 years ago.
I don't think them putting it out is an attempt to compete with anything, they're just putting it out to put it out.

If they are then I totally agree.
> I got the impression there were lots of bright engineers that wanted fb pay without having to touch fb products.

I chose a job at Google Engprod (a tooling/developer productivity org) because I specifically like to work on dev tooling and I'm much less interested in working on products aimed at end users. Surely, many engineers at FB feel the same way.
netlify, amplify, cloudflare pages, vercel, et cetera

It's a crowded field now
I have a VW Transporter that started life as a taxi cab. 9 seater, rubberized floor. I put a longer 5th gear in it and removed the LNG system (ridiculous taxes otherwise), it's pretty economic and can haul a ton of stuff. The whole neighborhood here uses it :)

It being an ex taxi bi-fuel I bought it super cheap with low mileage.
Graphql is great. With Jest, that project feels a little abandoned because the Typescript support (ts-jest) is pretty janky and has bad performance. Meanwhile in the ecosystem in 2022, it's becoming the norm to have first-class Typescript support.
Possibilities

1. They store your plaintext password and then compare to_upper() of your stored password against what you enter on the virtual keyboard (which only supports uppercase letters).

2. They to_upper() your initial password, before they salt/hash, and test the salted hash against the salted hash of whatever you type on the virtual keyboard

3. Either one of the above but with an additional to_upper() on the password you enter at login so that if you do manage to type the password using your keyboard instead of the virtual keyboard it's still case insensitive.
> I feel uncomfortable interacting with people of lower social classes. I don't care what they think about me. I just feel bad that they might lack respect or comfort in their work, or that their general life position may be unpleasant.

Just so you know, starting at say $80K for family income there's no difference in happiness between the lowest and highest ends of the income scale. Do you think Will Smith is happier than you?

Also watch any of Mike Rowe's shows, namely "Dirty Jobs", and tell me that these people are less happy with their jobs than you.
Twilio as well
“Not a whole heck of a lot” but at virtually zero risk. This is for the portion of your portfolio that you don’t risk at all.
Sounds nice. Really.

But I also read the headlines. If you're post war, and your neighbor isn't, and you're not going to fight, and his people are... that doesn't end well for you.

You say your guy is a warlord who taxes you at the point of a gun and threatens your freedom? Yeah, the other guy is going to kill some of you, and then tax you at the point of a gun and threaten your freedom. Maybe more so than your current guy.

And maybe you had some say in picking your current guy, and you won't after you've been invaded.

So, in the ideal world, yes, you're right. But this is not the ideal world.
It crashed Chrome right after I hit "submit" on the purchase. Nice!

After logging in again and seeing $0.00 everywhere, I found a transaction list showing that a purchase request went through. Hopefully the amounts will update tomorrow!
Apologies in advance for the rant:

> the Lightning connector

Lightning is the better-engineered physical connector. Quite-heavy phones can be held up on a charging cradle with 100% of the load placed on the Lightning connector, while this would destroy a USB-C connector. A Lightning jack is a solid piece of aluminum, plus two plastic bits on either side with wires running up them. It's simple and robust. The socket is equally simple.

USB-C — all of the USBs, really — give unneeded opportunity to catch debris inside the connectors and then force said debris into the slots, gumming it up. Lightning avoids this; the jack is designed to be completely flat+smooth+convex, so no debris collects on/in it.

The only reason USB-C doesn't just use a Lightning connector is spite. IIRC, Apple offered the USB Forum the Lightning connector patents if they wanted them, but they refused. Instead, the USB Forum copied what they considered the desirable features of Lightning — e.g. reversibility; but implemented them worse (with non-mirrored sense pins requiring USB PHYs to understand orientation); and then sought extra trouble trying to solve problems that people provably hadn't been having with Lightning (e.g. re-adding a shroud for the pins — presumably to protect from scratches/rust — when nobody has ever had a Lightning cable fail for this reason; where this design choice increased the failure rate of USB-C sockets. The cables are supposed to have the sacrificial side of the connection!)
OK I'm sorry I just went back to my Mac and found that my previous comment was incorrect, but the main problem (no way to select a line) still exist.

The issue happens on web (and on web based UIs such as Electron apps) outside of text input fields or textareas.

This is how to reproduce:

1. first we doble click on the first word of the line, to create a selection

2. At this point we expect that Cmd-shift-rightarrow will expand the selection to the rest of the line. But it doesn't because this key combination only works inside a text input or textarea. In every other desktop OS I can do shift-End at this point, and select the rest of the line.

3. option-shift arrow does work, but selects one word at a time so it is cumbersome to use

4. I had been told that I could use fn-shift-arrow in this case, but that selects all text until the end of the page (that's the one I was thinking about in my previous comment)

I just tried and reproduced the issue in Chrome and Safari.
teenagers even less so. He's _twenty one_ and has been running the site since he was thirteen years old.
The Exposure Notification API was released in April 2020 or, in other words, at the point where 99.5 % of US deaths had not yet happened. That strikes me as rather early in this pandemic. The feature also strikes me as the most significant of those I can think of, by a healthy margin.
When I called in to reset my password last year, they read the answers to my security questions back to me…
They do not advertise that (at least not in North America) - the carpet will get ruined.
Sounds like what Canada Revenue Agency has up now as well, their 2FA setup gives you a 5x5 grid of random 3-letter combos, and when logging in they'll ask you for a specific three of them.

Honestly it's a PITA (I need to keep said PDF vaguely handy, and it's stored less securely than in my password manager).
TLDR: Rice husks are a source of SiO2. After burning off other organics, processing is same as for SiO2. Not that exciting since…sand (SiO2) is freely available.
Facebook/Meta’s dev tooling, libraries, and infrastructure has always impressed me. React, Hack, jest, and now this. I am very surprised they haven’t tried to monetize this aspect of their business like Microsoft and Amazon did.

They could be a very strong contender in that space instead of being known as a terrible time suck for humanity.
actually used Mizu to quickly validate I dont have Spring4Shell in my dev/pre-prod, super cool product!
But on the contrary.. many of the things well-built for the majority of 'non-programmer end users' are not the way I (as a 'programmer end user', whether the particular thing is a programming-adjacent tool or not) would ideally like them to be.

So I'd selfishly adjust it to 'solve other problems for the same users'! Asahi, for example, awesome stuff - I've lost count how many times I've had to explain (to both colleagues and non-engineer family/friends/etc.) 'no no, absolutely agree, love Mac hardware [...]'.
They're the same thing. There's no separate Apple Watch app. This iOS app just has an Apple Watch app component that can be installed on the watch if you have one. So the reviews include both. (I think this is true in general and every Watch app is also an iOS app. You can't even setup an Apple Watch without having an iphone to pair it with.)
don't want people to get it confused with the other raidforums which is represented by a very chastely dressed anime girl
I use them too. Sometimes I like to have some repos with the static content, which get deployed by a CD tool to those services. It's common for me when debugging or testing locally in my PC or LAN, to include some docker build for those repos which I don't use at production time, but I used it locally. Maybe is not a big problem at all, but I use it that way, specially when in my projects the CND used is not a free one. Makes sense?
They don't need to walk a fine line. They decided to make a walled garden, but they do a terrible job of moderating it such that there are way too many of both false positives and false negatives.
Trenchbroom-a level editor for brush based games
It is not a contradiction as I meant "achieving" in the context of creating it (through software).

The fact it happened to us is undeniable (from our perspective), but the how/why of it is still one of the many mysteries of the universe - one we will likely never solve.
I don't think the Go developers wanted to implement generics, but it was something they took a lot of heat for, and so while they relented and implemented the feature, they want to use their position to suggest "best practices" to limit their use.
FWIW, daily deaths in the US are currently at exactly the level it was in the month mentioned above, March of 2020.
It sounds like it's not adding anything on the path, that's just another process sniffing the interface. If that process doesn't read fast enough, I assume it will miss packets but not slow things down.
It's interesting to know that this is happening. It makes perfect sense given the shift in peoples' listening habits and the economic incentives for the streaming companies - but it's just not something I had ever considered before.

But I don't necessarily see it as a "problem", and especially not anything new in the world of music (although maybe the scale on which it is happening now is new). Collections of background music have always been recorded by artists whose name you wouldn't recognize. You won't any recordings by the Berlin Philharmonic on your mom's "Classical Music for Relaxation" CD that she listens to on repeat in the car. But the recordings are good enough that they keep the listener happy, and using "no name" artists helps keep prices down.

Everybody wins - except music elitists out there who don't think your musical tastes are refined enough.
Ask HN: How to deal with burnout?
Hi everyone. Just wanted to ask how you guys deal with programming burnout over time.

Dealing with abstract design and diagrams doesn't bother me, but physically writing code feels horrible. I feel like the more I do it, the less confident I feel about it.

It's weird because a year ago I felt the opposite.

For anyone who's felt this way or similar to this: does it go away? How did you handle it?
The Element is actually kind of interesting because you would think it and the similarly boxy Scion xB would have been popular cars for young folks. They're utilitarian and oozed hip marketing directly at active younger kids--load it up with mountain bikes, camping gear, etc. and go have fun.

But in reality these cars were incredibly popular with senior citizens and older folks. It turns out they had amazing visibility with the boxy upright design and seniors felt safer driving them, plus they were spacious inside and easy to enter and exit. The marketing was kind of misplaced and younger folks didn't care for them at all.
Thanks for this critique. I have limited ability to edit the post, but will try to answer these here.

> Authorization server, roll your own, run your own (like Ory Hydra), or use third-party (like Azure AD)?

If by 'roll your own' you mean 'use an open source library like Python's OAuthLib', all three of these are valid options. Really hard to give general guidance because it depends on the complexity of your application environment (1 app in rails? 10 apps with mix of custom and COTS?) and operational maturity (do you want to run your own server for compliance or control reasons? do you have the skills to do so?).

> Tokens, if you can choose, should you go with opaque tokens, JWT or something else? What about token lifetimes?

"if you can choose" is an important clause here. Many times it'll be dictated by the Authorization server you choose. All other things being equal I'd lean toward JWTs because of their widespread support, but I know others have other opinions.

Re: token lifetimes, this is something you need to threat model out (what happens if a token is stolen?). Generally recommend seconds to minutes for access tokens and longer lived refresh tokens. Also whether you should use token binding or can live with bearer tokens.

> When you get a token from a client, how do you validate that the token is valid?

That will be discussed in part 2 of this series, but in general you should validate the signature (if it is a signed token, often a JWT) or use introspection to ask the Authorization server if it is valid. Then you should validate the claims.

There is definitely more, but thanks for the feedback!
> Renmin University of China

This is an interesting choice of English name. You don't often hear about the Renmin Republic of China.
Take Lapsus$ Teens Seriously
I don't keep in regular contact with people from high school these days, but from what I've heard, I wouldn't be surprised if 1 to 2% of my graduating class has already died from suicide or accidents alone.
>Here one human is accusing another human...

And one can presume you disagree with them.

The evidence supporting their position is convincing, you may now present your evidence to the contrary, and I'll determine whose position between the two of you is more tenable given the evidence.

You see, raising questions does not add to any position in particular -- if you have questions, feel free to find the answers, and hopefully they will be ones which make your case more convincing than the case you are arguing against.

>Perhaps you cannot...

I think it is a bit primitive to make assumptions about what I can or cannot do. Perhaps I address these ideas better than you can comprehend, and you just _PERCEIVE_ it to be biting satire that cuts any hypothetical similarly-structured dissembling to the bone
Laddering it in such a way would require many years, and I doubt the rates will stay this attractive for very long.
I currently have an '06 and would love to upgrade to an '07 or later.

Except the cult following (of which I am a member) and current used car prices means I'll be driving it for the foreseeable future.
From Namecheap's article on EV certs:

> [Criterion 2] Physical existence

> To check the organization's physical existence and business presence, the Certificate Authority must verify that the physical address provided by the Applicant is an address where the organization conducts business operations (not a mail drop, P.O. box or an address for an agent of the Organization). This address will be included into the body of the SSL certificate after verification.

That effectively translates to "there should be an address that criminal investigators can be sent to find and detain employees of the company."

> [Criterion 4] Operational existence

> To make sure that an organization is financially active and engaged in business activities, the Certificate Authority must verify that at least one of the following requirements is met:

> The Organization has been in existence for at least three years

> The Organization is registered in the Dun & Bradstreet database or Qualified Government Tax database

> The Organization has an active demand deposit account which can be proved by a bank statement.

That effectively translates to "you can't just make up an LLC and immediately get an EV cert for it, even if you do tell them your house is the headquarters. You'd have to put a good amount of time and effort into simulating a real business. So much that, if this were a spoofing attempt, you'd be noticed as in breach of trademark by the company you're trying to spoof, long before you got away with it."

> Professional Opinion Letter

> If you need to obtain an EV certificate urgently or prefer keeping the company details confidential, it is possible to send a professional opinion letter signed by a Lawyer, Public Notary or Certified Public Accountant. The person who signed the legal opinion or accountant letter should have a valid license within the country where the organization is registered or the country where the organization maintains an office or a physical facility. To expedite the validation process, we highly recommend requesting a Professional Opinion from a person who speaks English so that he or she can confirm the signature during phone verification with a Comodo (now Sectigo CA) validation agent.

And this, finally, translates to "you can mask your identity, but only behind someone who's notoriously signed a Code of Ethics that requires them to surrender your identity to criminal investigators when asked, without needing a subpoena."
Where's the mystery? There are millions of Justin Bieber fans out there who obsessively post memes about him. Is it so "mysterious" if a small number of people are obsessively propping up Putin?
LOL, my current favorite is the one where our site session dies once the Dev Tools are opened in IE11 (but only on Windows 10). It makes debugging a serious pain.

(Yes, we’re still supporting it for some reason)
Discovering basic blocks in Python bytecode