skysight-inc/HackerNews huggingface dataset:
That's when you are posting a video on your own website.

If you are posting a gif on a comments section of a website, or uploading to tumblr, for example, you don't have this control
Not OP - it took me a bit of time, and I was often frustrated by the things you can't quite do with the product. This was a few months ago though, so things might have changed.
There is a project called Slate that is inspired by this and is able to generate similar API docs from Markdown. It’s written in Ruby.

https://github.com/slatedocs/slate
>Why a password ? Passwords are terrible.

Because our culture/society fundamentally lacks the understanding of security that you and I do.

Education needs to adapt for the modern times. Media literacy, CS fundamentals, and a basic understanding of how the Internet works should all be learned well before college. If we don't have a shared cultural understanding about the way we exist relative to technology, I fear we are destined to become enslaved by it.
Well, for example, if it ran Gecko like it does on Android, you'd be one step closer to running extensions like uBlock Origin that run fine over on the Android side of the fence. Similarly, you might be able to use a password manager extension (e.g. LastPass or Bitwarden) that doesn't support the full suite of features that Apple gives its own password manager (e.g. updating a stored password based on an updated entry--and yes, I COULD just use Firefox's password manager, but maybe my usage of password spans beyond the browser or even THAT browser specifically).

And also you might care because we're on a forum full of developers knee deep in a thread and walled gardens and their relation to customer architectures, and it might be relevant to that thread that code that's common to every other Firefox platform target isn't as common on iOS.
I noticed that you're using macOS's Accessibility API to provide your autocompletions. That's a clever use, and it sidesteps a huge source of pain when trying to make terminals smarter (i.e., dealing with the TTY/PTY layers, terminal capabilities, &c).

My question, since you mentioned that Linux support is "not an afterthought": how do you intend to support Linux? Your architecture on macOS is essentially a (benign) keylogger that I'm liable to trust because of Apple's strong isolation of concerns/entitlements; no such isolation is (consistently) available across Linux distributions. I suspect that most developers on Linux won't want your proprietary client running as a logger over X11 or Wayland.
The coronavirus was not engineered in a lab. Here's how we know
> use modern tooling for automating infrastructure and big jobs, rather than manually submitting Slurm jobs via SSH

Is that going to be robust to whatever new cluster comes along five years down the line, or will it all have to be re-written?
It seems your idea is precisely the opposite of Robert Martin's. What he is advocating for is starting out the file with the high-level abstractions first, without any of the messy details. So, at the top level you'd have a function that says `DoTheThing() { doFirstPart(); doSecondPart();}`,then reading along you'd find out what doFirstPart() and doSecondPart() mean (note that I've used imperative style names, but that was a random choice on my part).

Personally I prefer this style, even though I dislike many other ideas in Clean Code.

The requirement to define some function name before you can call it is specific to a few languages, typically older ones. I don't think it's very relevant in this context, and there are usually ways around it (such as putting all declarations in header files in C and C++, so that the actual source file technically begins with the declarations from the compiler's perspective, but doesn't actually from a programmer perspective (it just begins with #include "header").
How do you make a company out of this?
Edit: My goal is to make a mini-synth which takes input from the computer keyboard.

If you are a Ruby programmer on Linux, you could use this rubygem I wrote: https://github.com/mike-bourgeous/mb-sound

A video about using that gem to make a synthesizer: https://m.youtube.com/watch?v=aS43s6TWnIY&feature=youtu.be

Part of a long-running experiment of mine to make educational videos about sound, which I hope might help you on your audio programming journey: https://www.youtube.com/playlist?list=PLpRqC8LaADXnwve3e8gI2...

There have been recent posts to HN about the difficulty of reading key-up events from the terminal. I used MIDI and a separate MIDI keyboard app for my video demo.
Professional Content Marketing Tips: The Best Time to Post on LinkedIn
That's true. Can't please all of the people all of the time without an infinite amount of effort. "Perfect is the enemy..." I do try to think about important but less popular features (like bulk operations for heavy users) and accessibility concerns like deafness, blindness (screen readers, contrast, and fonts), colorblindness, photosensitive epilepsy, dyslexia, nonnative speakers (more icons and pictures), and reasonable device support.
I have openhab in place for issues like this. Enjoy the smart home with a local connect-to-everything controller/bridge. Runs on a Pi, as a VM, ...
Works great!
As a lover of turn of the century genre fiction, I imagine it's an attempt to save face more than any question of delicate sensibilities.
That looks like an amendment to the Bill and not the original Bill. It looks like the original Bill is here: https://www.flsenate.gov/Session/Bill/2021/7072/BillText/er/...

And the wording is on page 17: "The term does not include any information service, system, Internet search engine, or access software provider operated by a company that owns and operates a theme park or entertainment complex"
Ask HN: Good Books on (Computer) Memory?
Ideally approachable for beginners, explaining how memory works (things like stacks, heaps), etc
Your contract generally doesn't state your job duties. The person paying you for sex also has control of your economic security.

Are you saying the relevant important factor is that they are an employee and not a contractor?

> wrong (and illegal in the US).

Sure, but prostitution is also generally illegal in the US as well.
Fixed in a tangible medium means recorded in some fashion. In a computer's non volatile storage, on paper, on a tape or record or CD or wax cylinder, etc. But, not simply performed for an audience (or oneself).

Under modern copyright law, if it's a qualified work, and it's recorded, copyright begins then. No intent to publish or special marking or registration or other such ceremony is required. Marking and registration do have benefits in lawsuits about infringement, however.

For works created before the modern automatic copyright, other rules probably apply.
Just listened to a Revisionist History episode that called out the harms of over-consumption of linoleic acid. Apparently the shift away from animal and towards vegetable oils in the '70s and '80s caused a lot of adverse health effects because we now consume multiples of the amount of linoleic acid that we did in previous generations.

Podcast: https://blog.simonsays.ai/the-basement-tapes-with-malcolm-gl...

(Somewhat biased, but still a good summary of the research) article on linoleic acid: https://theecologist.org/2014/feb/24/linoleic-acid-overwhelm...
If you keep picking the 128kbps track it does mean that you can hear a difference, and maybe that you subjectively prefer the more compressed audio.

That's why usually good audio tests use ABX where it's not about seeing if you can identify what is best, but rather if you can identify a difference at all. See for instance: http://abx.digitalfeed.net/

EDIT: I actually just tried the test and... ended up doing the same thing you did. On the Neil Young track I could hear a definite difference in the high pitched violin-like background, but I ended up selecting the 128kbps track as the "highest quality", maybe because the compression made it sound smoother.
As I've been learning more Emacs Lisp and Common Lisp, I've found that they're really quite similar. So I've been wondering why Emacs wasn't written in Common Lisp. Of course, I think the answer to that one is the age of Emacs -- it was around before CL? -- but this project will be one that I check in on periodically, for sure.
Let it go, but don't forget it. Use it to help inform future decisions of what to look for before joining a new organization.
Hmm, I'm more curious in reading the interaction when they bring up the fighter jet. Does anyone have a link to that?
I like DigitalOcean's site for deploying servers - simple, clean and fast. A few missing advanced features in certain cases, but much more user friendly than AWS.
It's in a different league. Hard to explain to a non-emacs user, though. Which is a tragedy because I'd love to explain, but some things just have to experienced.
Qualification is > 50% of sales for a market.
https://www.ftc.gov/tips-advice/competition-guidance/guide-a...

They are estimated to be at 50%
https://www.statista.com/statistics/788109/amazon-retail-mar...

IIRC - actions have been taken for as low as 40% (although this would be from classes in 2006-2008).
Just curious! How are you planning to make money as a YC company?
high end consumer audio is largely snake oil
Why wouldn't I operate under this assumption though?
Elon Musk and Bitcoin miners say wanna address crypto’s sustainability issue
The wild thing is we still have thousands of nuclear weapons, and the number of nuclear-armed states has grown since then. We just perceive a lower risk now-a-days, which I hope holds up.
> if you do then I think you’re a different kind of medium than a platform, more like a newspaper

Disagreed.

Newspaper-like and unmoderated, unbiased “utility like” don't work as exhaustive categories.

If I run a BBS, an IRC channel, an internet forum, a subreddit, etc, I would like to be able to moderate without having to pre-approve all messages before publication. I also don't want to have to go to court because someone has posted something illegal which I did not remove in a timely manner, or get sued because I removed something that I thought crossed a line, but was eventually determined by some court not to.

I see nothing wrong whatsoever with online services open to the public enforcing house rules. It only becomes an issue when a single service grows so large that it starts to essentially subsume the public sphere. That might require some intervention, but please do so in a nuanced way that isn't based on some imaginary binary distinction between 'publishers' and 'platforms' that hasn't accurately described how online spaces work since the late 70s...
Wait whaat? I am not from USA and hail from a much more blunt culture, what's wrong with those 2 statements?

To me they're harmless jokes but maybe someone will point out they're ableist?
They can quit, generally one's job role doesn't stay entirely static. Oftentimes, a role changes to something that an employee didn't sign up for.

Perhaps there is something unique about sex and how it interacts with power dynamics? I want to capture the intuition that we generally all share around stuff like this.

A statement like

> Just because it’s related to sex does not make it more of an imbalance.

does not seem to capture this intuition that most people hold.
Also her leftist tie was derived from her marriage to a Chinese man:

"""
Howe met his wife, a white woman named Sanora Babb, before World War II. They traveled to Paris in 1937 to marry, but their marriage was not recognized by the state of California until 1948, after the law banning interracial marriage was abolished.[5][13] Due to the ban, the "morals clause" in Howe's studio contracts prohibited him from publicly acknowledging his marriage to Babb. They would not cohabit due to his traditional Chinese views, so they had separate apartments in the same building.[14]

During the early years of the House Un-American Activities Committee hearings, Babb was blacklisted due to supposedly having Communist ties from her marriage to Howe; she moved to Mexico City to protect the "graylisted" Howe from racial harassment.[5][15]

Howe raised his godson, producer and director Martin Fong after Fong arrived in the United States.
"""

From https://en.wikipedia.org/wiki/James_Wong_Howe
E Ink Launches the First On-Cell Touch EPaper Module
How Has AI Contributed to Dealing with the Covid-19 Pandemic?
IntelliJ Idea + Ideavim plug-in and my heavily customised keybindings and F1-F12 keys. The same UI and keybindings for all my programming languages. I live in this program for 80% of my computer time.

Tmux+Zsh+fzf+bat+exa for terminals and splits. Same or similar keybindings to my InteliJ setup.
Uncompressed CD audio is 1.4 Mbps. FLAC can do roughly 2:1 compression, so that's 700 kbps. It's not crazy that modern mp3s (encoders have gotten better over the years) sound good at half the size of something lossless. They're only removing subtle details at that point.

You can see the same thing with high-quality JPEGs vs PNGs for photos. There's a decent size reduction, but to see the difference, I have to open the files in Photoshop, zoom in, and toggle which one is visible. If I compute the difference in Photoshop, it's usually only a few levels different, and never more than ~8. That's really hard to see.

Sadly, they're not even using a modern codec like Vorbis or Opus.

That said, while I doubt I can tell the difference between FLAC and high-quality Vorbis, once I learned to listen for distortions on the high end, it's a little hard to unhear. Same as looking for blocking artifacts in JPEGs or video.
Echoing a lot of sentiment here, you can do pretty much all of these things with SuperCollider. I'd go straight to SuperCollider rather than a "frontend" like Overtone/SonicPi. Not that these frontends are bad, but SuperCollider also has a nice frontend - the IDE works great with builtin doc searching, autocompletion, etc.

Sample wrangling becomes pretty thorny quickly as if you are triggering samples you want to make sure they don't "clip"/"pop" when you change them (due to discontinuities between the abrupt stop and the new start). I wrote a SuperCollider tutorial that demo's how to make a really high-quality sample player that takes care of these kinds of things plus gives you lots of control over rates, looping, etc. [1] That was my main hurdle with SuperCollider as that it has surprisingly few tutorials for such a long-running and deep program. Hopefully that helps :)

[1] https://schollz.com/blog/sampler/
Police spread falsehoods after using deadly force, analysis finds
>it's frustrating that there is no minimal cap on users before GDPR comes into effect, given how the EU has constant exception for artisanal food and goods manufacturers.

Privacy (including the right to protection of one's personal data) is a human right. Creating artisanal food is not.
Well, they have more famines too. There's no immunity from a currently prevailing population carrying capacity or lack of preparedness for wars and natural disasters. The hard limitations apply when there is lack of access to birth control but just enough resources to have more children.
Attorney.
I never found people adding a name useful.

Either the code is recent (in which case 'git blame' works better since someone changing a few characters may or may not decide to add their name to the file) or it's old and the author has either left the company or has forgotten practically everything about the code.
There's a story to be told here about how a clever forger managed to find wood from the 1600's, knew enough about Rembrandt's techniques to use some lead paint, and recreated his style well but stumbled by using pigments that weren't developed until the 1800's.

That story doesn't come out. Instead we get a painfully awkward sophomore science lab write up in the style of "we used techniques for identifying elements to identify the elements of the painting and determine whether the elements were consistent with the elements used in Rembrandt's time."

Pretty rough.
As for why this is useful:

If objects are allowed to talk to friends of friends, that greatly increases the level of interdependency among objects, which, in turn, increases the number of ancillary changes you might need to make in order to ensure all the code talking to some object remains compatible with its interface.

More subtly, it's also a code smell that suggests that, regardless of the presence of objects and classes, the actual structure and behavior of the code is more procedural/imperative than object-oriented. Which may or may not be a big deal - the importance of adhering to a paradigm is a decision only you can make for yourself.
The article also quotes this line, the next paragraph for context:

> Professor Hayek is also probably right in saying that in this country the intellectuals are more totalitarian-minded than the common people. But he does not see, or will not admit, that a return to ‘free’ competition means for the great mass of people a tyranny probably worse, because more irresponsible, than that of the State. The trouble with competitions is that somebody wins them. Professor Hayek denies that free capitalism necessarily leads to monopoly, but in practice that is where it has led, and since the vast majority of people would far rather have State regimentation than slumps and unemployment, the drift towards collectivism is bound to continue if popular opinion has any say in the matter.

I'm not sure why more democracy doesn't solve both issues, while retaining the benefits of both, which seems to be where most modern nations are broadly headed, in fits and starts.
Clearing Cellular Dead Wood
All the info from ATC is in that just vague enough category that you wonder if it’s just a language barrier issue or if what you’re thinking is really happening.

I feel like the pilot knew something was off, but eventually went along with it because he didn’t really have any other choice.

Is Belarus going to become another country international airlines avoid flying over?
I got 4/6 with a pair of Takstar Pro 82's (nothing special) connected over HDMI from my monitor.

I missed Neil Young and, surprisingly, the classical music, although I suppose that classical music is used extensively when testing codecs.
Curiously I picked 320kbps all but one occasion. Perhaps all those years of listening to MP3s have conditioned me to prefer the MP3s?
macOS switched from bash to zsh a few years ago...
What do shells do and do we need them?
I can see how this could be argued for published work, why should it apply to something unpublished? Should all of their personal correspondence be released too?
Would you feel equally icky about employees being asked to do other things that weren't part of the original job description?

If you are hired as a coder, and the boss asks you to start also joining sales/marketing calls with them (not in your job description) is that of equal moral ickyness as if the boss asks you to have sex with them or a third party (similarly, not in the job description)? I think not, but the explanation provided definitely doesn't capture that intuition.
There’s not much to say about it, as it does basically one thing, but that thing is powerful. It was added to Vim in v.8. Just type `:term bash` to get a buffer with a bash shell running in it. Or type `:term <command>` to run a command async and see the output in another buffer. Once you have bash, or another interactive prompt with a command like `:term julia`, then, if you have the sendtowindow plugin installed, you can select any text in visual mode and send it to the REPL with the shortcut that you define. You can send in any direction, so you can arrange your buffers as you like. You can switch to the REPL and send output back into your editing buffer. There are many other plugins with similar functionality, but I like sendtowindow because of its simplicity and generality.
Are you posting from 2039? Because from where I am bash is only 32 years old.
So the pilot said "no", at which point the agents on board staged a hijack.
How is this still a debate? Just keep a .wav backup and convert it to modern formats as they come. At this point I can only assume people listening to actual mp3's pirated the songs.
If you are interested in continuing to use emacs, I'd suggest using the profiler to investigate. There's a good demo/depiction of doing that here: https://www.murilopereira.com/how-to-open-a-file-in-emacs/ (posted recently to HN). I think it's most likely to be something pretty specific/small in the config you're using.

I am using emacs on a Mac, often with a 4K screen, and generally have no problems. I did have a scrolling lag issue a few months ago, but it was because of a bit of code that I had added to my modeline that was doing way too much work every time something changed in the buffer. The profiler pointed me right to it.
let's burn my last karma on fire: these stories just give HN an opportunity to hem and haw and wax philosophical...but then we all go back to lifestyles that result in us being in the top 1% of polluters and wasters on the planet today and the top .001% of polluters and wasters in history.
Rosetta supports translating 32-bit x86 instructions. However, there are no native 32-bit OS libs anymore.

This means that you have to do the thunking back and forth yourself to call OS libraries. The only x86 program using this facility so far is Wine/CrossOver on Apple Silicon Macs, which as such runs 32-bit x86 apps...
Wow.

Is everyone here aware that this would apply to any source code we write too? If an author writes a private book for his/her SO, that would pass into public domain because the copyright s/he gave to the SO would go away at time of death. I'm assuming that would mean we could not assign rights to source code to our family while we are alive. (Or anyone else come to think of it?) Since those rights go away when we die. This would change a lot. It would change almost everything.
Fig already works inside of VSCode and VSCode Insiders!

Also to clarify: we don't require node.js on the client. The completion specs are interpreted by the Fig macOS app.

re: LSP. Super cool idea, are you imagining Fig autocomplete in language-specific repls? Or something else?
Yeah, there really need to be a good reason to use catch(), and that's not it.
I'm sure that Arm must have done a lot of analysis around this issue when AArch64 was being developed.

After all the relatively simple Thumb extension had been part of the Arm ISA for a long time (and was arguably one of the reasons for its success) and they still decided to go for fixed width.
I don't think the ban had anything to do with genuine care for society or the participants. It was virtue signaling to a Muslim political base by a government, selling the idea that their government and by extension their society is morally intact, regardless of the reality on the ground. It's very similar to how exercise infomercials work -- you sell people the ideal of how they already want to view themselves, not the product itself. And quite reliably, people buy it.
A different but similar issue is that it disincentivizes trips by foot or bicycle, at the expense of a bigger load factor for public transport.
Yeah i think you're just missing something here. Its pretty common for people to compare themselves to others like this.

Not all of the questions are equally qualitative. Some are "i give more money to the homeless than average". You could theoretically measure this.

The purpose is probably just to understand peoples perceptions of themselves. (For example), i think i have better than average taste in music... after all, i meet artists and spend my free time going though new albums to find the next needle in a haystack.
I'm getting Access Denied to the article. It seems to be available on archive.org [0]...

[0] https://web.archive.org/web/20210525165724/https://www.reute...