skysight-inc/HackerNews huggingface dataset:
Not Option, but Command. If you hold down Option and click in another window, the current window hides. You can also hold down Command and drag a window that doesn't have focus.

You can also switch focus to a window without raising it by holding down Control+Option and clicking the window.

At any rate, a lot of these things can be chalked up to different philosophies, I think. Personally, I really don't like focus follows mouse; when I was using FreeBSD and Linux many years ago, I would try it and then end up disabling it after a short while.

It is worth noting that Terminal has a hidden preference for focus-follows-mouse:

defaults write com.apple.Terminal FocusFollowsMouse -bool true

You can also change that setting, along with those of some other quirky system things, in third-party apps like TinkerTool and Onyx.
From EarPods to AirPods Pro
Great Resources for Adopting Remote Work
This seems like a positive development, but there are other `as_ptr` and `as_mut_ptr` functions. The one that I tripped up with was actually from Vec, not CString.

Zooming out, there are innumerable ways to create a dangling pointer. This is really a vexing problem.
I guess I just meant for this specific nerolink tech. He is definitely joined by a massive group of our distant cousins that have been involuntarily drafted into service for us. It's brutal, but so is life I guess. Hopefully this particular one doesn't mind it too much.
For those who skim the headline and wonder if this is about nouveau or the proprietary binary driver: it's the latter (which might also be why it's newsworthy).
Hard to believe this isn’t the top reply. You don’t need to go off into some long discussion about the philosophy of collective action. This vote was no because if it had been yes the likely consequence would have been all the voters being out of a job.
These are very different kinds of bandwidth. The only provider above to offer anycast IP (AFAIK) is AWS Global Accelerator.. it's $.015/gb on top of the regular $.09ish/gb EC2 egress charge. GCE offer anycast load balancing but it is (AFAIK) HTTP only and even pricier than AWS.

With Fly you're getting the raw magic behind Lambda@Edge, CloudFlare Workers and every anycast DNS and edge reverse proxy service in existence, with a large chunk of compute, RAM and local storage to build out whatever exact combination of CloudFront or whatever else you like thrown in as part of the deal. Also if you want to skimp on backends, it's still possible to use their HTTPS termination (ala GCE) to reduce handshake latency without rearchitecting everything
I don't get the point of this at first sight.
It’s not that it’s nothing new - it’s obviously not identical to previous BMIs. But the thing people are reacting too is mostly the MindPong part (genuinely basic) and not the 10x electrode part (novel). It’s not like a paradigm shift, it’s a practice run for them to see if they can replicate previous successes with some changes to the tech.
The C language may be complex to setup an environment. But once you have the build system complete, there are mature tools to create and distribute your artifacts. That is not the case with Python.
> They can function without internet since they can contain and persist a local version of the required data.

Local persistence is treated with derision because browsers can arbitrarily empty it at any moment. The only way to work around this is Electron, as far as I know, and that's a native application more or less.

> API based clients also theoretically allow for easy fetching of data

The focus being theoretically. APIs are often locked behind paywalls/partner keys, and sometimes obfuscated.
>> which means you cannot do that method on environments you don't have full control.

> Could you give an example of where that would ever be an issue? The only thing I can think of is hydra.nixos.org, but there's no way in hell such a derivation would be acceptable for nixpkgs, so that's pretty irrelevant (similar to how it's really easy to make a .deb package from a directory and a control file; but there's no way in hell it complies with the Debian project's packaging guidelines)

In any production environment, using any external build service like nixbuild.net, self-host hydra. Basically anything beyond personal use.

The post about all this is from Channable, Channable runs nix built code in production. Their developers (likely) cannot disable the sandbox and ship that code.

You even say that there is "no way in hell such a derivation would be acceptable for nixpkgs"

If you cannot share it, it's only good for you and you alone.
Also dues are not compulsive because it's a "write to work" state. Insanity.
Shame and revenue are powerful motivators.
Chef's Habitat is a really powerful nix-like system that I find to be a bit more practical. Like nix though it suffers from being a complete paradigm shift that people coming in from the imperative OS world struggle trying to map their existing patterns into

It's kind of sad because it's a far better way to manage deployments and environments...but it takes 1-2 years of practice to really get proficient at
I think you could probably accomplish this with just speech audio. After identifying the actors present, it would be a short jump to a list of possible productions, and given some dialog, you could further narrow it down.

Where could one find a database of actors with voice samples ?
They do this every time they lose a unionization vote.
> Going on dinner with your friend? that will be a no for a year.

> Having a bussiness lunch meeting with clients or bosses? Thats a no for a year.

> Skipping a week or more of lifing because of unexpected life reasons? Thats a no for a year

> Being on a caloric deficit and maintaining a high protein intake every day for a whole year? That is really hard and requires you to have no unplanned events for a whole year.

All of those points are incredibly wrong. People are able to stay fit, lean, and healthy without becoming some robotic fool who survives on water and protein powder.

Tracking your TDEE and macros is very simple, and not restrictive at all. One can drink beer, eat pizza and candy, and retain a great physique with ease. It requires only that you don't go overboard when indulging. One doesn't have to be in a caloric deficit every single day. As long as one is in cal-def a majority of the time, it's fine. As long as they don't shovel enough food into their mouth on their 'bad' days, to undo all the hard work from the 'good' days, it works out fine.

One can also easily take weeks off. In fact, every athlete should take weeks off. Deloading is not what I'm referring to. I'm talking about taking an entire week, or even two, off and doing nothing. It's healthy, and even necessary for long-term consistency and success.

Why are you convinced that being fit and lean is some incredibly hard task? It's not. All you're doing is convincing people that they can't accomplish what they can; relatively easily, I might add.
date -d "2021-04-09T17:18:21 UTC"

result: time in your timezone (on linux)
Forgive my ignorance, but after writing to neurons to re-learn walking, will that render that particular Neuralink chip unless? Since the neuron structures surrounding that chip will be constructed for walking, you won't want to further disrupt/write to them. Then you would need to move the chip for any further use?

Edit: After reading another comment about the link being broken (hence the name Neuralink), this makes more sense now. Although, I still think that maybe you only get one usage out of one chip? I suppose the definition of "usage" is what is important. Presumably you won't need a chip per joint in a leg, and presumably one chip could control two legs? Or perhaps you get finer control with a chip per leg?
>> I know that once I start, I will be productive. But I don't have a recipe to start. If my mood changes, I work. If not, I dont' know what to do.

“I write only when inspiration strikes. Fortunately it strikes every morning at nine o'clock sharp.”

― W. Somerset Maugham
The more I read about Unions in America the more I am befuddled. Don’t you have membership elections for the leadership? How do you even decide who the leadership is then?

If you do have elections, then your comment is akin to a republican proclaiming that democracy doesn’t work, but would work in principle but only of the current leadership was replace with Donal Trump.
For well known objects like these, the mass and approximate size is known. You can Google them to find values even. The positional uncertainty and lack of data about attitude lead to modelling the objects as spheres as not so bad a choice.

One algorithm that is sometimes used: https://link.springer.com/article/10.1007/BF03546397
Then you aren’t wasting your time then.
How is it 2021 and no one questions this BS? IMO any group that focuses on affirming the identity of fictional races, IS a hate group. A racially themed group pushing its own propaganda can never not be a hate group. We have the human species and just variations in hair, skin and eye color. Can’t we get past that simple concept?
The interesting part is that most media is being consumed with stereo audio down-mixing. Everyone streaming content on their laptops, with their television's speakers or with a sound bar. Yet all the audio is recorded and mastered for surround sound systems, even though they could include mastered stereo audio without the down-mixing issues like quiet audio.
Everyone who is both intelligent and has a soul agrees with you.
Amazon on Verge of Defeating Union
Subscriptions are also tricky to "purchase(?)" at some places.

I'm pretty sure I'm not actually allowed to charge them to a grant.
Definitely. We use a combination of source maps, manual rules, and right now, human review. Source maps let us go from the JS running on the page back to original source code that generated it. It's not perfect which is why we also have some manual rules + still do human reviews when we aren't sure if we got it right. There has been some amazing progress using GPT-3 for code generation as well (check out https://debuild.co/) which is something we are also trying to use.

More on source maps here: https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_...
The devices will then refuse to function of they are unable to contact the mothership.

I would just snip off the antenna or remove the SIM, but if I can think of that, so can the manufacturers.
The same is true of Whatsapp; this is not a major impediment to adoption for most people.
What is "actual" human trafficking? Do you not consider minors being coerced to make the journey alone not human trafficking?

https://www.justice.gov/humantrafficking/what-is-human-traff...

https://www.nbcnews.com/politics/immigration/human-smugglers...
Yeah, although a "Streaming Multiprocessor" is still less general than a CPU core IIUC.
Nobody in Alabama is going to have this "direct relationship" with the powers that be in Seattle either way. What a joke.
Gaslit to death
This one just add a 5 second title to the video taking the name from the file name

#!/bin/bash

#Creates a Directory

mkdir -p titles

#loop for files in folder

for f in .MOV; do

text="${f%.MOV}"

#Uses drawtext

ffmpeg -i "$f" -vf drawtext="fontfile=/usr/share/fonts/opentype/NotoSansCJK-Regular.ttc : \

text=$text : fontcolor=white: fontsize=82: box=1: boxcolor=black@0.5: \
boxborderw=20: x=(w-text_w)/2:y=h-th-40 :enable='between(t,0,5)'" -codec:a copy "./titles/$f"
done
# Other options:

# Bottom center: x=(w-text_w)/2:y=h-th (with 10 px padding: x=(w-text_w)/2:y=h-th-20)

# centered: x=(w-text_w)/2: y=(h-text_h)/2

This is my trim tool to cut beginnings and/or endings of files

#!/bin/bash

mkdir -p trimmed

duration=$(ffmpeg -i "$1" 2>&1 | grep "Duration"| cut -d ' ' -f 4 | sed s/,//)

length=$(echo "$duration" | awk '{ split($1, A, ":"); print 3600A[1] + 60*A[2] + A[3] }' )

trim_start="$2"

trim_end=$(echo "$length" - "$3" - "$trim_start" | bc)

ffmpeg -ss "$trim_start" -i "$1" -c copy -map 0 -t "$trim_end" "./trimmed/$1"

# Example
# >trim example.MOV 0.2 10
This is why I come to HN, to find out why it doesn't work in the general case. I can always count on you guys to point out why something is an evolutionary change rather than revolutionary
> As opposed to basic things (like display drivers, hibernation, bluetooth, fingerprint scanners, etc.) working fine on both.

I have a nice list of issues that contradicts that statement. For example, M1 macs like to kernel panic for some reason.

> But it's on Linux where people usually have to fight/configure/trial-and-error to get basic things working more often than Windows and macOS.

Depends what you are trying to achieve. If you were trying to hackintosh some random ASUS+AMD laptop, your experience would not be nice either. Similarly, when you are trying to use random crap (that's technical term) where nobody ever did any integration with Linux, the experience will be bad (that someone doing the integration is going to be you). If you use either supported machine model (where the machine vendor did all the work), or machine that's very near to reference designs (where the chip vendors did the work), you experience will be much better.
"why you would vote against your own collective interest for a small amount of union dues"

Ignorance of their own reasoning is rooted in the presupposition that the union was in their best interest and the dues were worth it. Obviously, the employees in this case did not agree it was in their interest. People think differently than others and that is OK.
>> $600 a year isn't expensive for software for a US professional worker.

Let's be crystal clear here.

$600 is the subscription for ALL of the Adobe Apps. That means you're paying $600 for what? 15-20 different apps? That means you're averaging around $40 per app. Which is roughly the same cost per month as other competitors products. Adobe XD is $9.99/month which is the same cost as Sketch $99/year and has more functionality then Sketch. If you toss in the additional $8/month for InVision, then XD is now cheaper. A lot of orgs like having one vendor for all of those apps as opposed to having multiple subs for several different companies.

I'm no Adobe apologist, but let's make sure when people are tossing around the $600 cost, we're comparing apples to apples. You can hack on them for their lack luster customer support, new versions not working on newer PC's and completely ignoring Linux users - but arguing about price? Not really a good enough reason not to use them in my opinion. Over the past few years, the newer apps they've come out with, they're keeping their pricing competitive: XD vs Sketch/InVision vs Figma.

Their pricing has also slowly come down as more competitors come into the market. I agree, I don't see them declining, they just need to stay competitive now that they are a number of legit products to compete with several of their products.
Ask HN: How do you solicit user feedback for your mobile app?
I'm aware of various frameworks for phrasing the questions to get actionable feedback, like NPS or the 4-question PMF survey.

But what I'm really curious about is how you actually put the survey in front of your users: Do you pop it up in-app, or link it via in-app banner, or send it via email/SMS/push?

What works to get lots of responses? What works to get high-quality responses?
Weird to see all the non-pro Royal family comments censored on here. Why? What has the royal family got to do with Hacker News and why does it matter if people on here are pro or anti Philip?
It's not as though this is being actively exploited in the wild. Just keep your Zoom app updated.
I first saw this on TikTok last year as a variety of human-looking body parts that move and blink:

https://www.youtube.com/watch?v=bn5HAtc9qJ0

It's interesting to see other artists take a concept and run with it, extending it in new ways. Now it's cropping up everywhere.

This is going to be a fad for a bit.
My anti-union sentiment arrived from my experience working with a large established union in an industrial plant. The union protected some of the worst, laziest, most unsafe workers I had ever witnessed in any job before or sense. It blew my mind how difficult it was to remove obvious bad apples, and how the best workers were forced to wait in years-long "seniority" queues before they could get promoted. I would get threatened with grievances for trivial acts like carrying a single lightbulb myself without a union worker.

Every institution has a STATED purpose and an ACTUAL effect. Institutions become inefficient, corrupt, decoupled from their original goals. What keeps institutions aligned with their stated--noble--purpose, is the institution's internal incentive structure. Unions often have very bad internal incentive structures.

I would be SHOCKED if you could not find counter-examples where unions are great. It's a big round world we live on where silver linings abound. For anything. To me, right now, I do not find pro-union activists persuasive in the slightest. But I am open-minded.
> In fact, the Python world would be simplified if "ship your own runtime and env" as part of your final application was the norm.

AFAIK, it is for final applications whose main purpose isn’t to be used as development tools tied to whichever python environment it is installed in.
Anyone who has seen the musical Cats has heard Heaviside's name. The Jellicle Cats sing of ascending "up up up to the Heaviside Layer."

https://catsmusical.fandom.com/wiki/Heaviside_Layer

https://en.wikipedia.org/wiki/Kennelly%E2%80%93Heaviside_lay...
The barrier isn't just on the user side. The initial phase of government sites – i.e. web sites where the vast majority of the public are required to use to do official things — were designed with Internet Explorer in mind exclusively. Now many gov sites officially support Chrome as the default, and sometimes mobile Safari. Right now Firefox is at 2.7% [0] of us.gov visitors, almost half that of Microsoft Edge.

The average user, especially those in business/professional settings, are going to keep Chrome as their default for a long time, even if FF becomes equivalent or even superior.

[0] https://analytics.usa.gov/
I read lately that the Heaviside layer (Kennelly-Heaviside properly) of the atmosphere, composed of ionized gases, was used for years to bounce radio transmissions off of, allowing them to "skip" multiple times occasionally and travel thousands of miles. It was seasonal and unpredictable on a short term basis so using it seems to have been about equal parts luck, skill, and art.

https://en.wikipedia.org/wiki/Kennelly%E2%80%93Heaviside_lay...
In the case of these objects, at ~800km, the time for orbital decay is often measured in decades.
It would probably take longer than the notice you might get of a potential collision (5-7 days)
Modern morality is very simple

Majority is more important than the minority.

Poor is better than rich.

Dumb is better than smart.
Amazon Workers Reject Union Effort in Alabama
Roger that.

Americans killed in WW2: 410,000

Americans killed by Covid: 550,000
Sure, AJAX is cool. However, devs would not be allowed to release into the wild if the experimental features were not availalable in released browsers. That whole -strict, -transitional type stuff is just another example. Extreme specific personal reco would be to only allow experimental features available to devs that must compile their own browser from source. this would prevent the vast majority of users from ever seeing those experimental features in the wild. Devs could still dev against and find the bugs, but they would also be less willing to make the experimental features requirements on their product.
They looked at the issue and felt incorrectly that it would not be better.

Look, I get the good intentions on all the discourse about not judging what's in another person's interests because you can't possibly know what they value, but it sure seems indisputable to me that a union would've delivered better pay and working conditions. I'm not sure in what warped universe voting against that isn't a vote against your interests and I don't think it's at all disrespectful to say they were victims of propaganda to get them to vote against their interests because when I look at the facts, that's what I see.
It was clear getting these workers to unionize was good for the union... it was much less clear why it would be good for the workers.

People can say what they want about Amazon but the reality is they provide a far better job, wage, and benefits than most. Apart from the broad sweeping messaging around corporations = bad, unions = the answer, it wasn’t really clear at all why a union would benefit workers here. As such the result isn’t terribly surprising. The result isn’t even close.
hi - I'm the person who extracted their facerec algo and ran the test - another problem is that they're pretending that it wasn't a problem.

See "fewer than five complaints" on the third/fourth paragraph of page 21 of this letter Proctorio sent to the senate [0].

From anecdotes from my circle of friends alone, I've heard at least 3, some correlated by race, and then seen many tweets from @Procteario about it, so I didn't buy it, ran it myself, and tada. bias.

Also, it's less of a "just train" problem and more of a "complete redesign" problem - HAAR cascades use greyscale images, which generally mean a loss in contrast and makes it difficult. You'd likely need a full color oneshot network, such as BlazeFace, to make it work.

[0] https://epic.org/privacy/dccppa/online-test-proctoring/Proct...
Nix does not solve all problems clouds solve. But it can be a quite useful tool combined with them.
Last time I rode my bike to work, it was stolen. I work in a big bank, in the Chicago Loop. I parked my bike at a bike rack, outside the bank branch, at the bank's office tower, near at least 2 signs warning of 24/7 surveillance. Double locked. Gone. No metal shavings on the ground. Nothing.

I went to security and asked to see the tape. They told me a) they can't show me any footage; b) they don't film the bike racks.

I filed the available police and corp report forms and kissed my hopes goodbye.

By actively not caring about bike thefts, authorities are actually encouraging them.

Now I ride my electric skateboard, which I can keep at my desk, safe.
Curl's "one thing" is to get files from the network in every conceivable way possible. Ffmpeg's is to convert media files between every conceivable set of formats possible.
I feel like there are a few interesting Microsoft phenomena that contrast with Unix thinking in both of these examples.

CommandLineToArgvW - You called that "WINAPI", but it's worth mentioning the more specific provenance of shlwapi.dll. This is not a core, foundational part of Windows that is used in core, foundational things. It's a helper function from the shell (explorer, not shell in the Unix sense). So, while it has a look and function that seems pretty foundational, it really isn't. It's there because somebody working on Explorer long ago found that useful to have and decided to export their helper function in the DLL.

CRT - A CRT binary ships with Windows, but really, that code is maintained and distributed by the compiler guys and DevDiv. So theoretically, the argv parser could change at those people's whim alongside a new Visual Studio release. And it seems from squinting at that github issue like that might have happened here.

So really ... there are more artifacts here attesting to the fact that the command line arg parser is not part of the operating system. People find that functionality useful, so they look for things that "look like" the operating system official method, and maybe they find stuff that does "look like it" -- but such a thing isn't really there.
Isn't possible to achieve a great compression ratio when you recognize grammar forms?

Statistical compression seems a little random and unpredictable.