Better HN
topnewbestaskshowjobs
Log inSign up

devman0

595 karma · joined Nov 19, 2018 (8y ago) · 168 submissions

Submissions

comment 1y ago · link · parent

XML also decouples the data model and serialization with the XML Infoset specification.

comment 2y ago · link · parent

How else would you do client side crypto for a website if not with JavaScript, isn't that kind of the point of how Proton does E2EE?

comment 2y ago · link · parent

Analogies are rarely perfect, that's why they are analogies. The OSI model isn't intended to be perfect and yeah there are a lot of details that leak between layers, but is also expected, any non-trivial abstraction is always going to be leaky. That doesn't mean it useless or absent of value in discussion at appropriate levels.

comment 2y ago · link · parent

Falsehoods programmers believe: the OSI model is useless

comment 2y ago · link · parent

ed25519 is in FIPS 186-5 which meets criteria (a) for Approved Security Functions in FIPS 140-2.

comment 2y ago · link · parent

Dividends get taxed immediately, so there is more pressure to reinvest profits in the company to find organic growth which is captured as capital gains instead. That reinvestment can take a lot of different forms like R&D, training, hiring, etc.

comment 2y ago · link · parent

Not just making money, but making more money than they did last year, forever.

Like a company can't just be cool with the fact that they serve a profitable market niche and gainfully employ people. Investors need capital gains and won't just be satisfied with getting reliable dividends!

Stock buy backs ruined corporate governance...

comment 2y ago · link · parent

The one time I got pulled over, the officer took my license and reg to run a check, I'm not sure I would want them handling my phone. I'll stick to the card.

comment 2y ago · link · parent

The defendant in question is a French citizen, being arrested in France, so if I were similarly situated I would expect to follow French law at a minimum.

My answer wasn't intended to be dismissive, truly, the answer will be specific to ones legal situation and the jurisdictions they plan to operate in and are best answered specifically by competent counsel in those jurisdictions after considering ones specific facts. Asking if ones should comply with laws "anywhere in the world" is not a useful question by itself.

comment 2y ago · link · parent

If you are a multi-national with a legal presence in that country you likely have the resources to engage local counsel in answering that question and to assist in understanding the legal risks of various business decisions.

comment 2y ago · link · parent

> "which currently only has vague accusations to justify jailing a CEO"

If they are charging him and intend to convict, they have specific accusations, unless the French legal system is much different than the rest of the western world.

> "If the French government was so concerned about the criminal aspect then they should just order Telegram to not operate in France or they should work to block it at a national level."

Many governments with anti-CSAM laws exercise universal jurisdiction in those statues (i.e. they will to prosecute anyone for those crimes regardless of where they were committed and regardless if the person in question is a citizen), that being said it isn't entirely relevant here since the defendant is a French citizen. I would fully expect a government with CSAM accusations to prosecute those involved in facilitating such not just "block" them.

It's worth noting that the person in question was just arrested, so the trial hasn't happened yet, and yes the government could be full of shit, that would presumably come out at trial as dropped charges or an acquittal.

comment 2y ago · link · parent

It's important to note that he has only just been arrested, so there will be a case laid out, a defense offered, facts tried, and ultimately a conviction or not. I don't find a lot of sense in speculating about why or why it didn't happen as that will presumably be surfaced during the trial itself. Such events may or may not be followed up on HN as most of time these things turn out to not be wide ranging conspiracies but more mundane wrong-doings or acquittals based on facts presented and mundane things do not get clicks.

comment 2y ago · link · parent

I think there are two parts to this:

1) On the technical side, Telegram groups operate more like a bulletin board, content is posted and can be fetched over and over again, a bulletin board owner can be compelled to remove material and if non-cooperating considered to be facilitating. Signal is more like a conversation in the town-square or a letter box of sealed envelopes. Once the content is fetched, it's gone. If signal is made aware that certain envelopes contain material that needs to be removed, I'm sure they would do so provided they still possess them.

2) On the non-technical side, many countries have crimes that are all about who knew what and when did they know it and could that have acted (or did they have a duty to do so). Facilitating, accessory, accessory after the fact call it what you will but that's more of a legal / philosophical argument to be had about the legal system in general rather than telegram specifically. A situation were telegram was made aware of illegal activity and was hosting said content in the clear and did nothing is manifestly different from a case where those facts did not exist, in most legal systems.

comment 2y ago · link · parent

As I hinted at earlier Signal does not have this issue because generally they are not aware of the underlying content. Even if Signal becomes aware of said content, it likely isn't hosted on their servers anymore as their store and forward system is highly transient. The most signal could do is be compelled to block specific users and maybe shutdown certain groups (not sure on that last one, would have to review the group architecture)

comment 2y ago · link · parent

He appears to be a French citizen, so who else should be doing the arresting?

comment 2y ago · link · parent

A lot of really terrible takes in this comment section. Telegram didn't have encrypted groups by default, and telegram possessed a lot of content on their servers that they had been made aware was illegal and didn't cooperate. Nothing more, nothing less.

The comparisons to other providers is off base because either other providers are cooperating more when they possess actionable, unencrypted information and taking steps to detect or prevent such recurrences or they are like Signal and do not have access to the underlying material in the first place or store it for very long anyway.

One cannot legally run a hosted, unmoderated content platform in the developed world, one will always be required to remove illegal materials and turn over materials in cooperation with law enforcement.

comment 2y ago · link · parent

You said you don't want the ability to do chargebacks, but chargebacks solve two different problems: 1) origination fraud (i.e. someone not you originates a transaction from your account) and 2) merchant fraud (i.e. goods not as described/unsatisfactory/undelivered).

It's fine if you say, yeah I can do without #2, but realistically you cannot do without #1 in any digital payment scheme that will have wide acceptance so a chargeback mechanism is required.

The only settlement methods we have that do without both protections are cash, cashiers checks, and wires. Setting aside cash the other two are a pain in the ass to originate exactly because they are non reversible.

comment 2y ago · link · parent

I think the issue here is who is paying the fee and where is the fee surfaced. A free market solution would work here, but it requires some regulating to create the transparency required.

Everyone pays their own credit card fee as a line item on the receipt, merchants are required to print it on the receipt. If customers actually had to pay their own fee's on each swipe you'd see a lot less people reaching for the Platinum card and instead for the no frills local bank credit card. You'd also see immense downward market pressure on swipe fees as now card issuers have to compete against each other.

comment 2y ago · link · parent

Hot take: maybe that is actually desirable? If insurance has a plethora of good actuarial information and risk modeling, and one's insurance costs are high, that's the market telling that person that they probably shouldn't be driving. If high insurance costs promote alternate means of transportation for highly risky drivers, that's a net win for everyone on the road.

comment 2y ago · link · parent

Could dust off DANE here, the connection probably already included a DNS lookup, why not get the public key info from the same.

comment 2y ago · link · parent

Java had a pretty comprehensive rewrite of it's own time handling library and it was much needed. Time is hard because time zones are not engineering they are political and arbitrary.

So yeah keeping things in Unix time is great if all your doing is reading back timestamps for when an event occurred, but the moment you have to schedule things for humans, everything is on fire.

comment 2y ago · link · parent

This is what I do for my own network, but with DNS instead of a website.

I have a cron job that reads a DNS A/AAAA record every 5 minutes or so, and updates an ipset referred to by an iptable (now nftable) rule.

So I log in to my DNS provider's dash and update the record to my current IP address (I could automate this part too, but I'm lazy)

comment 2y ago · link · parent

The AGPL also turns what was distribution license (GPLv3) in to a EULA which kind of contradicts freedom zero of the GNU philosophy.

comment 2y ago · link · parent

I haven't been in the java ecosystem in a while, but when I was using Maven you could just download the portable version and run it, and towards the tail end you could just include a simple mvn build shim that would pull down the correct version of maven and run it in a portable way (I think this was an idea borrowed from Gradle).

Maven itself, afterall, was nothing more than a java application (as was Ant before it).

comment 2y ago · link · parent

I read that as cisgendered && (women || adolescent girls) && (16 <= age <= 25). Basically 'cisgendered' and the age range are describing all study participants which which are all either women or adolescent girls which makes sense to me based on how I believe these trials are generally constructed.

comment 2y ago · link · parent

That aimbot would be significantly harder to implement than current ones though, the good aimbots are not generally scanning the framebuffer for heads to click, they are using the game data directly. If they do use frame scanning, it's usually with the aid of a texture swap, which also wouldn't be possible here.

comment 2y ago · link · parent

ULAs are generally static, almost all IPv6 unicast addresses are static though sometimes you may have "temporary" addresses via privacy extensions on hosts, those should only be for egress traffic out to the internet, intra-lan traffic should use ULAs.

Your ISP can change your prefix delegation, in practice this shouldn't happen often, but if your in a situation where you need to deal with it frequently on the same network (running a service with a short lived delegation) DDNS still works for IPv6.

comment 2y ago · link · parent

RFC 4291 section 2.5.1

and to your point, yeah you can step outside the spec and things can work in controlled environments, but "there be dragons" when your dealing with interoperability on a large scale (in this case Android expecting /64s per the RFC)

comment 2y ago · link · parent

Unicast IPv6 addresses are required to have a 64 bit interface identifier and a 64 bit network identifier (e.g. /64), handing out subnets lower than /64 is not spec compliant.

Network operators can do crazy things, but if you color outside the lines things may break.

123456