skysight-inc/HackerNews huggingface dataset:
> "modern computers are very complex, don't even try to understand what's happening"

One thing to keep in mind is that the CPU is no longer the CPU you think it is. While the x86 instruction set used to directly control the processor, today it's just a compatibility shim. Under the covers, the CPU is converting your assembly into its own microcode and it's that microcode which is doing the real work. For example, look at some of the block diagrams in section 2 of this Intel manual:

https://software.intel.com/sites/default/files/managed/a4/60...

Combine that with all kinds of other voodoo they've added--fancy caches, branch prediction, and so forth--and the "don't even try" maxim starts to make sense. I'd amend that to say "don't even try unless you're just curious."

Personally, I think assembly is a great learning tool, e.g. for understanding how pointers work, how the stack works vs. the heap, how function calls work, and so-forth. I was exposed to Motorola 68K assembly in college and it completely changed my world--lots of C++ things I considered voodoo suddenly made total sense. But I've never used assembly in production code and probably never will.
Actually I had a conversation with their founder Jacob Root and this site is actually their MVP. What's nice about them is that they actually do a great work and they do everything manually - they helped me to find the right people and form a team so I truly recommend them to anyone who need a co-founder, co-worker or need a crew. What's also great is that they actually offer great service, so they give something in return instead of just begging people for their mails as lots of MVP's do, so why not to help them, I believe that those guys will come with something amazing soon.
One is CFFI, widely known and well documented, with tutorial and tooling:

https://common-lisp.net/project/cffi/

The other was UFFI, older; but then there are others. In fact, there are a ton of other projects for doing FFI in Common Lisp!

http://www.cliki.net/FFI

And then you can also use the FFI functionalities provided by the particular Lisp implementation (i.e. SBCL, LispWorks, ABCL, etc.)

However, the use of a portable library like CFFI means that you can take your code that runs correctly in SBCL, and then run the very same code in CLISP (other Lisp implementation) with no change at all.

CFFI works for the following Lisp implementations or "compilers": ABCL, Allegro CL, Clasp, CLISP, Clozure CL, CMUCL, Corman CL, ECL, GCL, LispWorks, MCL, SBCL and the Scieneer CL.

That's a lot of implementations!
Understanding and Analyzing Java Reflection [pdf]
In the overwhelming majority of cases, cryptographic random bit generation performs perfectly adequately. Insecure random number generation is wildly overused in our industry. CSPRNGs should be the default application RNGs on most platforms, and should always be the default choice for developers.

Which makes stuff like PCG even weirder! Because in most cases, what you want is a somewhat slower generator that has better failsafe behavior.
I think it can all be automated:

1) Have the bot build the currency here: http://build-a-co.in

2) Generate HTML5 pages

3) Submit to twitter (focus on new york area) / make tshirts
I hate MVPs. So do your customers. Make it SLC instead
> design for collaboration

You have a different view of how academia works than most academics.

Most PIs these days do NOT collaborate and are actively hostile towards it. It's a shame, but it's true.

Also, the niche-ing of academia is real, in many fields, there may be only 3 other people on the planet that understand what you are actually doing, and many of them may not speak English and you may not know they are out there until 2 years from now (publishing takes a long time).

Most code is written by grad-students that barely know what a for loop is, let alone how to use git, and they only write it to do it once for a specific paper. Look into MatLab, that is the most used language in bio, by far. It's basically psuedo-code that compiles, and it's still a mystery to most grad-students.
So what's a good Linux consumer solution? We here are all capable of rolling our own hacks, sure. But I want a good clean friendly product I don't have to configure or think about. The real challenge in these things is the UX for restoring files.

(For home-grown options, I've been using rsnapshot for years. But it really works best on a local disk and the rsync-over-ssh hacks I've done are the opposite of "clean consumer solution".)
Since the OP of this thread is new, they're probably trolling us, but giving benefit of the doubt for a moment, you have no right to privacy on public roads. Whether you paid for them or not is irrelevant. You could make that argument for state action, but not private. Just because you paid your taxes for that road doesn't stop me from recording your license plate, description, time and date of every time I've seen your car, the race, gender, etc. of your passengers, and posting that to the internet.
It's not the kind of novel where knowing something like that will make a difference.
Bummer..... just got this email. Carbonite looks like trash, I'm not sure I trust that. I will likely just pay $30/month.
Really disappointed in CrashPlan. Giving the customers 3 months before the backups are worthless is not cool!
There is such a thing as "tyranny of the majority." Since there's no back-stop against it in the node.js steering, no reason to lend credence to an organization that you no longer feel comfortable supporting by staying on its steering committe.
I think this means it is also an end to CrashPlan's peer to peer free backup solution? I don't believe their business plan offers that.

Thank goodness I bought into their long service plan. I have 1.9 years to figure this out.

We have one Linux NAS and a bunch of Windows clients. I could go with Crashplan Business on the NAS and then punt on the Windows clients. Or go back to BackupPC for windows... I hope their windows client solution has improved -- I used to have to install a Cygwin rsync daemon.
Remember when browsers made a best effort to show you as much info as they possibly could, pending the completion of downloads?

Nowadays, they assume "oh noes, we don't want to show anything at all, unless it's exactly how the designer intended; better show a whole bunch of sweet bugger all while the fonts, images, and JavaScript load".

I guess 'font-display' is a step back in the right direction. A small one though.
It's always flame-o-clock somewhere.
>The cellphone companies could prevent this attack entirely by requiring in-person (with ID) transfers of cellphone numbers to new hardware, at the store. Given the infrequency that I would have to do that, the extra inconvenience is acceptable.

Fake IDs are cheap. This would not prevent a motivated attacker.
This is also what drew me to Crashplan, but I've been irritated with the service long enough that I think I'm glad they've forced my hand.

For one, their client is very bad at backing up without affecting other network services; when I'm on a video call I frequently have to pause Crashplan backups entirely or I'll have stream issues (or manually limit the upload speed to something really small that I'll inevitably forget to undo later). I've never had this issue with Dropbox for instance. The client is also written in Java so it's a resource hog; beyond annoying my desktop machine that also made it hard to install directly on a somewhat resource-limited Synology NAS device a few years ago (I eventually got the install to work but it sporadically won't start up on boot due to memory constraints).

Really, on my Linux desktop my most important files are my code, documents, pictures, and video, which are all already backed up to Dropbox. If my hard drive died it wouldn't be a big deal to do a fresh install as long as I can sync my code, documents, etc. with Dropbox. So I may just go without a full desktop backup solution.

I don't know how they're going to transition to enterprise given their trashy desktop client but good luck.

edit: in addition to Dropbox I'll probably add tarsnap to sync the important things to S3
Yaser Abu-Mostafa's Learning From Data.

Theory-heavy tough course but in the long run, really worth it.
> I think many of the recent examples of Silicon Valley issues in the media seem more related to Silicon Valley VCs who inherit more traits from NYC finance, sales and hedge fund/investment banking than the hacker in the garage inventing next generation networking, programming language, search engine, machine learning or open source project.

The cultural zeitgeist simply shifted which is why the media is full of stories of "baddies" in the tech. Culturally, tech boys are the new finance boys who of course were preceded by rock-star boys. Hell, we even call tech boys with the devil may care attitude "rock stars". Do you know what were finance boys called in the late nineties? That's right: "rock stars". Want to know who culturally is on a top of the mountain? Look at whom the likes of Miranda Kerr and Amber Heard are dating.

Did anything change in finance? Nope. Still the same types of people go into finance. Interns/juniors are still being hazed err... harassed, "rock stars" still spend thousands of dollars in strip clubs entertaining clients, etc and everything is still for sale.
Portugal is a small country. I did not see any serious investments going on, anything besides their "golden visa" program. A rich guy may invest 500k there to get his residency but serious cash is stored in the UK, Switzerland, Luxembourg, USA. But isn't this the case for most African countries?

OT: A much more interesting woman than Ms. dos Santos, also from Angola: https://en.wikipedia.org/wiki/Nzinga_of_Ndongo_and_Matamba

OT2: Actually most of the oil in Angola is in an obscure enclave: https://en.wikipedia.org/wiki/Cabinda_Province
You're absolutely on the right track with a (wrapping) multiply and a shift right, but the constants aren't quite right.
Why hasn't any of these people losing six figures plus sued the phone company? Even if it's a longshot, it's worth it for the chance of recovery.
Their email to users offers a transition to the Small Business product... which appears to be the same product at $10/month/device. So this is really a pricing change, though you can enjoy a 75% discount for a year while you decide what's next.
Databricks Raises $140M from Top VCs in Mission to Bring AI to 'The 99%'
Oh, definitely, you'd document it if that was possible. And I'm not saying this guy's story makes any sense. You might do a burial at sea on a 10-day voyage on the open ocean, there's no legitimate reason to do it on an afternoon cruise out of a major city.
Danish submarine mystery takes gruesome, bizzare turns
For an inferior service such as PF's, it absolutely is a major commitment.
I have been hoping to find a PDP-11 for my basement ever since I moved to Maynard, MA (where DEC's headquarters used to be). Does anyone know if any being given away in the Boston area?

Have they all been chopped up and sold as replacement parts to military contractors?
Just don't let them near the oceans - although that does sound like an 'ice-9' situation from a terrorism or MAD point of view.
Seven alien, Earth-sized planets found just 39 light years from Earth
7 and 1/2 Minutes to Let Go of Anything Bothering You Now
If you're looking for something for Linux only, you could use a generic backup app like Borg instead. Stable and tested frontend with your choice of backend(-s).
Are there performance implications using FFI ?
I don't remember what the GPL3 says, but the GPL2 (Linux is under GPL2) says something like "a medium customarily used for software interchange" must be provided.
Indefinite retention of old versions and even deleted files was the killer feature for me. It doesn't look like the small business plan supports it. Any recommendations?
http://www.oecd.org/social/in-it-together-why-less-inequalit...

"This long-run increase in income inequality not only raises social and political concerns, but also economic ones. It tends to drag down GDP growth, due to the rising distance of the lower 40% from the rest of society. Lower income people have been prevented from realising their human capital potential, which is bad for the economy as a whole."

" Causes and Consequences of Income Inequality: A Global Perspective", from the IMF.

"First, we show why policymakers need to focus on the poor and the middle class. Earlier IMF work
has shown that income inequality matters for growth and its sustainability. Our analysis suggests
that the income distribution itself matters for growth as well. Specifically, if the income share of the
top 20 percent (the rich) increases, then GDP growth actually declines over the medium term,
suggesting that the benefits do not trickle down. In contrast, an increase in the income share of the
bottom 20 percent (the poor) is associated with higher GDP growth. The poor and the middle class
matter the most for growth via a number of interrelated economic, social, and political channels."
So only the government can record what's happening, and if private citizens or companies do so they are shamed and jailed?
Does it really matter? Gawker needed to be brought down a peg. It was the poster child for bad so-called journalistic behavior. Max Reed contributed to that bad behavior. Gawker fell because society said enough, is enough, you cannot violate someone's privacy and call it news just because you also call yourself a journalist.

Reed, Denton, and everyone at Gawker should stop blaming others, or trying to make excuses for their bad behavior, admit their culpability and promise to do better.
I don't really see how this indicates pleasure, that seems to be uncharitably reading a lot into his intentions.

That seems much less problematic that undermining moderation as it occurs.
Seriously -- Everyone knows that all tweeters are equal, but some tweeters are more equal than others!

(...With apologies to George Orwell)
GCC low-level IR and basic code generation
I work on Chrome's PDF generation.

Please file a bug report if you think this is an important feature.
They still could if they had put a backdoor in all their mining hardware.
Yes, it's absolutely brilliant. The line drawing algorithm is also applicable to other problems, whenever you need to interpolate between two integer values.
> now we're trying to create as much drama as possible because we just can't accept the decision, even if voted democratically by our peers

The purpose of the vote was to determine if any action should be taken, the vote occurred and its outcome was respected. If individuals want to resign because they disagree with the outcome of the vote, they are clearly entitled to do so and it does not violate the spirit of democracy that those unsatisfied with the status-quo take a stand by moving on from the organization. They didn't trash the place or delete all the source code and ban all dissenters from the project, they simply resigned from their roles within the organization which allows it to continue unencumbered by the dissenters strongly held viewpoints.

If they had voted to boot the guy and his supporters resigned to show solidarity and protest the decision, would you have been similarly critical?
In University computer architecture courses, we were challenged to write a quicksort routine in assembly. We were also asked to compare the assembly that we authored with assembly that was compiled from C++ (after we authored our own solutions, of course).

It was an amazing crash-course on just how good compilers have become at optimizing. Not a single student could hand craft assembly that was faster than the compiler output. The teacher of the course was able to generate assembly that was slightly faster, and he stated that in order to do so, he had to greatly exploit his in-depth knowledge of the processor's pipeline system. That was roughly year 2000, and I'm sure compilers have only become better at their job since then.

All in all, excellent learning experience. I've since encountered several instances where developers assert superior assembly skills, and by default I'm silently skeptical of their claims.
Well the big issue is that in practice people and especially programmer suck a communicating, especially at the borders. If two people work in parallel to build one thing the issue is that both people need to know how the connection works before starting. A fullstack engineer typically is going to be as good as both the frontend and backend engineer with the benefit of the entire context of the project.

I don't know why' you be an either when if you had just learned both you can always work in a company that silos people off. Even though I've always seen it as way less effective.
> not generics as others seem to obsess about

One reason people obsess about generics is specifically because of error handling. With generics, you could implement Result and Option types, which make error handling significantly more sane.
Yes, but I think it continues in the general spirit of Scheme, despite things like immutable cons cells that make it not fully backward-compatible.
Good nerdsnipe.

I decided to reject your conditions and replace them with my own, for no apparent reason. Mine has some of the redundancy you wish to eliminate, but the loop body is completely branchless, aside from the call to printf, of course, which we're apparently ignoring.

#include <stdio.h>

#define NUM "\x06" "%zu\n\0"
#define FIZZ "\x07" "Fizz\n\0"
#define BUZZ "\x07" "Buzz\n\0"

const char *x =
NUM
NUM
FIZZ
NUM
BUZZ
FIZZ
NUM
NUM
FIZZ
BUZZ
NUM
FIZZ
NUM
NUM
"\xa6" "FizzBuzz\n";

void fizzbuzz(size_t upTo) {
for(size_t i = 1; i <= upTo; i++) {
printf(x + 1, i);
x += *x;
}
}

int main(int argc, char **argv) {
fizzbuzz(100);
}
Be careful if you rely on old versions and deleted files being backed up indefinitely. Their Home offering includes this, but it looks like Small Business does not.

edit: I got confused - Small Business likely still offers indefinite retention.
Tarsnap.
Economists familiar with Arthur Pigou. And here I'll point out that there's a difference between economists with a relatively complete grounding in modern economic theory, and the politicians engaged in economic policy.
Indeed, llvm is smart enough not to use a DIV instruction for modulo of a constant.

Turns out you can compute x%3 == 0 with even fewer steps, it's (x*0xaaaaaaaab) < 0x55555556 (assuming wrapping unsigned 32 bit arithmetic).
It's pretty ridiculous to pretend that printf is free. The crux of the matter is to concat string constants and string-representations of integers into a buffer. "buzz\n" is only 5 bytes, so you can store it in a uint64_t.

Also, no, a typical x86 CPU would take about 4 or 5 cycles per iteration even if printf (and the cost of moving its arguments into the right register) was free.

state = nfo[state].next is a pointer-chasing loop-carried dependency chain, so you will bottleneck on L1D load-use latency. (For Skylake, 5 cycles for a complex addressing mode: http://www.7-cpu.com/cpu/Skylake.html).

If out-of-order execution could overlap many of these loops then the throughput could be close to 1 iter per clock.
Hindifire – Blogging, SEO, how to earn money online, internet, work home
I'd suggest you research the topic of negative and positive liberty. I'm all for a free and open source experience but what about the liberties of content creators? What about my right to as a user to be offered content with the knowledge that I won't and don't want to know its inner workings as long as it's passive non-malicious code?
Is there any chance that one day Backblaze will do the same as Crashplan does today?
"Among the most frustrating things about the Hogan lawsuit, as it slowly marched toward trial, was that no one who hadn’t worked for Gawker seemed to have any sympathy for the company." - Not sure this should be surprising. Personally I didn't read gawker but outside of some nostalgic love, my general understanding is that most folks thought that it's impact on discourse was more often negative than positive?
If you're in SF, Gusto needs someone like you. https://boards.greenhouse.io/gusto/jobs/188188#.WZxXKEFlCEc
> Targeting specific groups just because of the racial or gender makeup of the group seems inherently wrong to me.

It did not click in my head initially but damn this is a great proxy.
The end to end process of burning coal is also carbon-neutral according to that logic, yet it seems to be causing some trouble.
Ok, I get your point. You need the extra debugging information.

Now, here's my concern. I DO NOT want compromises. I DO NOT want to balance anything. I DO NOT want this telemetry crud on my browser spewing out my browsing history to anyone, no matter how anonymous you people claim it will be.

I just want a decent web browser.

What are my options? "Mozilla's way or the highway"? Redirect evil.telemetry.things.mozilla.org to /dev/null? Go back to elinks?

Or will there be a "disable this piece of crap utterly and completely" button somewhere not hidden under an URL? Or even better, a compile flag?

Edit: spelling...
There's rsync.net which very explicitly supports rsync/zfs over SSH
Everything You Need to Know About Bitcoin’s Timeline in 4 Minutes
Tarsnap. Seriously.
they are for a product or service, the limited issuances of the token gives them a speculative market based on future demand and future supply.

the team and organization gets funded, the buyers are liquid, nobody makes ridiculous decisions counter to their dreams hoping for "an exit", because everyone already has one.

we don't have consumer or investor protections here yet so sure it is ripe for abuse, so far people are content with that, and we also haven't needed it
It's worth pointing out that CrashPlan's business client app uses Electron (because the Java client app for home users wasn't bloated enough). That's reason enough for me to look elsewhere.
When I started programming on a Apple II+ assembly was important. Today there are likely only a few people in the world who truly understand what any particular CPU family is actually doing sufficiently to beat the compiler in some cases, and they probably are the ones writing the optimizer. But 6502 was fun to code for and the tricks were mighty clever but you could understand them.
Haha was just typing the same thing you beat me to it
Their email was a good reminder to watch out with date formats.

"Your new subscription expiration date is 11/06/2017" had me thinking they accidentally set the expiration to last June...
How to earn money frome share market
Offering equity is nothing more than giving a stake in the company. An IPO is only one way that can pay off, and these days probably not even the most likely.

Of course VCs want you to believe that an IPO is the only successful exit, because they want moonshots. But as a founder you need to keep your own council as to the wisdom of pursuing growth at all costs.
I Quit the Company I Loved
My Original Post was explaining what happened that led to this person stepping down. It seems Myles supported the removal of another member on the grounds he liked a article critical of CoC policies.

But since you seem to be confused allow me to clearly state my position

1. Myles is free to say what ever he wants.

2. I am free to say what ever I want

3. I believe Codes of Conduct are an assault on freedom of speech

4. I will speak out critically against anyone supporting their use or their enforcement