skysight-inc/HackerNews huggingface dataset:
`mod` makes things part of the current project, `extern crate` is for referencing other projects. The former is way tighter, bidirectional coupling, you won't have to deal with different versions of single source files in the same compilation unit, you can have mutually recursive references between modules within the same compilation unit, and it's relevant for the orphan rule.

In a nest module within the crate, you can use names defined in the modules containing you, transitively, but in a crate you naturally can't use names defined in other crates linking to you. It's really not the same kind of relationship.
/* You won't believe the one weird trick this function uses to compute inverse square root */
If you're on some brand new project in a brand new space, it can be all exciting and you can rush forth into great productivity... in the short term.

For longer term stability after the rush has worn off, and when individualized tasks branch off from what others are doing, having more physical isolation certainly is beneficial.
These symptomatic laws shouldn't exist. Car headlights used to be mandated by watts instead of light output. The result was HID headlights that melted the retinas of oncoming drivers. Stupid laws make people stupid.
Capitalism Is Collapsing and Nothing Is Rising to Replace It
That makes sense, but is there a way to quantify that? I've always had the notion that something like a roadside sobriety test is rather subjective. I know that if I were in the situation of being suspected of a DUI (which I hope I never am), I would want a clear, quantifiable test, with a low margin of error.
It is more likely if some Googler referred you like this guy. If you just apply by yourself you may not get any reply.
The quality of game renderings will lag behind movie renderings for a long time. At 60fps there is about 16.7ms available to render each frame.

For a movie[1]:

> There's a principle I call The Law of Constancy of Pain. Back when we made The Adventures of André & Wally B. in 1983 a typical frame took from several minutes to a few hours to compute. Now computers are literally millions of times more powerful and a typical final render takes from a few minutes to a few hours to compute, averaging somewhere between 2 and 4 hours. Render times have remained flat for over 30 years because that's just how long people are willing to wait for them.

So movie artists are willing to have each frame of a movie take 2-4 hours to render vs 16.7 milliseconds.

[1]: https://www.quora.com/How-long-does-it-take-to-render-a-Pixa...
Kubernetes Helps Comcast Re-Engineer Cable TV
That caught me off guard as well. First thought was maybe Google hired him to do the blog for some developer PR, but not sure how much sense that makes.
And applying for an entry-level development position. He is not lacking in hubris, so imagine the managerial nightmare he'd likely impose for a collection of non-managers.
I was a bit curious there too, but I chalked it up to ambulance chasing from a techcrunch reporter.
One persons numerology is another person's abstract algebra.

I think this was mostly just for fun/curiosity, but operation combinations are interesting -- if nothing else to show how easy numerology can be.

It's not like the author attached significance to any of the calculations.

Here is a result (we can call it Taneja's Conjecture):

The digits 1-9 in sequence can not be combined with fundamental operations (+ - / * ^) in a way that computes the value 10958.
Is it hard to get the aca exception with these? Any risk of having to pay the penalty?

Also is there any guruntee you wouldn't go bankrupt for a major medical issue? Are they very reliable?
Except prolonged exposure to headphones makes you go deaf. I've got enough hearing loss as it is.
He got a referral, and with those you hear back within a week.
Knowledge - yes it can be gained in a year.

Experience - nope nope nope nope nope!

I'm sure everyone here can relate too - What you learnt in university was not as useful as real life experience (even when working on your own side projects).

While he spent his time (a lot of it too) on learning how to game Google's interview process, he didn't seem to consider experience at all :S (I mean, 8 months learning algorithms but not even a month working on some kind of portfolio showing off your work?)

I am not saying EVERY dev out there needs a portfolio, but he said he didn't have CS background/experience and this was his way of getting into Google, but without actual experience (note: NOT work experience, just experience in general), how does Google know he's up for it?
I've checked his CV in LinkedIn and he certainly has an interesting CV, but not necessarily a strong one for a software engineer in a big company.

I have no idea about how recruiters select profiles in Google, but maybe having an strong background as entrepreneur is a red flag ("he'll leave the company for his own project!"); or maybe the lack of bachelor degree...
(or maybe pure ageism)

I can't say I agree, clearly spending that much time shows a lot of passion, but Google tends to have pretty harsh and silly selection process, where a silly small thing or mistake gets you rejected.
A million time this. Ear damage accumulates over time. I am sure that excessive headphone usage at work will be number one reason of hearing loss in a few years.

Unless we turn things around.
That is very well done. I only see people suggesting 2-factor auth as a remedy, but I guess any password manager would work as well. You wouldn't even get to the point of compromising your password.

I use 1password, which will only fill in the password associated with the current domain.
It's funny that you talk about "non-existent loopholes", but acknowledge that there haven't been any court cases regarding such behavior.

I don't think they ever want things like that to go to court, because proving that somebody gave away information implicitly can be very much impossible.

The "scare" part is all there is to gag orders, as far as implicitly disclosing information is concerned.
I'd say functions and methods with overly generic names, like "process" or "prepare". You won't believe what happens inside!
M I ABAGA FREE MP3 DOWNLOAD
Cool that you spoke to these guys in chat. Where do they hang out? I've only really seen interaction in GitHub comments, which doesn't really suit the sort of water cooler conversations you describe (and you really need in a large project).
A big problem is that many of us that used to be on the Algol/Pascal camp had this utopic idea that engineers care for quality and would choose tools that provide such support.

Wirth has a nice paper where he writes about the error of not doing any PR and thinking "build and they will come" would just work.

https://www.inf.ethz.ch/personal/wirth/Articles/Modula-Obero...

Check the "Conclusions and Reflections" chapter.
Rust Tidbits: Box Is Special
> You can learn a lot in a year, but you can't level up your computer science knowledge in a year.

This makes no sense? Level up to what? CS degree level? Because correct me if I'm wrong, but the majority of interview questions are based on CS 101 (or the equivalent). So literally the first year. Guess it depends what kind of depth of knowledge you want/need. Again, if you're only doing it for interviews and not to go into CS research, don't think you need too much depth.
Dynatrace and AWS: Plug-n-play for the modern cloud
Why not just alert the user if the address bar contain something weird like this...

And also, why not do something like this even. Let the browser save screen shots of some user selected sites. Like mail login page, online banking login page etc etc and have them map to a trusted url.

After loading a page, browser should screenshot the page and use some ML magic to compare it to the stored screenshots (I mean, there are things today that can call out the names of the things in an image and even what tell they are doing, right?). When one of them matches and If the url of the current page differs from the trusted url, the user should be alerted..Something like "Hey user, this page suspiciously looks like this page that we stored, but the url is completely different. Are you sure about this?"
Repsol Honda Team New MotoGP Sponsorship
> their economy is going to get you in the kind of trouble that you see a lot of these bankrupt towns in the US in.

I think you're discounting the affect that big box retailers have had on rural and small towns in the US. They're often given tax brakes and other incentives to build and then they park themselves right outside city/town limits to avoid any sales or property taxes. They then proceed to drive every small business in the town out of business. As shops close down, fewer people go into town which the impacts other shops and gradually the entire town shuts down. To add to it, the big box retailers will often have leased space in the front of their stores where small businesses that they don't directly compete with can take up space. These businesses were probably the remnants of what remained in town but moved to where the people are.

You can see this in many towns if you drive across the Midwest. You'll see a "Welcome to <town>" sign, then drive through an abandoned town, then you'll see a "Thanks for visiting <town>" and then a massive super store with a filled parking lot.
This sums up the main reason I'm not all that excited about electric/self-driving cars. The only scenario I see remedying our sprawling city is for gasoline prices to increase, making current levels of car travel financially painful. If we can continue driving cars cost effectively (with electric cars), I don't know if there will be enough political motivation to address our need to stop expanding cities.
Yeah as a transplant Chicagoan I'd have to disagree, on balance our infrastructure is pretty good. CTA works well enough for me to commute daily for the last 8 years without owning a car, and they've been systematically replacing water and gas lines around my neighborhood for the past few years. Not to mention new green / public space investments like the 606, Maggie Daley Park, etc.

Road resurfacing is pretty good where I am, but oddly is largely a function of how effective the alderman for your ward is, since a lot of the cost typically comes out of their budget.

The real problems with the city IMHO are massive unfunded pension liabilities and a huge segregation problem between the north/south sides.
> owning a gun is close to attempted manslaughter, and that means no malintent

This is a pretty unreasonable statement unless farming marijuana is also "close" to giving drugs to children.

I agree that machine guns are far more dangerous to allow in broad society than marijuana, but I don't think your comparison is very useful.
I despise these games and people that pass them get all sorts of confirmation bias when they pass the tests.

I remember going through this process for internships and wondering how I was supposed to figure out all of these weird puzzles on the spot. Then I made a few friends and we all just traded questions with each other. We'd spend weeks on the problem and pretended we just figured it out.
An attachment could take you to a login page if your Google account was logged out after you loaded Gmail. I've actually had this happen when I suspended my laptop (with a gmail tab open), got on a plane, and opened it again when I got off. When I tried to do something in Gmail again I was logged out (and when I logged in again I got the email from Google "Was this you?")
The Charly Programming Language
As someone who just signed up for grid tied residential solar panels, this made me review my loan documents again.

Nothing in my documents mention PACE, or the debt-to-tax levy that ruined the old ladies' financials in the article.
PaceCoach: App that beautifully accelerates your songs to match your steps
Look it up in your local zoning code. Here it's true. Perhaps it's true that they get to combine their spots with other businesses in a development like a strip mall.
Perhaps Google doesn't want to encourage this sort of behavior.

The interview's supposed to, in theory, hint at future performance as an employee - too many intensive study guides used by too many candidates, and it'll just end up reflecting how much cramming the candidate did for the interview.
Funny that I've been thinking about the same issues going on with AAPL right now. That was all.
“Without a confirmatory test of the specific drug in the
defendant’s system that impaired his ability to drive, we
do not believe we can prove the charge beyond a reasonable
doubt,” said Krishna Abrams, the district attorney.

I'm bothered by the "armchair conviction" here by the DA. I get this is probably standard lawyer boilerplate, but she's insinuating his guilt in the court of public opinion. Is there a libel/slander case here? (Probably not.)

Second, I'm confused whether he was charged with reckless driving at the time of arrest, or if this is a later charge. Also confused about the "charges were not brought until... nearly 10 months after incident" line in the original article.

I'm assuming the story goes like this:

Man was pulled over for driving erratically (e.g., weaving through traffic). He is given a field sobriety test and fails. He is charged with DUI and reckless driving. The initial blood test reveals no known (i.e., testable) substances of which he could have been under the influence. The sample is sent for a second, more intensive round of testing. It reveals no new information other than caffeine. The DUI charge is not immediately dropped, and the defendant uses the opportunity to push the "charged for DUI for caffeine" story. The DUI charge is finally dropped. The reckless driving charge continues, and will go to court this year.

My opinion is that the DA really wanted to prosecute the DUI charge ("he had to be under the influence of something!"), so they took their sweet time trying to find an angle.
"This is my multi-month study plan for going from web developer (self-taught, no CS degree) to Google software engineer."

From: https://github.com/jwasham/google-interview-university
Thanks for the link, the article mentions usage of complements in machines going back to mechanical calculators and the first example uses 9's complement. Neat!
The things that I enjoyed at 25 years old are not the same things that I enjoy at 40. Well, some are. But not all.
Tom Bihn Synapse 25 with their Cache on Rails accessory for my laptop. Made in the US with quality materials and workmanship.
I don't understand why people get DEAD set on just one company - that's never a good way to do things, especially when the application process is so fickle, and especially if that company is literally the most applied for company (or one of them at least). It's not like university applications, where they're at least obligated to reply back.
I don't think "tables are back" here, per se. Tables, like any HTML element, are to be used semantically, like for displaying tabular data. They bring a lot of extra, unneeded markup and they're not a good layout mechanism for different size screens. I do think Flex-box takes the good elements of tables and turns them into something great :D
No, telling that someone is guilty can only be done by a court. Prosecutors can say that they believe he could be guilty. In this case, they dropped that and said that he's likely innocent.

The unfortunate thing in the US is just that most cases don't make it to court, and a lot of people plead guilty to get a deal. This is not how the system was designed, and not how it works in most other democracies.
https://bit.namecoin.org/
The Pause/Break key on the Kinesis Advantage (acting in macOS as F15) raises the brightness for me, but the Scroll lock key (which is supposed to lower brightness / act as F14) doesn't (it seems to act as Tab instead

Edit: This seems to be because those are mapped to F14/F15 respectively in macOS by default. Apparently an non-Apple external keyboard cannot send Apples media keys, so unless your keyboard has its own media keys it will not work.

The Kinesis Advantage supports enabling media keys by pressing =n (see http://superuser.com/a/403765)
"We stayed up very late, listened to loud music, and did some of the best work of our lives."

No offense, but that sounds like some kind of boys club, not professional working environment. Staying up late = no respect for private life (unless you've signed for it), loud arbitrary music = forced culture implications (why do I have to listen to the music you like?). Yes, probably our work place expectations differs immensely.
Real Time Pixel Art Remasterization on GPUs with CUDA
That's a fascinating question. Since they're not the target of the NSLs, it wouldn't confirm or deny that any given organization is under an NSL (the usual problem with someone saying "we're under 4 NSLS").
Autism's curious cancer connection
What things do you still enjoy?
People understandably get hung up on the social/legal status of caffeine, but I think there's nothing intrinsically wrong with the notion of a DUI charge for it. In several important ways it acts like a milder form of cocaine or amphetamine, and with high enough doses it can cause similar behavioral problems ("tweaking", paranoia, mania, even psychosis).
That's a great sentiment but that is not what happened. Or (at minimum), it was massively underfunded.

With regards to CalPERS specifically, it was covered here two weeks ago: https://news.ycombinator.com/item?id=13287078 and from that article:

"For every $100 the city paid a police officer in 2016, it had to pay an additional $71 to CalPERS to fund payments to current and future retirees."
but the west is doing that
It's actually the other way round, the YubiKey (or other U2F token) has an API the browser queries, generally triggering the token requesting some sort of physical interaction.
I agree with dirktheman here if we're talking about hosting a non-static website. Getting setup with EC2 is a huge pain if you don't know what you are doing. I really like Heroku for simple apps, but something like Linode makes a lot of sense if you wanna have more control over the server.

But I also agree with the parent comment about AWS S3 for static website. If you are setting up a static website with just HTML and CSS, S3 is the way to go. I do this for my homepage and it was very easy to setup and costs me about $0.52/month.

Added benefits are that you can use Cloudfront for CDN which also offers HTTPS. Some guides:

Example: Setting Up a Static Website Using a Custom Domain
http://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosti...

Using CloudFront with Amazon S3
http://docs.aws.amazon.com/AmazonCloudFront/latest/Developer...

Using HTTPS with CloudFront
http://docs.aws.amazon.com/AmazonCloudFront/latest/Developer...

To the OP, I'm not sure what your experience level is, but if you consider yourself a beginner and you don't know what any of these terms mean, feel free to ping me if you have any questions!
And when concrete roads fall into disrepair, they get to be really nasty to drive on. I feel like I'm going to shake my car apart driving on some roads in Iowa.

I can't say that asphalt roads in disrepair are much better, but potholes tend to be more quickly fixed than slightly mis-aligned sections of concrete roads.
How would they know?
1Password is great, but it solves a problem that we should get rid of.

It converts the n-websites-n-passwords situation into one where passwords become random tokens unlocked by a single client-side secret.

We need to make U2F more widespread.
> Sysadmins develop strategies for reducing the number of requests at any cost, usually by making the experience as opaque and unhelpful as possible.

This is sometimes an organizational problem. I worked in a support role at VMware for about 5 years and this is what I observed:

- Support & IT departments typically have enough staff in the beginning

- The organization grows & the department grows to match the new work that exists

- At a certain point, the organizational view of Support & IT/Ops changes, and it's now viewed as a cost that you want to keep down.

- Leaders try to minimize the increases in budget, but the workload per sysadmin/engineer increases.

- The sysadmins/engineers have no control over the flow of new work, which effects the quality of work that gets done and can create a toxic environment.

It literally becomes impossible to handle all the incoming requests. Different people handle it differently. Good sysadmins would learn to prioritize properly, but due to the toxicity some people have trouble handling it so they end up developing strategies to make a certain number of requests "go away".

Anyway- just my two cents.
Policing the Digital Cartels
Get the Synapse and with the cache on rails accessory for your laptop. It's an amazing bag.
Diseases and sickness are the worst part of open offices. One day one person gets sick. The second day the person to his left also gets sick. The day after, half of the open office is sick. After a week, the entire office is sick. You can almost track the migration of the disease across the room.
There's plenty of people who like open plan. I think the main issue people have is the idea that open plan is superior, and how companies have adopted the plan without any thought or scrutiny (coming up with all sorts of bullshit reason, to rationalize a decision which is really about trying to save money)

For a startup or small company doing mostly plain development, and especially if it's a tight-nit group that stay up late and have fun like you describe, it's probably great.

For engineers working 9-17, with a family-life, with complex multi-faceted work.. it can be a nightmare.

I prefer sharing an office with 1-3 others. You still get the social interaction, but without too much distraction. It's a pretty good compromise.
Open offices are awful, but they're here to stay for the same reason more adults are living with roommates and relatives: high real estate prices.

Working remotely is one solution, but many companies don't think it would work for them.

Personally, I'd make the shared area for solitary work only: no work discussions longer than a minute at work areas (use a conference room, take a walk or Slack), no eating at work areas, no audible media. I'd physically isolate people who have to make calls from their desks from other employees as much as possible. I'd also provide a break room for eating and install some retro phone booths in it for semiprivate personal calls on breaks. Also, a private room--not necessarily big--for breast feeding and pumping, taking medication, calling doctors' offices, and the like.
Thanks for those two links. Great stuff.
DA can't look bad, heaven forbid they admit they made a mistake and overreached. That would be unheard of, better to try them for some other smaller crime so they can continue to insist they are keeping bad people off the street and their conviction % doesn't take a hit.
Here you go:

http://react.semantic-ui.com/introduction
I doubt that is true. The recruiter probably had no idea that he was preparing for eight months.
Before saying no to higher taxes think about the value of your own property. If the infrastructure (streets, water, electricity, internet, schools, ...) becomes broken in the area around your house and garden, the value of your property will go down, too. In that sense paying higher taxes for infrastructure is also good for preserving the value of your property.
If we're talking about art and the way we experience art, "factors other than quantifiable objective data" are pretty standard fare.
Looked around the blog and there are some interesting posts to be found there.
What I did not immediatly find was "Why Google?" Why not Microsoft, Facebook, or another big company?