HackerTrans
TopNewTrendsCommentsPastAskShowJobs

J-Kuhn

231 karmajoined 10년 전

comments

J-Kuhn
·그저께·discuss
By some logic:

* If they want to tell someone personally what to do or not to do, is some form of employment.

* If it is not paid, it can be considered slavery.

* It is usually possible to quit jobs.
J-Kuhn
·6일 전·discuss
Systemd (part of many major linux distributions) has for example machine-id[1], readable by anyone on the machine under /etc/machine-id.

[1]: https://www.freedesktop.org/software/systemd/man/latest/mach...
J-Kuhn
·13일 전·discuss
Sarcastic view: Doesn't matter - the EU wont listen, then pull a surprised pikachu and make laws to force googles play integrity to attest that other devices are genuine, because obviously, the problem is google, not stupid design decisions made while creating the app.
J-Kuhn
·21일 전·discuss
You can do GET & POST requests without preflight.

The logic behind this is: It was possible to do this before the introduction of those APIs anyway - but you could not read the response.

You could send a GET request by, for example, embedding an image. And you could send a POST request by submitting a form - even if the form did only consist of hidden elements.

Those are called "simple requests": https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/COR...

It is expected from web application that they can correctly handle those requests, even when they were sent from a different origin (for example, blocking them by using a CSRF token).

It was however not expected that existing web applications could handle non-simple requests - as the ability to do so was restricted either to command line tools or required other user interaction/configuration. This is where the preflight request comes in - send an OPTIONS to check if the other side is okay with that kind of request.

But what CORS do is: It can make the response available to the requesting script - the request did already happen if it didn't require a preflight.
J-Kuhn
·26일 전·discuss
Yes, the EU calls it "digital sovereignty" and is currently "in" with the EU.
J-Kuhn
·26일 전·discuss
To my knowledge, any app can just instruct the installed browser (Google Chrome, Vanadium, Firefox...) to open http[s]://tracker.evil-ad-network.example/?installedId=012345.
J-Kuhn
·지난달·discuss
Or simply forgetting to renew the domain, at which point an attacker can deliver arbitrary files through correctly signed TLS.
J-Kuhn
·지난달·discuss
There is also Idris 2 for JVM (https://github.com/mmhelloworld/idris-jvm)

Frege targets Java source code, which is then compiled by javac - the downside of that approach is you can not preserve the line numbers for debug information.
J-Kuhn
·지난달·discuss
At a quick glance, it seems to be missing some hook to resolve class hierarchies - which is needed when merging stacks with different types. Consider

    var foo = expr ? new Foo() : new Bar();
For such an expression, some superclass or superinterface for both Foo and Bar has to be chosen.

What I am curios about is, if the java classfile API[1] provides a good model that could work in Haskell as well - I always had the impression that it was heavily influenced by functional programming, for example it uses "lifting transforms"[2].

PS: Good work on the label resolving part - this model is also used by the Java Classfile API and before it, ASM.

[1]: https://docs.oracle.com/en/java/javase/26/docs/api/java.base... [2]: https://docs.oracle.com/en/java/javase/26/docs/api/java.base...
J-Kuhn
·지난달·discuss
This information is shown on the site of the breach, as example: https://haveibeenpwned.com/Breach/BakerDistributing
J-Kuhn
·지난달·discuss
This is a bad idea, for multiple reasons.

https://www.troyhunt.com/here-are-all-the-reasons-i-dont-mak...
J-Kuhn
·지난달·discuss
You assume that the EU acts in a coherent manner.

I think that premise is wrong - there are many interest groups, and by luck/lobbying/reaching critical mass/... they manage to put one of their interests into a law.
J-Kuhn
·지난달·discuss
Fun Fact: When Cookies were introduced into Netscape, you got a browser permission prompt. Then browser vendors set it to allow by default.

And then legislation required those consent boxes back, so everyone built their own, instead of demanding that the default should be changed back.
J-Kuhn
·2개월 전·discuss
Oh, I also got one: https://wiki.archlinux.org/index.php?title=Special:CreateAcc...

> To protect the wiki against automated account creation, we kindly ask you to answer the question that appears below (more info): What is the output of: LC_ALL=C pacman -V|sed -r "s#[0-9]+#$(date -u +%m)#g"|base32|head -1

Wait, they really do that...
J-Kuhn
·2개월 전·discuss
Inspired by this, I wrote a quick prototype using MethodHandle combinators: https://gist.github.com/DasBrain/19804df69c78cee257dd0294b00...

It doesn't have all the bells and whistles - so no support for annotations or arrays, but for ~2h of work, it shows what is possible without resorting to bytecode generation.
J-Kuhn
·2개월 전·discuss
I think they point weird-eye-issue wants to make is: Students attend college to become qualified to work.
J-Kuhn
·2개월 전·discuss
In some parallel universe, they may still have it built in.
J-Kuhn
·2개월 전·discuss
Still has the same vibe as "she did consent by wearing such a short skirt".
J-Kuhn
·2개월 전·discuss
Well, if you are Disney, it turns out you can - by having the law changed just before the thing would go into the public domain.
J-Kuhn
·2개월 전·discuss
You consent by reading this comment.