HNHacker News
TopNewBestAskShowJobs

ylk

499 karma · joined August 11, 2016

submissionscomments
ylk··on Announcing Actix Web v4.0
Off the top of my head…

Firecracker, the software AWS Lambda runs on, is written in Rust: https://github.com/firecracker-microvm/firecracker

Mozilla wrote Servo, a browser engine, in Rust. Part of it has been integrated into Firefox a while ago:

> Mozilla incorporated the Servo CSS Style engine in release 57 of its Firefox Quantum browser.

https://research.mozilla.org/servo-engines/

It’ll be used in Android: https://security.googleblog.com/2021/04/rust-in-android-plat...

It’ll probably find it’s way into the Linux kernel: https://news.ycombinator.com/item?id=29485465

ylk··on Moving the Linux Kernel to Modern C
This isn’t the Linux kernel but I’d say it’s fair to assume that the same likely applies to it:

> Most of our memory bugs occur in new or recently modified code, with about 50% being less than a year old.

> […] we’ve found that old code is not where we most urgently need improvement.

https://security.googleblog.com/2021/04/rust-in-android-plat...

ylk··on Exposing a web service with Cloudflare Tunnel
https://www.cloudflare.com/plans/#overview

The WAF is $20/month and as far as I know you don't get it automatically for free by using Cloudflare Tunnel, though feel free to correct me. There was the case of them enabling mitigations for the log4j vulnerabilities for anyone on Cloudflare, but that was an exception.

ylk··on Real-world stories of how we’ve compromised CI/CD pipelines
That’s not true:

> By default containers are unprivileged […]

https://linuxcontainers.org/lxd/docs/master/security/#contai...

As for LXC:

> LXC containers can be of two kinds:

> - Privileged containers

> - Unprivileged containers

> […]

> The latter has been introduced back in LXC 1.0 (February 2014) […]

https://linuxcontainers.org/lxc/security/

ylk··on Grand jury subpoena for Signal user data, Central District of California
You said

> The E2EE in Signal only protects the actual content of messages.

> [By] (simply saving the data) Signal could get access to things like contacts and phone numbers.

And the linked blog posts show that for a few years now they've been working on limiting their own access to this kind of data --- i.e. it's not as simple as just saving it (like e.g. WhatsApp is able to and most likely doing 100% of the time to build social graphs).

Now of course all of those things are likely vulnerable to some attacks, but that's another discussion and it doesn't change the fact that Signal doesn't have immediate easy access in the way you claimed in your original comment. The fact is that there are some barriers and they'd have to put some effort into either disabling these protections or exploit flaws in them to get to the data.

ylk··on Grand jury subpoena for Signal user data, Central District of California
As far as I understand Signal can't just save all the data because of how the app/server are architected:

They use sealed sender: https://signal.org/blog/sealed-sender/

Private contact discovery: https://signal.org/blog/private-contact-discovery/

And a "Private Group System" which is supposed to keep group membership information from the server: https://signal.org/blog/signal-private-group-system/

Though of course they could still push malicious updates.

ylk··on Grand jury subpoena for Signal user data, Central District of California
I mean Apple themselves is telling devs to not send sensitive data in the actual notification

> [...] never include sensitive data or data that can be retrieved by other means in your payload. Instead, use notifications to alert the user to new information or as a signal that your app has data waiting for it.

https://developer.apple.com/library/archive/documentation/Ne...

ylk··on AirTag Teardown Part One: Yeah, This Tracks
> Any iOS, iPadOS or macOS device with “offline finding” enabled in Find My settings can act as a “finder device”.

https://support.apple.com/en-nz/guide/security/sec6cbc80fd0/...

Open the Settings app and search for "Find My". You'll find the setting. Or follow this: Settings->Apple ID->Find My->Find My iPhone->Find My network

There's some explanation as to what it does and you'll be able to opt out if you don't like it. (Though you won't even see the "Find My network" setting if you had "Find My" disabled anyway)

ylk··on AirTag Teardown Part One: Yeah, This Tracks
> Communication with the Find My network is end-to-end encrypted so that only the owner of a device has access to its location data, and no one, including Apple, knows the identity or location of any device that helped find it.

https://www.apple.com/newsroom/2021/04/apple-introduces-airt...

In case you care about details: https://support.apple.com/en-nz/guide/security/sec60fd770ba/... https://support.apple.com/en-nz/guide/security/secd4ab33e5c/...

I'm not sure how the e2ee works out when using Find My in the browser, but that's a different topic, I guess.

edit:

> This entire interaction is end-to-end encrypted, anonymous, and designed to be battery and data efficient, so there is minimal impact on battery life mobile data plan usage and user privacy is protected.

https://support.apple.com/en-nz/guide/security/sec6cbc80fd0/...

ylk··on Linux Hypervisor Setup (Libvirt/QEMU/KVM)
What made you think that you need a separate disk just for ISOs? They can be uploaded to and stored on the default directory storage.
ylk··on Securing a Postgres Database
A better alternative would be ProxyJump. See e.g. https://serverfault.com/questions/958222/bastion-server-use-...

Edit: To add some details - using ProxyJump you don’t have to expose anything to the jump host and instead just proxy through it.

ylk··on Thunderbird 2020 Financial Report
You'll have to do some additional configuration: https://wiki.mozilla.org/Thunderbird:OpenPGP:Smartcards
ylk··on Jira on premises end of life starts feb 2021
As jhawk28 points out this is not actually an alternative to an on premise product, so I don't get why you'd promote it in a thread that's specifically about an on premises product being EOL.

It might be an alternative to Jira Cloud, which is cool and all, but your comment is just completely misleading.

ylk··on Org Mode – Organize Your Life in Plain Text
I think beorg[1] solves a lot of your problems? It integrates with your calendar, shows you notifications and allows you to properly edit your entries.

I found out about it through HN, iirc, and it’s how I got started with using org-mode.

[1]: https://beorg.app

ylk··on Facebook to Buy Giphy for $400M
Signal apparently solved (parts of) that issue when they implemented it? from https://signal.org/blog/giphy-experiment/:

> Since communication is done via TLS all the way to GIPHY, the Signal service never sees the plaintext contents of what is transmitted or received. Since the TCP connection is proxied through the Signal service, GIPHY doesn’t know who issued the request.

> While this does hide your IP address from GIPHY and your search terms from Signal, there are some caveats. The GIPHY service could use subtleties like TLS session resume or cache hits to try to correlate multiple requests as having come from the same client, even if they don’t know the origin.

edit: more here https://signal.org/blog/signal-and-giphy-update/

previous discussion: https://news.ycombinator.com/item?id=12853248

ylk··on SciPy 1.0: fundamental algorithms for scientific computing in Python
I think you could also see this as a graph coloring problem https://en.m.wikipedia.org/wiki/Graph_coloring#Scheduling

Edit: to elaborate, each committee would be a vertex and a committee-vertex is connected to another vertex if one or more of their members overlap. Once you’ve got such a graph you simply have to a assign a color (or number/letter/anything) to every vertex in the graph, with the requirement that no neighboring (as defined by being connected by an edge) vertexes are allowed to have the same color. You also try to use the minimum amount of colors needed. Then you can safely schedule the committees with the same colors for the same timeslots, and be sure that everybody will be able to attend.

ylk··on In New York, Making Ends Meet on a 5-Cent Recycling Deposit
I’m baffled as to what makes you think that. Here’s a list of drinks and packages affected by the compulsory deposit: https://dpg-pfandsystem.de/index.php/en/compulsory-deposit-f...

Here, have a random statistic - they talk about the decrease in percentage of beverages offered in reusable packaging: https://de.statista.com/infografik/amp/8077/anteil-von-einwe... It’s apparently “only” 42% for reusables, compared to 56% for disposable ones. It’s not perfect, but It’s better than what pretty much everybody else in the world is doing.

Edit: turns out the statistica link is not so random - it’s based on data published by the federal environmental agency. More (in German) here: https://www.umweltbundesamt.de/publikationen/verbrauch-von-g...

ylk··on In New York, Making Ends Meet on a 5-Cent Recycling Deposit
Well your second quote states that bottles are either recycled or not.

There are reusable and disposable plastic bottles. The disposable ones are of really thin plastic and crushed, yes. The reusable ones are put into crates and return to the factories so that they can be cleaned and refilled. You can actually look through the machine and see the stacks of crates in the room behind them.

Many glas bottles (e.g. for beer, water and more) are reusable, too. They’re treated like reusable plastic bottles. Disposable glas does not have a deposit on it. You take those to a bottle bank (? containers on the street you throw them into), which is emptied once every two weeks (not too sure on the frequency).

Cans are the only type that is always crushed on return, afaik.

ylk··on Google: Security Keys Neutralized Employee Phishing
I'm storing a GPG key on a yubikey (set to always require a touch to decrypt [1]) and use that with pass [2].

pass stores the password, username (and whatever else you want) in a simple textfile, which is gpg encrypted. There's a browser extension for it, a GUI implementation and lots more (all on the website at link [2]).

[1]: https://developers.yubico.com/PGP/Card_edit.html [2]: https://www.passwordstore.org/

Edit: Addressing your edit: you could use pass with pass-tomb (puts all the separate password files in a folder and encrypts that, see website) and use a GPG key with password to encrypt all that (and re-enter that on every separate password decryption attempt). Don’t know any other password manager that would allow you to do exactly that..

ylk··on Ask HN: How do you organize/track your personal goals?
I tried a lot and Productive (http://productiveapp.io/) worked the best for me but if you look around in the app store there are a few that are well designed.
ylk··on AMD Zen 2 Update: 7nm EPYC in Labs Now, Launching in 2019
Got told once* that they have specific teams working with Intel, etc. with pretty strict rules, where if you ever work for one of those teams you can't ever work for one of the others. So if I got it right ASML develops their EUV tech, etc and then those teams build things on top of that with Intel, TSMC and so on.

*at an ASML booth at a kind of job fair at my uni

ylk··on Introducing the Keybase filesystem
What about people not using those distros? Some want to package it for other distros, but it requires you to tag releases.
ylk··on Android's fragmentation leads to a digital security divide
Well there's NFC. You put all your groceries into your bag once they scanned them, you tell them you want to pay by card, hold it in front of the terminal, enter the pin, done. Yes it takes 2-3 seconds until you can enter the pin (only if amount > 25€) and then another 2-3s for it to very it, but during that you can just go back to putting things in your bag. If you want to you can also get a thin wallet and not even take your card out at all. You're also overcomplicating the whole chip & pin/sign process by a lot. If the machines are simply mounted somewhere all you need is two fingers to hold/insert your card and then one of them to enter the pin or one hand to sign if your bank is weird. It's like you really want to see problems with the system. It works fine in other countries.
ylk··on GitLab acquires Gitter, will open-source the code
> (though obviously tied to GitHub)

You can actually use GitHub Desktop with any repo: https://help.github.com/desktop/faq/articles/do-you-support-... (Although it looks like you have to clone it first?)

ylk··on Interview with John O'Nolan of Ghost
Did you try adding a swap partition? I'm using the ghost image from digital ocean on a 5$ instance and even when I set it up manually before I didn't have the problem you described.
ylk··on Master C++ Programming with Open-Source Books
Would you please define which of his books you read? Just saying "Stoustrop's book" doesn't really help anybody. He wrote a few books, as you can see here: http://www.stroustrup.com/books.html
ylk··on Yubikey with USB-C
But that's what the article is about?... The YubiKey 4C. A YubiKey 4 that supports USB-C.
ylk··on ThinkPad X1 Carbon
Ahh I see. I didn't have Win8 preinstalled on my PC back then, so when I used that feature it only ever gave me the clean install.

Thanks!

ylk··on ThinkPad X1 Carbon
They'll have the 4C model in the T470p

http://www.notebookcheck.net/Lenovo-Classic-ThinkPad-models-...

ylk··on ThinkPad X1 Carbon
Iirc they introduced that with Win8
← PreviousPage 4 of 5Next →