fredrik-j

Joined 11 years ago

Karma
62
Submissions
32
Member since
Sep 30
I'm a curious software engineer.
View on Hacker News

Recent submissions

Comment · 6 years ago
Do you, or anyone else here, have any experience with using a slide duplicator on a macro lens with a digital camera, DSLR, for 25 mm slide duplication?

Especially I wonder if you've got advice on picking a useful level of resolution when digitizing slides. I seem to recall that a 35 mm slide contains around 10 megapixel data. If correct, is it at all useful to digitize at a higher resolution for general purpose usage, eg display on a computer or showing slideshows with a digital projector.

Otherwise I'm currently leaning towards digitizing at 4K resolution as a default, given that 4K is 8.2 Mpx.

How does dynamic range come into play? I seem to recall that slide film has a high dynamic range in general.

Comment · 6 years ago
As other's have mentioned, the lies about WMD where rather quickly dispelled, and doesn't compare to moon landing conspiracy. As far as I understand the WMD fraud was successful insofar that the administration was able to use it as a pretext to go to war, but it was also quickly debunked.

I think you're missing the point that Armstrong tries to make. While he indeed starts with your selective quote, he then goes on to say that it is rather unlikely that the government would get away with a fraud of that scale. If nothing else, then simply because of the amount of people involved in the moon landing, and third parties that then and still to this day are able to confirm that the moon landing actually happened.

My experience is also that people who trust the tales of a conspiracy over a wide array of substantial counter arguments are simply not open to actual counterfacts from others. It's like fake news, the conspiracy supports their believe system, and rational arguments to the contrary simply isn't effective.

Still I agree that conspiracy nuts need to be confronted. Perhaps though, not so much in an attempt to convert the believer as to stop them from spreading the conspiracy to others.

Comment · 6 years ago
Comment · 6 years ago
As a swede this is a bit embarrassing to me. I have a few friends who's bought into this completely, and of course bought the book. All without even a hint of critical thinking. It is hard to tell your friends they've been conned.

I can understand it to some extent. Here's someone, who claims he is a behavioral expert and scientist, and who offers a seemingly plausible simple method to understand yourself and other people, and how to use that method to efficiently interact and work with others. Who wouldn't want that?

Unfortunately the books are still sold. I've considered printing stickers that warns about the nonsense and sneak it on to copies in book stores. How else can we stop the proliferation of this junk?

Comment · 6 years ago
Can anyone now give a reasonable ETA for the HTTP/3 RFC:s?

I see that the WG charter has one milestone in May 2020, and Daniel Stenberg of curl has mentioned early 2020 before. In addition, AFAIU, both Chrome and Firefox have implementations ready, though still behind flags.

Is it likely that we'll see actual deployments and a wider rollout already in 2020?

Comment · 7 years ago
I fail to find any specific references to these policies forbidding use of executables not embedded in the apk. Not saying it's wrong, it's just news to me. Does it apply only to apps published via Google Play?

(edit) Never mind, found it.

https://play.google.com/about/privacy-security-deception/mal...

"An app distributed via Google Play may not modify, replace, or update itself using any method other than Google Play's update mechanism. Likewise, an app may not download executable code (e.g. dex, JAR, .so files) from a source other than Google Play. This restriction does not apply to code that runs in a virtual machine and has limited access to Android APIs (such as JavaScript in a webview or browser)."

Comment · 7 years ago
Is it possible for the states they traveled through to revoke their drivers licenses? I mean they've presented ample evidence that they've intentionally exceeded speed limits on average over the entire route.
Comment · 7 years ago
Thanks for the example video!

I note that the example skipped one crucial step, to scan for available devices. Scanning and enumerating available devices, and selecting a device, is a step where potentially sensitive information is exposed.

Will scanning for and getting a list of all available devices be something that a websites can do through the api? Or will the api delegate scanning to the browser, much like the file selector api, where the browser is only exposes the final user selection, the selected file, rather than letting the webapp have access to the entire file system? I.e in this case a list of all available bluetooth devices?

Comment · 7 years ago
If an extending class does not implement a method which is implemented by its super class, a call to that method on a instance of the extending class will invoke the super class' implementation of the method.

The super class implementation of the method may perform something that is entirely correct even for the extended class, or it may do something that is inconsistent with the assumptions of the extended class. Either way, there is no way for the compiler or runtime to determine if the omission of the method in the extending class is intentional or a mistake.

This is one reason to prefer Composition over Inheritance, especially in Java.

Comment · 8 years ago
At work we're migrating to openjdk obviously. But I'm curious what is the cost of a commercial Oracle JDK license? Is the price per server, per cpu/core, per users?

Anyone got a ballpark figure?

Comment · 8 years ago
Comment · 8 years ago
The closest I got to definition of "healthy low X" was a general description of the approach in the paper:

"Briefly, the main goals were to achieve maximal differentiation in intake of fats and carbohydrates between the 2 diet groups while otherwise maintaining equal treatment intensity and an emphasis on high-quality foods and beverages.

Thus, participants were instructed to reduce intake of total fat or digestible carbohydrates to 20 g/d during the first 8 weeks. Higher priorities for reduction were given to specific foods and food groups that derived their energy content pri- marily from fats or carbohydrates. For example, the reduction of edible oils, fatty meats, whole-fat dairy, and nuts was prioritized for the healthy low-fat group, whereas the reduction of cereals, grains, rice, starchy vegetables, and legumes was prioritized for the healthy low-carbohydrate group.

Then individuals slowly added fats or carbohydrates back to their diets in increments of 5 to 15 g/d per week until they reached the lowest level of intake they believed could be maintained indefinitely. No explicit instructions for energy (kilocalories) restriction were given. Both diet groups were instructed to (1) maximize vegetable intake; (2) minimize intake of added sugars, refined flours, and trans fats; and (3) focus on whole foods that were minimally processed, nutrient dense, and prepared at home whenever possible."

I find the last sentence interesting, reminds me of Michael Pollan's quip: "Eat food. Not too much. Mostly plants."

Comment · 10 years ago
That argument is skipping straight to the "Profit!" point. A somewhat distant Star Trek future where resources are distributed evenly among all. I'd like that to happen, but I'll believe it when I see it.

Meanwhile the argument ignores the not so far away reality where automation is available to the people who already have resources and jobs today, leaving even more people who currently have little without jobs and automation.

A job is not a right today, it is a responsibility. Our society assumes that everyone, or at least a large majority of all that can, has a job. How do we prepare for a future where the majority cannot get a job?

The most promising answer currently seems to be Basic Income. Though that leaves me asking too. How will we convince people and corporations that have to give up more of their income and accept taxing their property, to redistribute all resources to a huge mass of people that have not money, nor influence? It seems very easy as long as it isn't your own money. Paying taxes, few say that they enjoy that.

Comment · 10 years ago
Where will your money, which you have to have to buy the incredibly cheap things or services, come from when you do not have a job any more?

We already have a job market where a significant number of people have become permanently unemployable because their competences are not wanted.

Now imagine mass unemployment not only in blue collar work but also in white collar work due to automation. If unemployed white collar workers cannot get jobs and blue collar workers cannot migrate to white collar jobs because both job types are replaced by automation and AI, where will they get an income?

Comment · 10 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton