skysight-inc/HackerNews huggingface dataset:
I work in the Bay Area and I have personally worked with (as in, on the same team with and working directly in cooperation. CEOs, founders, etc. are not included in this count), exactly one person who discussed their conservative views. This is in comparison to hundreds of liberals. Sure, you may be able to identify at least one person on variety of ends of the political spectrum, but I don't think anyone can sanely deny a vast under representation of conservatives in Silicon Valley. Granted, Silicon Valley itself is politically imbalanced. But even in San Francisco 9% [1] of voters voted Republican in 2016.Despite that, I haven't witnessed anything close to that share of conservatives in my tech jobs - even in my jobs lower in the Peninsula and in South Bay.

Adding this as an edit: Also, do you work in the Bay Area currently (you mentioned you grew up there)? There is a pretty substantial discrepancy between voicing political views in high school and college vs. when people actually start working. I have met more than an order of magnitude more conservatives and non-liberals in 4 years of university in the Bay Area as compared working in tech there - 25 to 30 in unviersity vs. exactly 1 in industry. Also edited in the fact that I work in the Bay Area in the first sentence, so I realized I didn't mention it until the last.
Wasn't this the point of flagging/vouching for comments?
Is It Possible to Game the Apple Podcast Charts?
Vault does the expiration/cleaning up for you.
Everyone here is a cheat too, it is just more pathological. People don't even KNOW they're lying.
You're right, abstraction is more important at API level to enable other developers grok the code faster. But the problem is also solved better at the right level of thought, reusing libraries where useful and dropping closer to the metal when perf requires it
Show HN: I made a HN for the cryptocurrency space
That's true, but in general humans are concerned about the consequences of their actions and are metacognitive about them, or at the very least can be punished for making the wrong choices, its an iterative corrective process.

How do you apply the same logic to a neural net? It has no comprehension of desirable outcomes, or what its choices actually entail and never can.

There is no way to tell a neural net that a human is not a signpost directly, so it knows in the future no humans are signposts. The only thing you can do is train it on a larger data set and hope it "gets it".

You can tell a human being that a human is not a signpost once, and they can abstract it to all situations.
If you have some JavaScript code, it goes through a few phases as it's evaluated by your browser:

1. Parsing

2. JIT optimizing

3. Compilation to bytecode

4. Re-optimization as the program runs

Steps 1 and 2 are expensive, and there are a few ways to cut down on them:

- Removing dead code before you ship

- Optimizing your code for the JIT compiler (eg. Closure Compiler does this)

- Webassembly

- Pre-evaluating your code with Prepack

More philosophically, the question is "when does my code run?". The answer has usually been "on the client". With Prepack, the answer is "as much as possible during compilation, and the remainder on the client".
lesser pay rates on average, less training required, more nurses than doctors exist in the work force.

That doesn't make the profession less noble or endearing or anything -- but by any metric that we use to judge modern occupations, a nurse ranks lower than a doctor in most every way besides number of hours worked.
As non-american, living outside of america (but having lived there for a year and a half starting January 2000), I concur. I still follow american politics quite a bit (too much for me to remain healthy actually) and I'm constantly bamboozled trying to comprehend what people mean by the "far left".

To me it seems like any one is considered "far left" if they believe in:

- treating all people, regardless of race, gender, gender-identity or age equally (*)
- believing in the science of climate change
- believing that guns are the main reason for mass murders
- believing that the more you earn, the more tax you should pay

Which, for the rest of the world, are pretty centralist positions...
> This light bulb is exactly why many people prefer statically-typed programming languages, especially above a certain codebase size/complexity and team size.

I agree, with the caveat that sometimes you need an escape valve.

Basically I want static typing 99% of the time and I don't want guff from the compiler (or fanboys) in that 1%.
I've done two successful startups with lisp variants in my career, and continue to do clojure development at Cisco. The advantages of using lisps are real, if you stay focused on the problem domain and stay close to the customer -- you have great agility and flexibility. Woe to those who are tool jockeys and get too infatuated with their tools and code base, because there is a lot of rope to hang yourself and your teammates with.

The first was a Common Lisp web app for resource management, that was recently sold. Not a giant payout, but over it's entire life, starting in 2000, it paid peoples mortgages and put kids thru schools.

The second was a clojure based malware analysis engine, which we sold to Cisco about 3.5 years ago. That was a more conventional startup exit. We have scaled that into a global product. Additionally, we are developing even more clojure products within Cisco, and hiring...

I know from hiring clojure devs for the last 6 years that there are alot of companies, big and small, using it.
TIC-80 is a free Pico 8 clone, with slightly higher resolution, and Android support as well[0]. It also supports moonscript. The "Play" section has some really impressive stuff[1]

[0] https://tic.computer/

[1] https://tic.computer/play?cart=178
I am kind of weary making a public statement about this subject, a controlled demolition would have been a crime against humanity. Unlike tedivm I do not claim any authority on this subject. During my teenage years I spent a lot of late nights just surfing the web and researched the 9/11 building collapse quite thoroughly at one point. I can also think. I came to the conclusion that, due to the structural design of the twin towers, if you fly a plane into them a collapse of the kind that was witnessed on the 11. September 2001 is the consequence.
> SV culture claims to be inclusive and value diversity of thought

I don't see many people in SV culture claiming to value "diversity of thought". They value diversity of culture, races, sexual identities, etc. But not thought (unfortunately).

That said, other posters are 100% correct when they write that rural America is just as intolerant, only in the other direction. And you don't see many people moving to those areas and attacking their lack of thought diversity (probably because they'd get shunned, at best, or shot, at worst).
No, they didn't issue warnings because they didn't have to. If they did have to, they would have issued a warning, then found that no action he might take could have remedied the situation (the things in the memo that were considered harassment can't meaningfully be taken back), and then he would have been fired.
Ummm.... Your floorplan is public information... Mine is easy to look up on my towns website. It even shows the location of outdoor features like patios and fences.
It would be quite interesting to see some anonymized SNA on the HN corpus to compare the volume and consistency of the various voting blocs in a quantitative fashion.
I had no idea this was contentious, but it really does seem it is. Robin Cook, a former UK Minister who I had immense respect for due to his stepping down over the invasion of Iraq, had this to say shortly before his death:

> Bin Laden was, though, a product of a monumental miscalculation by Western security agencies. Throughout the 80s he was armed by the CIA and funded by the Saudis to wage jihad against the Russian occupation of Afghanistan. Al-Qaeda, literally "the database", was originally the computer file of the thousands of mujahideen who were recruited and trained with help from the CIA to defeat the Russians. [0]

As you imply you know of some, could you give some pointers for primary sources surrounding this?

[0] https://www.theguardian.com/uk/2005/jul/08/july7.development
Very little junk, but _loads of stuff_ in solar orbit in the form of the asteroid belt, the jupiter greeks/trojans and the hildas, the kuyper belt, and the oort cloud.

There is so much there.
As an Oregonian, putting together the pieces, I'd guess she was in the field turning over cow patties looking for psychedelic mushrooms, a common but illegal hobby in that part of the world. Cow patty had flies and parasites, she touched her face, we all suffer this horrifying news cycle. The end.
This is sexist talk in Silicon Valley. Be careful.
The point is that supposedly San Francisco's ideology would be extremely favorable to taking superior care of the homeless vs more conservative cities. The actual results, are that SF does an extraordinarily mediocre job at it.

SF is an affluent city, with a homeless problem consisting of 5,000 people, and they're unwilling to fix it financially. They can afford to, and they refuse to. It's disgusting.
Anybody using this in production?

We (reluctantly) went with XML for an external facing B2B API, because JSON schema was stuck in draft and did not seem to be in widespread use. JSON without schemas would have been a nightmare.
Thanks for the mention of OpenFaaS
AFAIK typescript interfaces don't exist at runtime, so you can't validate incoming JSON with type any.

Also you can't really hand a third party a typescript interface and tell them to conform with that.

And finally, I would imagine a good schema could enforce more things like the length of identifiers, whether a number can be negative, etc.
Prefabrication requires a higher level of design maturity as opposed to traditional construction and from my anecdotal experience this can provide a significant increase in speed itself.

I did a quick search to determine if cities built from wooden structures can act as carbon sinks and I came across this great overview of the carbon footprint of wood buildings[0]. Granted it was created by a special interest group.

0- PDF http://www.awc.org/pdf/education/gb/ReThinkMag-GB500A-Evalua...
This kind of dilution of respnsibility essentially guarantees mediocrity and low satisfaction. It’s bad news if an individual doesn’t own code and/or large projects over that code. Treating engineers as interchangeable cogs who can be reallocated between bite-sized tasks on a whim misunderstands the nature of software development and is employee-hostile in a way that you’re unlikely to get away with in this labor market.
> entirely impossible

You severely underestimate us procrastinators. We'd sooner wipe our disk than work. ;-)
> Is it worthwhile to try to fix how tech recruitment is done?

Good luck. The problem is that companies want to replace having competent
staff with mediocre, untrained idiots following some magical process and that
is expected to give good outcomes, which obviously won't fly.

Funny enough, the same stands for producing software in big companies:
mediocre programmers plus magical methodology is supposed to give good
software reliably.

> Why do so few tech people become recruiters?

The same reason as why so few tech people become managers or accountants: we
want to keep working in our field. Is it surprising?
From my own highly biased perspective the right has remained more or less in the same place politically over time, whereas the left has lurched violently towards the extreme on some topics, also tending towards the extreme in its tactics. We are not at war; we are not generally living in autocratic regimes; people generally have freedom to conduct their lives in the way they would prefer; so why is the left acting like we are living in a fascist state? Above all we need honest dialog. If anyone saw Cathy Newman's interview of Jordan Peterson, for example, I cannot see how it helps feminism at all to merely shout down those you disagree with rather than having an honest exchange of ideas.
> Austin, Dallas, San Antonio and Houston all have tons of homeless people as well

I'm sure, but the situation in California is objectively worse. 34 in 10,000 Californias are homeless, compared to 8 in 10,000 Texans. The California homeless population increased by 13.7% last year alone (+16,136 people), compared to a 1.8% increase in Texas (+426 people).

San Francisco does a particularly bad job at sheltering its homeless population though. Maybe its mild climate allows this, compared to cities like NYC or Boston or DC with harsher winters.

https://www.hudexchange.info/resources/documents/2017-AHAR-P...
Do you consider that a negative?

I personally think it's great. The faster the ecosystem is reinvented the sooner we can stop wasting our lives reading it.
It's just a difference in scale. I mean, you can still setup a FTP and drag and drop your files to deploy, if you want to. But companies with many developers deploying multiple changes per day, needs something that works better and faster. Not saying that serverless is for them, but that's why things get more complex sometimes. But you're still able to choose "older" things.
For extremely low values of ”so much”.
The Gluten Project: A Search Engine for 35K Certified Gluten-Free Products
Davidson County voted for Clinton in 2016 by an almost 2-to-1 margin. Almost all heavily urban areas are pretty to very liberal, regardless of whether they're in the South or elsewhere.
I had some sweet stickers printed by stickermule for whatismybrowser.com which I'm always happy to send to anyone who wants some.

just drop me a line on the contact page with your mailing address

https://www.whatismybrowser.com/about/contact/
Social platforms are largely ways for people to plaster information across the nation. Just look at how Twitter is used these days.
Must we have someone point this out whenever someone says "boiling a frog"? The use of the phrase does not constitute an factual assertion about whether you can, in fact, boil a frog.
Yes it is. And the top comment perfectly sums up the hypocrisy from people rooting for Wikipedia Zero while slamming Facebboks free offer.
Well, the “right” way to do it would be to make the textual representation of the syntax a view layer concern and not the format in which the code was serialized. For example, you could store everything as s-expressions or some binary representation of an AST and then have a lens that pretty prints the code with the programmers preferred syntax and the reverses the programmer’s edits to the underlying serialization format.

I suspect this would work best for an image-based smalltalk-like system where the “source of truth” would be the version of the code persisted in the image and then the textual representation would be generated from that on demand.
The M4, to my knowledge, has no microcode like x86 processors.

For solution (b), while it can't be guaranteed by the compiler, it can be guaranteed with external tooling that manually ensures that all atomic variables have a gcc section attribute specifying the linker section in the TCM when all sources are available. This also will prevent heap and stack allocated atomics, as I believe the linker will error when specifying a section attribute that the linker cannot respect.

Solution (c), that is actually the solution developed for use with some M0 implementations that don't support LL/SC. It works with gcc as the gcc functions implementations have the __weak attribute, meaning that your implementation takes priority. An example override of fetch_add:

uint32_t __atomic_fetch_add_4(uint32_t* addr, uint32_t value, int memmodel)
{
(void)memmodel;
uint32_t mask = __get_PRIMASK();
__disable_irq();
uint32_t temp = *addr;
*addr = temp + value;
if (mask) {
__enable_irq();
}
return temp;
}
I refuse to give up comments too. For personal projects, I prefer to keep comments outside the code as much as possible, in separate documentation files, so I can read more code vertically (no comment folding solution ever fit my needs).

From experience reading my own code and other people's code, it's never "self-documenting".

This trend is a combination of an attempt to nudge developers to take better care of the code so it's less dependent on comments (a good principle, but too optimistic), good old arrogance (this is a great team, no bad code ever gets written here), a fear of judgement (too often the comment will show what the person writing it understands of the code, including parts that are unclear to them).

The previous motivations can be reduced to this: some billion-dollar SV startup must be banning comments in their linter rules. And if some well-funded startup is doing that, everyone must do it too. It's the unwritten overriding law of software development.
How James Joyce’s Anna Livia Plurabelle Shook the Literary World (2017)
And just for completeness ... now reverted because there is a good reason for re-hosting the article - Medium is blocked in some countries, and the re-hosting is to make it more widely available.
DeepState: Symbolic Unit Testing for C and C++
I'm a fan of linode myself.
> protein is one thing (low testosterone levels) can help.

Do you have a source on this? I haven't heard this. I think I've heard that low protein consumption is linked to some cases of low testosterone levels, but that's all I was aware of.
Presumably it is intended to be monopolistic, just like a patent (which lasts 20 years).
Nothing in the list is a thought crime. Everything in the list is an action.
I can't provide a specific answer but the whole field of Engineered Lumber works on these problems.
Because it’s really bad press.
This article seems like yet another diet fad article that focuses on one class of food in isolation, despite appearing to be an analysis of such. Of course Americans like to eat protein. I was a vegetarian for several years, and I came to know the feeling of being hungry in a certain way that was not satisfied by carbs or oil... it’s the only thing you can’t cut out.

It’s just that Americans are assessing their diets more realistically these days. The change is really about what they’re avoiding – carbohydrates. I know some people who strictly avoid carbohydrates, and their diets are composed almost solely of meat. It’s basically the manly American man’s dream that this diet now has modern socially justification.

Personally, I have a great interest in protein right now because I am recovering from celiac and have an esophageal dysfunction that makes it difficult to eat anything solid or semi-solid. Also trying to avoid the common 8 allergens (no soy, animal milk, or nuts) so that leaves even fewer liquid protein options. It’s easy to get carbs and oils as a liquid, but for protein my current choices, which are almost I can tolerate, are vegan protein powder made from hemp, cranberry and peas, and bone broth. Unfortunately most of these products are geared towards weight loss, which is the opposite of what I need since I’ve lost 30 pounds since the beginning of the year, but it’s easy to add calories as honey or coconut oil.
This article doesn't mention that Adam Neumann actually co-founded WeWork with his wife Rebekah Paltrow Neumann(1). Evidently she double majored in Buddhism and business, which is no doubt foundational to their philosophy of a Zuckerberg-level global community symbiosis- or, as she puts it, a "WeWorld".
(1)Rebekah Paltrow as in she's Goop's cousin.
Explicit typing adds boilerplate. Static typing, not so much. Type inference is bloody effective at removing boilerplate. To the point where it can take you quite close to the best of the world: static checks, without boilerplate.

Boilerplate isn't the reason why static typing might be worse than dynamic typing. Undecidability is. Inference algorithms tend to reject some correct programs. The real question is then, are we interested in those programs? So far, my experience has been "not really". I know of a few cumbersome exceptions, but overall, Hindley-Milner type inference basically lets me write the programs I want.

It's not like Java is a worthy ambassador for static typing.
Hey, the founder here! I'd love to answer any questions you have or take constructive feedback :)

It's built with React, Next.js, and hosted on Zeit.co

All the code is open-source: https://github.com/BeeDesignLLC/GlutenProject.com
How is "I voted for Trump" (and I don't regret it) not controversial?

I understand that there are many people who voted for Trump, but that does not mean that the opinion is something that should be considered being in line with the norms of the free society and far past conservative viewpoint.

(Not in the sense that you have no right to your opinion, in the sense that person having that opinion loses the respect of others.)
The Feynman Lectures on Physics, Vol I, 31–1 The index of refraction:

http://www.feynmanlectures.caltech.edu/I_31.html

"We have said before that light goes slower in water than in air, and slower, slightly, in air than in vacuum. This effect is described by the index of refraction $n$. Now we would like to understand how such a slower velocity could come about. In particular, we should try to see what the relation is to some physical assumptions, or statements, we made earlier, which were the following:

That the total electric field in any physical circumstance can always be represented by the sum of the fields from all the charges in the universe.

That the field from a single charge is given by its acceleration evaluated with a retardation at the speed $c$, always (for the radiation field).

But, for a piece of glass, you might think: “Oh, no, you should modify all this. You should say it is retarded at the speed $c/n$.” That, however, is not right, and we have to understand why it is not."
I know "normal" Republicans as well. I was using libertarianism as an example of an extreme on the political spectrum, as I used socialism as the opposite extreme.

At my last job, several employees openly supported Trump, and they didn't suffer any consequences.
Why do you suppose women dominate primary school teaching? Is it because it’s too high status and too well paid?
I’ve had a colleague straight up say everyone who isn’t standing up to Trump or agrees with any of his policies is a Nazi apologist.
As opposed to the time required to implement, debug, and support a custom solution?
I don't think this would need to be codified...There seems to be too much of that going already
What collisions? The whole point of this article is that the most likely rock to hit Tesla is the Earth. Space is very, very, very empty; all the (many) rocks out there are scattered in extremely huge amounts of empty space.

Even in a dense asteroid belt, almost every path encounters zero rocks; and the orbit of that Tesla is not in asteroid belts but in interplanetary space that's quite "clean".

Tesla would be expected to get some abrasion / "wear&tear" from hitting individual atoms and tiny particles of space dust; over a million of years that would likely accumulate to a major change. But it's not likely to hit a rock of "dent-making" size before it gets sucked in by some major planet.
Voip has been crappy enough to discourage casual use in my experience.
It does seem set up to innovate in one area pretty well: the standardization/commodification of the tech worker.

They'll find the combo of snacks, distractions, booze, socializing, workspace and ideology that results in the best tech worker: the most standardized, replaceable, productive and affordable to employ worker it is possible to produce.

Because what exactly they are optimizing for when they "optimize your life" is a important thing to consider, and your employer is their customer - not you.
Hopefully they’ve been jailed.