Better HN
topnewbestaskshowjobs
Log inSign up

cachehit

6,998 karma · joined Dec 14, 2008 (17y ago) · 1,808 submissions

(Account pending deletion)
Submissions

comment 6y ago · link · parent

I watched a few episodes of The Rain and while it has impressive CGI, the acting is school-play level. The Killing or Borgen though a bit older are much better IMO. Also, while even older, Lars Von Trier's The Kingdom is fantastic tv.

comment 6y ago · link · parent

I am not sure if your "I want a language where I can" is followed by an implicit ", and C++ is that language" or ", I wish it existed".

I am guessing the former as your example is possible with C++ but it doesn't seem like a great example as you are using units of measure for your types. There are languages that support those and obviously, in such a case, assigning centimeters or inches to a distance-typed variable is both ok. The type error would be in mixing distance and, say, weight.

comment 6y ago · link · parent

I probably share political stance with most of the people signing this and it's a very interesting type of dilemma that I haven't thought quite through just yet but I think I disagree with this.

It's common for especially B2C corporations to have highly documented CSR policies. They will not work with suppliers that perform testing on animals. Or employ child workers. And they will not work with suppliers who have suppliers that do those things. The entire chain is potentially audited. I approve of this concept and I vote with my wallet.

This situation, however, is different. Whereas companies choose suppliers, they don't really choose customers. At least by some definition, the customers choose them. I know that this gets muddy because sales, but still. And I don't like the idea that companies should start auditing their customers. What if some company that deals with ICE uses Github? Or say someone who used to work at ICE formed a company -- is that company in the clear? Doesn't seem like a viable direction to me.

comment 6y ago · link · parent

You can use Apple Maps in the browser through DuckDuckGo

comment 6y ago · link · parent

I've made something similar which I use for two things. 1) I create typescript types from my schema, and 2) I run a "linter" over my schema that validates a number of rules that I've created. It's been a great help honestly.

comment 7y ago · link · parent

>we don't get much Shadertoy content here

That makes me curious: where would I go for more? /r/shadertoy is invite-only, and I'm not sure it's what I want?

EDIT: there's a Twitter feed: https://twitter.com/shadertoy

comment 7y ago · link · parent

This is good I guess but it's interesting to realize that news about vscode scare me.

It's in such a good place right now. With the exception of multi-monitor support (the only real issue with Electron, in my opinion, but a big one), everything about it is wonderful to the point where I feel that it can almost only get worse from here.

So far the team has been incredible, continuously improving without making it feel bloated and slow so hopefully my fears will continue to be put to shame for years. But yeah.

comment 7y ago · link · parent

In addition to meeritas point about pseudo classes and media queries, I'd add that the fact that it narrows down the space is an important factor. The classes mean that I need to find the best fit rather than spend hours matching pixels by hand. It's like going from drawing charts on blank paper to grid paper. You stay within certain boundaries. It seems like a detail but I find that in practice (and in fairness, I've only been using Tailwind a bit so far), this makes a significant difference to the way I think and work with UI.

849.

Regulating Technology Firms in the 21st Century(yang2020.com ↗)

1 points · by kristiandupont · 7y ago · discuss

comment 7y ago · link · parent

I remember stating that I wished Google would make a bank (because the web experience with my current bank was so bad). That sentiment feels so distant now that I am almost not sure if it was real or not.

comment 7y ago · link · parent

Well I for one did go omgomg when I went back. Stuck keys or not, I never got to more than 80% typing speed on the new keyboard and I never learned how to use the arrow keys. I hope my “brand new” mbp2015 will last at least 5 years and then I can reevaluate the situation which might very well lead to me buying a Surface.

comment 7y ago · link · parent

How old are you?

I was a late riser until well into my thirties. Then suddenly something weird happened (well, not so weird sadly -- hormones shifting, I'm sure) and I started waking up early. Now, being up at 6am doesn't sound like some great accomplishment to me. Staying up past midnight on the other hand, now there's a challenge!

comment 7y ago · link · parent

You are right and I am sorry, that was unnecessary.

For the record, I do think there are problems with Electron, just not the ones usually mentioned. A big (huge!) problem in my opinion is that two windows can't share JS context. It's the reason why VSCode is way behind in multi-monitor support for instance.

comment 7y ago · link · parent

>Why the dislike, you ask?

Nobody is asking that, there's a crowd in here that restates the same three points about memory, performance and native UI about once a week.

I dislike waste, I have written assembly code for tiny processors. And yet, I run several Electron apps on my 8gb 2013 Macbook Air and it runs fine, especially VSCode. I am picking that over my previous choice which was native (vim), because I think it's better.

comment 7y ago · link · parent

This is something that is on my radar. I am making a "SAAS admin" system for businesses but during my market research, a few people have told me that they would like something like it for themselves as well.

I am just not sure what would be a good solution. I could scan your email for known entities or through a browser extension take a look at which sites you go to. Both would be much more problematic in terms of privacy than I would be comfortable with.

I suppose another model would be to only keep track of stuff that you manually enter but I doubt that would add enough value for anyone to care?

comment 7y ago · link · parent

FYI, HN doesn't allow you to downvote responses so it must have been someone else.

comment 7y ago · link · parent

I use a .io domain and I get why .com isn't sufficient, but I really fail to see the value that this, along with most of the other cute new tld's, bring to the world.

More than anything, I fear that it will teach my parents that domains can look like anything, so that link in the email is probably fine.

comment 7y ago · link · parent

Money spent on ads directly doesn't reveal the actual budget of the campaign, as most of it was likely concealed in "news" in one shape or another.

>It's conversations like these that make me lose my temper.

Everybody thinks the other side is brainwashed. However, judging from your statements, the people you support are currently overwhelmingly in power so maybe you can find some consolation in that.

comment 7y ago · link · parent

They did try something like this and it backfired. People were more likely to click headlines marked as "fake new", not less.

It's pretty easy (and a bit depressing) to see why: imagine seeing a headline that agrees with you politically. The candidate that you support did something good. Or the other side did something bad. It confirms, yet again, what you already know. But now, there is a little label that says that this may be fake. It's very easy to rationalize that the moderator is biased or doesn't know what they are talking or that this is simply what they want you to believe, isn't it? The bubble is real.

comment 7y ago · link · parent

>There is ZERO reason a large company with resources can't make sure that things like this don't happen

The fallacy that if you have a lot of resources, you can make a good product is repeated over and over again and it's easy to see why. But the fact is that making high quality is hard, very hard. You can't just hire your way out of it. You can't just spend on tools or whatever. A small-ish team of talented people that work well together (that last part is important and not trivial at all) can accomplish amazing things. A dysfunctional team or organization can easily get stuck in a rut that is next to impossible to improve, no matter how many resources you throw at it.

861.

News Corp to supply headlines for Facebook's upcoming news tab(reuters.com ↗)

1 points · by kristiandupont · 7y ago · discuss

comment 7y ago · link · parent

I am going to be trying out Bazel next week and I intend to run it in a container. I assume this is possible?

comment 7y ago · link · parent

It's the same in Denmark and it feels right to me. It's not like they are doing detective work (per default). If you have a concealed source of income, I'd expect them not to know about it. Of course, you'd still be breaking the law by not reporting it and it could turn up if they notice something that doesn't add up somewhere.

comment 7y ago · link · parent

This is certainly not the realization that I have reached.

To me, "app" is an arbitrary grouping that I don't really care about. I have little mental projects in my head with a couple of windows related to them. That could be a browser window and an instance of vscode. The fact that I might have another set of windows that happen to use those same apps doesn't mean that I want them to pollute my z-index when switching back and forth.

Yes, I know about spaces or multiple desktops or whatever but for some reason those don't sit will with me.

comment 7y ago · link · parent

I can make a video but I think you can figure it out.

1) CB needs to know the file type because it inserts comments and those need to be of the right kind. So you need to have your file saved first.

2) Select a couple of lines of text, like a function or a class and click "Insert Section" in the edit menu. This will fold the selected text and collapse it to a single line.

3) Click "Child section" in the Go menu while the caret is on the folded line to go into the new section, and "Parent section" to go back.

comment 7y ago · link · parent

It doesn't automatically fold anything, you do that by selecting some text and folding it. That inserts two comments in your code with tags indicating the start and end of the fold.

comment 7y ago · link · parent

It is. I've used it for side-project code a couple of times and it's absolutely wonderful. The ability to group code semantically at unit-level, cross-language is extremely powerful. Go to definition and the like in other editors work to some extent but very often, abstractions hide the actual link between code parts and you have to rely on your (brain-)memory or a debugger to figure out what the graph looks like.

Sadly, I have not been able to convince anyone to use it in a team setting and on top of that, it is a very primitive code editor. There is some syntax highlighting and that's basically it. No VIM bindings and no IDE-like features. So I now use it as my org-mode text editor, with the occasional link to code or config files here and there, which works well.

comment 7y ago · link · parent

I must, as I always do, bring up my favorite editor Code Browser which works for this to some degree: http://tibleiz.net/code-browser/

I've been using it for some 15 years and I don't think I will ever leave it. I do wish that other editors (vscode in particular) would adopt its folding style or at least enable it. Doesn't seem promising though (https://github.com/microsoft/vscode/issues/17904)

comment 7y ago · link · parent

Well we clearly can't know how China would react, but I personally doubt that statement.

comment 7y ago · link · parent

I might be misreading what "increase the threshold" means, but it seems to me that if people were armed, the tanks were more likely to roll in quickly, not less.
1
282930
61