skysight-inc/HackerNews huggingface dataset:
I get it. And I don't disagree, per se. I confess to writing way too many baroque shell scripts that should have been Python or some such, and a couple of mission-critical awk scripts that were way longer and outside the appropriate use case than they should have been. You can really go down a rabbit hole there.

But haters (kidding) should really understand what they can do with a couple of hundred characters of sed, awk, perl, etc. before they discount them. And if it's "not really possible in a simple way", that's pretty much a good indication that they need to do it in Python, Ruby, etc. It's not either-or, black-or-white.

But
Looks pretty promising actually :)
Yet there's this alternate universe where there are laws against facilitating a crime, receiving stolen property, etc. I'm not saying that sort of thing applies to Amazon, just saying isn't it weird that it doesn't?
I read the title and thought the article was about (clang-format's performance) on a (program simulating military tanks)... Apparently you meant "tanks" as a verb...
Using software such as QMK you can program these custom boards to do anything. To answer your question all keys are accessible by turning whichever key you like into a modifier when held down so you can access another layer.

It's not that bad when you realize through your entire life you do the same thing with SHIFT to capitalize letters for example. All of these small boards are just an extension of that concept.
It's been way too long now, but thanks for the tip. We called insurance and the doctor's office several times each to no avail. Insurance's answer was that we should sit in the exam room with an insurance representative on the phone to ask where each vial of blood is going and what for, then relay that to the insurance representative to give a verdict.
I got in a conversation with my brother in law's uncle a few years back, and found out he spent a lot of time "back when" working out how to de-orbit the old Skylab station. Calculating drag based on how it was oriented (and how to orient it) to encourage de-orbiting just so. Still kind of amazing to think about how he did that. It's like trying to line up just the right bowling ball shot on a 1000' long lane. Remotely.
Can we actually distinguish black holes with a singularity in the middle from more mundane extremely dense objects, e.g. quark degenerate matter?
Including the town housing the telescope: https://greenbankobservatory.org/the-land-where-the-internet...
Make things as simple as possible but no simpler!

Personally I type two ways:

1) engaged. I type with my fingers on the home row. This is for when I'm actively involved and typing / editing.

2) casual. For navigating. I usually do it with my fingers on the arrow keys, sometimes hitting page up/down. I don't use my other hand. My typing will not be used for input. Sometimes I use the mouse / mousewheel.

The 40% keyboard fails #2
I found most of the comment fine except for the part

...brothers and sisters

which feels like it was designed to evoke some emotion/strong response.
I assume most of us would prefer them (brothers and sisters) be there, tucked away from the vicinity of family members?
Justice Department to Terminate Longstanding Legal Rules for Movie Distribution
I just hooked up my Alt with Clear this morning (previous daskeyboard). I miss the mx brown but I like how close the mouse is to the board and the reduction in reaching for the other keys.
Having come from several years of split keyboards my main switching complaint was the switch and key quality was really bad. So this 40% is a positive step I hope catches on.
I think it really comes down to the kinds of games you play, and the way you like to play them.

If you tend towards single-player, story-based games, like Red Dead etc., then maybe playing through it once and moving on is enough for you. Then again, maybe you'll want to come back to it in 3, 4, 5 years, and hopefully you'll be able to with Stadia, but with a disc/download you definitely should be able to.

On the other hand, if you play multiplayer, "live-service" games, as many are pushing to be these days, then you're already at the mercy of the dev/publisher to keep supporting the game so you can play it in the future. In that case, it become a question of who will give up support first, Google or the developer?

In either case, I think the Xbox Pass-style "all-you-can-eat" model is a better solution. No big, upfront cost for any single game, and you can still go back to something older, as long as it remains supported.
My point about marketing to patients is that patients see the ad, think "that might be something I need", and go ask their physicians. Then the physician can look into it more thoroughly.

With regard to patients searching their symptoms regularly, it is my understanding from the physicians and clinical trial folks that you would be in the incredibly small minority, but it's a good idea.
Ask HN: Have you overcome long-term unemployment, depression, addiction? How?
Perhaps everyone has some amount of tyranny or injustice in their life and I went through mine; and on the other side of it I've ended up with years of near-unemployment and daily compulsive behaviors which treat my depression, anger. These include: extremely long video game sessions, drinking, phone and web addiction, gambling, wake therapy, pornography and masturbation, and compulsive travelling.

I'm not sure how to manage myself at the moment. My ability to apply myself productively diminished after my traumatic experiences, and it continues to diminish in a negative feedback cycle of the above coping mechanisms.

In other words, I have little gumption at the moment. All my enthusiasm is tied up in escaping my negative traumas and giving myself a pleasurable existence. When I try to get myself to send a resume or study a new skill, all of my traumatic experiences seem to surface and overwhelm me.

If you have been through something similar, what changes did you make which helped you?

By the way I have seen a professional therapist and psychiatrist before. Unfortunately, these were not really productive experiences, and I've come to be inclined to think these suggestions might be helpful but might also be a little bit canned.

I care deeply about necessary virtue in the world, but I don't care about taking care of myself anymore. This has led me to being primed for constant stimulation, therapies and I'm struggling to get back into a pattern of productively applying myself. Have you been through something similar?
> An SSH gateway provides controlled access to the remote system.

Honest question. Are there any good examples of SSH gateways that can allow SSH login but prevent SCP? I googled but nothing good came up. Any commercial product or open source project names that I can search for?
That reordering is simply a feature of clang-format. Some coding standards require sorting includes alphabetically, possibly to avoid dupes and to make all include usage identical between source files.
> Being blocked by someone you never heard of is a common experience online, as is the recognition that they likely have no idea that they are blocking you.

What is this talking about? I've never experienced that (I don't think).

It sounds like people share adblock-style blocklists of social media accounts?
Apropos username.
Quantum information science seems like something that will take many many years before it amounts to something.

I remember reading that a quantum revolution in computing was just around the corner 12 years (in 2007), and only a month ago has any sort of "breakthrough" happened (referring to Google's "quantum supremacy/breakthrough[0]").

Considering this glacial track record, I'm very skeptical.

[0] https://www.vox.com/recode/2019/10/29/20937930/google-quantu...
I don't think you can beat pen and paper. It's cheap, portable, it's easier to remember what you write vs digital input and it's easy to access. Given that, I think it can be improved.

I've used OneNote before and it's great at organizing note so I've started to take photos of my notes and organizing them in OneNote. In theory, it can OCR them but it's really wishful thinking given my handwriting.

I suspect that my notebooks will outlast my OneNote notes but only time will tell.
Not sure, but it works by storing files on the remote server under ~/.vscode, and this is where all the normal code files are stored. When you connect to a remote system it loads these files over ssh.
Unless they can touch-type and move the mouse over to the right?
im just amazed that Jared Lanier has found new-founded relevance.

the first i read of him was ~1988 or so in Mondo 2000....

Now he is popping up all over...
clearly the rooms were designed for a reason. We could have used one when I was in school I remember a case where a kid flipped out and destroyed the nurses room. Can we now talk about why there are mentally ill people everywhere I look.
"After my clearance was granted, I moved into the main drafting room with about sixty other draftsmen, designers, and lofts men. (A loftsman develops full scale patterns, or drawings, of complex shapes.)"

What does "develop full scale patterns, or drawings, of complex shapes" mean in the context that this is different from drawing blueprints like the draftsmen?
A disagree with your conclusion that the slowness doesn't matter. If it doesn't matter to anybody then why does the optimized version even exist?

IMO this is a library bug. <algorithm> shouldn't be limping toupper or anything else.
>I find it _much_ more likely that shoehorning `verb(noun1, ...)` to accept `noun2` will result in sub-optimal design than factoring out an interface (`verb(...)`) that both `noun1` and `noun2` will implement.

I am not talking about the case you describe above. Get rid of Union types, that is a whole different thing. I am talking about a function that does not need to be shoe horned that can obviously be used for members of both noun1 and noun2 but due to a design decision the function is tied to noun1.

Let me give you a concrete example that is trivial. The example is so trivial that it probably won't happen in the real world but you can see how for concepts that are more complex it can happen all the time.

Imagine I have an app with a class in it called SortedListOfPeople. It would make sense to put a sort method on this class. Now imagine that this app runs for a bit then you add a feature which involves a class called GroupOfCats. The feature is very far away from and completely different from SortedListOfPeople. Then one day you get the task to turn GroupOfCats into SortedGroupOfCats.

Suddenly you got a problem. How do you re-use the code from sorted list of people without the sorted list of people? How do you use it with a different context at all? Not being able to reuse code is NOT a semantic problem. It is an intrinsic design problem.

Your genius solution above (Note how I call your solution genius instead of straw-man) is two implementations of the same concept. This is obviously more genius than one function.

Sortable types is an obvious example, but think about how often this problem occurs in OOP for more complicated concepts. You end up implementing things multiple times all over the place.

If the sort function was a stateless function operating on a sortable interface parameter you would not have this problem. The only thing you need to implement for GroupOfCats is to give it a sortable interface rather than reimplement sort for everything that needs to be sorted.

Actually if you think really hard about OOP and the sort function. How would you make a generic sort function that can be reused across all contexts while following the rules of OOP? You cannot use static classes and the function cannot take parameters... as that would imply a stateless function. The sort function must operate on the classes own state. How can you then share the sort method across two or more classes in OOP?

The answer is inheritance. Put the sort method in the base class. How would you share the sort function with classes that already have ancestors? Multiple inheritance. Too bad everybody hates these two concepts so they resort to garbage syntax that basically turns the class into a namespace so they can start using functions as if they weren't tied to some intrinsic state.
I think the topic of cringe is a interesting one that the internet really amplifies but I can't for the life of me figure out what he's trying to say in this post
Can we talk about how bad that lockout hasp graphic is? It looks like a drunk person broke the last crayon drawing it and just decided to have Inkscape run a trace on what they had.
They make clip on lockouts for residential breakers.

https://www.amazon.com/dp/B004J173I8/ref=twister_B007NAGJJG?...

Personally, I just lock the panel.

If your panel can't be locked a big piece of masking tape across the door, holding it shut, with "NOPE. call <you>" written with a sharpie should do the job. :)

FWIW, the first photograph in that WP article with the tagged panel is one of mine... from close to 15 years ago.
If you’re married and own property together, it’s stupid to not know the others financial state.
There was an effort to do something like what you’re describing some years back. I think I heard about a volunteer effort to build something like this around the time of gamergate.
DuckDuckGo Smarter Encryption
Nice article. Well written and with just enough detail.

I am curious though if the team also had equity in the company?
I found San Francisco to be very walkable, with good (not great) transit. I lived there for over 15 years without a car. I commuted for 5 years from Russian Hill to what is now Mission Bay -- walked 10 minutes to catch the 30/45 bus which dropped me off a few blocks from work. I could walk it in about 45 minutes.

When I lived in the Sunset, I took the train, and that was worse than the bus - overcrowded trains meant that they sometimes skipped stops. So I usually biked instead.

The city is just not that big, most places are within walking distance if you're not going to/from far-flung areas of the city -- you can walk from the Marina to the Financial District in under an hour. (but the 30X made it a tolerable commute, usually under 30 minutes)
Indeed, because semantically there is a syntactically implicit scope for every let binding. For example, in that case, the outer a is dropped after the inner a, just as if the second a had been inside of a block. There may be multiple syntactic ways to introduce a new scope.
Just read the news, that's impressive. Wondering what service they'll become.

Reading NHK news, I also understand that on the 18th, Yahoo and Line decided to finance a new HR company that'll manage both 50 million yahoo users and 82 million Line users from October 2020.

https://www3.nhk.or.jp/news/easy/k10012181221000/k1001218122...
I think I've seen one or two reviews from people that have actually tried it and say they noticed latency/lag, with dozens of reviews from people who haven't tried it saying that would probably be the case. The other reviews so far (that I've seen, I guess) have all been from people effectively saying they might not even realize they were streaming from the cloud if they didn't know otherwise.

Mine gets here tomorrow though, so I guess I'll wait and see for myself.
One of the funniest things I saw like that was my dad on a ladder in a closet trying to sort out a switch and light fixture with a voltmeter and my special needs brother repeatedly going outside and flipping off the circuit breaker. Leaving my dad cursing on a ladder in the dark.
Code Pages, Character Encoding, Unicode, UTF-8 and the BOM [video]
You can do this at wayfair.com. It's kind of hidden though, when you get to the shelves, click "Sort & Filter" and then scroll down until you see the dimension sliders.
It's alluded to:

> ... who would miss the odd petty official or jealous husband who stood in his way?
I doesn't seem like sms would be the securest way to transmit passwords?
Note that I didn't say that. I said that there were multiple reasons why it wasn't "insane" that people play live music loudly, and that if you wanted to cuddle the speakers you would need to wear earplugs. I also noted that some bands will play deliberately loudly with no regard for the venue in another post.

In the end, if you want to stay at volumes that are safe for your ears without protection you will need to select your style of music, band, venue, and location in that venue with at least a modicum of care. Personally I prefer to wear the earplugs.
Not really too bizarre. Header files should include or declare everything they need; they should not introduce include-order dependencies. Listing your includes in lexicographic order is a good way to enforce header completeness.
This reminded me of "lid controlled volume" (from the reddit running joke of absurd volume controls): https://www.reddit.com/r/ProgrammerHumor/comments/6fowct/lid...

That one was implemented using the ambient light sensor to estimate angle.
If you can SSH to your vagrant VM, then yes!
So this is just (relatively inexperienced) me, or maybe it's just some misplaced mistrust of even the best places to work but...

I would never have confidence in my job security after negotiating a 50% raise with a competing offer.

I have negotiated some large increases in compensation in short period of times due to changing output and expectations from a role, but I feel like bringing a competing offer is inviting being replaced or made redundant, because companies don't want everyone to hold that level of negotiation over them just by saying "I could leave you know?"

Also, in my head, if they were underpaying me by 50%, I'd assume a big part of my value proposition was I cost 50% less than market rates.

And maybe this is even more paranoia, but I'd imagine a laser pointed at me and my performance afterwards, which ironically might end up affecting my performance (or at least my enjoyment of work)

-

Also for context, I just accepted an offer from what will be my first company in a "superstar" city last week, even the signing + relocation bonus almost felt like life changing money compared to what I've made at other companies.

One big problem is companies are moving to "up and coming" cities then paying less based on cost of living... but the cost of living on those cities is rapidly rising due to their "up and coming" status, as more and more "superstars" move into the area.

So COL ends up rising faster than your salary unless you're on a seriously fast moving career path.
I have a two media philosophy.

1) Physical: I use a TWSBI ECO fountain pen and a Rhodia wirebound 6" x 8.25" notepad. A good fountain pen on good paper is the most pleasurable means I've found for note-taking. Pleasure is important to me. The notepad has perforations on each page, so if I ever need to digitize something, I just tear the page off and snap a pic using Dropbox, which creates a nice PDF for me. The PDF looks beautiful. Beauty is also important to me.

2) Electronic: For digital notes, I just use Google Docs. I have a single continuous document full of thoughts, observations, etc., each thought separated by an em-dash (--) on a new-line. I've tried more complicated systems, but simplicity ultimately won out. Also I can access Google Docs on my desktop, work computer, phone and tablet. I've since learned that some of my favorite writers scribble their thoughts on Google Docs too.

Do the two systems converge? Sometimes. Sometimes I transcribe stuff from my Rhodia notepad to my Google Docs document, but often times I don't. In my philosophy, they don't have to converge.

Note-taking on Google Docs is about archiving information.

Note-taking on a notepad about training the mind. I remember things better when I write them. Being able to flip through pages helps builds spatial memory. I rarely go back to stuff I write on a notepad because I tend to remember them. If I really need to remember them long-term and make them searchable, I transfer them to Google Docs, and in the process, reinforce that memory.

Having a two media approach sounds inefficient from an information collection perspective because your info is dispersed and exists in two disjoint forms. But if your objective isn't just to store information in a repository but to supercharge your own thinking, this turns out to be a surprisingly effective approach, I've found.
Its really not that hard. I've got /etc/resolv.conf pointed at 127.0.0.1 and a local stub resolver forwarding to an upstream DOH server. Boom! everything using gethostbyname is now using DOH.
That's why central air conditioners are supposed to have a disconnect within sight of the unit.
I believe loftsmen prepare full size drawings or patterns at 1 to 1 scale, whereas a blueprint may be at a reduced scale. I.e. a blueprint fits on a drafting table; the pattern created by a loftsman would go on a factory floor.
> It would be very surprising if the things that fall into a black hole affect the radiation coming out of it.

I mean absent all the exotic physics calculations, since that comment is saying that people are too twisted up in theoretical math. In a very basic sense it seems reasonable.

> So Hawking radiation must be determined entirely by spacetime geometry, which depends only on mass-energy-momentum and not things like baryon number.

I'm not really following that 'so'. Lots of things are reference frame dependent but still depend on exact particles.
How to Localize a Game for Asia
For anyone interested in perhaps purchasing a side project to pursue your very own SaaS, take a look at a project that I've been running on the side - SideProjectors

https://www.sideprojectors.com

Lot of interests in the past few years around "indie makers" and "life style businesses" and "side hustles" have attracted quite a few interesting projects to be posted on my site. It's been cool to see these projects being exchanged.
Your mouse is closer so you don't have to move your hand as far.

Not if you use a mouse left-handed ;)

But more seriously, I grew up being trained to touch type in the classical way complete with ten-key exercises. I strongly prefer having a full numpad and I actually prefer the extra distance to the right for mouse usage. I've found over the years that the more I move my hands, the less likely I am to have discomfort.
Fair point.

I guess what I was trying to say is that they're different formats and they encourage different types of engagement.

What I meant is, I don't miss the type of experience that Facebook provided at all.

Instagram feels more like entertainment and the engagement seems more "trivial" to me. I can passively consume or participate in if I have nothing better to do, else I don't miss it.

Facebook started to turn into a boring chore for me.
Oh, wow. That's tantamount to attempted manslaughter.
Is that still true if you settled down with a partner? Perhaps I don't have perspective as a straight male, but now that I'm married I couldn't care less if the people that surround me are gay or straight.
Given how difficult it is for a small band to make money, I don't think anyone who really cares about music should be telling folks to stay home.
You misspelled 'teeth'
(Ethereum) ERC1155 Multi-asset token standard explained to beginners
Cringe.

https://www.youtube.com/watch?v=xF2uHwOg2kk
How do you add value to your network?
Hey guys,

What does "adding value to others" mean to you? How do you maintain relationships with clients, mentors, peers, and so on?
From what I've used internally, the remote development bits are already better than they were under Nuclide. Adding and managing multiple remote repos/working copies is a breeze.
Page copyright says 2017
A Banksy sculpture was pulled from an auction amid claims it had been stolen
For more recent information on a similar topic: https://www.americaspace.com/2012/06/06/top-secret-kh-11-spy...
There are tons of differing implementations like PeerTube, PixelFed (Instagram-esque), Lemmy (Federated Reddit/HN), Write.as (great for blogging on the fediverse and closed platforms at the same time), Pleroma, etc