skysight-inc/HackerNews huggingface dataset:
Swap may or may not be obsolete, but I don't find this particular argument on the subject convincing.

When dealing with swap, continuous transfer rate of the hard disk is not the relevant metric; seek time is.

In my experience, when the system starts needing to read a lot of pages back in from swap, it tends to do so in more or less random order. It reads a small amount of data, then it seeks to a new position, then reads another, and so on.

(I also find the argument unconvincing for a separate reason: I think hard drives are somewhat obsolete. Even my home system has flash instead of swap. And flash has a massively better seek time.)
If a stanford CS degree doesn't otherwise prepare students properly for a tech interview, I'm going to wager it is the interview process that has a problem, not the stanford CS degree..
How about buy and eat locally sourced beef (and other meats) from farms that you know use the least amount of antibiotics. Have the shortest travel to your market and thus your plate. Stop eating fast-food and buying the equivalent microwave quick meal dinners. These two are the biggest offenders of factory farms.

Stop eating fish from another continent is another good choice. I live in the North East and do not consume salmon because it is not a fish that lives naturally and wild. Besides some small concentrated areas. I refuse to eat farm raised salmon. So I eat whats local flounder, mackerel, bluefish, muscles and clams. Which is also seasonal. (Sorry we're so spoiled eating Pineapples in Feb during a blizzard.)
I imagine you don't even have to put too many of them in, before any pedestrians give up and drive---having tired of needing to climb and descend four flights of stairs or, worse, walk an extra block along ramps, just to cross the street.
This makes me very, very sad.

I will never subject one of my potential hires to this nonsense. These concepts are valuable and academically interesting, for sure, but for the practical kind of engineering that's done at most companies it's simply not needed. Either that or it's already implemented in a library.

What a waste of time.
To be clear: your first post described "Affirmative Action" as "bigotry, sexism, and racism". As I explained in my longer post, I was applying a similar description to your proposal.

If you're going to characterize "affirmative action" with such charged terms as "racism" "sexism" and "bigotry", do you at least see the irony in complaining when I do the same?

I'm willing to agree that your proposal is not intended to be segregation, are you willing to agree that affirmative action is not racist or sexist?
What is the antibiotic? How long does this compound last when deployed? If something is highly reactive (causing the death of bacteria) is it not a reasonable starting assumption that it would not last long once deployed? If it is long active, where is the evidence of this compound causing antibiotic resistance?
The idea of having a whole class on how to solve interview whiteboard problems (a skill that is, at least where I work, not very relevant to doing your job) is terrifying.
The issue is that the current OOM killer doesn't support this usage at all.

To extend the analogy: what do you do if grandma comes and fills your house with stuff? You need space to work, so you go and drop it off at the self storage place, but what if she just keeps filling your house up?

The OOM killer will do absolutely nothing until both your house and the whole self storage place are totally full. By that point, you've spent a huge amount of time just driving to and from self storage, so you haven't had time to do any actual work; it would probably have been better to tell grandma that you don't want any more stuff once she filled up your house for the first time.
Ten hours later and it's obvious from the all but unanimous negativity that I'm wrong about something.

But, I don't think the distinction is entirely psychological. Every numeric type is implemented in javascript as a floating point Number, that's all javascript has. New types aren't added to javascript when other languages compile to it, they're compensated for within the limits of what a javascript parser considers valid code, either through existing javascript types or facades which imitate types. Whatever Scala or any other language considers an Int, BigInt, Double, etc. must still be implemented as a Number when compiled to javascript, or some object which imitates the semantics of the original language. But an Int() object in javascript is still not an integer.

It doesn't make sense to say that languages which compile to javascript add anything to the language. Or maybe I just don't understand types, and they really do, and it really doesn't matter. But to me, the distinction seems to matter.

I should probably stop tilting at this particular windmill, though.
What are you offering?
That's what a government is supposed to be doing: laws, regulations, and the ability to enforce them.
> 3 months is longer than 108 days ;)

Following the Gregorian calendar (international defacto standard) this statement is always false, never true.

There's no way all these coins are going to be accepted currencies (literally none are, not even Bitcoin). There's no way all these coins will retain long-term value either.

Anyone who joins in on the mining is doing two things: 1) joining in on the pyramid schemes (on which you as miner and cryptocurrency owner depend) 2) adding to more electricity waste.

As for GPUs. Once the shit hits the fan their price will freefall. If their price falls now, they're pretty much worthless. More so because many of them will be abused. GPUs aren't made to be used 24/7. But yeah, you can play games on all your 1080s...
I've been through the ringer quite a few times now (though less than the average Stanford student) and I think about these interviews more than I probably should just for my sanity.

This is a decent primer (and people need primers!) and a good resource overall but I'm very skeptical that this is terribly helpful for most interviews. I liked some of the problems but most are about a notch lower in difficulty than required for the offers Stanford students get.

With that said, it's clear that the students that take this class are going to do well in their internship and job search. I'm honestly just becoming more convinced that ability to perform in these interviews is an inherent quality of top students (no matter the original field!) at this point.
>It doesn't change the grammar of the language that the generated code is using, but you don't care, because you're not writing in that language.

But that's the grammar I was talking about, so no it doesn't.
You are right but like just having to use the fucking white board is different enough to throw people off.
Right, is really only ever an issue using shorthand (!someVar).
Same! I type at 130wpm, have spent the last few years doing a tour of mechanical keyboard options, and in the end nothing allows to type faster than the chiclet membrane ThinkPad keyboard.

There are new Kailh low profile switches and keycaps, and I'm guessing they'll be better than what I've been using (most recently, Gateron Clears). But it's definitely a case of trying to emulate a chiclet keyboard with a mech one, which isn't what I thought my goal would be when I started out with mechs.
This isn't that far removed from an algorithms or data structures class, or what you would learn in one of those programming olympics type prep courses that people do.
same here.

This article was a dawn of light for me.. time to start logging the wifi behavior
Note that the word silent is in double quotes. This implies you're not meant to take it literally.
I have one and these are pretty good, but I wouldn't say the keys have an amazing feel - its more the form factor and tenting that I like about this keyboard. The goldtouch keys are a bit wobbly vis-a-vis the new apple desktop (not MacBook) keyboards with butterfly switches, which are quicker to type on.
This book has a clever approach to explaining what's at stake regarding web app security, in particular the browser security model.
That's how I would have structured my book if I had written some regarding web app security.
FWIW the second example of finding halfway points in https://web.stanford.edu/class/cs9/sample_probs/ListShufflin... is buggy. Crashes if the list have odd number of elements.
Two more of my favorite interview questions rendered useless :C
The WiFi AP handles unicast packets differently than multicast packets.

So on a network with N devices, you just convert one mulicast packet into N unicast pakcets.

Because multicast packets are sent with the slowest possible rate, this actually speeds up performance as long as N < 20.
Best agile and working tracing tool ever: https://www.pivotaltracker.com/
How to apply that to agile, happy teams and working simply? My online course covers all the details: https://agileforleads.com/

I have used JIRA, TFS/VSTS, Trello and other in production on various products so this opinion is based on years of experience and pain with the 'wrong tool'.
Well, it doesn't help that when grandma calls and asks whether you have room for more stuff, the Linux kernel responds on your behalf, "Yes, of course I have room. I live in a TARDIS." And you then do all driving to the self-storage facility to maintain the illusion as long as you can. I really don't like overcommit.

Anyway, I agree with you that this behavior is annoying, but I think it ought to be possible to fix it (e.g., with memory cgroups or something like Android's lmkd) without giving up on the idea of spilling infrequently-accessed private dirty pages to disk.
It’s 1 pass/fail credit out of 180 to graduate. The course looks as much like how to job hunt as anything else. (Resume writing, etc)
> If $340 is really enough to scare off a significant percentage of people, how much are these hosts making?

It's not the money. It's the fact that you will be on record and people can check up on you.

All this tells me is that a huge chunk of the AirBnB folks actually knew when they were in violation of something and, now that they might get caught, have decided that AirBnB really isn't worth it anymore.
Not sure but in Japan there are a lot of preparedness measures for earthquakes. Everyone goes through disaster training, people have survivals kits at home, are aware of evacuation centers, etc. There is some overlap between these measures and nuclear war but I'm not aware of a lot of planning for nuclear war itself.
> Do you feel helpless to stop the problem of antibiotics use in the meat industry? You’re not!

Eating less meat isn't necessary to accomplish that at all. US consumers, as one example, are managing to force a large change upon US meat companies through pressure about health consequences, thanks to a long campaign of education by numerous groups and government agencies. Just five years ago you couldn't find antibiotic free chicken at most Walmart grocery stores, now every one of them carries such, with the major producers like Tyson all gradually switching over.
Well, just don't allow overcommit, problem solved.
I'm not disputing that, but sometimes when we weigh our actions, significant (but limited) alternatives will not cut it, and if the effect is limited enough (and the problem severe enough), even deliberating on them will waste precious time to enact direct and (hopefully) effective action.
Actually, you could go up to 896KB - it was not officially supported by Tandy, but there was a guy in Washington who had a company called Envision Designs that did this.

https://archive.org/stream/PortableComputingMagazineAug1985/...

I think I read about him first in Jerry Pournelle's coolumn in BYTE. So he modded my 2000 up to 896KB, and also added a disk controller and hard drive. Tandy eventually started selling cards with an 8087, which definitely helped with floating point stuff.

It was a wonderful machine. I first ran Turbo Pascal on it, did my first color Mandelbrot set. I had the color monitor and the inkjet printer. What is incredible is that for what I spent in 1984 dollars on all that stuff, adjusted for inflation, I could probably now get dual Xeons with 20 cores!

It was a very sad day when I realized that it was getting too hard to deal with the incompatibility with the IBM-PC standard. The video RAM (and 640 x 400 8-color graphics), the nonstandard floppy disks, the add-on cards (which could be installed without opening the case), ... Technical superiority isn't always conclusive.

The original BYTE review, for anyone who's interested:

http://tech-insider.org/personal-computers/research/acrobat/...
"Your job is to write a function that accepts as input a pointer to a linked list with an even number of elements"
Sounds like a very interesting article, but could you modify the title to include '[paywall]'? I realize that paid news is the way things are going, but we don't have to give paywalls free clicks, do we?
ashleyn says[0] that it was The Way Things Work[1] by David Macaulay (©1988), which indeed has (on page 177) a drawing of a fallout shelter depicted as a small concrete bunker at the end of a deep stairwell far underground (containing, of all things, a party singing Happy Birthday), along with the following description:

> A future nuclear war would not only reduce cities and towns to ruins. Fallout from the nuclear explosions would spread through the atmosphere, bombarding the land with lethal amounts of radiation. The only means of escape would be to live in deep underground shelters away from the fallout. This imprisonment would have to last until the radiation decreased to an acceptable level, which could take many years. Even then, climatic changes, shortage of food and the threat of disease would make life above ground a grim business.

Incidentally, the book is most memorable for lucid and well-explained diagrams involving woolly mammoths, and I highly recommend it for explanations of anything mechanical. The section on nuclear physics is a bit lackluster, however.

[0]: https://news.ycombinator.com/item?id=16145514

[1]: https://en.wikipedia.org/wiki/The_Way_Things_Work
The vast majority of gold's value is simply a store of value, not electronics or jewelry.
Do you understand what is meant when a word is enclosed in double quotes? Furthermore, you suggested the sound of the keys was an issue, the point I'm making is that you can get mechanical keys that are not significantly louder than chiclet keys. Do you understand now?
It's not specific to JavaScript (I've made the same bug in python), but it should be a sign that a language designed to make websites interactive fulfills different requirements than a language designed for building real money trading systems.
could have used larceny as well..

http://www.larcenists.org/
It has nowhere near the resolution necessary not to notice the pixels. It is actually barely better than the Oculus Rift. The Rift has a higher resolution than the Vive because it has the same definition over a narrower FOV.

The Vive pro may have some magic that allows it to limit the screendoor effect but this will be hard to tell how it will help you because it tends to depends on the individual.
Why are you trying to eat less meat?

P.S. Good luck on a vegetarian diet with a 3500+ caloric intake. You'll be eating all day.
As long as "anything" is an algorithm expressible given Solidity's tremendous constraints

And if you're just going to use ETH to pay for real compute hardware in the cloud so you can run real software, at that point why not just use BTC?

Turing-completeness doesn't automatically make something useful.
Here's an easy one: the ability to receive a payment for a service without relying on a third party to deliver that payment.

New: state-level actor(s) cannot stop an organization from receiving payment merely by forcing your third-party payment processor to freeze funds/stop payments.

Example: sci-hub. If they were receiving payments through Mastercard/Visa it would have almost certainly been frozen long ago. However, since they (apparently) get funded by receiving Bitcoin, they continue to operate. In the meantime, grad students and professors get the convenience of using sci-hub's interface to easily retrieve journal articles.

Even if sci-hub eventually gets taken down completely (or a researcher finds a catastrophic bug in all cryptocurrencies), the total time during which sci-hub served documents funded by Bitcoins was a benefit to society.

ETH allows fancier transaction scripts than Bitcoin, but the same argument holds-- a state level actor cannot just stop the contract from being executed simply by putting pressure on a third party.

Based on this article, I'd say there is value in ETH just as there is value in writing a complex, multi-threaded application in a memory-unsafe language. It's a bad idea, but for some special cases it may be better than doing nothing at all.
the highest end NVMe SSDs can sustain those multi-gigabyte/second reads. https://smile.amazon.com/Samsung-950-PRO-Internal-MZ-V5P512B... for instance.

not sure even they could pull off those speeds with random reads, though.
so I'm guessing something like Time-based One-Time Password algorithm (TOTP) then flashed out from flashlight to the sensor on the door?

Why not just TOTP in my google Authenticator app then just type into keypad?

Like this: https://github.com/cathalgarvey/formadoor
Might I suggest Kansas? I hear that they are a utopian dream for lack of government interference. Please take a few people with you as well, if you can, thanks.

The nice part about this is that with so many fewer AirBnB things going on, some rental units are likely to come back on the market.
The acronyms are different, but at runtime they're pretty much the same: the only difference is the Swift compiler inserts the clones that a Rust programmer has to do manually (that is, Swift retain/releases are atomic too).
Sounds like the banking system, but now you can vote with your wallet to buy the cryptocoin of your preference. Pretty much akin to how you can vote for a politician, or vote with your money by buying a product or not buying a product.

Not only do those who designed the cryptocoin plus early adapters (the former are the latter, but not necessarily vice versa) get more rich with thin air generated by electricity, they also get more powerful. No wonder these things rise up like mushrooms from the ground.

Man, if I were into this, I'd just convince people 24/7 to get into these cryptocoins. Best way to get rich doing virtually nothing but some marketing. Right?
Everything that I saw announced felt uninspired/tepid/meh or an incremental update to something nobody needed. It was pretty... boring.
2018 will be the Year of the Regulator
Hiking.
What implicitly stops 0.1% of people from controlling 51% of the network? You realize how much of global fiat wealth is currently in the hands of the 0.1%, right?

The current system at least theoretically has democratic (or otherwise) control over who the 0.1% in power are. In a system like BTC or ETH it's just 'who has the most compute?' or in proof of stake, 'who's the richest?'
Is this a shared resource problem though?

The problem, as I see it, is one of a questionable food supply or at least a contamination issue, in which case, each person should decide what matters to them, and is how this particular problem is solved in the micro, which in aggregate, does lessen the macro aspect.
I'm thinking of cases like cigarettes and alcohol.

However, where this falls apart is that consumers don't always have that info, and even if we slap warnings on things, it doesn't usually help unless there is a very clear line of causality and effect.

For instance, the prop 65 warnings[0], which are essentially useless.

Either way, I do think that individual choice is the first line of defense for issues like this.

[0] https://en.m.wikipedia.org/wiki/California_Proposition_65_(1...
Woah, so even debating this issue is wasting precious time? I know this seems to be super-important to you, but for someone who complained about getting short shrift (in another comment), you might try using different language next time.
protip: If you need this cheatsheet, you shouldn't be doing pentesting.
This new technology works in all types of weather. HAVR, reacts not with sunlight as such but with the bright transmission of the flash (on-off tones/signals), a little bit as a unique morse code.
Google interviews are mostly IQ tests. There are a basic set of primitives (algorithms and data structures) and you have to think fast and combine them. Google never cared about experience and knowledge as much as intelligence (the ability to learn fast):

https://www.youtube.com/watch?v=fjs2gPa5sD0
I think it is a both thing rather than an either-or thing.

As long as roads continue to exist in any form, it seems crazy not to aim for efficiency. What is to be gained by passing up opportunities to make them efficient?

So this is not a wrong metric, it is just that both metrics need to be taken into account.
I'm sympathetic to this viewpoint but looking at the cost/benefit for a Stanford student I think the benefit to studying for these interviews is clear - its a bit of a simplification, but for Facebook if you can do 3-6 problems over the course of 2 60 minute internship interviews you have the ability to get a $75k-$100k signing bonus if you convert to full time in addition to more shares over 4 years. Granted this depends on whether you're a high performer during the internship but I definitely understand why someone would make or take this class.
I think this is terrible. I feel there are many good engineers that can't possibly compete for decent jobs in tech companies because they haven't spent 6-12 months reading cracking the code interview, doing this Stanford course, practicing mock interviews in crowdsourced websites, getting their leetcode rank up, attending bootcamps where they pad their githubs and practicing any single interview question they can scrub off glassdoor. All things that are marginally useful in the job at hand. And this is getting worse all the time.
Funny, you say that.

Once upon a time, you could buy satellites, satellite dishes (DirecTV), IT services, and armaments from GM.

[0] http://www.nytimes.com/2001/10/30/business/with-hughes-sale-...

[1] https://www.washingtonpost.com/archive/business/1997/01/17/r...
Fair enough :-) I'll read more thorough next time.
This isn't strictly a recommendation because I've never used it, but this always looked helpful to me. They have some self-contained tutorials and courses that are all within an Excel workbook

https://exceleverest.com/
Ask HN: Do you play video games? How do you fit it into your week?
Hi HN! I've been a gamer since kid, but in high school i tried to stop playing at all and try to do something more productive in my free time.

The problem is, the thoughts of playing games come one day or another. Any of you play video games and still do many productive things?
Recommend? a community around web3.0/blockchain/decentralization to join
Hi folks,

Can anyone recommend a good community of devs to join around blockchain/web3.0/decentralization?
IE people willing to have deep debates about philosophies and shared interests.

IE I envision an IRC channel or Slack group where people are discussing the good crazy stuff.
I don't know how you define "scale", but if you do define it to encompass externalities then I agree with you.

My point is that some types of problems are more amenable to personal activism (participation in wars come to mind) while other types of problems (shared-resources/commons) have different effective solutions (taxes, legislation, democracy et. al.)
To embrace the skiing analogy, I’m Swiss and I love skiing. I’m about to go on a ski trip next week. If I believed that going on occasional ski trips does anywhere near the harm that meat consumption does I would indeed give up skiing.

For similar reasons, I’m not interested in going lion hunting for my holidays. It’s harmful. There are other alternatives. So use the alternatives!
How do plutonium-powered pacemakers work?