keth
keth on Hacker News
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
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
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
Posted by
keth on Thursday June 22, 2017 @05:02PM
from the semiaccurate.com dept.
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.
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.
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?
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?
I have acquaintances like that as well. They are usually the "I have nothing to hide" kind of type. :(
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.
Posted by
keth on Thursday March 09, 2017 @06:15AM
from the imgtec.com dept.
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
Posted by
keth on Wednesday March 08, 2017 @05:13PM
from the marketwired.com dept.
Maybe you mean Skybridge? The last I read K12 was only delayed until 2017/2018 (but Skybridge was cancelled).
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...
Looking at Global Foundries, no.
> 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.
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...
> 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).
Posted by
keth on Monday February 27, 2017 @06:07AM
from the guru3d.com dept.
Posted by
keth on Friday December 23, 2016 @05:50PM
from the reddit.com dept.
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.
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
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.
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).
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.
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") || ...)?
Posted by
keth on Monday February 22, 2016 @11:11AM
from the ask-hn dept.
Hi,since authorization is important to me as a beginner, I want to ask what are the best practices for web applications at the moment if one needs more fine grained authorization rules than simple roles or permissions for a sideproject (which will probably never turn into something profitable, nor is it planned at the moment)?Until now I've seen role based authorization which works for simple...