HNHacker News
TopNewBestAskShowJobs

Svenskunganka

1,162 karma · joined March 9, 2015

submissionscomments
Svenskunganka··on Chrome 69 will keep Google Cookies when you tell it to delete all cookies
Their mobile app also has support for extensions such as uBlock Origin, which is lovely.
Svenskunganka··on Chrome 69 will keep Google Cookies when you tell it to delete all cookies
You should use a password manager, there's been a few cases already where malware shows how trivial it is to steal and decrypt into plain-text passwords stored by the browser.
Svenskunganka··on Kitty – a fast, featureful, GPU based terminal emulator
Mintty works great for me. Their wsltty installer works wonders: https://github.com/mintty/wsltty
Svenskunganka··on Julia 1.0
The blog mentions that Julia is supposed to be a general purpose language, and not a language built specifically for scientific computing. Is that wrong?

The first impression does leave me thinking that using Julia for different programming domains like distributed internet-facing servers or web services is not something it was built for.

Svenskunganka··on Why Skylake CPUs Are Sometimes 50% Slower
> It is easy to specifically describe what Rust prevents: unsynchronized memory access from multiple threads. What other high-level languages allow read-write shared-memory multithreading and guarantee that?

Pony maybe? https://www.ponylang.org/discover/#what-is-pony

At least that's my impression of its reference capabilities.

Svenskunganka··on Reddit's redesign increases power usage of user's devices
I'm curious what the technical reasons for you to choose to re-build it as an SPA rather than just gradually improve the layout and some new features? I don't use Reddit as an application. I have my favorite subreddits in my bookmark bar in my browser, under a folder called "Reddit". Everytime I switch between them I am forced to do a re-render from the ground up now, which takes about 4-5 seconds on my quite beefy hardware and network (overclocked i7, TITAN X, 1Gbit fiber), while the old design only took a second, 600ms of which were TTFB for the main html of the page.

I understand if your reason for a redesign is to keep new users, but what I don't understand is why it had to be a single-page application?

Svenskunganka··on Google Duplex: An AI System for Accomplishing Real World Tasks Over the Phone
Doesn't most carriers heavily "compress" the sound, removing all sounds/frequencies that a human can't hear, etc? https://www.youtube.com/watch?v=w2A8q3XIhu0
Svenskunganka··on Ask HN: Why are there no popular web frameworks merging front- and backend?
From the top of my head, Meteor[0] is such a framework. Last time I used it (years ago), it was quite the vendor lock-in. Only supported MongoDB, and almost every library you wanted to integrate had to be wrapped in some way and it didn't scale well at all, felt extremely heavy. A simple Todo app and you had more than a MB of client-side JS that needed to be loaded. It has probably improved since then though.

[0]: https://www.meteor.com/

Svenskunganka··on Firefox is on a slippery slope
Are you saying that you're communicating the word "studies" in place of "advertisement" when the Shield option is presented to users during installation of Firefox?
Svenskunganka··on Swedish Government Scrambles to Contain Damage from Data Breach
How can this be Alliansens fault? It was the current government-assigned general director of the Transport Agency that knowingly broke the law. She was even informed by SÄPO (Swedish equivalent of MI5 or CIA) that what she's trying to do is illegal, but still went through with it.

The problem here is not outsourcing, because it is completely legal to do so as long as the company outsourced to goes through with proper security checks and clearances. For example the servers has to be located in Sweden and that proper access permissions are set for the employees.

Outsourcing can in some cases be a very good choice to improve efficiency of tax spending.

Svenskunganka··on HTTP/2 Server Push on Netlify
You can make it part of your build process to generate a file with the headers needed, and during deploy it gets copied and/or configures the web server/platform you're running on.
Svenskunganka··on The State of Developer Ecosystem in 2017
What do you find obtuse with it? I don't care that much for syntax when looking at a language, because it is something you can get used to fairly quickly. The error checking is quite repetetive though.
Svenskunganka··on Toward Go 2
The top 4 keywords in the list are what's used frequently in go to handle errors.

  if err != nil {
    return err
  }
So it's more like 7,7 million to 17,6 million (the top fifth "the" is from comments, so it doesn't count)
Svenskunganka··on Netflix Originals: Production and Post-Production Requirements v2.1
When I first watched the Hobbit, I didn't really notice any difference other than pan-intensive scenes didn't look as washed out. I don't recall thinking it was too lifelike or realistic. When I heard that it was because it had a higher framerate, I decided to start using frame interpolation via SVP[0] on my video player to artificially create more frames between each original frame, and I'm really happy. It isn't perfect, in some scenes there can be artifacts, but it mostly looks great. In action-packed fighting scenes you can finally see what's happening, and not just one big mush of colored abstracts.

I liked it so much that I even went out of my way to buy a TV that had a built-in frame interpolation that's been said to be better than most other high-end TVs.

[0]: https://www.svp-team.com/wiki/Main_Page

Svenskunganka··on European MEPs want to ban states from backdooring encryption
Yeah that's the tricky part. I don't think the EU could make Microsoft open source their Windows, but I guess something along the lines of Microsoft having to give access to their source code to a team of EU security researchers that audits and looks for backdoors would be a start. But even that isn't foolproof.
Svenskunganka··on European MEPs want to ban states from backdooring encryption
Well, Linux does originate from Scandinavia (Linus Torvalds is Finland Swedish), and it's open source, so nothing stops us from building operating systems on top of Linux. But there are however a lot of good Linux-based operating systems out there already (open source, too), and the problem would rather be what comes pre-installed with the machine you buy. If Microsoft for example can't ensure the EU that Windows doesn't contain backdoors for the NSA for example, the EU could regulate the PC market to favor, say, Ubuntu over Windows pre-installed. But I really don't think it would be a good idea to do that.

I do however think that our government agencies and militaries should be forced to run Linux. They already have a problem of being too reliant on Windows for pretty much everything.

Svenskunganka··on The future of MDN: a focus on web docs
Ugh, you have to drag and drop order in that list. Top-to-bottom priority. Now it works.

Tack för hjälpen!

Svenskunganka··on The future of MDN: a focus on web docs
Thank you, I'll look deeper and see if I can solve it. It's likely an issue on my end then, I've corrected my comment.
Svenskunganka··on The future of MDN: a focus on web docs
I'm on Chrome, and even though both my OS and browser is set to English, I do get redirected to the translated page.

Thanks for the heads up though, I'll do some more digging and see if I can manage to change it.

Svenskunganka··on The future of MDN: a focus on web docs
I'm Swedish, and get "redirected" to https://developer.mozilla.org/sv-SE/ if I follow that link, even though I have English set as the language in my browser.
Svenskunganka··on New Distros Coming to Bash/WSL via Windows Store
To me it seems like you're mostly supposed to use Cortana search. They've taken the same approach as macOS and Ubuntu it seems.
Svenskunganka··on CockroachDB 1.0
Thank you for the reply! You and the presentation video Ben posted covered pretty much all of my questions, and I'm going to keep an eye on the issue tracker regarding performance to see what interesting things you might run into and how you deal with them in Go!
Svenskunganka··on CockroachDB 1.0
Pardon the nature of my question, but I'm really interested in what your experience has been so far building a database with Go? Has its runtime (the GC for example) posed any issues for you so far? Looking at other RDBMS's, languages with manual memory management like C or C++ seems to be the go-to choice, so what were the reasons you chose Go?

I'm quite frankly amazed that Go's runtime is able to support a database with such demanding capabilities as CockroachDB!

Svenskunganka··on Ngrok: Secure tunnels to localhost
It takes care of NAT/Firewalls, so you can sit on the airport if you wish and share something you work on locally. Even if it's your own home network, you'd have to go through the process of forwarding ports, have a static local and external IP, configure either a web server or a local proxy. I'm in no way affiliated to ngrok, I just think it's an awesome piece of software and use it regularly.
Svenskunganka··on Why I love Swedish taxes
I think you may have just nailed the fundamental difference between Swedes and Americans. The majority of Swedes are fine with having their income delegated by "someone else" if it means they'll both live a happy, healthy life.
Svenskunganka··on Ask HN: Why does this black line occasionally show up on HN?
Oh I didn't know that, thank you for clarifying!
Svenskunganka··on Pirate Bay Founder: ‘I Have Given Up’ (2015)
People don't torrent because they want free stuff, people torrent because the legal alternatives are shit. Take Netflix for example, any non-US citizen who actually pay equally much as a US-citizen gets treated with geo-blocking, geo-restriction and generally just discriminated against because so many content creators are either stupid and gives away their copyright to a studio for... I don't even know what, greed perhaps, or they are stuck in an old-school mindset from VHS-era that doesn't play well with the internet.

And for those that don't believe me, just look at Spotify. The day Spotify was released was the day music torrenting was defeated. You just have to offer your customers a deal they can't say no to.

Game piracy and video piracy is still high. That's because these industries hasn't evolved with the internet like music has. Games are doing fine, thanks to Steam, but there are cases like Battlefield 1 for example. If you would want everything in that game, you'd have to pay $140 + $20 / month (Game + DLCs + Premium). How about I just pay $20-30/month for Steam and I can play all games in their library and the money gets split between games depending on how much I play them?

Hollywood is shit, Netflix is trying but the copyright holders are being stupid. They expect that regular people are going to subscribe to 6 different services just because they can't play ball with each other, only to get geo-restricted and even lower quality than what torrents offer. The result is people pirating and the copyright holders pouring billions into anti-piracy (extortion) companies, probably making less money than if they'd play ball.

Svenskunganka··on What’s New in Bash/WSL and Windows Console
Mintty is what I'm using for it. You don't have to install the entirety of Cygwin and its unix-like tools to use it, there's smaller bundles specifically made for WSL like this one: https://github.com/mintty/wsltty

I personally don't want a terminal with built-in tabs or windows since I use tmux for that. On my Mac I use iTerm2 where tabs/windowing is integrated with tmux. Try it and see if you like it! :)

Svenskunganka··on What’s New in Bash/WSL and Windows Console
Don't know, probably some VM testing on their part but I just upgraded to Creators Update and here's my result:

rtt min/avg/max/mdev = 0.098/0.109/0.131/0.012 ms

Svenskunganka··on Twitter drops lawsuit, saying summons has been withdrawn
> The Justice Department, which defends federal agencies in court, declined to comment. The Homeland Security Department, which issued the summons, had no immediate comment.

I hate that these kind of cases almost always end up getting the silent treatment. I'm not an American, but I think governmental institutions and agencies should be bound by law to provide an answer to the public for some of their actions, and I think this is such a case. It is important that people get to know why the government wanted this information and who is responsible for issuing the order in the first place, but I guess that's never gonna happen when politicians and officials doesn't want to answer for their actions like the rest of the people has to do.

← PreviousPage 2 of 6Next →