skysight-inc/HackerNews huggingface dataset:
A C++ reference is basically a pointer that pretends to not be a pointer. If they have any efficiency advantage over const-correct pointers, I've never heard of it (though I'm at best an intermediate C++ programmer).

Points often cited as disadvantages of references include:

- There's nothing that clearly distinguishes them from regular variables at the point of use. They can therefore obscure the fact that you're not passing by value or mutating a local/member variable (particularly if you don't have good IDE support, and good IDE support for C++ is damn hard for some environments/toolchains/targets)

- There is no concept of a null reference, which can create friction with interfaces that use NULL for optional parameters

These points are also often cited as crucial advantages of references. So it goes.
How to Get the Best from Your Document Review Process
Why is it that so many people seem to call Musk by his first name in written discourse? Smells of fanboy/girlism and certainly doesn't add to objectivity. The point being that he can say pretty much anything he wants and gets away with it because he's "Elon".
By 'earlier', I mean that in terms of our biological clocks. Some people are prone to sleeping later after the sun goes down and getting up later while others are the opposite.
Super simple JavaScript tool function set
What is the best way to do 'blue ocean' ideas in developing countries?
6 Pemain Terbaik Real Madrid Sepanjang Masa
When your target audience is 'Firefox users', doesn't it make sense to more freely use features that are supported by Firefox?
I think they meant they have money that they are willing to pay for a new iphone. What is over-pay to you might be just-the-right-price for somebody else with different values.
Pretty cool! Are you still doing that??
City Journal titled him the shadow president.
https://www.city-journal.org/html/shadow-president-15340.htm...

The opening paragraph says it all...

"""After leaving the White House in January 2017, Barack Obama and his family set out to do what all newly retired presidents have done—go back home, or find a new one. In Obama’s case, though, the new residence is in Washington, D.C. At first, the Obamas presented their choice as temporary—they wanted to let their younger daughter, Sasha, finish high school in Washington, they said—but their purchase of an 8,200-square-foot, $8 million mansion suggests a permanent stay. Obama’s postpresidency is thus shaping up to be virtually unique in American history: rather than departing Washington, he is planting his flag there, establishing, in effect, a shadow presidency.

Obama’s move breaks with long-standing precedent. Conscious of threats to the safe transfer of executive power in the young republic, America’s early presidents departed Washington on the expiration of their terms."""
Congratulations on dodging a bullet!

Paypal is one of the hidden mines that await startups - you could have had your smartest engineers working on it for months, possibly sinking the whole endeavor as other (actually important) things fail to get done. Unless you have engineering assets to burn, Paypal is absolutely toxic.
I wasn't convinced about Stellar in that article. Some arguments given were strawman like, especially when attacking proof of work (PoW) or other things that are irrelevant because Stellar is something completely different. Besides, I found the overall tone to be somewhat condescending, especially due to the Monero snide at the end.

There are plenty of other low-fee, non-PoW coins out there, that the article should have spent more time comparing to instead; So we know that stellar doesn't use PoW - what I want to know is why the Stellar consensus algorithm is better when compared to the other similar alternatives out there, and what makes it faster and more secure. They also leave an elephant in the room - how is Stellar more resistant to censorship? What I'd really be interested in reading is why they chose it based on technical merits, rather than talking down other projects.
100% Agree!
Yea its supposed to have my poems. Is all you see is a content categorization error?
>>Esp. in India, there are scores of Radio, TV, phone, appliance repair shops in every city and even in villages.

Indian here.

Our First TV we bought ran a good 25 years. It was repaired at least 2 - 3 times. Often for 1/10th the price of a new TV. It finally totally croaked. I salvaged speakers etc, and put it to good use.

The TV we have now is running for 10+ years and is going strong. Its a CRT TV. I've told my family we will buy a big new LED one once this croaks. But its going quite strong. Given everyone around has moved on these latest LED TVs, my family is quite pissed that the TV is still running strong :)

My friend gave a new LED Sony TV to me to see if it can be fixed. When I enquired the costs came up to 60% the cost of a new TV. At that point you wonder if you want to keep it and repair it, or just toss out and buy a new one. The problem is lack of serviceable part inside.

Also they don't make durable products anymore. Even in India.
Not just American, Greeks are very big on hugging as well in my experience. I live in an area with a lot of greek immigrants (2nd or third generation now) and the amount of hugging feels unnatural to me because I grew up in the British tradition, a hug from my father means someone has died, a hug from my mother means we won't see each other for several months. Between me living further away from them and the family aging I think we actually hug each other more now than when I lived with them.

The lack of hugging is something we're consciously not passing on to the next generation.
Let's say that society decides that 8 am is appropriate to start business. Most businesses open around that time. Let's say to provide a reference, that 8am is 1 hour after sunrise on June 10. By pushing the time forward, 8am is now when the sunrises on June 10. You have effectively made everyone start the day at sunrise instead of 1 hour after sunrise.

This is definitely a morning-person thing. People who are functional earlier benefit over those who aren't.
given that immigrant delivery workers tend to earn only around $10/hour

That's below NYC minimum wage.
> Why? Even writing micro service in C++ is dead simple these days

Apologies to the commenter then. I misread that to be a "why bother?" to the original blog post and do this instead. All tech has its pros and cons and trying other things can be good too.
did nassim taleb really boast about deadlifting 400 lbs? That isn't very much for a deadlift if you lift consistently...
Yet, people find static Go and Rust binaries a useful feature, so clearly there is some notable problem with the Linux ecosystem that static linking addresses.

In particular there's tension between running enterprise distros on servers and getting stuff deployed when the system libs are very old.
Every election I get that California "my vote doesn't count" feeling. Glad this is out there as an alternative.
No one will ever surpass David Suchet's Poirot. They may as well not even try.
Hi there, those are my words you quoted above. I just wanted to emphasize that we would help open-source users out on this if we could. This isn't a case of "we didn't need it, so we never implemented it." The problem is that no one has proposed a solution that is compatible with our need to do parallel compilation inside Google.

The only proposal I saw involved removing the 1:1 file correspondence between .proto input and _pb2.py output. I can understand why people would want this. But inside Google, we compile all our .proto files in parallel, and our whole build system depends on being able to parallelize things in this way.

If you have a solution to this problem that doesn't break any of our existing use cases, we're all ears.
Well, the "auto" branch saw a commit 20 days ago, and before that in January. But they mostly seem to be small changes to "unbreak stuff".
They should just call it Plan9 IR
That might be a wonderful business case! Whole building somewhere packed with guys remotely driving trucks/Uber cars 800$/month. No visa issues, different shifts to be available 24/7 for client. And a private radio link to prevent connectivity problems.
"min-height: 500px; height: 100vw;"
"Hello everybody out there using minix –

I’m doing a (free) operating system (just a hobby, won’t be big and
professional like gnu) for 386(486) AT clones. This has been brewing
since april, and is starting to get ready. I’d like any feedback on
things people like/dislike in minix, as my OS resembles it somewhat
(same physical layout of the file-system (due to practical reasons)
among other things).

I’ve currently ported bash(1.08) and gcc(1.40), and things seem to work.
This implies that I’ll get something practical within a few months, and
I’d like to know what features most people would want. Any suggestions
are welcome, but I won’t promise I’ll implement them :)"

-- Linus
This is eerily similar to the essay from the Novel 1984.

You just realize at one point in time, the growth of a capitalist society is limited by consuming power of the masses. So after that the only way to grow is to destroy and rebuild.

Or in other words - 'War'.
> 3) I'm mostly interested from the context of learning tools to make my work more performance conscious and just as a general learning exercise.

You want C for this. C++ and rust are aiming to give the same level of performance in higher level languages but to achieve this they have to abstract things from you. C has very little of these abstractions and you're forced to be much more aware of where your CPU cycles are going, it also allows you to optimize them in ways that can be harder in c++/rust.

It's not just the language itself but the libraries, the "standard" c ones are rather anemic which means you have to code a lot of things yourself, even for simple things like dynamic arrays and dictionaries. This means your directly exposed to a lot more of the basics and have to consciously think about things like memory layout.
I am building Deep Video Analytics which aims to become Solr/Postgres of visual data. Currently it uses LOPQ but I am working on integrating FAISS.

https://www.deepvideoanalytics.com
Model, validate and cache your Google Datastore entities
Having an auto formatter was one of my favorite things about using go (gofmt).

We’ve been using prettier for over a year now at work and it’s been really nice not having to spend much time keeping the code neat. (Works well with typescript and react also)
It's trivial to ban someone from Slack. The problem with email is how there's no authentication for incoming mail, and it's trivial to spoof the sending address so you can't block them. Sure spam is a problem on most platforms, but unauthenticated ones have it orders of magnitude worse than authenticated ones.
Brazilian hair wholesale
That is COM as mentioned by pcwalton.

Other systems would be IBM z and IBM i language environments.

The only place where this doesn't catch on are UNIX clones.
Lots of cities manage to do well with children; New York is an above-average performing urban school district with a million kids enrolled.

The problem is that with the rise of housing as an investment vehicle, cities have rapidly increased in price. In most countries housing is not a high-yield investment like stocks, it's a safer, low-yield investment like bonds. REITs have managed to destroy the goal of affordable housing for most people.
Rich Hickey's talk “Clojure – An Introduction for Lisp Programmers” (Transcript)
> But that's not the point you made.

I'm pretty sure it is the point I made when I said: "There are open protocols like Matrix which are superior to Slack". Maybe it was badly worded, but the original comment was talking about open protocols being not as good as Slack's protocol (which is why they have their own and aren't use open protocols). My response explained that there are open protocols that are better (in that they have more features), and that Slack not using them is not evidence that they aren't better (rather it's an indication that Slack won't give up the one thing it has full control over).

> For it to be better in general, it has to improve the way people communicate.

I'm not sure I agree that's the only requirement for something to be "better in general". You would probably agree with me that HTTPS is "better in general" than HTTP. Why? To users there is no practical difference other than it being more secure -- which you've ruled out as being something users care about.

Things can still be better while being transparent to most users, while the extra features are useful for a subset of users. Not every protocol improvement needs to revolutionise how people use a particular technology.
The labels we assign start to have significance. 12 has significance as lunch time to most. 9 am may be when business starts.

When I say they are just re-labeling numbers, I mean that if someone now gets hungry at 1pm instead of 12, that individual will start to act accordingly. It's possible that people will start to eat at 1pm and the significance of those clock numbers starts to change accordingly.

Maybe that happens or maybe not. My point is they established their significance for a reason. But imagine if a group of people who got hungry at 11am all the time decided it was good to establish 11am as lunch time by calling it noon.
> within walking distance of a dozen restaurants and a bar

You're not in the suburbs. At least not the kind that cityfolk say are soulless wastes. It sounds like you live in the downtown of a village or town.

When I think of the 'burbs, I think of vast expanses of asphalt where only the poorest would consider walking and labyrinth enclaves of cul-de-sacs where taking the kid to play with a neighbor requires a half-mile drive to go 500 feet as the crow flies.
Inside Xiaomi’s everything store
Prettier has saved me hours of time in code review, reviewing others code and getting reviewed myself. It is amazing how much better feedback you get when someone isn't on the lookout for a missplaced '{'.
Media literacy is incredibly difficult.

It is difficult because independent thought is too demanding. Marketers, propagandists, and yes, even hard-core journalists all rely on this. The fake news phenomenon has always existed, but it is amplified by the ease of manufactured outrage. Instant and global spread of (mis)information makes containment practically impossible.

If you can spot good satire, you are probably more likely to be able to spot bogus news items too. But spotting satire is damn hard - and a really good satire is nearly indistinguishable from well done legitimate reporting and/or story telling.
I've recently built an installer using nsis (+pynsist), it seemed to work fine, but now you're making me worry about what I might have missed.
Google IT Support Professional Certificate on Coursera
This is a much better review of Pinker's new book: https://www.theosthinktank.co.uk/comment/2018/02/20/enlighte...
It's tough. But life has to go on. My wife of forty years died of cancer last August after two years of treatment. Even though we both knew it would happen sometime we were neither of us prepared for it when it happened. Six months later 'I’m unmanned and unmoored without her' as the other commenter said. Half my memory is gone, I have no one to whom I can make all those scurrilous comments about friends and relations. No one's hand to hold while going for a walk. No one to hold and to touch.

But I have other people who rely on me, my children, my sister, the company I work for. So even though I am in tears as I write this, I know that I have to cope, I have to find a way to be.

It's going to take a while.
They are working on the UX side of things. I disagree that it's a trivial gain. Signal works in the same way, except that they only really support having a single device (that's where the safety number changing warning comes from).

Having per-device keys also means that the server cannot decrypt your messages (because the identity key is not used for communication, it's just used to register new keys that clients will encrypt their messages to). Having a global decryption key stored on the server would be a less secure design.
Just for your information: Contrary to how it may appear in internet memes, "whomst" isn't really a standard English word.

https://en.m.wiktionary.org/wiki/whomst
Are We Running Out of Trademarks? A Study of Trademark Depletion and Congestion
It's also a great answer to dissenting opinions about code style. No more arguing about when to line break inside an 'if' statement.
Not a helpful answer, but this thread makes me happy.

I've gotten so accustomed to the poor lifestyle choices we see here every day that I was fully expecting this to be a question about where to find coworking space on the island so as not to have to break one's working routine or accidentally enjoy the place.

Glad to hear there are still plenty of sensible people here. Have a great trip!
ReactNative MobX Tutorial
Like Google StatusOr<>?
Thanks for your great work Maciej! I'm impressed with how well you're able to mobilize people and dollars.
I agree with your comment, except the last part. This feel free to do X is just a covert agressive response, not unlike feel free to submit a patch.

When I get that from a project where I report a problem I immediately think "feel free to keep your buggy docs/code".

A straight but assertive answer is IMO much better: "we don't have time to do X, could you please help?" or "we have higher pririty bugs that we need to work on, but we could sure use your help if you have some time". Heck, even "let's take 1h and work on improving it together" would work for me.

Bottom line is that unless there's a clear responsibility involved, other people don't have to perform certain tasks, so they should be politely asked for help...
Might be worth reading this: https://en.m.wikipedia.org/wiki/Unix-like
APIGUM - Connect your service to popular cloud apps
Unix like might also mean the CLI experience.

For example, AmigaDOS and BeOS took some ideas from Unix, without being Unix compatible.
No, they are not. There are four major grids: West, East, Quebec and Texas. Each one is referred to as an "interconnection". Synchronism is maintained within each interconnection, and they may have non-synchronous (i.e. DC) links between each other. Here is a map:

http://www.nerc.com/AboutNERC/keyplayers/PublishingImages/NE...
That's impressive!
Nice to see you here Saransh, great article as always. I've set up prettier to work on every time I hit Ctrl+S on VSCode; uncomplicates all formatting issues.
Do you have a wonderful SAAS application and wish you were able to quickly connect it to many other popular apps? I found myself in the same spot and was looking for something flexible that would allow me to write flexible code without complex installations. I went into sites like Zapier but they don't offer API so I couldn't white label these integrations for my customers. Eventually, I decided I'll just build one.

APIGUM is a flexible engine for building integrations through JavaScript. You can build your own recipes where a recipe is a simple piece of code that maps triggers and actions to move data from one cloud app to another.

We'd be happy to partner with great SAAS applications through creative business models. Please contact me if you have any questions and we'll pick it up from there. Josh
If 2016 was the year 4chan won the US presidency maybe 2018 will be the year HN wins an election? Almost everyone quoted in this story is a well known HN account...

It doesn’t help that Ceglowski is insistent on giving the candidates briefings on information security. He carries YubiKeys — hardware authentication devices that are the gold standard of two-factor authentication — with him to meetings with those running for office. Beefing up security practices in political campaigns is important, especially given the email hacking that dominated the 2016 cycle — but a strange man showing up to explain two-factor authentication to you is probably a little off-putting nonetheless. After raising nearly a million dollars combined last quarter, “they’re being a lot friendlier to me,” says Ceglowski.

This ia great, but sad that it takes a million dollars to make people use two-factor.

A good chunk of that was driven by security researcher Thomas Ptacek’s promise to stop tweeting about Eric S. Raymond, a notorious figure in the open-source community whose bizarre and abundant ramblings on everything including race and sex could be considered early forerunners of current alt-right strains in the tech community.

I don't really know what to say...
Besides the streamlining of code review, it’s hard to overstate how much this streamlines _editing_. You can modify code so much faster if you don’t have to worry at all about formatting. Just push code around any which way, cut and paste, type some giant expression into the middle of another one. Then hit Save and move on.

And contrary to what you might expect, Prettier basically never makes stupid formatting choices. It’s incredibly nuanced.
I don't care.

Started doing desktop software development on MS-DOS 3.3.

POSIX is only relevant for C, the bits that they felt shouldn't be part of ANSI C, not to impose UNIX semantics on other OSes.

It is completly irrelevant on programming languages with rich runtimes or good package managers available.
How did you track them?
And it’s even better than go fmt cause it breaks lines for you.

Wish all languages had this sort of thing. It really has made reviewing and editing code much more pleasant at my company.
min-height didn’t work in IE6, you had to use height instead.
I'll add that she probably had some bad experiences in the past which turned her cynical in regards to her team and made her take this passive agressive route.

The manager missed an opportunity to improve what's likely a problematic working environment.
Of course it's never going to be that simple, but it seems like you have start with incentives if you're ever going to get anywhere. Services like GrubHub gather lots of data and it could be used to improve safety, but apparently isn't?

Maybe make the services partially liable for any accidents, and they'll make some changes in their routing?
Clang may be a better option than gcc when requiring much memory
I appreciate the separation of concerns. Being able to deploy the front end for template changes without bringing the whole back end application along for the ride is nice. Additionally if your back end also serves an API for a mobile app (or other third parties via a JSON API) it's nice to be able to serve all your clients via the same endpoints as opposed to having and endpoint for JSON and an endpoint for HTML.

You can probably do both of those things without a JS front end but I feel it's more common for monoliths to end up in a spot where they _need_ to be broken up rather than having kept everything isolated and clean from the beginning. That's just my experience though, YMMV of course.
> "And Then There Were None"

This is a fascinating book indeed.
By "remote editing protocol," I meant the Neovim RPC API which allows other editors or tools to run a Neovim server and get it's exact behavior, keystroke for keystroke. It's been a few years since I tried EVIL, but last time I ran into behavior differences within fifteen minutes (something about pane management? It's been a while). I don't want "almost exactly Vim," I want, "literally identical to Vim," as a starting point.

Sublime Text has a plugin which implements the API; it runs full blown vim plugins.
> That code looks awful, sorry but rust syntax is horrible.

Compared to what? Compared to Python, JS, Go, etc, yes, those are different tools for projects with different requirements, that allow for a leaner syntax. Compared to other languages of it's category (non garbage collected, manual memory management), Rust looks alright, IMHO.
Not sure if you've heard about Alteryx, which imo comes a lot closer to SAS. Alteryx is like SPSS for 2017. It's fast, easy to use, drag and drop gui and works well in Production.