HNHacker News
TopNewBestAskShowJobs

chucky

641 karma · joined October 14, 2015

If you need to reach me, consider reaching out to me via Reddit's messaging feature, I have the same user name there. Of course you can email me, but you'll have to figure out what my email is, and the best way of doing that would be following the steps above.
submissionscomments
chucky··on KeePassXC 2.6.1
Source code access, and being free of charge seems to be the main things you would get compared to 1Password. Also, great Linux support (from what I've heard 1Password only recently even added a Linux-compatible client).

But to me it sounds like you have a solution you are very happy with, and you don't mind paying for that solution, so my recommendation would be to stick with it.

Although, as a happy user of KeePassXC, I'm tempted to ask the counter-question: why would I want to pay for 1Password when KeePassXC gives me a great solution for free (and also gives me source code access)?

chucky··on Spotify CEO: musicians can no longer release music only “once every 3-4 years”
> I prefer art not selected by the government.

That's not even remotely how most art grants work though? The selection process in most (democratic) countries is quite detached from the government.

chucky··on Unit Testing Is Overrated
> It's often easier to just aim for 100% test coverage instead (with excluding some categories of files).

Congratulations, now you have a war over which categories of files are excluded from the "100% test coverage" rule. ;)

chucky··on Revolut staff claim they’ve been told to quit their jobs or be fired
Alternatively, companies need to accept that being able to adjust your workforce is costly and account for that. This is not something new for them. Revolut knew damn well what the labor laws looked like when they opened their Poland offices.

Following laws and regulations is part of the cost of doing business. There's no need to make excuses for companies that fail at doing this.

chucky··on Some views on having your system timezone set to UTC
The reason I would argue for always using UTC is that local time in a time that has timezones isn't clearly unambiguous. In fall, when you set the clock back an hour, suddenly the time 02-03 in the morning happens twice. So if you have an event at 02:13, it could have happened at either of the two 02:13's that happened during that night, and since you are using server local time, you won't necessarily be able to know which one afterwards.

Whether being able to figure this out afterwards is important depends on your use case, of course.

chucky··on The iPad Awkwardly Turns 10
> Alan Kay was actually fairly impressed with it when it came out.

I think you are misremembering. Every interview I can find points to Alan Kay being disappointed in the iPad. See this, for example: https://techland.time.com/2013/04/02/an-interview-with-compu...

chucky··on Show HN: Study, research and learn with thinking notebook – MindForger 1.50.0
This looks a lot like something I have been imagining in my head (and tinkering with building on and off for a while). Thank you, I will for sure try this.

One thing that stands out to me though is the lack of mobile support. I want my note-taking app to also handle my shopping lists, and then I need to be able to access them while in the grocery store on my mobile.

Yes, having my grocery shopping list in a note-taking app is overkill - it's just that I want all my lists and notes in one place.

chucky··on Is Git Irreplaceable? (2019)
You can accomplish something like this by using git-notes (https://git-scm.com/docs/git-notes). You'd have to have your own tooling to read/write these in a convenient way of course.
chucky··on Echo Frames – Eyeglasses with Alexa
Simple. I wear my glasses all day every day. I can't wear earbuds all day every day.

If I have to insert earbuds to talk to Alexa, then I could just bring up my entire phone.

chucky··on France and Germany Agree to Block Facebook's Libra
How I wish it was this way in Sweden. Unfortunately it's not - there is no requirement to accept any specific kind of payment and it's by now rare to see anyone pay with cash.
chucky··on How Microsoft made it harder to create Windows 10 local accounts
This article has found fascinating new levels of click-baiting. The title is:

> How Microsoft made it harder to create Windows 10 local accounts

The faded out subtitle is:

> The company eases up a bit with the May 2019 Update, however.

The article then goes on to describe at length how complicated the process used to be, and how evil Microsoft is for how having it so complicated. Then suddenly it ends with a few lines describing how it is much simpler now.

I guess the amount of clicks on the article "How the latest Windows 10 update allows for easier creation of local accounts" would be much lower.

chucky··on Tree of Forty Fruit
The image says "artist rendering", it is unclear to me whether this tree exists today or if it's an ongoing project that expects to be finished some time in the future (40 successful grafts would take a number of years to do I imagine).

Edit: googling answered my own question, this is indeed an ongoing project: https://www.smithsonianmag.com/innovation/a-tree-grows-40-di...

chucky··on A new look, logo, and website for Fastmail
Maybe I'm misunderstanding something, but I have been running the app for years now with 2FA turned on.
chucky··on Ask HN: Going from Developer to Manager. What should I know or learn?
One thing that took me a while to "get" fully (and muster the courage to try) is that as an engineering manager it is perfectly ok to at times hand over stuff you might consider "your job" to members on your team. If you do, you should of course offer extra supervision if they feel like they need it.

There are a few great reasons for doing this. It makes your team less dependent on you, and it makes them feel empowered in that way. They learn your job is nothing magical and that they, too, can solve problems that they might otherwise just say "management needs to solve this". It erodes the "us vs them" dichotomy of management vs workers which has never been helpful in my view.

Another reason is that junior developers might not really know or fully understand what their manager does, and thus might not be considering it a valid career path for them.

Finally, it frees up some of your time, which you will find when you become a manager, suddenly becomes a lot more precious. With that freed up time, maybe you can spend some time coding, so you don't become too detached from what your team is doing.

chucky··on FizzBuzz in ten languages
The Haskell example is quite similar to the Scala/Rust example as well. I guess you could rewrite the Haskell version to match your Scala version pretty closely as well if you prefer doing the tuple construction and then matching on the tuple, like in your Scala version, instead of doing it directly inside the pattern match.

Something like this, with the caveat that I haven't done any proper coding in Haskell in years and I don't have an interpreter installed to verify correctness.

  fb :: (Integer, Integer) -> String
  fb (mod3, mod5)
    | (0, 0)    = "FizzBuzz"
    | (0, _)    = "Fizz"
    | (_, 0)    = "Buzz"
    | otherwise = show n
  
  main = putStrLn $ unlines $ map fb $ map (\x -> (x % 3, x % 5)) [1..100]
chucky··on Google One
In what seems to be a standard move for Google these days, the page contains no information about the product for me as it's not available in my area yet. Would someone care to post that information?
chucky··on New in Chrome 70
FWIW the battery api was first specified when people were still hoping that building phone widgets, launchers etc would be done with web technologies. For such usage, having battery api access in a standard way was of course a necessity.

In a wider sense, there are legitimate uses for many of these apis. To me it seems like the option would be that some phones would get these apis patched into the browser by the manufacturers instead, and that would run an even higher risk of security problems than when the browser vendors do it.

If you don't like your browser application having access to certain hardware in your phone, you can just revoke the permission, and it won't have the access (at least on Android, I have no idea how iOS works in this regard).

chucky··on Questions
Definitely, having a social safety net that allows for moving on from failures is probably a huge factor.
chucky··on Questions
> Why are there so many successful startups in Stockholm?

Several reasons. First, you need to recognize that any Sweden-based startup will, when it gets to be known internationally, have a Stockholm-based office. So it's not about a city of 1 million inhabitants, it's a country of 10 million that's the true number here. As an example, I believe Spotify opened their original offices in both Stockholm and Göteborg more or less simultaneously.

With that said, a commonly stated reason for why Sweden in general has such a high prevalence of tech startups comes from a bunch of fortuitious decisions in the 90s and 00s. In 1998 Sweden's government started a program that allowed employers to sell their employees computers under a tax free scheme (the so called Hem-PC-reformen https://sv.wikipedia.org/wiki/Hem-PC-reformen). This was extremely popular, and led almost every Swedish home to get an often extremely overpowered personal computer. Thus, practically everyone who was a kid in 1998-2006 (the rebate was cancelled in 2006) grew up with a computer. This gave Sweden a huge advantage compared to other countries in the early Internet revolution.

Sweden has also invested heavily in building a fiber network, you have access to gigabit Internet even in some extremely rural areas.

Another thing is that Sweden doesn't have the tradition of dubbing movies. That means kids will be exposed to English from an early age. This leads to Swedish tech companies not being afraid of hiring talent globally and generally use English as their business language.

Finally, out of the 5 examples posted, one is Mojang, which is clearly an outlier. I'm not saying what Notch accomplished wasn't extremely impressive, but it was essentially a one-man operation, and probably shouldn't be held as an example of a trend.

chucky··on Reboot Your Dreamliner Every 248 Days to Avoid Integer Overflow (2015)
I've worked with software engineers working on the CAN bus, and I had the same questions as you. According to them it has to do with the amount of cabling needed as well as electrical interference. A car has a lot of cabling going all over (a couple of hundred meters in total was the number I got), and if you can put as much of it as possible on the same bus(es), you save yourself a lot of problems.

So I suppose weight could be a factor, but space seems to be the big one.

chucky··on LineageOS for microG – Access Google services without closed software
That wiki page was last updated roughly a year ago, I'm suspecting it's not accurate enough to rely on.
chucky··on Toyota Research Institute head says full autonomous driving is “not even close”
Where did you get the information that the current Volvo experiment is at level 3? I tried looking at the project home page, but couldn't find any info about it. For their commercial offering they are apparently going straight to level 4, skipping level 3, so running level 3 tests seems odd: http://auto2xtech.com/volvo-to-skip-level-3-autonomous-mode/
chucky··on A Swedish farmer using oats to make milk
Daiya, like all vegan cheese producers I've heard of, use a very different process to achieve something similar to cheese. The end result is very good (I've tried it) but the original comment I replied to asked if you could use plant-based milk for making cheese, and I don't think Daiya's production process uses plant-based milk in that sense.
chucky··on A Swedish farmer using oats to make milk
Cheese in the traditional way, probably not. I think it relies on a chemical reaction that's fairly unique to lactose (and lactose is, as far as I now, a sugar unique to milk). At least I haven't seen or heard of anyone doing it (except a few biotech firms that are explicitly working on novel ways of achieving similar chemical reactions). If such a product exists it's really badly marketed (or very low volume), because I know many vegans that would pay a high premium for such a product.

Yogurt is basically milk with a bacteria that eats sugar added to it. You can do that with any product similar to milk it seems. Oatly produces an oat-based yogurt, and the Swedish market has yogurts based on (at least) soy and lupine as well.

chucky··on Opera Neon concept browser
No. Their rendering engine is pure Blink. All browsers' user agent's contain mentions of more or less every browser that ever existed for historical compatibility reasons.
chucky··on Nvidia GPUs can break Chrome's incognito mode
Indeed, if the data in a page's canvas has a different origin, you're not allowed to read pixels back (http://www.w3.org/TR/html/scripting-1.html#security-with-can...).

If the DOM element you draw has the same origin as your canvas it seems like (from my reading of the spec) you should be allowed to do what you describe.

chucky··on Nvidia GPUs can break Chrome's incognito mode
We've already had these kinds of issues with webgl. Here's one that I found through some googling: http://www.cvedetails.com/cve/CVE-2014-3173/

You don't need webgl for this kind of infoleak either, regular good old 2d canvas also supports allocating memory. It also supports reading the current state of all of the pixels in the buffer through Javascript, so if you have an exploit that gets you an uninitialized canvas you can easily send whatever memory contents you got back to your server for later analysis.

← PreviousPage 3 of 3