skysight-inc/HackerNews huggingface dataset:
Perhaps I would leave it on to help the network, same as with AirTags and iPhones. What I don't want is any of my devices to find the internet without my specific approval. That is a much more important thing for me to be able to turn off.

(i.e., I don't mind if people use a small amount of my bandwidth if there is no risk to me. I do mind my Samsung smart TV with a mic getting online without me knowing about it, because I don't trust that mic in my living room and assumed not giving it my WiFi password would keep it offline.)
Reposted comment from an earlier thread[0] about ADHD (My own comment...)

[0] https://news.ycombinator.com/item?id=27063872

[0] https://news.ycombinator.com/item?id=27076941

_____________

I prefer to split tasks into two types!

Marathons. So if I'm not over-tired and I've had my morning coffee, and a good night's sleep, I will do a marathon session of 4-5 hours of solid work, no interruptions apart from social media feeds where I need to know what's going on in the world so I have context for what I'm working on. (If Github's down for example, I need to know that).

Sprints. These are smaller tasks that take 5-10 minutes, but I treat them as micro-habits that compound over time, or in other words; many-littles-make-a-lot and the desired outcome reveals itself over longer periods of time.

It's good to know which mode you're in, because with ADHD, you need to pre-allocate time-frames to the important things and know when you're in sprint-mode vs marathon-mode. Some people mix them up and end up doing 4-5 hours on something that should be a 5-10 min sprint, and needs to be incrementally improved on over a long duration (we're talking months or years of progress here).
Lossless, and possibly upsampling before editing, but high end gear probably does that by default.
As for bitrate compression, although I have a good musical ear, I can't find any appreciable difference from a high bitrate (320) mp3 and the corresponding lossless track, so no problems using mp3s to listen to music.

I also managed to resample my entire portable playlist (yeah, making mp3s out of mp3s, I know in some circles I could be killed just for thinking about that:*) to overcome that dreadful loudness craze that makes pretty much every track produced in the last 20-25 years destroy your ears if you happen to listen to it just after something 10 years older.
Unfortunately all methods to level the tracks (mp3gain, replaygain etc.) don't work properly because they should analyze all tracks dynamic content, not just the average/maximum level, then first adjust their dynamics and later normalize their level. In other words, level compression should be applied more to softer tracks and not the other way around.
So I faked a solution to the problem by reconverting my playlist after applying compression to an extremely low threshold, making clear to myself that none of those tracks would ever leave my player. Some sound really horrible, but I spared my ears.
> Existing spatial audio on iOS+AirPods puts the center channel (dialog) coming from your device, which makes sense since you're actively looking at it

It doesn't do this directly. It resets the center when you keep your head still. Your head stays still when you're watching a video on your phone, so it sets the center to where your phone is. Try looking away from your phone after it centers the audio on your phone. After a few seconds, you'll hear the center "move" to where you're currently looking.
The Google question really can't be ignored, to the point where

"Should I use Java or Kotlin on Android?" and "Should I use Java or Kotlin for <any other use of the JVM>?" are two totally different questions.
I’m not an audiophile, but a couple days ago my wife had the radio in the car on and I thought something was wrong with the stereo, the middle range of the music were missing. It was all snare and a muted bass. I tried adjusting the EQ, but it had no real effect. I was a little worried about my own hearing at this point, but I saw that the station was broadcasting in “HD.” I looked this up and HD apparently means that they broadcast in pretty low bitrates. I agree that there must be a point where the difference is negligible but people have taken the argument that you won’t hear the difference so far that they’re wiping out the heart of music on radio.
> This sums up the relationship between companies and their customers

I'm constantly surprised people let this stuff into their house. IMO modern tech companies are the best argument that a "software market" will never make sense because users not only seem incapable of shopping for software but will often choose the worst option.
While I would assume that in most cases the primary fault would belong to the manufacturer/developer in your example, there is missing change control at every level.

Each party should be asking "If something were to break, what's the worst that could happen?"

This concept should be mandated at every level of software rollout that could endanger lives. Part of this is a failure of the software industry because we have perpetuated the narrative that stuff "Just works." which is dangerously misleading to the general public. The public needs to understand more about the practicalities of software through better education.

As developers, we need to push robustness way further than the average company cares to produce.
Personally, I started with a Longines Moonphase watch and a Maurice Lacroix. The former is probably easier to find for $1000. I still think while way its over your budget the JLC moon phase are beautiful too
Peer reviewed has never meant, and will never mean, correct.

In general arguing that a particular authors contributions in an area have been less than stellar is not an ad hominem attack.
in fairness I created intercooler based on pjax and turbolinks, because I wanted to do everything in HTML without magic

and jquery has had load for a long time too: https://api.jquery.com/load/

so I can't claim to be the inventor of the approach

just the perfecter :)
I’m working on converting a huge codebase from Java to Kotlin.

I like Kotlin and would recommend it, but to answer the question:

- slower complication time

- more complicated language: this means code that’s harder to optimize, or that can be overly complex when written by junior developers or language aficionados. (This doesn’t have to happen, but it does in my experience)

- lack of libraries means you will use Java code, and Java and Kotlin code mixing is really well done, but will still expose you to many quirks. This will mean developers will need to know Java on top of Kotlin.

- less stable: things are changing faster in Kotlin, and you’re more likely to see breaking changes if you have a big codebase when the next version comes out.

- performance: in the same way C++ can be as fast as C code - Kotlin can be as safe as Java. In practice though, you will use more abstractions and you may want critical components to remain in Java. From my experience though, runtime performance is not an issue in practice for all examples I’ve seen tested.
Yes! But they can't say it will play Atmos BY DEFAULT when they can't guarantee the speakers/receiver support Atmos. On their headphones speakers they can.
In order to implement https://www.semicomplete.com/projects/keynav/ (or anything else that listens for a specific key combo to activate)
Yup.

try:
x = uncertain_op()
except ...:
x = 'fallback'
do_something(x)

is a common Python idiom; no initial definition required. Although this isn't true in every language.
Which is great in theory, except that signal handlers are such an esoteric body of knowledge that very few people can do it at all, let alone do it properly. So, many libraries do it for them (which works so long as nobody uses the blocking or blocking-dependent APIs - which is generally true). Even the JVM taps SIGQUIT for dumping process info.
WorkRave can't function well without it. Currently, it's working through a compatibility layer I think, but if that breaks, the application can't be made to work on Wayland AFAIK.

Alternative shortcut managers might also run into trouble (say, clipboard managers with customizable shortcuts) although those could work with a simple permission prompt for each new shortcut. Very annoying and obtrusive to the user, but the security principles remain.

There are also tools that extend some window managers with i3-like shortcuts and configurations; the config files are parsed on the fly and they need to work in the background.

Then there's tools like AutoHotkey that can be great tools for productivity through scripting and custom shortcuts. A lot of AH's functionality can be replicated using the standard hotkey API, but not everything.

There's also diagnostic tools (see Windows Steps Recorder) that record all keystrokes and generate a step by step report about what happened with screenshots as a guide.

IMO global key capture should still be possible with the right capabilities set because there are valid use cases for it. Requiring additional permissions is fine IMO, but completely removing the option to do this is a pain.
Global Hotkeys for something like Quake terminal, or voice chat push-to-talk.
Obviously I don't see why you would encumber the core protocol for it, but a subscription model for it as a wlroots or FreeDesktop portal could be interesting.
You may find this link helpful https://dzone.com/articles/introduction-to-jolie
I believe it may be tongue-in-cheek.
"Nation state" is used colloquially just to mean "country", but it has a connotation of formality or even oppression. Where "country" just sounds like a place where people live, "nation state" has a kind of academic, officious sound.

So it's used in a context like this to imply something nefarious, treating a country a bit like a dystopian sci-fi megacorp.

That doesn't make the assertion wrong. It would have been equally valid with the term "country". Just explaining (over-explaining, probably) why the OP chose that particular phrase: it has a particular emotional impact.
That doesn't seem like something that an application should be getting involved with. An application should only be able to manage its own windows and key presses to its own window.
Just a FYI in case you didn’t know, but Vorbis is kinda superseded by Opus now, which is a newer, royalty-free lossy codec that has a few nice qualities, such as, if I understand correctly, less decoding latency, higher compression ratio for similar perceptual quality. It has been the high quality audio codec for sites like Youtube for a while now.

I just wish digital audio players would pick it up.
For most real world problems the distance between points can either be calculated manually or points within a large (eg. global) dataset will be already divided in to mutually irrelevant sets (eg. customers generally don't walk across two borders within one trip, grid sections are precomputed, etc.), therefore this problem (near-optimal sort by distance over a large dataset) is pretty uncommon. For the cases where it is required, caching may be viable. For the cases where it is not possible to either do the math or cache, it may be possible to parallelize the problem or push it to the client. In the final case where none of these generic approaches are available, then you should sleep on it and come back the next day because you almost certainly missed something. If you really didn't miss anything, congratulations: you can justify more hardware. If you can't afford renting or buying more hardware then your dream has come true: you are probably a mathematics academic, and not a programmer, thus you can spend your days twiddling algorithms safe in the knowledge that someone, somewhere, might make money from it and it almost certainly won't be you.

Less tongue in cheek, if you enjoy algorithms make sure to read The Art of Computer Programming.
I like this book, Getting Right with Tao - http://www.beatrice.com/wordpress/tao-te-ching

A link to the free PDF is mentioned in the last paragraph.
I wonder when they'll start supporting windows' multimedia keys
It would be an interesting comparison. Non-apple silicon has definitely not been great and lags behind significantly. Would be very interesting to see what Android would be like on more modern CPU tech.
What can be hacked, will be hacked: Colonial pipeline And Modern Supply Chains
It's kind of funny that Krebs doesn't mention the other obvious "one weird trick", which has been around for decades now: do not run your critical systems on Windows.
Spatial audio has been around since at least the 90s. More recently, Bose has been pushing their "AR" eyewear which is sunglasses with tiny speakers and an IMU.

https://www.bose.com/en_us/products/smart_products/sp_frames...
I think it’s important to note that advances in detection tech have made it possible to detect “unreal objects”. I was parsing through this book and one of the most recent advances is the ability to detect holograms.

https://www.google.com/books/edition/Advances_in_Radar_Techn...
I worked in Kotlin for a few months, having very little experience Java to begin with. I have/had deep experience in several other languages, though - Python, Ruby, Clojure, etc.

Kotlin was nicer to work in that Java, but 99% of the concepts seemed to transfer neatly between the two. Server-side web app development was somewhat limited by the lack of a mature ORM. Exposed and ktorm were the big ones; Exposed explicitly didn't support many PostgreSQL features and had no plans to do some, while ktorm is a small project seemingly maintained primarily by a single developer.
> Are folks here just so anti-apple that they make up these "easy" solutions

I think it’s the other way around.

People in general underestimate how complex technical solutions actually are, and this leads to attributing malice to those who appear to be withholding those simple solutions.

In many ways it’s a manifestation of the ‘fundamental attribution error’: https://en.wikipedia.org/wiki/Fundamental_attribution_error

I don’t think this is specific to Apple, it’s just a general cognitive bias.
I'm not following. How does one build the trust in the first key exchange in a way that isn't building a web of trust?

And your first example is just a small web of trust for the closed loop.

That is, you are still leaning heavily on it as a first class thing. If the argument is that we don't need a global web of trust that everyone is always a party of, I can agree with that.
Yes, I should have said "for casual listening".
> Intel expects to launch Alder Lake in the second half of 2021

Let’s wait for this to actually ship first, shall we
You can't have multiple forms of advanced military targeting and recording and corroboration and high degrees of trust in the chain of possession and the observers themselves etc, any place other than where all that stuff is operating and operating in that heightened state like a training exercise or any other actual operation.

When was the last time the Navy was flying a bunch of fighter jets with all their hottest weapons and targetting tech active over your house?

We do have lot's of what IS "any place other", which is randos cell phone an dash cam footage. We quite rightly dismiss most of it, but it exists,ans it's all that can possibly exist, and so there is no discrepency to find "interesting".

I also don't find it remarkable at all that Russia and China aren't publicizing their own "nutcase" stories any more than we ever did, especially considering their pilots are pprobably even less likely to report anything even slightly odd that will end their careers.

It's not interesting at all.
I've read Rumi. Now, if you know the C Jung quote paraphrasing that, in the end all human problems are unsolvable from inside the package in which they came, and that change happens from a new perspective which itself requires a new, higher charging life force you might like Rilke's Sonnets to Orpheus.
Is there a full and complete example of how to properly handle signals in a multi-threaded program that does the usual stuff (talk to disk, talk on the network)? Written in plain C?

I think I know everything that I'm supposed to do (on Linux, for example). But I wouldn't mind looking through an example that handles everything correctly. Something that is designed as an example, as opposed to reading through some much larger and older project.
It adds up quickly. For North Korea the revenue from "criminal enterprises", including hacking and ransomware, are a valuable source of foreign currency.

At the very least, $5M seems a good start to fund an ongoing effort at developing cyber attack capabilities.
I don't think SideWalk is for high bandwidth audio/video communication. It uses LoRa for communication, which tops out at 27 kbps, and usually no where near that.

I'm expecting both systems transmit well under 50 MB/month. They use fundamentally alike premises. Find My also literally takes over a slice of your wifi & share info on gobs of devices it sees. That there is less user interaction with Find My does not make me- like it seems to make you- feel much better about the situation. But it also ought be a relatively negligible amount of throughput

Alas, as usual, these cloud-run devices seem to offer no visibility, no way to see or understand what devices we "own" are doing, gives us no grasp on how they are behaving.
So, the stereotype (mostly negative ;P) of "fully idiomatic Java" involves using factories (themselves managed by factory factories via dependency injection through factory factory factories... see "the hammer factory" post mirrored at https://danstroot.com/2018/10/03/hammer-factories/ or, to a lesser extent, Execution in the Kingdom of Nouns at http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom... for more information) to obtain objects, and most APIs simply don't need temporary arrays or large composites, so it tends to be pretty easy to take the high-performance parts of your code and modify them to never allocate anything at all (instead reusing existing objects from free lists, as the goal is to remove as much of--if not all of--the garbage collection pressure as possible, not to avoid the heap), in no small part because there is a pretty 1:1 mapping between the source code and the byte code... essentially, it is the same argument people use for why they love C (even more than C++, which I maintain has almost the same property): there are never any "hidden" allocations.
Does middlemen here mean middle managers, or layers of contractor agencies?
I built https://shortcut.so - practice keyboard commands and shortcuts
Vpiper on Substack
It is indeed, but only in recent years there was an app for that.
Damn, have you considered social experience could be the reason someone ended like that?

It's a feedback loop and the less in control you are, the less in control you are. Until you hit rock bottom. Which might not happen, and where you might bounce off, or not.
I've been using fish for years and adding fish bindings to ROS remains my biggest open source contribution. It's a joy to use.
Exactly this. I'd go so far as to also include honest mistakes. I'd rather have 10x the risk of being killed by a human making a mistake, than by a computer with a bug. The human making the mistake has a skin in the game (they are physically involved in the accident). Accidents happen, but I know humans try to avoid them.

Being killed by a piece of obsolete AI-code done by the lowest bidder for a company that went bankrupt 10 years ago seems much worse.

So not only will AI drivers need to be as good as human drivers, they need to be orders of magnitude better before we'll accept them.
This is happening: https://github.com/ClickHouse/ClickHouse/issues/15090

They're using NuRaft from ebay to drop zookeeper. As far as I remember, it's actually already merged and available to test. Performance is ~3x slower in terms of write as they're coordinating everything themselves, but it should be _much_ easier to maintain.

I'm looking forward to this, too, and want to see more in terms of docs / support here :)
One of the complaints brought up - the 16 bit group/uid seems to have been fixed quite nicely in modern linux systems by adding an additional 16 bit s to each. It seems these problems aren't "unfixable" after all
I don't think it would affect spotify much.

If anything it probably would totally kill Tidal.
There was a related thread on HN related to audio programming: https://news.ycombinator.com/item?id=26916254 but it was centered around DSP and audio plugins, which is a bit too high level for me. I want to learn more about things like how audio libraries like OpenAL and ALSA work.
Hm, I suppose you're right. I just tested it. I can't for the life of me remember what I was thinking of then.
Even windows prioritizes programs that have focus over those that don't to increase interactivity.
As far as I know, mp3 frames have a "volume" field, which is what mp3gain changes to losslessly change the volume of the entire track. Could you not take advantage of that too?
I doubt much ransomware is developed to be cross platform, having three different programs seems more logical. It might launch under wine?
I wonder how many people who call this “Havana syndrome” were among those who got bent out of shape about the “China virus” thing last year.
That's true, although I do miss the memory! And realistically, when it comes to heavy compute or multi-tasking the 3900X really shows its power. I'm honestly very interested to see AMD tech at 5nm. I think the next few years are going to be fairly mind-blowing in terms of CPU technology.
The funniest thing about all these leaks from Melinda's camp impugning him for dating his employees is that she was his employee when they met.
Car demand hasn't changed much, but there's fewer new cars being made right now. Less supply means higher prices.
Oh here's the thing though: the company was already using RabbitMQ, as well as Kafka (for other things, mostly data science), and it was all deployed in Kubernetes and replicated across three data centers, including one in Amsterdam. The complexity was already there, but only for a very restricted set of applications.
tl;dr: It's not about Linux, it's the terminal.

Linux exposes your keyboards as /dev/inputN devices and (with the exception of oddball devices or drivers without the hardware capability to detect them) every single one of them presents clean down/up pairs on every press, every time. If you want to read the device state, read it from the kernel.

The problem is that the author doesn't want to detect the device state. The author wants to write a program to run at the command line. And the command line is an environment descended from a long line of tty environments going back to the original teletypes of the 1960's. And those devices were never designed to expose a "keyboard" as a "device". They were a source of "characters" only.

Now, over time countless people writing countless terminal emulators have tried to address this shortcoming, in countless not-quite compatible ways. And that's been about as successful as you'd expect. You can do it, but...

But again, it's not about device support. Your command line program isn't and has never been connected to a "keyboard" device via any useful abstraction. The same feature that allows you to pipe input into it instead of typing at it makes this problem hard.
> "This is largely because MP3 is a crappy, old format. Try high-bitrate Opus on most samples and you're a lot less likely to get above-chance results on an ABX test, pretty much ever, at high bitrates."

I'll add to this that "high bitrate" for Opus can reasonably be considered as 128kbps or above, generally 160 or 192kbps are comfortably beyond what is needed to achieve audible transparency.

For anyone who's used to MP3 and just doing everything at -V0 or 320kbps, it's extremely impressive to hear how good Opus is, and how low bit rates you can get away with. Even at 24kbps it's serviceable for music, it sounds no worse than a slightly worn cassette tape.

It's a seriously impressive codec, both for speech and musical content.