skysight-inc/HackerNews huggingface dataset:
As an example, I have had to purchase a very specific usb-c data cable for my 4K monitor so I can connect my MacBook with one cable. The standard cables which can charge are not able to carry data at the correct rate.

At the office, this was solved by giving me two cables - one for charge and one for data which connect to the DisplayPort.

The only thing as painful is the box of unlabelled hdmi cables I have that all works to varying degrees.
And D has the DasBetterC mode, but I'm not sure that's good enough: when the language has a GC by default, all the libraries use it, the APIs relies on it..

What good is a language if you can't (easily) use its libraries?
mera desh badal raha hain.
You could make similar argument against webgl.

Sure, it's hard, but take a step back and midi is just a more sophisticated keyboard/mouse (re input, the output is just a few pixels).

Most musicians are ok with as much as 10ms latency while playing. That's plenty of CPU time. 1ms is about how long it takes sound to travel 1 feet. So how far away you are from your speakers may give you more latency that whatever current CPUs are capable off.

I'm not arguing to make web DAWs and audio plugins. But for learning piano it's perfectly fine.
You would rather trust public usb cables? Of course you should bring your own chargers.... so long as that port has a data connection to the most personal device you own, you should probably own the hardware that plugs into it.
Mobile OS pushes on both iOS (APNS) and Android (FCM) work the same: push can only be initiated by the developers of an application. So, no third-party server can push an app without intermediation by the application developers. Scheme is this:

Service -> Push service -> APNS / FCM -> Applications

With XMPP, servers act as 'service' from the scheme above, then relay a push initiation to 'Push service', maintained by a client app developers, Push service relays information to a respective service by Apple / Google, who deliver push to an Application, which connects to Service (or does not, pushes can contain all necessary information for displaying in notification, but that's a story for another time).

With email, I'm not really familiar with how IMAP Push works, but the scheme must be the same: an email server must relay info to a push service maintained by app developers, in your case, K9 guys.

From what I was able to gather after reading wikipedia for 5 min, an IMAP server upon receiving an email sends info to some 'mail user agent'. From wikipedia it's not really clear, but it appears that is is supposed to work on end devices. In this case, it won't really work as 'push'.

Google (or any other email provider, like Protonmail, who have their own app) get around this because they control both email server and push server, so it's trivial for them to initiate a push when an email is received.
I wonder about the reasons, seems excessive what might be the need behind the behaviour?
I built one of these too: https://ismycertexpired.com/
Access Analog (https://accessanalog.com/) is already doing something similar, and their system is around 300-2500ms latency (https://accessanalog.com/support/#1534876416634-f660a710-8f4...). A company cannot reliably offer much better than this latency, unless they have servers in all their customer's cities.

To most DAW users, 300ms is unacceptable, so any service that processes audio on a server needs to make this caveat very clear in their documentation. The problem with such a business idea is that local computers run DAWs just fine, so very few people would seek remote audio processing.
I'm a bit rusty on boolean logic and it's a Saturday but I think that means "Bribery"
What value does this provide compared to SSLPing.com? How are you planning to ensure the longevity of your service?
Requests like this are better directed at the contact link in the footer. dang doesn't read everything posted to HN.
Exactly.

I would definitely pick Coldcard over Ledger though.

Coldcard is open source and open hardware to a much greater extent, while still using secure element for secret storage and PIN counter. It also offers advanced security features like proper multisig support, airgaped operation, roll-your-dice entropy input, etc.
I agree with all you've said, including that probably the US bribes (or threatens) as much or more than the EU. But being even more cynical about it, this is just the way the free market sneaks in, including these big government deals: one party has money, the other party has power. Say Airbus bribes Saudi Arabia Officials. The officials don't have that much money, but they surely have power, and Airbus doesn't have the power to decide on the deal but they surely have some cash. A transaction is agreed and done and both parties reach a win-win situation. Of course the losing part is the citizens, but a capitalistic view of this is that corruption is just anything that breaks the fairy tale idea that the people that work in government seek the interests of the general public and not their very own private interests. Citizens were already on the losing side when the government forced them to pay taxes.
Oh, thanks for pointing that out!

He posted an update on the game recently: https://marctenbosch.com/news/2020/01/miegakure-update-end-o...
One feature opensnitch has (and I have not seen mentioned here) is that you can run the filter on one device e.g. your openwrt router, and the GUI on your laptop; this is a nice feature that no other “personal” firewall (including the original LittleSnitch) provides - filtering for your iPad and smart tv as well!
> Still, the irony of Apple complaining about being forced to adopt a standard when they’ve been at the vanguard of aggressively dropping older ports is amusing.

Is it? Nearly every big industry player hates being regulated to make a decision they didn’t make.
Every company that sells to governments in "low compliance" (let's put it this way) places.

Do you think Mr General/President/Leader of 3rd world country looks at merit/quality only?
To me, the divide is pre and post-Perl.

It's not so bad going between JS, Ruby and Elixir regex (possibly due to my use of a smaller set of features), but VIM regex disappoint me time after time.
> How do you handle push notifications with XMPP?

XEP 0357, implemented in servers ( https://modules.prosody.im/mod_cloud_notify.html for prosody, for example), and implemented by clients ( https://github.com/siacs/Conversations/issues/1171, for conversations for example).

Conversations also uses XEP 0198 and XEP 0352 for battery optimization: https://conversations.im/#optimizations
"Airbus is everything that is wrong with the corporate world."

But it makes planes that don't crash like Boeings.
Being able to use a GC in some embedded cases (not too hard constraints on memory use or latency), doesn't mean that you're able to use GC in every embedded cases.
I work on telecoms just above the FPGA/DSP even a 1ms pause would be a big issue.
Show HN: Easily create your own personal about page
I view this as a good idea!
Not sure how this comment was downvoted!
There's no such thing as an untyped programming language that's used in the real world. JavaScript and typescript definitely aren't. Maybe you mean dynamically typed
I literally have no idea what you're talking about.

Whatever you say, though.
$12 a month to tell me what my calendar or a trivial script can does seem rather steep, if I'm bluntly honest.

If I have 100 domains to monitor I likely have already thought of scheduling certificates' renewals.
Well Airbus making deals still is in the overall interest of European citizens rather than Boeing making deals.
Build your own block_on() in async Rust
There's another deeper level here.

Like with stocks, the price depends on what other people think the price is, so you can be correct and lose your shirt because everyone else thinks something that is wrong. (Which also makes them right!)

Similarly, it's likely that common illogical arguments like whataboutism persist exactly because they are effective in convincing non-logical people and may be a logical strategy if you actually want to achieve some kind of political change.
What the Government of Kenya is doing to develop digital technology talent
He lists many things he likes and very few he dislikes, but the last sentence is:

> For big and longstanding projects, I do believe Go is bad because if you want to do something complex, Go won’t let you do this anyhow.

Without a proper explanation how he got to this strong conclusion.

And especially with so many cloud infrastructure projects being written in Go (Docker, Kubernetes, Terraform, Consul, etcd, CockroachDB, Nebula, ...), it seems to be in contrast to the common perception, thus requiring a proper explanation even more.
Conversations is a relatively nice simple app for just one platform. Imagine you convince your company to use XMPP. What would iPhone users use? That's why i'm talking about this:

> a product, which can be easily deployed and will work consistently on every platform.
For completeness, there are a few 14-bit MIDI control standards that I'm aware of, and all of them have major disadvantages.

- MPE pitch wheel: You can only have 16 controls with this method. Otherwise, it's an efficient protocol.

- NRPN/RPN: Requires 4 MIDI messages to send a single value in a proper way (control number, MSB, LSB, NULL control number). Technically you can do it in 3, or 2 if the control number doesn't change.

- CC MSB/LSB: Plows over normal CC messages so you need to explicitly set up your controller / synth to agree with each other. As far as I know the order of MSB/LSB is not defined by any standard, and IMO this makes it a broken standard.

- DX7-style SysEx: Honestly this is my favorite, but because system exclusive messages are supposed to be... system exclusive, nothing else uses this standard (except for some DIY projects I've seen).
It's not even malicious compliance. It's non-compliance since it should be as easy to deny as it is to accept.

Hopefully this behaviour will change once the ongoing cases make their way through the court system.
Mine are https://aburbecondita.com and https://roblesnotes.com
Nim’s relationship with GC is very different than any other language that I’ve used.

It has very different selectable GC systems - Boehm, Bacon/Dingle, reference counting, or real-time deadline mark-and-sweep, and “none”. Perhaps I forgot one. Some libraries rely on a specific GC behavior but most work with any (with the caveat that “none” requires you to manually deal with garbage).

Nim’s mark-and-sweep is suitable for embedded systems and games, unlike Java’s, and so is the ref counting one; but even if none of the GCs work for you, the fact that there’s many of them and they are mostly interchangeable means that the dependency on them is much, much weaker than you are used to (although it still exists)
That math doesn’t check out.
Ask HN: Do I have too low of an IQ to be a successful engineer?
I’m currently a software engineer at a big tech company. One thing that has always bothered me is that I always do poorly on standardized tests, such as the SAT (~2200, but with a 700 Math, lower than anyone I know). I didn’t go to a top school and usually do poorly in coding interviews if I haven’t seen the problem before (failed Google, Facebook, Microsoft).

I feel like I’m at an impasse in my career - what is the minimum intelligence required to be successful as a software engineer? Or is it more useful for a lower intelligence individual like me to pick a different career path?
higher performance, simpler, can be used internally and royalty free
I was under the impression these only work for usb c power distribution; do they also work for data, display, etc?
No? iPad Pro and MacBook sales are a drop in the bucket compared to iPhone.
See https://en.wikipedia.org/wiki/Telegram_(software)

“Telegram's security model has received notable criticism by cryptography experts. They criticized the general security model of permanently storing all contacts, messages and media together with their decryption keys on its servers by default and by not enabling end-to-end encryption for messages by default.”
"non-zero" is not the same as a "all but a set of measure zero". Here's what "measure zero" means:

A set S of real numbers has measure zero if for any positive ε no matter how small, there exists a countable set of intervals such that (1) every element of S is in at least one of the intervals, and (2) the total length of the intervals is < ε.

For example, let S be the set of positive integers, {1, 2, 3, ...}. Proof: consider the set of intervals {I_1, I_2, I_3, ...}, where I_n is the interval [n-ε/2^(n+2), n+ε/2^(n+2)]. Every member of S is contained in one of these intervals.

The length of I_n is ε/2^(n+1). The length of all the intervals is ε(1/4 + 1/8 + 1/16 + ...) = ε/2 which is < ε.

Thus S, the set of positive integers, has measure zero.

A similar argument works for any countable set of real numbers, such as the rational numbers or the algebraic numbers, and so something that was true everywhere except at rational numbers would by true for "almost all" real numbers.
The difference is control. A person knows that if he disables a desktop client, he won't be receiving any messages.

A phone user expects that messages would be displayed to him in notifications when received. One does not expect to be cut off communications because he had pressed a 'home' button, but it's what happens, and a user does not have any control to prevent it from happening.
"If you're IKEA and want to open a store in Moscow, you will pay x% of your revenue to a local 'businessman/thug'. If not - no store! So you wait a decade and realize you have no choice, and so you just pay the appropriate tributes."

A link to the source would be appropriate.
EU isn't legislating USB-C, it's demanding that the industry standards body have a common standard for charging, and continue to develop it as a common standard. The manufacturers are going to be collaborating on the specs. It will be like TCP/IP, DNS, UTF and many other things.
The list should probably be:
Zig, Jai, Odin, Beef, V in the category 'C replacement'.

Nim should be with D in the category 'C++ replacement with a GC by default'.
* are now usable
typo
Opensnitch does not run in ring 0, though it does run as root.
I thought about monetisation and it’s also in the talk linked but ultimately I’ve decided to not monetise it. Instead, to make it sustainable, I’ve created a separate app called Aether Pro at https://aether.app. It’s a much better version of Google Groups. You would use it if you wanted the modern features of Slack like channels, guests and integrations, but you also want to keep email discussions as your main work tool, and not move to chat.

By having them separate, I can make sure that the the P2P version isn’t influenced by money-making concerns, since we have a product explicitly made for that.
I found that by explicitly having to write types, the structures become a lot less convoluted. You split things apart, give them names, spot patterns more easily, and encode all sorts of information in a type system. And knowing that all fields are there when you need them is a relief.

Of course a code review can catch it. Of course careful programming can as well. But those are external constraints.

Having internal constraints greatly reduces the amount of mess one can produce.

Admittedly, sometimes to a point to which you’ve typed yourself in to a corner.
Likewise, the WTO dispute was unsurprisingly fired again shortly after the MAX grounding. [1] for example, on 14/102019.

[1] https://mobile.reuters.com/article/amp/idUSKBN1WT0T2
Why, it works quite well. In short, the scheme is this:

XMPP server -> Push service -> APNS / FCM -> XMPP client.

Push service here is a service maintained by an XMPP client developers, cause you need a client app certificate to be able to send messages to it via APNS/FCM, and no sane devs will be handing out their certificates to third parties.

It should be noted, that the recent changes to how Apple push notifications work in iOS 13 (MORE restrictions on VoIP and 'silent' background notifications) require some updates to it, but so far, XEP-0357 does not look like something terrible.
Nice catch I think. I’ll be damned if I can see a difference. Looks like the old code will also skip the checksum in the case of any non hexdigit padding.
There has just never been a large enough variety of connectors for each application to have an ideally specialized standard.

Especially the greater number of pins, the wider variety of possible uses.

But USB is only 4 pins.

IIRC when USB first appeared on consumer devices, Radio Shack was still going, but USB was the first consumer connector that they did NOT have a do-it-yourself solderable or crimpable cable terminal for, nor any truly appropriate cable. And they never did appear as years went by.

You had to cut your cables in half and splice them to appropriate extensions if you wanted to take advantage of the full 92 foot cable-length maximum under USB 1.
One simple and very cheap option: AWS S3, Cloudfront and a site generator, I use Jekyll.
Indian schools want better security. And then some
Compare the price of an Apple phone to a burner phone and you'll know why they're not great quality. Apple chargers at that price would also suck.
The original response about these type of issues [1] rubs me the wrong way

In particular this statement:

> That being said, we were surprised by Ledger’s announcement of this issue, especially after being explicitly asked by Ledger not to publicize the issue, due to possible implications for the whole microchip industry, beyond hardware wallets, such as the medical and automotive industries.

As I understand they are using a standard STM32 chip for these wallets, and relying on it's basic protection. Companies make real processes designed for securely storing data, why aren't they using them? Instead they are suggesting that there is no alternative and everyone is vulnerable to this style of attack.

Edit: I missed some of the backstory. They don't mention that option as their competitor (who found the security issues) already uses a secure element, like a sane person.

[1] - https://blog.trezor.io/our-response-to-ledgers-mitbitcoinexp...
I like the last sentence at 9:18 in the video where he says:

> During the experiment I experienced sensations of mostly unpleasant nature ... however if there's a need I'm willing to participate once again.
for what jobs were you interviewing?
How orwelian can this be, preemptively removing political podcasts should be the final nail in the youtubes coffin. Unfortunately as with fb, no one cares and everyone will continue to use it.
This conspiracy idea is quite far fetched. And it was probably spread as fake news, by someone with a political agenda to smear the reputation of China worldwide. (And if you’ve been watching closely, this is a very well funded campaign, that has been very active for the past 3 years.)

But let’s try to think this through.

If they (China) were researching it, then it is possible that this could’ve accidentally escaped the lab. Although that is some serious professional incompetence. And if they are intelligent and skilled enough to work with dangerous diseases, then I’m sure they have proper containment and stringent decontamination processes in place.

However, if this was a bioweapon, then a few arguments fall apart.

(1) If they engineered it, then they should’ve had the genome already. Instead, they had to capture the strain, and sequence its genome, and it took them three weeks to complete the sequencing. And then, they shared it with the world, the CDC, the WHO, in order to help foreign countries contain it.

For comparison, the CDC took over 2 months to sequence the Ebola virus. The Chinese sequenced this virus in 3 weeks. Granted, technology and techniques improved in the intervening years.

So that begs the question: If this was a bioweapon, then why would they quickly share its genome with the world? Why not just keep it for themselves, while they work out some cure, and let the rest of the world flounder and die off?

Their strength comes from their economic engine, and their exports to the world. They can’t make things for foreign markets, if those other countries are dying from some bioweapon that was unleashed on the world.

(2) If this was a bioweapon, and then they ‘accidentally’ released it on themselves, which makes no sense, then what is the goal? Because the economic fallout from this thing will cause billions in economic damages. As well as potentially causing social instability, for a country that prizes stability over all else. And the political fallout will be even higher.

(3) The Chinese are not suicidal. They were attacked with biological and chemical warfare by the Japanese in the 1930s. They were threatened with nuclear annihilation by MacArthur (to drop 50 atomic bombs) during the Korean War in the 1950s, and were also likely subjected to biological warfare too. The rest of the Western world prefers to ignore this, but they can never forget, because their people actually died from biological warfare.

So given all that, they have first hand experience of what biological warfare will do. So if they are researching bioweapons, then I’m pretty certain that they will have stringent procedures in place to contain it.

(4) And then there is the most logical argument, that this is a very poor bioweapon.

The goal of a bioweapon is to maximize immediate casualties, while minimizing uncontrollable transmissions to others. Basically, there is no point in using a weapon, if it ends up killing yourself.
I don't think the European Parliament or the European Commission are elected by the general public, I'm pretty sure the EP is selected by governments and the EC is voted on by the EP.
WordPress without cache.
> - CC MSB/LSB: Plows over normal CC messages so you need to explicitly set up your controller / synth to agree with each other. As far as I know the order of MSB/LSB is not defined by any standard, and IMO this makes it a broken standard.

This was set up to a degree with General MIDI 2, and I've found a -lot- of synths in the past that follow it - even to the point of implementing LSB on other controllers that are not part of the standard. This is in the murky past, however, maybe 20 years+ ago...
I sometimes think wasm was invented to rid this glorious js ecosystem of people who always moan about it so the rest of us can get back to 'improving tooling and best practices'.
That part does not refer to the E2EE Keys though. The Wikipedia article was also mostly written before MTProto2.
Bribery? Don't Americans call it lobbying?
I am less experienced, but my USB C experience has been less positive. Both my partner and I have USB-C phones, from different manufacturers. Both use different "fast charging" standards, and neither of the fast charging standards appears to work as well as with their respective manufacturers chargers (which as a side note are incredibly difficult to find replacements for). I also have a Nintendo switch, which doesn't charge with my MacBook pro's charger, and my switch charger doesn't power my MacBook properly. My car has Android auto, however the cable I was using would cut out if I played audio and used navigation, so I had to buy another cable from a different manufacturer (that cost the same as he first one) for it to work.

I've gone from multiple chargers with different ports, to multiple chargers with the same port, and specific cables with tags on them, and having to explain to my partner that you can't plug x into y, even though they all have the same port.

* Devices are a 2015 MacBook pro, an external GPU, a Huawei phone, a pixel 3, a Nintendo switch, two sets of wireless earbud. For those, I have 4 specific chargers, and two specific cables (3 if you count the moulded plug to the Nintendo switch).