skysight-inc/HackerNews huggingface dataset:
> It seems to me that the biggest thing that the author does not know about the provenance of Google's style guide is just how massive Google's projects that this guide applies to really are. A lot of the author's complaints may not make sense on their project with a few engineers, but they are absolutely vital in a code base on which thousands of engineers work on every day.

I agree. People work on their small pet projects for school or wherever and think that's how enterprise development really works. Unless they have worked on a major project, it's very difficult for them to understand.

But even more important than sytle, it's consistency. You shouldn't use a coding style/standard because it works for google. You should create a coding style that works for your team or organization and stick to it consistently. Oftentimes, keeping to the style is more important than the style itself.
I’d like to know as well. If you’re getting 20x ad spend, you’ve hit the jackpot.
> removed on a whim

They changed the whole concept of having one single root. As I understand the plan is to use many fragmented and independent filesystem handles that can optionally mounted together.

So the restriction is more about non being able to access a folder if you don't have access to an appropriate handle.

Paths like folder1/folder2/../folder2/file are still perfectly fine.
If you want the lowdown on Detroit (and other regions of the country) check out https://makeloveland.com/ They focus on helping people keep their homes and away from the county auction.
Yeah nah. We don’t describe code as “awful” because we truly want to rewrite from scratch. Code can be quite awful simply because a company has a high developer turnover due to hiring practices (you can code? Good, write our payroll system) and management (the bearings will continue until morale improves).

As a result you end up with every function using different nomenclature, different approaches to encapsulation, differing levels of compliance to Demeter, bizarre side effects because they made sense in the one day that developer was allowed for that feature, and so on.

So “less than ideal patterns and practices” does indeed count as “awful” code where the maintainer has to learn a new coding style for every file in the codebase.
Media queries combined with the viewport meta-tag solves your problem.

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

Using that meta-tag, phones will respond to media queries around 240-360 pixels, depending on their screen size.

I like to use bootstrap to not be bothered with media queries myself. But I only use small parts from bootstrap, and I opt-in/opt-out from specific parts by removing/adding includes to specific modules from bootstrap. (you can do that with the LESS or SASS version of the package, copy the generic "imports" file, and comment-out everything you don't want/need)

Bootstrap includes many sane defaults and some fixes for weird browsers. By choosing what to include and what not to include, I can choose whether I want bootstrap's opinionated styles or my own, and I can switch later (start out with bootstrap forms, customise them later & finally remove bootstrap form styles)
Same sentiment here. Many of GSG constraints are good and others are purely because of legacy code at Google. So don't take GSG as religion and implement it to the letter ask why this constraint is proposed and does it apply to my code?

> GSG forbids exceptions on the ground of “Google’s existing code is not exception-tolerant”.

Unless you are doing embedded software, you should use exceptions. I have tried this "modern" trend of returning instead of raising a few times and I'm not convinced at all its less bloated or less error prone way of doing things.
Numerous peer-reviewed studies showing that if you add up all the hours kids spend learning their mother tongue, and then compare with adults that have made a similar investment in a second language, the adults achieve an equal or higher level of mastery.

https://www.jstor.org/stable/1128751
https://journals.sagepub.com/doi/abs/10.1111/1467-9280.01415

Basically there's a relationship between time invested and skill that's nearly the same no matter how old you are (and perhaps even in the adult's favor). But what DOES differ significantly is that adults typically don't spend 8-16 hours every day immersed in their target language.
I mean, I'm talking about maybe a few life saving emergency medicines. Capping the price and allowing / encouraging / requiring other manufacturers to sell in the market.
Each of the categories above would be one file.

Each command should have a sentence or two of context, which also helps with searching: “If the Baz starts showing symptoms of Quux, frobnicate the Foo to reset the Bar: <insert command here>”.

You can use headings to separate out DB admin incantations from server admin incantations from system admin incantationss, etc.

If something accumulates thousands of lines of notes or explanation, just carve off a doc for a subtopic, or create a subdirectory with files for multiple subtopics.

Edited to add: I don’t subscribe to the idea of documenting every single thing you do more than once. I set a slightly higher bar of anything you have to look up (or ask someone or that someone asks you) more than twice. That tends to work as a decent filter for obvious vs. requiring documentation, and keeps the volume of docs under control. As time goes on and your team grows, of course the set of items meeting those criteria will grow, but only at the pace where they become valuable.
Why do we focus on zip code, schools and the like? The help, but they're way less valuable than human relationships. Entrepreneurs put way too little value on non-business friendships, but the reality is that they're what sustain you. Sometimes I really just need to discuss things with my best friend and get her perspective - she has nothing to do with tech, doesn't live on my continent, and at the same time, has so many of the similar problems. That's the real magic.
I recently started working through the tutorials here [1] and they're excellent, but kinda like you I get grumpy when I have to do Django at work now.

[1] https://www.phoenix-tutorial.com/
I was requesting valid scheme that did not work properly.
Given the https://ecraven.github.io/r7rs-benchmarks/ shows Gerbil passing more tests than many other implementations, it seems hard to call it a "non-scheme".
Data aggregation party. They'll resell it later.
zoonotic transmission (transmission between species) is not seen as serious enough by the CDC to even track it. but for comparative purposes, there are 1-2 deaths from rabies per year in the US (and infection is as likely from rodents as anything). so the burden of proof is on the dog cynics.

in any case, the primary transmission concerns are poop and mucus membrane contact. so again, the main thing you need to do is wash your hands with soap (and don't play with poop or make out with the dog).
I dunno, it's still pretty damn hard to find a DBA with relevant PostgreSQL experience on the east coast...
The worst part of Elixir is when you're working with other languages and you know it'd be better in Elixir.
+1 for me, using Eno to check balances, pay bills, etc. is as easy as using the Capital One App. Really well done chatbot with real functionality.
I recall why this looks familiar. Their chief scientist put up a job posting on the subreddit for array languages. It sounds like they know how to use some pretty powerful tools.

https://www.reddit.com/r/apljk/comments/42uf2f/not_exactly_a...
The Linux Foundation Teams Up with RISC-V to Promote Open Source Chips
There are a number of satellites with publicly available downlinks (think NOAA weather sats). I'm curious about why I'd need to register that NORAD ID with my AWS account to be able to receive that data - is it just so that the orbital passes will show up appropriately when I want to reserve a contact or something?

(Also, the "imaginary" sat that was added to the account in this case was in fact NOAA 15. That one actually transmits realtime imagery to the ground that anyone can receive).
Wikipedia is a non-profit. It by definition doesn't have a business model.
The Linux Foundation and RISC-V Foundation Announce Joint Collaboration
Ask HN: What makes you hire an intern/new grad/junior?
I am a freshman who recently made a side project to connect recruiters with students/new grads. It got quite some traffic and I want to learn more about the process from a recruiter/hiring manager's perspective to improve it.

I'd love to know your experience when hiring interns, new grads and juniors. What are the problems you run into? What will make your hiring process better? What metrics do you usually use to filter out a resume?
I'd wager 20% of Norway or more has been actively following these games. Everyone has been talking about it, the last few weeks the lunch at work has been mostly discussing the game the night before. All over the media. Biggest tv channel (NRK) showed the 15 games live, same for the biggest news page (VG) .

And this is nothing new, ever since the first time Carlsen was in a WC match Norway has been obsessed with chess. Some joke it's because we're so fond of slow-tv here. Both NRK and VG has made it like a panel/talk-show with a mix of chess experts and entertainers. The format works well.
Please read the whole thread. We are talking about a web server which is a factor of three slower. I really don't care why. The /package/ is factor 3 slower. Assuming that the rest of the system, i.e. mainboard etc., is at a similar cost level, it's not enough that the CPU is factor 3 cheaper. That was my point.
I lived in one of these! My friend was married to a Japanese woman and they got a free 10 year lease on an abandoned house. It was very romantic, especially with the tanuki running around in the ceiling.
Correction: daniel@stanfordchess.org.
Thanks for letting me know... too much going on today!
How does that system compare whether two numerical objects are the same?

3 = Succ 2
All you need is to be a multimillionaire that wants to move to a nigh abandoned section of Detroit.
In terms of c++ matrix libraries, I've found eigen3 to be better than armadillo (although armadillo is easier to use).
Oh by state I don't mean the country state but the condition they are in.
Love the term "anti-encapsulation".
Ponzi schemes tend to collapse quickly and spectacularly.
I don't get it - How do you fund the police? Or are you 'free' to protect yourself?
Thank you for the spellcheck
sublime is still much faster and more stable than anything else... the only time i switch to a jetbrains editor is when i need something heavy like java or android or flutter...

for example: https://github.com/Microsoft/vscode/issues/63542 just look at the difference between sublime and vs code.

the new ui in vs code also made things slower: https://github.com/Microsoft/vscode/issues/60419
You could say that there's no reason we're still using a stupid preprocessor hack of textual inclusion to import interfaces.

As usual, the devil lies in the detail. If you want to make pragma once robust you need to checksum files, which in the end will be slower than include guards.
I have AirPods for meetings and music while walking, the normal Apple buds - now just backup in case I leave my AirPods behind, some Sony closed back monsters for shutting out noise while working in cafes and some nice open back Grados for music listening at home.

I hardly use the Sonys but if I do, I will just borrow the adaptor from my Apple buds in my laptop bag. For listening to my Grados I use an amp with a headphone socket.

If I wanted to plug them into my phone I would need the Apple lightning adapter and also one to the smaller headphone jack! This doesn’t bother me. If I want to do that, I’ll just do it.

I’ll even spend another £9 on an adapter to leave connected if I do it often enough.

None of this seems terrible to me and I’m not sure how unique this set of circumstances is. What are the tons of situations where this gets tricky?
The link between ADHD and August birthdays
Could be because they lose money on every sale, but will hopefully make up for it with volume.
Ok, that works, though you pay a price: you have to keep track of a fair number of such handles. You'll need one for /usr/bin, and for /bin, and all the lib and libexec and share and varstate directories, and /etc. You do get to not let processes see $HOME if you don't want to, and that's very nice.

In a shell one would have to expose a path->handle dictionary for scripts.
If you don't have hangups about Microsoft you can also get Onedrive - 1 TB for ~$5/month, and they even throw in Office if you want it. Files On Demand also seems to work pretty well on Windows 10 boxes and is included, I think the Dropbox equivalent is only on the business plans.
This is just one of the many initiatives by the government or a local body to give away houses. The population in remote areas of Japan (aside from tourism) is declining quite fast.

I've had friends who have bought houses for as cheap as $600 in remote areas of Japan. [1]

If you are interested in owning a house in Japan then Okutama (a town close to Tokyo) is giving away houses with certain conditions. [2]

There are at least five other programs scattered around the Kyushu island and around the Tohoku region. You may want to check areas affected by natural / man-made disasters such as Rikuzentakata, which are "reviving" its cities or towns.

If you are a tourist you'll get accommodation and travel tickets to these "reviving" towns (free of charge) as well (just need to know where to look). [3]

[1] https://imgur.com/74zVNlE

[2] https://www.japantimes.co.jp/news/2018/11/04/national/social...

[3] https://www.detouur.com/rikuzentakatamain/
Maybe it is just that I overuse the internet, but if you have simple needs web interfaces are actually really good. most of them are broken, but to navigate a media list (photos, movies, albums, pdfs etc. (maybe not text file)) the most comfortable interfaces are often web.
Any idea why Cox left it out? Is it just a "we intend to add it but haven't gotten to it yet" or "we don't want it because..."?
But then they would have to write something good.
That attitude does not fly with your boss.

Why limit the adoption for no good reason by choosing a weird name intentionally?
EPIC [1]

[1] https://www.epic.org/
I lived in an old wooden house in Sanjo, in Niigata prefecture, for a while back in the 80s. It was a pre World War 2 house and didn't have any indoor plumbing, though it did have a nice smelling campground-style toilet on the first floor. You could stand outside and shake the corner of the house and hear all the windows rattling. It seemed pretty junky, but it withstood at least eight decades of earthquakes without falling down.

Also, I went to Sadogashima earlier this year. While there, we visited an entire town that was built in the 1600s. A couple of the homes had been turned into museums, but people were living in the rest of them, so there must be something to the way they build those old homes in Japan. I don't know if the same would be true of more modern houses though.
Just wanted to know what's wrong with Django?
I have a resume that contains a block on the left 33% of the page with the following:

\subsection{Technology Fluencies}
Java \textbullet{} Python \textbullet{} PHP \textbullet{} Ruby on Rails \\
Javascript \textbullet{} NodeJS \textbullet{} ReactJS / Native \\
SQL \textbullet{} SQLite \textbullet{} MySQL \textbullet{} DB2 \textbullet{} Redis \\
Postgres \textbullet{} Bitcoin / Blockchain \textbullet{} REST \\
ActionCable / WebSocket \textbullet{} JSON \textbullet{} XML \\
ElasticSearch \textbullet{} JWT \textbullet{} JUnit \textbullet{} Jest \\
TestNG \textbullet{} Selenium \textbullet{} Robot \textbullet{} Maven \textbullet{} Ant \\
ESXi \textbullet{} Docker \textbullet{} Flynn \textbullet{} Dokku \textbullet{} Heroku \\
Analytics 360 \textbullet{} Google Tag Manager \\
Salesforce DMP \textbullet{} Github \textbullet{} Git \textbullet{} SVN \\ JIRA \textbullet{} Vagrant \textbullet{} Ansible \textbullet{} Perforce \\

\subsection{Additional Fluencies}
Amazon Web Services \textbullet{} Agile Dev. \\
TDD \textbullet{ }SDLC \textbullet{} SaaS \textbullet{} IaaS \textbullet{} PaaS \\
Semantic Segmentation algorithm is now available in Amazon SageMaker
There's a very big C inherited footgun you can avoid with signed sizes: implicit conversions to unsigned on comparison.
Are there businesses that don't have to show the warning?
Nice! You wrote flask-security etc. right? I actually reported a bug again flask-login years ago because of the way Elixir handled a certain security issue. Small world...
When I was playing with FreeBSD a lot in late 2017/early 2018, I had a ton of time wasted following outdated chapters in the Handbook. It became very frustrating once I found the 7th or 8th "this part of the Handbook is outdated" post on the FreeBSD forums. Kinda funny, because the Handbook is often touted as something which is supposed to make it very welcoming to beginners.
This was amazing. I have a far better understanding of complex numbers now. Where can I find more of this?
Several? Generic comments about ideological topics seems to describe everything in the entire thread so it's unclear to me what exactly can be said then.

Respectfully, the discussions are valid, received upvotes, and seem to end on their own just fine. Outside of a few personal tangents, which are rightly disallowed, the rest don't seem to need any moderation.
Idle curiosity: I wonder if they fixed the 'bug' where if you had a big binary in an error, it got translated to a string representation of a binary, which absolutely blows up memory usage as it works its way through the logger.

In Erlang for instance, you might have a binary like <<"foo">>, which is the 3 bytes, 'f', 'o', 'o'. The display representation of it - <<"foo">> - though, as an Erlang string (which is a linked list of numbers) takes up 18 bytes according to erts_debug:size, which is a huge multiplier.

As always, though, excellent writing by Fred.
Knockoutjs works well for this, have heard vuejs is similar but haven't tried it.

That's for highly interactive pages of course, for simple pages that just need some regex validation or something, no framework is the best framework.
AWS Deep Racer League
Not the OP. My parents in India don't have wired broadband. They only use mobile data. So when we do a FaceTime call, they easily consume about 1 GB (give or take a few MB as I didn't do any scientific measurement) in less than an hour.
Japanese replace their cars frequently because taxes are structured so that after a few years it becomes worthwhile to buy a new car.
Kasparov had said that all players are worse in blitz, but that Carlsen gets least worst https://twitter.com/Kasparov63/status/1067826806823297029
Bloomberg is still reporting on challenged story regarding China hardware hack
Scott encoding even has a weirder implications (if you're not used to it) if you think about it

0 ≡ λf.λx.x
1 ≡ λf.λx.x (λf.λx.x)
2 ≡ λf.λx.x (λf.λx.x (λf.λx.x))

Or if you allow meta variables in your expression:

0 ≡ λf.λx.x
1 ≡ λf.λx.x 0
2 ≡ λf.λx.x 1

This implies 2 contains 1, 1 contains 0. Bam. Scott encoding also encodes some parts of set theory.

Following from this, of course, all ADTs can be encoded following the Scott encoding scheme.
Most businesses are right now transitioning to the cloud. And so often they are moving to managed databases like Aurora, Redshift etc where things like replication are handled for you.

Personally not seeing large scale move away from MySQL.
Ćuk’s resonant buck slashes magnetics
Rust might be good for algorithmic trading, and is good for other real-time uses. It's good for building wasm modules. It's good for most any kind of performance sensitive or resource constrained application. If you need high throughput, low latency network services, it's good for that. CLI tools. You can build libraries to expose through C FFI, and even plug them into nodejs to do heavy lifting for existing js codebases. I think its good for anything c and c++ get used for and a lot more.

It's not that good for rapid prototyping, won't please many big enterprises who don't trust it and can't hire maintainers easily, and it can't do much on mobile phones. There are also some types of integration work where you'd be wasting your time with rust due to lack of domain specific crates.
> It's also extremely common for companies to install root certificates on work computers that employees use to check their personal email. Why is nobody objecting to this?

A question: if I'm on a work PC that has a root certificate installed, can you tell if they're using it to MITM? When I go to a site on my work PC with the padlock (eg my bank) and click to get more info, it does show the bank's certificate. Can they still be MITMing that connection?
At one point, 80% of Fortune 500 companies were using it. No capital T. (This is how we used to identify the pointy hairs.)
Looks like these guys were on a very similar path. https://m.youtube.com/watch?feature=youtu.be&v=3T2H4qO9_b0
I’ve written code that I can’t understand:

"Any code of your own that you haven't looked at for six or more months might as well have been written by someone else." - Eagleson's law
I agree, I saw a few of the games via his LiChess slot and I thought he did a phenomenal job in terms of making advanced chess concepts accessible to a very wide range of skill levels.

I also loved elements of the chess.com stream, especially when guys like Levon Aronian and Hikaru Nakamura come on, but there's something to be said for just a very high quality stream with somebody who both knows what he's talking about and is super humble and interesting.
Lots of major players are using it:
https://www.mongodb.com/who-uses-mongodb

We use it for large volumes of machine learning features and it's been amazing.
I know that quite a few of them were invented as a joke among music journalists over a Friday pint.
I wonder if I'm the only one feeling that React is moving further away from its original conceptual simplicity and elegance - so much so that I'm not excited (or motivated) to keep up with these new features. I've already put in the time to figure out an optimal (for me) full-stack setup using only its core features, so don't feel the need for context, hooks or suspense. I can understand that these might not be possible as extensions or middlewares outside of the core library, but the added complexity is something I'm not interesting in chasing. Sadly the ship has sailed, so I suppose I have to accept that I'll slowly lose touch with the latest in React development trends.

Edit: Reason might be the way forward. https://reasonml.github.io/
Did he take down the repo? It's no longer visible.

Solid observations.
The word quantum doesn't mean thread-safe. But it is thread-safe, since it's fundamentally based on a durable ACID Transaction journal. All the threads in your application can agree on state.
Sqlite would be my first recommendation, unless you need client/server access.
Striving for what???
Slow, GIL, Python, ORM, no otp, no supervisions, no runtime code inspection, bad code formatter, error handling, no macros, no pipe, not immutable, not functional, very complex writing multithreaded code, 100 different ways to write doc strings, ugly docs, hidden state everywhere... etc.
The people left to live on earth will be more and more tied to doing mindless jobs. I think there are a lot of people that would be excited to start a new community on Mars, get paid to, basically exist and build homes (pods) and connect those pods to additional pods. The act of mining will have meaning again beyond helping someone else get rich off bitcoin.