Better HN
topnewbestaskshowjobs
Log inSign up

Coding_Cat

837 karma · joined Oct 11, 2014 (12y ago) · 272 submissions

Submissions

comment 8y ago · link · parent

Why do you say low-memory? I got the opposite feeling. I've been drooling over EPYC and TR2 ever since they released the specs for my memory bandwidth limited projects.

comment 8y ago · link · parent

>Set extremely low speeds that don't make sense on highways. Allow most people to go 10-15 above.

I doubt people really speed because the limits have been set too low and the people know better what is an ideal speed limit.

I think people_think_ they know better what the speed limit is, and/or reason "well if 60mph is okay, 75 mph can't be that bad, I'm barely speeding and I'm in a rush". At least, that's the attitude I've seen with people who regularly speed.

If you were to raise the speed limit to 75mph, people would just use the same logic to drive 90mph instead.

comment 8y ago · link · parent

In case anyone wants to disable tracking(?), this is the page you need I believe. https://myaccount.google.com/activitycontrols

comment 8y ago · link · parent

After the frst paragraph(s) I was expecting the security center to be fake, the actual thieves, and have them send out a 'customary repair service' that would have to take the car back to the dealer or something.

comment 8y ago · link · parent

We looked at it for our project, but it didn't work for us. Too little configuration & it made sections of code completely unreadable.

I miss clang-format...

comment 8y ago · link · parent

Not all languages have good linting/autoformatting support (although luckilt they're rarer these days). For example: R.

comment 8y ago · link · parent

>there is still function/method call overhead for basic operations (+-/*). For high volume stuff she's talking about, it adds up, fast.

With the right style of C++ programming (trait/templated focused instead of inheritance) or Rust's static-dispatch-by-default it should be no more of a performance impact than 'native' Cobol calls after the compiler optimizes it.

comment 8y ago · link · parent

I have a feeling they're not including the bikes in this project. I've seen them dreg up bikes from the canals before and from the looks of it the entire bottom is covered in them. IIRC it's 4000 bikes per year in Utrecht.

comment 8y ago · link · parent

PSA from the Netherlands: never park your bike next to the canal without chaining it to something immovable or some drunk asshole will throw it over.

comment 8y ago · link · parent

Oh, I didn't know that: this is also great for serializing code where you might have an array of `Class`, it would still be a POD-type to use C++ language.

comment 8y ago · link · parent

I, for some reason, have it as 'disk duplicate' in my mind.

comment 8y ago · link · parent

People use a VPN for much more than browsing porn. Jsut because Pornhub is behind it doesn't mean it's limited to that.

And I care less about a Pornhub knowing what I watch - if anything ;) - than the Government, ISP, or anyone in a position of power. With browser/cookie fingerprinting PH probably already can id people reasonably accurately, VPN or not, if they wanted to.

comment 8y ago · link · parent

Plus, the detector is multi-layered around the point of collision. Each layer measuring something slightly differently with different accuracies. Some springs are even completely invisible and you can only find them by looking at what is missing (neutrally charged particles).

comment 8y ago · link · parent

In general, all algorithms seem to get pushed more and more towards "optimize for memory access" than actually optimizing for computations. GPUs are no exception.

Personally, I wonder more what effect widespread HBM (with speeds realistically expressed in TB/s for future iterations) will have on the algorithms we design.

comment 8y ago · link · parent

The OP oversimplified a bit more: for starters, one could be a woman. To get the obvious answer out of the way.

Secondly, and more to your point, one could be curious as to what the experience is like without having any specific sexual feelings for the same gender. Sexuality means you enjoy the act, just performing is not enough. See also: gay-for-pay pornstars, closeted gay people in hetero relationships, non-consensual sex. An example from the study would be "performative" homosexual relationships, where someone might kiss someone of the same gender not for their own pleasure, but to entice a third person of the opposite gender.

comment 8y ago · link · parent

Varies per airline. But usually when I fly it's still the best (legroom/total ticket price) :)

comment 8y ago · link · parent

Same. I even skip y regular coffee if it's a little before a flight just so that I won't need to use the bathroom on the plane... I don't know why I just jump everytime I have to flush it.

comment 8y ago · link · parent

and, a reason much more important than survival, an aisle seat on an exit room gives you the most legspace for your money!

comment 8y ago · link · parent

The anthropic principle, had we been in an unstable region, we wouldn't be able to talk about it now.

A completely stable universe might also have some issues that are not immediately clear.

comment 8y ago · link · parent

The rules as Oracle (and this ruling) sees them. Google and others disagree with Oracle about what the rules are or should be.

comment 8y ago · link · parent

If I make a new bitcoin wallet, and transfer money from my 'main' wallet into that one, would that be traceable by anyone who deal with my new wallet? Would I need to use/trust some kind of 'washing' service to hide my transaction among several others?

comment 8y ago · link · parent

Maybe the finance guy noticed the CIO putting in a huge sell option and figured "he might know something, better join in" and this caused the others to follow suit.

comment 8y ago · link · parent

Tim Draper also stands to gain from Theranos being reviewed positively, valid product or not, being an investor.

comment 8y ago · link · parent

Ibuprofen and the like are also available from the supermarket in most of Europe. Codeine and the like are not, as they're prescription only but it's not a big trip to go to a pharmacy anywhere.

comment 8y ago · link · parent

spamassassin, that's all really. I'm not a huge fan because I still have trouble figuring out how to configure it, but the default seems to work haha. I haven't had much spam yet that didn't get put into the spam folder or auto-deleted. The little bits that I did get also showed up in my gmail before (think parents/grandparents + virus spam).

I do have some publicly harvestable emails (on github and such), but I've never been spammed on those yet. Only on my personal address which I only give out IRL or occasionally reply with.

The catch-all emails are probably the best anti-spam you can have. The moment I get spam addresed to ycombinator.com@mydomain.tld (which matches a regex), I just blacklist it and move on with my life.

comment 8y ago · link · parent

Sounds like a great product, tbh. If I ever break my server I'll consider it.

comment 8y ago · link · parent

You can set imap to only sync specific folders, so you can have just your personal email on one machine and work on another if you want.

My work email is (was, internship) reasonably quite so it didn't bother me. If it would become annoying i'd just set it to manual sync on my phone.

comment 8y ago · link · parent

Looks useful. I'm not sure how the catch-all address works for your service, maybe it's the same maybe it's different from what I have.

My problem with a catch-all was that there is a lot of spam that gets send to various common email addresses such as "admin". Do you maintain a blacklist for your users?

I have a regular expression set as a username in my database of email addresses. (spoilers: it's just somesalt.*."2 or 3 characters" so for example secretsalt.ycombinator.com@mydomain.tld). So I can sign up to any random website by just entering salt.thatwebsite.tld@me as my email. That's the zero-configuration part. Honestly, this is worth paying $9/year for imho :P

The personal and and professional mail together is simply internally forwarding my professional mail to the same imap instance but a different folder :P. It's mostly future-proofing on my part. If I were to get/manage a different domain-name (say a gaming guild or business venture) I could merge those too and not have to set-up 27 different accounts in my email client.

comment 8y ago · link · parent

Hmm, I can't seem to find the tutorial I followed. I thought it was on DigitalOcean or Linode but I can't seem to find it. It was one of the big vps providers though...

This one[1] is similar however, although it's a bit less detailed. Basically: I use postfix with mysql for a user database as my MTA (the postman so to speak) and dovecot for the IMAP client (a smart mailbox equivalent).

edit: it's slightly different from what perlgod wrote (rspamd+ldap vs spamassassin+mysql) but the idea is the same.

Now the tutorial will give you a basic set-up, with spamassassin as a spamfilter. Which already "just-worked(tm)" for me. In addition to what's listed I added the following steps over time:

- First check your ip address on mxtoolbox.com for any blacklists. If you're on any, you could get removed if you ask them or you could ask your hosting provider to give you a different ip.

- get a certificate from let's-encrypt and encrypt all outgoing mail. Rejecting unencrypted mail is not a good idea even if it would be in an ideal world.

- add a blacklist MySQL table and a regex addres to the users table. Postfix has an option for parsing regex IIRC, so you can just set the email-adress to be a regex in the table as you would any other email. Then set the MySQL query in postfix to something like "user in table users AND NOT in table blacklist". This way you can use a unique email for each website you sign up to (say: somesalt.domain.tld@yourdomain.tld) and if you ever get any spam, you will know what website got hacked/sold your info ;P. I have only one website on my blacklist so far, and that was because their unsubscribe link didn't work.

- Install Sieve, this let's you add a sorting-script to your imap, letting you automatically sort incoming mail into different folders using all kinds of regexp. I have for example "personal, work, work/personal (directly to me and not a list), anonymous (throwaway adresses for each website I sign up to), admin (postmaster, cron, etc.), purchases (regex match to anything containing order, shipment, etc. which gets put into a folder which is backed up for longer), Uni, git notifications, and Twitch (because they send a ton of short-lived notifications. Messages in this folder get purged after 2h).

- Set up a r-dns pointer (you said you wanted to try more obscure dns features :D). this is an ip->domain mapping. For me this meant sending a message to my vps provider asking them to do so. p.s. vpsdime has insanely good/fast support. Took them literally less than a minute.

and finally:

- Set up DMARC (DKIM+SPF). Spf is pretty simple. It's simply a dns record which says which ip-adresses are allowed to send mail on your behalf. DKIM is a bit more complicated: It use public-private key encryption (with the public-key in the dns records) to digitally sign various fields (to,from, content, cc, etc. can all be signed separately) of your email to make sure they haven't been tampered with. The daemon set-up is quite easy, but it's easy to mess up the settings. If you're sending sensitive business emails I would set it up (my bank has it for example) but for personal email, I would only set it to sign the bare minimum such as the 'from' field, or nothing at all. Even if you don't sign any fields, having it set up will almost surely prevent you from being put into spam folders by the big providers.

I haven't had any issues so far, except for an overly strict DKIM set-up. Once marking email send to my work's mailing lists as spam when forwarded to gmail. (i.e. me->work list -> someone@work.tld -> someone@gmail.com) which in an ideal world wouldn't cause issues, but my work's mail server was misconfigured causing them to modify the email's envelope without respecting the DKIM signatures.

The other time was when my university email forwarded messages from @intel.com, which has strict security settings too. This was actually an issue when I forwarded from my uni to my gmail before too, but I never noticed because gmail was (as per Intel's configuration) silently discarding any emails I got. I only noticed the problem when I looked at my mail server logs for any rejections. I now have Intel.com whitelisted. (my uni said they'd fix it... 1.5 years ago...).

Having written all this out I noticed two things:

1. Okay, maybe setting up an email server is a bit of work after all... Mine grew organically over a few weekends so I never noticed.

2. When I finally start that blog I've been meaning to do, I should do a clean email-server install and write it up.

[1] https://www.digitalocean.com/community/tutorials/how-to-conf...

12345
10