Better HN
topnewbestaskshowjobs
Log inSign up

Skalman

366 karma · joined Dec 6, 2010 (15y ago) · 173 submissions

Current project: baseconvert.com

ZGFuQGRhbndvbGZmLnNl

meet.hn/city/se-Linköping

Submissions

comment 10y ago · link · parent

For me the hump was from the get-go.

Following the book, I installed Rust directly, but then i realized that I should've installed it via Rustup. Next, I want a good editing environment, so I install VS Code and Racer, but then I find out that I can't use Clippy unless I use Nightly... and I'm not interested in using Nightly, so I'll wait.

comment 11y ago · link · parent

To people helping others on the internet who claim to be security professionals, remember to make sure that the person is actually trustworthy, so you're not helping criminals. Even though a_cherepanov is a new account with only this comment, I suppose their email domain makes them trustworthy enough: ESET is a Slovakian security company that's had a Wikipedia page for 5+ years.

comment 11y ago · link · parent

It's an encoding that isn't good at anything: it's neither ASCII-compatible (like UTF-8), nor fixed-length (like UTF-32), but because most characters require only 2 bytes, developers frequently assume that none require more, leading to bugs when a character eventually is represented by 4 bytes.

comment 11y ago · link · parent

If you don't need to dynamically evaluate the code, compiling ES.next code will be more performant, e.g. using Babel.

comment 11y ago · link · parent

Perhaps you didn't catch that basically the difference between let and var is that let is block-scoped, while var is function-scoped?

  let result = 0;
  for (let i = 0; i < arr.length; i++) {
    result += arr[i];
  }

comment 12y ago · link · parent

In general, it looks really good.

- I'd like some more focus on keyboard navigation. Make sure that everything looks good when tabbing, even if you've used arrow keys first.

- Anti-phishing: A long domain name will trim the end in the "More from ..." link. Instead it would make sense to trim the beginning.

- Needs better contrast.

comment 12y ago · link · parent

I note that mozilla.org is on that list. Does anybody know if they're affected?

comment 12y ago · link · parent

Was he ever that critical? From the article:

> Mr. Obama was a sponsor of a bill in 2005 to raise the standard required for federal agents using ... national security letters ... He joined other Democrats fighting the renewal of the Patriot Act until it was amended to address civil liberties concerns, then voted for its extension in 2006 after a compromise, breaking with Mr. Wyden who voted no.

> “The rhetoric was probably sharper than his votes.” By summer 2008, with the Democratic nomination secured and the White House now a real possibility, Mr. Obama voted for legislation essentially ratifying Mr. Bush’s surveillance programs.

comment 12y ago · link · parent

It's a one-line fix to make it intuitive, but that's not what's needed here. Ultimately there should be some spec so that browser vendors can converge towards a single behavior.

comment 12y ago · link · parent

That patch would not be welcome. The patch to make the behavior intuitive is literally to remove "!important" from one CSS file. They're not changing because they're afraid to break the web.

comment 13y ago · link · parent

Well, it sure is an official guideline [1].

[1] https://en.wikipedia.org/wiki/Wikipedia:COI

comment 13y ago · link · parent

Well, I always open a private window if that's the case.

comment 13y ago · link · parent

Because that's not possible to style with CSS.

14.

The Java Debacle - Firefox reverses the block(mike.kaply.com ↗)

1 points · by Skalman · 13y ago · discuss

comment 13y ago · link · parent

One thing that helps me is to imitate the expression and try to feel what I feel when I'm doing it. Not always right, but sometimes I go from not having a clue to being sure.

comment 13y ago · link · parent

Hollywood is pushing DRM and requiring its use. Netflix wants DRM (via Hollywood), but Youtube doesn't currently seem to mind being DRM free.

If DRM capability becomes ubiquitous, Youtube might become DRMed, but that's on a longer time horizon.

comment 13y ago · link · parent

I frequently use it for settings.

comment 13y ago · link · parent

You can actually partially detect it with Firefox.

https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-syste... https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-syste...

comment 13y ago · link · parent

Oh, didn't know. You could even force highlight colors, by explicitly setting border or outline colors.

comment 13y ago · link · parent

Such a simple idea - but it does make it easier to follow. The only problem I have is that it's very mac-centric. On my system the focus color is orange and it looks a bit off.

I'd suggest to use the highlight color:

  box-shadow: 0px 0px 2px 3px highlight, 0px 0px 2px highlight inset

comment 13y ago · link · parent

Somehow, despite not understanding why exactly we exist, what our purpose is, and that at any given moment we could die and cease to exist, we don't go insane. Do you have any idea how crazy that is?

I don't get why people need a reason to exist. To me it's clear that there isn't a reason and we don't have any predefined purpose, yet most people create their reason. Maybe they live for their loved ones, maybe they enjoy life. And regarding death: it's scary and doesn't happen very often, so it makes sense not to think about it too much.

comment 13y ago · link · parent

But I thought the point was that they didn't consider this to be a security vulnerability.

comment 13y ago · link · parent

I can't get that to work in Firefox 25.

comment 13y ago · link · parent

If you can get a user to click a link which exposes CSS injection, it can be a security issue. For instance, you could change the text of links and buttons, and otherwise trick the user into doing something that s/he wouldn't otherwise.

25.

Show HN: Stateless auth and XSRF protection with PHP

1 points · by Skalman · 13y ago · discuss

comment 13y ago · link · parent

It adds a great amount of fingerprintability.

comment 13y ago · link · parent

At least in Firefox Aurora 25 there's a small search icon to the right in the inspector. But its search functionality seems buggy...

Edit: It only shows searches as a CSS expression, and it doesn't show the results in the DOM view, only by highlighting individual results on the page (like inspecting that element)

comment 13y ago · link · parent

I feel that CSS is pretty well designed. The problem is that it has so many ways to do the same thing, and the fact that vertical and horizontal layout don't work the same way.
123456