skysight-inc/HackerNews huggingface dataset:
Here are some principles that inform my taste in maintainable code:

- Each function should do just one thing.

- Don't reuse a variable if making a new variable with a new name would describe the value better.

- Give functions verb names that describe what they do. If that's hard, they may be doing too many things.

- A function should either change something or return a value (command-query separation)

- Any data should have a single, canonical source of truth. https://en.wikipedia.org/wiki/Single_source_of_truth

- When deciding between making code DRY https://en.wikipedia.org/wiki/Don%27t_repeat_yourself or not, decide if future changes should affect both places at the same time (use DRY) or not (probably doesn't need DRY, maybe shouldn't have it.)

- Avoid spooky action at a distance https://en.wikipedia.org/wiki/Action_at_a_distance_(computer... and if you can't, refactor or at least add comments.

- Write modular functions that can be used without understanding much about the function beside what the name/arguments tell you.

One measure of your success in this area is how quickly someone who'd never seen your code could describe what it does.
Senior Engineer is what, 3, 5, 7 years in? I expect most people to accrue 2 promotions well before they get married, have kids, and buy houses. People at that stage of life at my company are usually pretty advanced on the management ladder.
The Chinese government aggressively intervene in the stock market. It’s a long way from a free market, such as by providing incentives and promoting investing leading to bubbles, punishing release of accurate information about stocks and market activity that they don’t want people to know, even information that in western markets would be required to be published as an investors right, and preventing or punishing people selling during down swings.

As another poster pointed out, how comfortable would you be investing if the government might decide to threaten to punish you if you try to sell?
Not california or new york. On a secondary level, not seattle or other places seeing a big housing crunch. Something where the average house is the same as the average house cost as the rest of the USA, ~$250k
This is an anti-spam and anti-abuse requirement, not because they need you to tell them your phone number.

They’re on most of the phones in the world, and have access to all the billing records associated with your phone number, as they’re a cell phone service provider. They’re asking folks who they think might be abusing the service for this information, so they identify themselves in a way that Google can report to law enforcement.

The idea they’d need you to tell them this information so they could use it is kind of laughable.
Discrimination against religion and sexual activities are prominent examples of highly problematic discrimination against things you can choose.

Also, people aren’t being called racists because they’re against illegal immigration. They’re being called racist because their stance against illegal immigration is obviously racist (for example, ignoring white illegal immigrants).
Μόνο με Nations League την Δευτέρα
Total comp has gone up about %25 in new offers in the past 3 years. Rent has been about stable in the past 3 years in SF.
This seems implausible. Moore's law is over and phones are limited by size and power. There's no reason to believe progress will continue until a phone is the same speed as a typical desktop machine, let alone a server rack.
> unless you want to go full ontological skeptic
> and dispute that it is possible to ever know
> anything

The only flaw in claiming that nothing is 100% knowable is that it unsettles people. "Never go full sophist" is just an appeal to "common sense." I don't mean that in a good way, I mean it in a "everyone knows the earth is the center of the universe" way.
The converse is also true: it’s extremely dangerous to avoid the word “lie” when it actually fits. A certain nameless American president constantly gets a free pass on this from news organizations.
If you submit an app you have to set a flag indicating what kind of communication you’re going to use. If it’s not a secure connection using valid certificates you have to use the ‘insecure connection’ flag and that will cause extra review steps. If there’s no good reason you’ll be denied.
Green belt is often not particularly special. You tend to get a mix of golf courses, ugly stable blocks, compound style houses, and garden centres. It is a blunt instrument to prevent urban sprawl that completely ignores the specifics of the location in question. A good development in green belt should be possible. You should be able to avoid sprawl using other methods which could be applied to the entire country. There are hundreds of towns that are sprawling that are outside of green belt. It is a terrible policy.

Also, some agricultural fields are not particularly valuable for food production or as habitat for nature. People just see green and assume that it is special and important. We need to actually judge these things in a scientific way.
Location: UK

Remote: Yes

Willing to relocate: No

Technologies: Haskell, PureScript, JS, NLP, AI, PostgreSQL, Docker

Résumé/CV: https://goo.gl/xsdsz7

Email: on the CV :)
> the judgment / taste required to make maintainable changes to a million LOC repository

Try The Art of Readable Code (a pair of google authors, IIRC), and Ousterhout's A Philosophy of Software Design.
The case Kavanaugh was writing about did not involve NSA hacking. It involved telephone companies who cooperated with the NSA to turn over metadata.
Not surprising.

Software developers are one of the ultimate forms of throughput multipliers. Get the pixies in the box dancing right, and BOOM! Personnel load decreased!

In a world being driven toward hyperoptimization as fast as she'll go, your developer is your growth source.

If only you could get them to do what you want...

Which is why they like pulling developers from countries where the cultural norm is to shut up and do what you're told as I understand it.

It's also part of the bias towards preferring younger devs. Younger devs tend to be more pliable and "flexible" and don't ask inconvenient questions in emails that can be subpoena'd later.

Always ask questions. YOU have to be the conscience of the industry, if you don"t, no one else will. And even if they do have "another guy" lined up. Be vocal. Make sure your view can't be buried. If it smells, ASK and DIG. Someone very well may not be telling you something.
Awesome to see others on HN loving D&G. But perhaps also power is cyclical. When the web was first popularised, it had the same potential as what DWeb has now. TCP/IP was written to be inherently distributed and provide resilient routing. Then, as soon as it starts to threaten existing power structures, forces kick in to try and stabilise it through control, surveillance, and ‘governance’. It becomes part of the rhizome, the rhizomatic system of power, that the new system (in this case TCP/IP / www) set out to challenge, creating an even more complex, ever-evolving rhizome of power (surveillance, paywalls, censorship). The same thing happened with other revolutions throughout history — the power base they set out to challenge, transmorphed into a similar power structure as an unintended consequence.
It seems to have a heavy "gamer" bias.
This article is laughable. Knocking the developers by saying Myers and Briggs had no training is akin to knocking the first powered flight by saying Orville and Wilbur Wright had no training.

It's not difficult to imagine evolution has discovered a way to segregate us into different personalities for the advantage to form cohesive social groups with specializations for survival. Who hasn't observed the difference between introvert and extravert in their own interactions? Is it a stretch to envision a couple more dichotomies exist?

Ask people to answer questions that will sort them into 16 bins and isn't it logical to assume those bins might have traits in common?

There are plenty of problems with MBTI and by all means, develop a better science. I tend to characterize people into their MBTI type in order to better interact with them. I find it useful and understandable, even predictive. Parlor trick? Perhaps, but on a couple of occasions now, I've accurately predicted a new friend's MBTI type simply by observing them and then having them take the test to confirm. You then have a useful basic mental model of them.

Unfortunately, while I can fly in a 777 nearly halfway around the world now due in part to the Wrights, there is no personality tool 777 equivalent.
How about 25th-75th percentile housing prices? Software opportunities are currently concentrated in places with 90th-99th percentile costs.
Austin, Atlanta, Miami, Chicago, Boston, Philadelphia, New Jersey, Las Vegas

These are all amazing cities and for some reason tech companies choose to locate in San Francisco over these places... It honestly boggles my mind.
The main goal for this project is to implement simple, async, performant and reliable database drivers for PostgreSQL and MySQL in Kotlin. This is not supposed to be a JDBC replacement, these drivers aim to cover the common process of sending a statement, get a response that you usually see in applications out there. So it's unlikely there will be support for updating result sets live or stuff like that.
What's an example of a good news website that uses Jekyll or WordPress?
OP's post and this seem to be telling executives to avoid fixing technical debt. Am I the only one who's reading it that way? Having worked at a company that completely eschewed even fixing basic formatting of legacy code for ten+ years I've seen how this mindset can completely hinder the development process.
Thanks; added above.
Obviously there is a limit. But employers are incentivized to slide in just under that limit, rather than offer part time or an especially relaxed pace as a perk.
Robotic Coffee Shop Cafe X Gets You Coffee in Under 30 Seconds
Not to mention that back then we a performance ratio of edge to node that was order of magnitude better than the one we have today. A laptop today and one from 2010 don't have that much difference in performance, a data center from 2010 and one from today are day and night.

And who will pay for it? With experience Xanadu seems like the only solution. The reason why it's in development hell is because the problem it's trying to solve is so hard.
(ed was unusable in 1988)
:-)
Midwest US - Columbus < Minneapolis < Chicago

Southern US - Raleigh < Atlanta = Austin
HTTP is client / server (session) based, but TCP / IP certainly isn’t. I’m is act as a client / server protocol because we tell it to, but IP networking was written to be distributed / decentralised so as to provide better resilience, unlike other networking standards at that time (token ring, anyone?).
I'm all for decentralized apps, but before venturing into that kind of complexity, how about getting back control over the Web? It was created as decentralized net (if not in the blockchain sense) and is the work of an entire generation.
"Finally, do not ever imagine that your world cannot collapse, as ours did."

This.

People like to imagine that there is some kind of corrective force to history, some invisible hand that will, inevitably, push things into balance and restore normality.

There is not. Many times in history -- for many peoples, nations, and civilisations -- the world has ended. That is a completely normal thing to happen, albeit extremely unpleasant and very often lethal for those involved.

Things are not different this time. If civilisation survives, it will be because people have laboured with great difficulty and courage to make it survive. It has always been thus, and always will be.

Do not take it for granted.

(Edit: unclear language.)
Yeah, so in my case, I wrote a blogging thing that runs in Beaker. I can run it from any of my machines and it has no server. This is great because it is insanely portable - I can setup the software on a new machine by just going to the URL. It is just "software as a service" but there is no server. It's somewhat similar to TiddlyWiki but Beaker adds automatic synchronization. (I still manage the JS code itself in git, but the blog posts are managed by Beaker.) Thank you for the question, styfle.

Look up Tara Vancil's talk on "A Web Without Servers" if you need a crystal clear explanation - don't know if I'm doing adequately. And my blog is at kickscondor.com if you're curious why I had to write my own blog warez. Also, there is a resurgence in blogging happening right now with the shakedown of social media. It's great.
Umm yeah, I still think they should move on. If you hate doing something then why continue doing it? Best to shift into an occupation you enjoy. I don't really think youtube or twitch were even meant to be full-time occupations to begin with.
Approving entitlements is exceptionally rare honestly.

The only app I have found this happen with is Uber:

https://www.businessinsider.com/uber-iphone-app-secret-acces...
Most of the tracking in your google account is to give you the answers you’re looking for, not because it’s of any benefit other than providing a better service.

Like when I search for a three letter acronym, google knows that I’m an engineer, and I see links for results about computer hardware, and not about a Jewish Torah studies group with the same TLA.

Google makes those models for individual accounts, which is why google can tailor results so well to what you’re looking for right now.
We find that is ok if you build it right for the bulk of business settings. The intuition is that if you can do youtube, streaming layout updates should not be a problem.

I would agree that building a distributed architecture that achieves this is a distraction for most solutions- oriented teams. Before you get to the benefits, most/all teams would drown from the complexity.
> Trackers can be ‘attached’ while in a public space with magnetic clamps that don’t harm the car or need it be inside it. I can clearly leave a brick by your suitcase in the public space so it’s a privacy argument not a private property argumennt

Attaching a brick to someone’s suitcase with a magnetic clamp would be a trespass to chattels (which can result from any intentional physical contact, even if it does not damage the property). You can’t go around attaching things to other peoples’ property.
How is this different than any other prestigious high performance job? Okay great, you busted your ass and you made it to the top, and now you have to bust your ass to stay there. I also don’t really think it’s fair to attach YouTube to the title. This article can be applied to all social media celebrities in all their various platforms.
AI.js: A Curated Collection of Inspirational AI-Powered JavaScript Apps
Here we go again: encryption bill will make us all unsafe
The demonization of white men.
Of course, reasonable schedule changes for last minute changes would have also solved this problem.
Quicksort Deep Dive – Implementation and Analysis
As someone who hires remote only software developers I’d say that in our experience only something like 5-10% of people have the necessary self management skills to pull it off.

Most people really need the “structure” of an office to actually get work done... for some reason.
Except that with the advent of mobile billing, and the like, any phone service provider can pull your info from pretty much anywhere in the world.

Which is why Google is asking for a phone number here, they think the account is likely abusing a service, and they want to identify who is using it.
He's not an outlier. Salaries are simply insanely high in SF, it's the only reason I stay here.
> Like all YouTubers, Morton also feels the financial pressure of the system, which typically pays between £1.50 and £3 for every 1,000 views.

Based on this, creators have to be close to the 1 million views per month mark to be making over $24,000 per year.

It's no secret that YouTube is wildly unprofitable, from every angle. In a way, it's a transfer of wealth from AdWords, so our society is paying for YouTube through ads; just mostly not through the ads on YouTube.
It’s basically a way to have stack navigation on the web, so you can keep the context behind the content it spawned. This is used all the time in native apps, so why not on web?

It seems so basic but it’s not straight forward at all to implement in a consistent way across browsers. After trying for a while myself, and not wanting to sink days into it, I’ve given up on finding the perfect solution for now. Going to try the 4th step here, but I believe there’s always a new modal bug waiting to be discovered.
You gotta read this stuff carefully. "Access to capital" means people who will loan you money. Most reasonably size companies with a cash flow aren't at a point where no one will loan them more money, even if they are at a point where borrowing more money isn't that good an idea. Basically, it's like saying "Is it easier to max out your credit cards or hire skilled people?" Well, sure it's easier to max out your credit cards, that's easier than a lot of things.

Which is to say it's one of those journalist framing of a situation that means nothing.
But every town, village, and hill in the UK has a funny name. Croydon must have something more.
For what it's worth in the article he brings up Soviet atrocities as well. No place on the political spectrum has the monopoly on being righteous, nor committing terrible crimes.
To be fair, competitive salaries are almost absurdly high nowadays.
A newly discovered planet: Wolf 503b
>Today's militia is the national guard (and state defense force). They certainly have military grade arms. That's linguistically consistent with the bill of rights.

These organizations are still controlled by their state governments, and the National Guard can, and does, deploy in support of operations overseas - a Federal-level operation.

To think that this is comparable to what the Founders thought of as militias at the time is just not true. Their position is even more clear in The Federal Papers.
If you don't want to be banned on HN, please stop posting uncivil and unsubstantive comments.

https://news.ycombinator.com/newsguidelines.html
We need the core operating system to provide a push provider that we trust. Do we trust Google to act as a push provider?
Why do you think that was a personal attack? Simply described a perspective calmly. Perhaps your mood has colored the reading.
Please tell us more about that!
Nope. If someone is interested in advancing inside the organization, you can use your position as a gatekeeper to extract rents out of them. Preferably they're also high in big-5 trait Conscientiousness and Agreeableness, so that they can do a lot for you, and will roll over instead of trying fighting back against being exploited.
I would be happy with partial remote.

I am the hiring manager for my group, and it is very challenging to find people in the US market.
This post is great. It collates a bunch of half-formed thoughts I've had about organization and putting things away. I've noticed that when I move, I try to put things in places that are somehow analogous to where they were before, even if there wasn't a good reason to put them there in the first place. I'm unconsciously capitalizing on the fact that because I recognize the analogy between the places, I already have a place to expect the items to be.
You don't have to want to advance, you just have to give the illusion that advancement is a carrot that actually motivates you so that managers feel like they're doing their job successfully by dangling said carrot.
Lots of people who think they're bad at math will try CS, but relatively few will try a math major.
It’s not THAT hard to make a cli C program portable between windows, Mac and Linux. I’ve done plenty of projects that support all three platforms and the amount of work wasn’t excessive. For some projects it was just getting the build environment up that was the biggest issue.
Once you use cmake, modular design etc a lot of the issues vanish.
Story is a writeup of https://stripe.com/reports/developer-coefficient-2018 discussed at https://news.ycombinator.com/item?id=17928067

There's actually very little difference in the surveyed % saying https://stripe.com/files/reports/the-developer-coefficient.p... access to talent (55%), software engineers (53%), and capital (52%). Note immigration requirements (47%) is lowest of the constraints on company growth asked about. I'd say the headline is questionable at best.
"Those who cannot remember the past are condemned to repeat it" -George Santayana
Show HN: Book a road trip
network performance + battery consumption make phones an impossible choice for distributed web. The decline of the PC is a bad thing for the distributed web. It's the only box that can stay online with a stable connection 24/7. I believe we re not going to see distributed services like good old torrents or kazaa until PCs (or at least home routers with a lot of storage) start dominating again
Don’t you end up with licensing fees if you use QT in a commercial product? Seems like a downside to me.
> forces kick in to try and stabilise it through control, surveillance, and ‘governance’

Which is ARIN/RIPE/APNIC/AFRINIC/LACNIC and the DNS root zones, and ICANN on top.

Not to say that's only bad, just trying to illustrate that in this case, D&G's point is actually pretty tangible.
The Lost City of Atlantis – Hidden in Plain Sight
Does your institution have a Research Software Engineering group? I think increasingly universities acknowledge the gap between how academics use software and how industry approaches it, and I think that would be a fantastic first step if you were looking for a change.

https://rse.ac.uk/
There’s a dark underbelly of incel/redpill/GamerGate people in the tech world who are easily triggered by other perspectives, and my impression is that nearly everyone who would identify with those groups are Trump supporters. I could be wrong, but anecdotally, it sure seems that way.

Given that they appear to be motivated by emotions, and portray themselves as victims, it wouldn’t surprise me at all if a small handful of such people spent inordinate amounts of time managing a bunch of sock puppet accounts just to amplify their downvoting power. If so, it is a strange and ironic phenomenon.
LGPL isn't that hard to comply with for a desktop application, so no.
> paying developers more wont suddenly add a bunch of skilled developers into the market.

Maybe not suddenly.

Give it four years.
What is this political garbage doing on hn?

He’s just comparing trump to hitler and Stalin — aka beating the dead horse into a bloody, pulpy soup. Trump is not hitler. His use of the term “fake news” has nothing to do with people being sent to concentration camps. This is just an old guy thinking that nothing has changed and that kids will relive his experience, because that’s what old guys do. And they are wrong almost all the time. Like he says, he was a child when things started turning sour, so how could he recognize the signs of things turning sour again? I would really enjoy reading a substantive, informed and thoughtful argument on why trump will be the next hitter.

I am so tired of people confusing trade protectionism for outward aggression. Sometimes countries manipulate their trade with other countries as part of a larger plan to keep the economy healthy. It is routine in history. Listening to everyone use the term trade war adamantly is so annoying. They only use that term because it’s inflammatory. Get a life.
This will be a commercial service, in order to fund ongoing research efforts allowing us to quickly discover and block all possible forms of tracking, phishing, and other malicious traffic.

That said, in the future, lists will be published for folks with the ability and time to operate a Pi-Hole for themselves, if preferred.