jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Dyalog APL:

0 - Multiplicity (count character)
'h'(+/=)'fhqwhgads'

1 - Trapeze Part (palindrome)
(⊢≡⌽)'racecar'

2 - chars which appear more than once
(not too happy with my Key ⌸ ones)
{k←{⍺,⍨1<≢⍵}⌸⍵ ⋄ k[;1]/k[;2]} 'applause'

3 - reordered letters
'teapot'{⍺[⍋⍺]≡⍵[⍋⍵]}'toptea'
≡/(⊂∘⍋⌷⊢)¨'teapot' 'toptea'

4 - chars which appear once
{k←{⍺,⍨1=≢⍵}⌸⍵ ⋄ k[;1]/k[;2]} 'somewhat heterogenous'

5 - musical chars
'barfoo' {∨/⍺≡⍤1⊢⍵⌽⍤0 1⍨⍳≢⍵} 'foobar'

6 - sort strings by length, ascending
{⍵[⍋≢¨⍵]} 'books' 'apple' 'peanut' 'aardvark' 'melon' 'pie'
((⊂∘⍋(≢¨⊢))⌷⊢) 'books' 'apple' 'peanut' 'aardvark' 'melon' 'pie'

7 - Most frequent character
{k←{⍺,≢⍵}⌸⍵ ⋄ ⊃k[;1][⍋k[;2]]} 'abdbbac'

8 - reverse words
{⊃{⍺,' ',⍵}/⌽¨' '((~=)⊆⊢)⍵} 'a few words in a sentence'

9 - compress
1 0 0 1 0 1/'foobar'

10 - expand
1 0 0 1 0 1 {'_'@(⍸~⍺)⍺\⍵} 'fbr'

11 - Consonants
{'_'@(⍸'AEIOUYaeiouy'∊⍨⍵)⊢⍵} 'FLAPJACKS'

12 - Consonants Rdx
{⍵/⍨~'AEIOUYaeiouy'∊⍨⍵} 'FLAPJACKS'

13 - Word replace
⍸'a few words in a sentence' {idx←⍸⍵⍷⍺ ⋄ idx,←idx+¨⍳¯1+≢⍵ ⋄ 'x'@idx⊢⍺} 'words'

14 - Permutations
? a recursive one shouldn't be so hard, but..
{0=≢⍵:'' ⋄ ... } 'xyz'

non-recursive, much harder:
https://code.jsoftware.com/wiki/Doc/Articles/Play202
Just do what everybody else does: try to make Covid charts, or Python models or whatever. Seems to me half the people I follow are somehow coding something related to Covid. I'm updating http://covid.410go.net/ mostly for myself because I want to track the current dimension of Covid (ie. infectious people, not total cases) and at least it's been an interesting exercise in dealing with the somewhat messy data Johns Hopkins kindly provides.
I don't think Prettier ever claimed to be the one true formatting everyone must use for it to be successful. It's a tool that formats code nicer then most other tools.

Personally, I would rather a project use a formatting tool that outputs a format I don't like than not using a formatting tool at all.

I just don't want to have to waste mental bandwidth on formatting ever again.
True, but it seems to me that he's been most successful at companies that are willing to place big bets on his team and put a lot of institutional weight behind him. His work at Apple, AMD, and Tesla all seem to point towards that conclusion. One wonders if an Intel that's less focused on hardware innovation will see the same effects.
> Too depressed to work on my personal programming projects

I'm gonna randomly hijack this comment to talk about this growing depression I fear will hit a lot of people.

It's been very frustrating at work, approaching end of quarter with all the usual internal quarterly milestones, and no one in leadership acknowledges this intense mental stress that everyone is under. Everyone is still expecting that good ol' 20% improvement we promised three months ago, despite the entire engineering team counting down their remaining rolls of toilet paper, and watching the dumpster fire every day from the White House briefings, and the stock market imploding. Meanwhile we know that at the tail end of this, many of the local business we rely on and have supported over the years, may be out of business.

But at work, the same meetings are on calendar. The same constant drumbeat, where we pretend the only thing that's changed is our status is "WFH". Large meetings clearly don't work over videoconference and without a whiteboard. At my place we even have a two-day "offsite" where the whole team will literally spend the day sitting in one position at their desk, facing the camera.

I fear many workers in tech will crack from trying to carry on as if nothing was wrong.

That said, I do acknowledge the privileged position of this first-world problem.
39. Memoirs of a Geisha – Arthur Golden
44. A Prayer for Owen Meaney – John Irving
46. Anne of Green Gables – LM Montgomery
In my case it suggested what diet methods are more likely to work, and a disease I should especially watch for in the future.

But mostly this is awesome because the future is here!
You need to use the coupon code "turkey" at checkout. The discount is not automatic.
I have to completely agree with this blog post. I'm a sysadmin living in a world of developers and what I'm being shown is nothing new. I think there are a lot of companies in which dev and ops is split to such a degree that the devops movement becomes relevant in aiding them to bring together both sides, but for the rest of us we've seen it and done it. I agree with the author, there's a lot of condescension coming across. I am open to learning and refining the processes by which we all collaborate and work but I'm not a layman. I understand my field and enough of yours to keep systems running in the evenings, middle of the night and times when you are not around to look at bugs. I understand the scaling problems. I understand the need for continuous integration testing and deployment systems.

We are the league of sys admins. We know what we are doing.
Nicely done!

I recently made a snowglobe generator where people can create there own.

http://www.snowglobecreator.com/

It's very basic though and also in Flash so it won't run on iphone etc. =/
Yet it was fun too watch what people did with it so far.
Like my friend who did a series of videogame styled globes like this one.
http://www.snowglobecreator.com/?uid=52#featured
No, I am not going to click through to pages that, from the titles, are almost certainly spam, just on the off-chance that it's someone being ironic.

Spam does turn up on the new page, and that's the context a submitted link first has to prosper in. Is it something I might find interesting? Is it something I won't find interesting but that other HNers might? Or is it just spam?

Now, "Wife-Hunting: How to Marry a Brazilian Model" might work very well as a title on the original blog, but that's a different context. His regular readers presumably know that Ferris isn't the sort of person to flog a Brazilian bride-by-mail scheme. But on the HN new page in front of people who don't know Ferris from Adam? It requires a more appropriate title.

I think that in general, HNers who submit links need to think more about whether the original title makes sense in the context of HN. If you think we would find it interesting, don't use a title that makes it sound like sensational bullshit or spam, even if it's the original title.

Yes, writers use linkbait for a reason: to get pageviews (and attention). It doesn't help readers.
Wow, that's ridiculous. Glad I got to use it before it getting taken down!

Was it against any ToS?

AND,

Does anyone want it hosted?
So close to Godwin's Law...just a little...further...
I don't suppose so - the L-1 only seems to apply to the situation posited by GP, i.e. someone going from a non-US office to a US office.

In author's case, it doesn't seem like he was going from one office of the company to another. Seems like the H1 (as mentioned by Vivtek) would better suited for him.

Edit: Disclaimer: I am not an immigration expert :)
Consider if footage existed of the deceased being hit by the sanitation truck – the original injury that sent Mr. Chanko to the hospital.

Could a news report about vehicle-pedestrian accidents use that footage, even without the victim's permission?

I suspect probably so, for its illustrative value. As a matter of sensitivity to viewers or the victim's family, they might blur any particularly gory details, or the precise identifying characteristics of the victim or others involved.

And that's roughly what they did in the hospital, too. The crew was filming in an area they had permission to, and blurred identifying details. A very small number of people – who knew the incident, the hospital, the doctor, the victim – could work out who was being shown. That's emotionally draining, perhaps, but I'm not sure it's legally tortious, and requiring a court-enforced remedy.
They can certainly refuse to let them do business there if they don't comply.
It always says Upvote Failed when I try but it is actually upvoting despite reporting otherwise.
Record Macros and inspect the code to learn the object model.
I am also not a lawyer. But I did once work in a health-related field and had to go through HIPAA compliance training. And the general issue is that simply blurring out a face isn't enough.

The definition of Protected Health Information (PHI) is interpreted broadly, such that the fact that a patient was in the ER due to an accident, received certain types of treatment and died is protected.

Meanwhile, the definition of what is personally identifiable (i.e., ties information about condition/treatment to a specific person) includes an 18-point list of potential identifiers; responsible practice is to remove all of these prior to making information public. That 18-point list includes both the geographic location of the treatment (should not be given in any form more specific than the state) and the date of treatment (should not be given in a form more specific than the year).

So I can see a strong argument that the hospital is on the wrong side of HIPAA here. And given that their argument seems mostly to be "it wasn't Our Hospital Medical Services, Inc., it was Our Hospital TV News Productions, Inc., and that one isn't covered by HIPAA", I'd begin to suspect they believe it would be a HIPAA violation for the hospital, too.
You are correct. I was thinking of this rule that has since been removed:

11.13 Apps can read or play approved content (magazines, newspapers, books, audio, music, video) that is sold outside of the app, for which Apple will not receive any portion of the revenues, provided that the same content is also offered in the app using IAP at the same price or less than it is offered outside the app. This applies to both purchased content and subscriptions.
> bring in a new system whereby you didn't need to atone for sins any more

I believe the Biblical narrative describing the significance of Jesus' sacrifice was about past sins, that which humans bore without actually committing. I do not believe the death of Jesus in any way suggests, in Christian folklore, that you don't need to atone for sins.

FWIW, I think the Catholic Church (which didn't exist until hundreds of years after the whole Jesus thing) considers things like rosary prayers as atonement.
Yes, I completely agree. Ubuntu is fantastic at auto-detecting your hardware and making everything Just Work (by Linux standards - your mileage may vary). So take advantage of that base but use whatever window manager you want. Easily selectable in the login screen.
So? Who cares about Windows conventions? You're using Cygwin to escape Windows.
The hospital room may be private, but it's the hospital that can waive the privacy, not the patient (I believe).

Saying that, I've never worked with any producer that wouldn't see that as a huge red flag (although I haven't worked much in reality tv either in quite a few years).
Why do we call these practices "investments"? They're literally gambling.
Are you serious? You really can't think of any reasons they wouldn't be 100% open about this?
For example: You can only have so much security if you don't have security experts. Same with every other area. I don't remember the details now, but their first iterations were pretty lame.
We use it to generate screenshots to use as the images in our open graph tags.
Your article can be reinforced by the Ribbon Farm analysis of "The Office" [1]. What you have stated about over-performance seems to line up nicely with the "clueless" in that hierarchy.

To quote from Ribbon Farm article: "The simple reason is that if you over-perform at the Loser level, it is clear that you are an idiot. You’ve already made a bad bargain, and now you’re delivering more value than you need to, making your bargain even worse. Unless you very quickly demonstrate that you know your own value by successfully negotiating more money and/or power, you are marked out as an exploitable clueless Loser. "

[1] http://www.ribbonfarm.com/2009/10/07/the-gervais-principle-o...
I am just a regular guy, but I would guess it would be super expensive and borderline impossible to insure offline coins.

(a) Who in the "custom" insurance business would be comfortable with that and find it to be worth their time? Why not stick with well-understood risks, like insuring throats, fingers, humongous diamonds, and stuff like that?

(b) More importantly, stealing bitcoins that are insured is almost the perfect crime. There is too much of an incentive for the insuree to steal the bitcoins and claim insurance.

I do think these things could be overcome by an enterprising insurance agency, but insuring a huge amount of bitcoins is still going to be extremely costly.
This is good work! I seriously _need_ to see the source code. Always wanted to make an OS in a high level language.
Does everyone in Path of Exile create their own loot filters?

You could, but most people download neversinks or someone else's custom filter.
I simply love this film and so many of Kiarostami. Close-up wins out in my top 3 because of just how brilliantly he and his found-actor make use of each other. To perfect ends.

(Where is the friend's house, and Through the olive trees are my other favourites, though truly all are fantastic)
"all models are wrong, but some are useful." - George Box [1]

George Box expressed early my general feeling about statistics, it is a very useful tool but remember the limitations of the methods, the data, and the people applying them. I would like to seen an emphasis on openness and transparency with data so others can replicate the analysis and the community can come up with ways to make best practices accessible to anyone.

[1] http://en.wikiquote.org/wiki/George_E._P._Box
They used to have some of that equipment. Amongst other things, looking for 15625Hz spikes (from the horizontal frequency of PAL CRTs).

I think they phased it out in the mid-80s, or at least stopped replacing the parts when they stopped working, so there very probably isn't any working equipment left now—that's my impression, at least.

Since then it's gradually phased over to essentially SELECT address FROM addresses WHERE residential=1 AND tv_licence=0; now, with a side-order of retailers reporting the addresses of people who've bought TVs (so if you bought a TV, but not a TV licence, you're probably going to get a letter, and probably thereafter a visit).
>For the same reason that the government banning something is worse than when a private company does it.

What? Users weren't banned, the subreddit was disabled. A mod banning a user is banning and censorship.
They were implying that jetbrains was "in" on the hack.
> in a month I just can’t stand anymore meat and bacon and going back to a balanced diet feels very good.

90% of curries are keto friendly, Thai food that doesn't involve noodles or rice, a-ok, tons of Chinese dishes are also 100% keto!

Going on any sort of restricted diet is going to involve learning how to improve your cooking game, but after years of Keto I can put together meals for large groups of people that are 100% keto and people won't even notice, and that is including the hazelnut cookies with chocolate ganache for dessert!

> Would question the whole „carbs where scarce, so we evolved to overfeed on them“ dogma

I agree historical evidence may be lacking, but a large percent of the population[1] do overfeed on carbs and a mix of carbs+fat, in a way that is has dramatic health consequences.

The way I always like to put it is, between a stuffed baked potato, and a steak, what will people at more calories of when given a chance? I know for me it is the potatoes, I can easily go through 2 entire potatoes, stuffed with sour cream, chive, shrimp, and cheese. (and I know the shrimp sounds super weird in there, but trust me, try it, it is amazing!)

That is 800 calories, and after that I'm going to wait 15 minutes and resume the rest of my dinner for yet more calories!

But if I start with 8oz of steak and some well prepared kale, well, I'm done for the night. ~700 calories total for the entire meal, rather than starting with 800 and working my way up from there!

The thing that changed my mind was realizing that skipping the bread at dinner didn't make me any less full.

[1] Such unhealthy habits are spreading world wide!
I'm curious: if Facebook did exactly what Apple describes in this document for its WhatsApp customers (at least for data beyond the minimum required to deliver their service), would their privacy statement be able to look like iMessage's? I'm guessing not, but I wonder if someone who is more knowledgeable could answer the question definitively.
Whats the difference between a group of people tresspassing the capitol versus a group of people attempting to overthrow the government? Can your explanation be falsifiable?
They have about 300 employees on board. It probably wont get as high as 10 thousand, but it's not insignificant and this is, in my opinion, more of a preparatory organisation for the inevitable tech bubble burst, probably from some regulation.
I agree with you, these folks charging through the Capital and expecting to get away with it were completely deranged.
The matrix signal bridge is pretty great too!
I note the delicious irony of saying "a small minority of protestors", though I suspect that the irony will be lost on those who would benefit from thinking about it.

Still, I see a difference that matters between a small minority trying to take over a police station or destroy a Pizza Hut (bad enough, and worthy of condemnation) and a small minority trying to interfere with the presidential succession (much worse).
Dynamicland feels to me like The Mother of all Demos. Ahead of its time, groundbreaking practical applications of interactivity research.

Dozens of companies and projects will spring from this. Just give it time.

We'll be back to using real objects instead of keyboards at some point in the near-future. Brett's right that a lot of the difficulty in actually using computers to produce things is in the translation of human interactions into a medium the computer can understand, and translating the data a computer outputs into a medium humans understand. We aren't two-dimensional creatures. The state of the art cannot remain in pictures and text forever.

I'm not sold that everything will be done this way - some things will always need the precision of automated, textual input (see tool assisted speed runs in video-gaming if you think human beings can match pre-programmed precision inputs).
It has since .Net 4.0, but does require using BigInteger

https://docs.microsoft.com/en-us/dotnet/api/system.numerics....
> Conclusion

> AirBnb will be alright, don’t worry.

> Individual employees, not so much. Take care.
I don't think I have ever cared about how my mouse looks (or how my laptop looks for that matter; it sits at home where no one will see it).

Something you use 8 hours a day should first of all be pleasant to use and reduce the risk of long term damage to your wrist (carpal tunnel syndrome or similar).
> We will disagree on whether Fauci lied. I believe that he did not lie, although I do believe he was duty-bound to speak when no one had perfect information, and that some of the things he said were misinterpreted.

Two points that are worth repeating;

1. The precautionary principle. We should be more cautious. This is crisis management 101. It was way more likely that masks would help than not.

2. Fauci admitted he lied as in he didn't regret anything because of the PPE shortage. Not because he thought masks didn't work. This implied he believed masks worked but didn't want to say it out loud.

> But if it had been aerosols, they would be <1% effective.

If it was aerosol, many many more people would be infected. It would have been 10x. This was already unlikely back them.

Again, with the lack of data, we should have been more cautious. Not less cautious.

Even aerosol was true, wearing masks would still be better.

"False sense of security" is mostly a myth. It's a pandemic. We could have done both social distancing and wearing masks.

Not sure why you assume wearing masks and other activities are mutually exclusive.

Just because I wear a firefighter suit doesn't mean I will run toward every fire I see. Be real.
Just bought a boox note air and love it, writing on it does feel like paper, syncs to OneNote & OneDrive Love reading kindle, feedly, hacker news, instapaper, zinio, etc
To everyone complaining about energy: We will almost certainly use more energy in the future than we use today.

The proper response to climate change is not necessarily to consume less energy.
Is there place to get prebuilt linux executables?
This still sounds pointlessly inconvenient compared to a wired mouse, not to mention reliability and latency issues that come part and parcel with wireless peripherals.

I tried a wireless keyboard once and every 10 minutes it would hang and repeat the last key I pressed for 10 seconds. How much better is the situation today?
When government takes away our property it must pay us for the property. this right is recognized in the 4th amendment. "Zoning" is just a sneaky way of taking
So is this basically a combination of Mechanical Turk and a bug bounty?

Say I decided to skip work tomorrow and try to get a bounty, or at least part of one. What do I do?
try taking a screenshot image and work with that instead
"It's win-win for my FT company too because they get my best ideas first."

Companies that don't matter don't get this.
I'm sure I'm not the only one wondering this..... what does this mean in layman's terms?
> There were many instances where protests got out of hand this summer and courthouses and police stations were destroyed;

The white supremacist terrorists's goal yesterday was to prevent a formal certification process that's central to the transition of executive power. Many people were armed and prepared for violence: multiple IEDs were found, multiple people had body armor, multiple people had loaded firearms & extra ammunition, people brought a guillitine, people were shouting chants about killing senators & reps, multiple people had zip-ties or handcuffs. That is sedition.

Unlike BLM protestors, the terrorist's intent was a coup: they wanted to undermine a democracy's most important legal process. BLM wants to use legal means to revolutionize the country's public safety, primarily via re-allocating city and state police budgets to programs that have effective track records of increasing public safety and not ending in the murder of Black people.
Whatsapp’s story is also unique because their acquisition by Facebook was so large. At $19 billion, the founders probably could have attached pretty much any terms to the deal (as formal terms in the purchase agreement) - and still had a $10+ billion offer that made them multi-billionaires.

Permanently enjoin the acquirer from showing ads or sharing data. Heck, require operating independence. Just like any other transaction, terms like these are negotiable. Maybe those reduce the purchase price by $3 billion, or even $5 or $10 billion, but the founders would still be multi-billionaires and they’d also see Whatsapp survive the way they envisioned it. Best of both worlds.

(And if the buyer totally walked rather than reducing the price, at least you’d know their true intention.)
a: no, b: yes.
Threema generates a short alphanumeric id, that is easily sharable. It will also generate QR code for you, so other people do no have to type them, just scan them.