HNHacker News
TopNewBestAskShowJobs

keth

135 karma · joined February 22, 2016

submissionscomments
keth··on Today, Europe Lost The Internet. Now, We Fight Back
I believe you are looking for this: http://www.europarl.europa.eu/sides/getDoc.do?pubRef=-%2f%2f...

Additionaly there is also this picture from Julia Reda: https://pbs.twimg.com/media/Dm5kGq5X0AANQZs.jpg

Source: https://twitter.com/Senficon/status/1039881088078958592

keth··on Show HN: Layoutit – An interactive CSS Grid generator
I remember a video + blog post about this, and it was suggested to just ship a mobile layout for browsers that don't support css grid. At least for personal sites that seemed reasonable.

EDIT: https://m.youtube.com/watch?v=txZq7Laz7_4

keth··on YouTube’s Piracy Filter Blocks MIT Courses, Blender Videos, and More
Terrific, I can't wait for what will happen with the forced content filter that will be voted on in the european parliament on june 20th. what could go wrong...

https://act1.openmedia.org/savethelink

keth··on 70% Repetition in Style Sheets: Data on How We Fail at CSS Optimization
Could you not just run uncss [0] on the framework and your own CSS? Or does it get tedious to exlcude classes that are used by js? Only ever used it (and other optimizations) for static sites in order to get 100 points on pagespeed.

[0] https://github.com/giakki/uncss

keth··on Java 10 – Specification for Value Types
Don't Haskell and Scala also erase the types? If I remember correctly Martin Odersky even said erasure is better for some things in one of his videos/keynotes (?), but I'm not sure if I remember that correctly.
keth··on Scala Native 0.3.0 released – including new garbage collector (Immix) and more
Thanks for the answer. I'm looking forward to it. Now I wish scala.js would also be able to compile the compiler. Would be a nice benchmark for the language runtimes since the compiler is a non trivial program.
keth··on Scala Native 0.3.0 released – including new garbage collector (Immix) and more
Could scala native be used to compile scalac in the future (if enough of java.* has a clean room implementation)? And could that speed up compile time of scala programs, or is compilation bottlenecked by IO (or other things) which may not be enhanced by scala native?
keth··on Scala.JS 0.6.17 released
What's the generated file size after gzipping for the project compared to coffeescript + jquery if I may ask?

Also, can scala.js be used for progressive enhancement on static sites, or is it limited to single page apps due to the need to map scala semantics to js?

keth··on Facebook's tentacles reach further than people think
I have acquaintances like that as well. They are usually the "I have nothing to hide" kind of type. :(
keth··on Europe is living under Microsoft’s digital killswitch
I always wonder why the european countries don't work together to build their own software. Or at least a single country looking at germany, where each city seems to brew it's own stuff.
keth··on AMD Collaborates with Microsoft to Advance Open Source Cloud Hardware

  Microsoft's Project Olympus platform design to incorporate the upcoming high-performance "Naples" x86 server processor
On top of the nice features of Naples outlined by hn user "throwawayish" [0] maybe also a response to Intel giving Google and Facebook a few months earlier access to Skylake-E?

[0] https://news.ycombinator.com/item?id=13812406

keth··on AMD Prepares 32-Core Naples CPUs for 1P and 2P Servers: Coming in Q2
Here is the newest PDF about something like that: http://www.computermachines.org/joe/publications/pdfs/hpca20...
keth··on Microsoft Pledges to Use ARM Server Chips, Threatening Intel's Dominance
Maybe you mean Skybridge? The last I read K12 was only delayed until 2017/2018 (but Skybridge was cancelled).
keth··on Microsoft Pledges to Use ARM Server Chips, Threatening Intel's Dominance
Project Skybridge was cancelled as far as I know. [0] Not sure if we see something like that in the future, considering how quiet AMD is about their ARM plans. Although a ARM chip with really good power efficency would be nice below Ryzen.

  Finally, we’ll note that this roadmap is empty of any mentions of project Skybridge. CEO Lisa Su has commented that AMD has decided to change their focus away from Skybridge based on customer feedback. Customers were telling AMD that they didn't necessarily need socket compatible solutions, so AMD is going to work on differentiated solutions. That said, given that Skybridge was announced last year and planned for 20nm, I suspect that it has also become a victim of the short lifespan (and underperforming nature) of 20nm, leading to it being downplayed in favor of 14nm prodcts.
[0] http://www.anandtech.com/show/9231/amds-20162017-x86-roadmap...
keth··on Softbank to sell 25% stake in ARM Holdings to Saudi-backed investment group
Looking at Global Foundries, no.
keth··on AMD Prepares 32-Core Naples CPUs for 1P and 2P Servers: Coming in Q2
> 5. Between now and 2020, the roadmap has Zen+ and 7nm. Along with PCI-E 4.0. I am very excited!

Yes, and it's rumored that the top end 7nm chip will be 48 cores (codename starship). Exciting times ahead now that the competition is back.

keth··on AMD Prepares 32-Core Naples CPUs for 1P and 2P Servers: Coming in Q2
I'm looking forward to the benchmarks since the performance per watt of the desktop parts (Ryzen R7) seems to be really good. Quite curious how it will compare against Skylake-EP.

A quote from a anandtech forum post [0] reads promising:

"850 points in Cinebench 15 at 30W is quite telling. Or not telling, but absolutely massive. Zeppelin can reach absolutely monstrous and unseen levels of efficiency, as long as it operates within its ideal frequency range."

A comparison against a Xeon D at 30W would be interesting.

The possibility of this monster maybe coming out sometime in the future is also quite nice: http://www.computermachines.org/joe/publications/pdfs/hpca20...

[0] https://forums.anandtech.com/threads/ryzen-strictly-technica...

keth··on Intel Is Trying to Manipulate AMD Ryzen Launch?
> I sure hope Intel is not up to the same antitrust-worthy shenanigans again.

That's why I posted this even though it's nothing but a rumor at this point. I've met many colleagues over the last years who either didn't knew or had forgotten what Intel did in the past. This rumor should remind them to be wary when reading the reviews (just in case).

keth··on Ask HN: What are the best practices for web authorization at the moment?
Yes, I'm not always sure about what is what. The line between business rules and authorization rules seems to be thin/blurred at times to me.
keth··on Ask HN: What are the best practices for web authorization at the moment?
Your sense of smell might be on point here. I dont know. But I've noticed that I tend to sometimes over-engineer things. Maybe because I did the exact opposite in the past and had to rewrite large parts of a hobby project because it was to tightly coupled.

Took a while to answer because apparently I submit my comments too fast. :O

keth··on Ask HN: What are the best practices for web authorization at the moment?
Oh, cancan is alive? Cool. I already looked at the old CanCan repo and it's the best looking library for inspiration I've found so far. Maybe I should dig deeper to see how more complex authorization rules are handled.
keth··on Ask HN: What are the best practices for web authorization at the moment?
Do you know of more involved examples that use claim based authorization? So far I have only seen simple use cases that at most involve if a user works for a certain company, or that a user can only delete his own postings (userID == authorID), which I can easily handle with permissions. But I have not seen slightly more complex ones yet like the example in the OP or really complex ones. But will definetly look into it, the .net implementation seems fairly easy to understand (after skimming through some files).
keth··on Ask HN: Pros and Cons of standing and coding
I have noticed that I think better directly after the switch from sitting to standing, or vice versa. If I sit or stand too long it get's worse.
keth··on Ask HN: What are the best practices for web authorization at the moment?
Oh, the system that will be used in .net mvc? So far I've only seen that permissions and roles can be modeled with claims, but could that not lead to the same problem like with roles (e.g user.hasClaim("foo") || user.hasClaim("bar") || ...)?