skysight-inc/HackerNews huggingface dataset:
I think the issues with the comment is the implication that the wealth creation is the problem. That framing leads to solutions that tend towards reducing the wealth creation. That seems a bit like cutting off our nose to spite our face.

We want society to be more wealthy, and the tech industry has been a huge creator of wealth. The other thing about the tech industry is it's fairly unique in how widely it distributes that wealth. What other industry gives stock options to low-level employees? Sure tech founders get a disproportionate share, but look at a different industry, and it would be rare to see any ownership extended beyond higher level employees, but in tech, stock compensation is ubiquitous.

(this may be due to a labor shortage, and yes you can point at things like Amazon's warehouse workers as a counter example)

The trouble is now we have quickly raising housing costs, and a large portion of the population who's quite wealthy, living next to many who are not doing nearly as well. Crime and general unhappiness are not necessarily linked to poverty; it's highly linked to inequality. This is likely why we have so much property crime in San Francisco. Income inequality. When you see the person next to you is doing much better, you get mad.

Frame this so it's not about limiting wealth creation, but about limiting income inequality.
That's assuming there is no iteration. The people who buy products without doing the research get burned and so next time they do the research.

There is no easy way to avoid this. If all somebody knows is that they want a "video cable" they're going to come home with an RCA cable. At best you have someone you trust who can answer your questions, at worst you pay the cost of learning for yourself.
What do you mean by one-pedal driving? Surely electric cars still have an accelerator and a brake?
Right! It seems like anyone who wants a retrocomputer on an FPGA would want to program it themselves. Considering you can get an EP2C5T144 dev kit for $20, and a USB-blaster for $10, I’m not sure I see any market for a $42 pre-programmed FPGA that may not be supported after it ships.
because i want to write same stuff on f#. good question overall. keep going.
Personally 400k is substantially more than I make now but it would be an instant "no". A million, now I could endure the culture of sv, save enough in a few years and run like hell to somewhere better.
>How is dart superior to TS? This is so uninformed.

Speaking of uninformed...Dart is significantly faster for one. It's also not encumbered by being a superset to one of the worst scripting languages ever designed and, thus, does not have to deal with all of the baggage JavaScript brings with it.

>Dart is very poorly designed.

Amusing when you consider the clusterfuck that is JavaScript.
> We need to use a kubernetes & docker based solution for our infrastructure, despite a single large server being a much easier alternative

It's a half-truth that one doesn't have to do it from the very beginning.

You don't have to set up a whole cluster where a single host suffices for a long while. You do have to plan that your project may eventually become big enough to require a cluster - and consider doing yourself some design favors here and there to make that transition easier. Or knowing that you're going to spend a while redesigning stuff, while being pressed by the growth.

I mean, I've regretted not doing some design assumptions (e.g. about storage) from the start more than once or twice.
Ouch, I didn't understand one bit of that document!
Yeah cmake docs suck. I dig the concept but figuring out how to use it is/was painful. I have not looked in a while.

It used to be the only chance you had to learn it was a book you could buy.
This makes me happy — sounds like some top-notch parenting, and I'm heartened to hear your kids got so into it. I may steal the "exeunt" remark to exit a boring situation...
Show HN: MESI protocol implementation in JavaScript
The best books can be reread all through life. They have different meanings and lessons for a person during different life stages.
I think fuchsia has it correct: everything is an interface (not a file) that must be injected into the child process.

https://fuchsia.googlesource.com/zircon/+/HEAD/docs/fidl/ind...

But maybe I'm missing something critical here.
This syntax is also uber ugly. I can’t understand why C still hasn’t a proper build system that is either using convention over configuration (like Go or Rust) or something like cmake but with a proper syntax (maybe something in pyhon?)
This is a class for folks trying to understand the theory behind modern cryptography rigorously; it focuses on the theoretical foundations of crypto like one way functions and PRGs and builds up from them.

This course will not teach you how to implement crypto, but the material here is incredibly important to understanding the abstractions and reasoning behind modern cryptographic constructions, and is a prerequisite to becoming good at implementation aspects of crypto.
I've reported 5 bugs about Flow and can list at least 10 other bugs reported by other people that I experience on a daily basis. Most of them have been upvoted by hundreds of people. Most of them have been opened 1 or 2 years ago. Most of them don't have a single reply from people working on Flow (or one of these: "yes I guess it's a valid point", "pull requests are welcome", "it's not a bug" , "we would have to rewrite a lot of stuff", without any follow-up).

That's what really frustrates me about Flow after using it for many years. We shouldn't have to rewrite valid code, write unreadable workarounds or add // $FlowFixMe annotations to avoid Flow's issues. I lead a small team of junior developers to whom I presented Flow. We now use it everywhere. But they often experience difficulties when they try to type their code. When I see what blocks them, my answer is too often "oh yeah, it's a bug in Flow. There is an issue about it on GitHub opened in 2016".

I'm right now waiting for this https://github.com/facebook/create-react-app/pull/4837 to be merged to move all my projects to TS.

Edit: and I don't blame the devs working on Flow. I guess it's more a priority issue at Facebook. Or maybe they just gave up on the community support since TS is too ahead.
Voice control still sucks hard. And I'm a Canadian born English speaker with deep knowledge of ML trying to predict what queries will be simple enough for Siri to understand. Sometimes Siri will understand the query; but just say:

> I understand you, but I can't do that task. Sorry.

Nothing is more frustrating than a computer telling you it understands what you want it to do, and that want you want to do is reasonable / authorized, but refusing to do it anyway.
From a thermodynamic perspective, roughly speaking fuel based engines convert the flow of heat from a high temperature heat bath to a low temperature heat bath into work. The higher the difference between the temperatures the more work can be extracted. It would seem to me that in theory the vehicle surface area could be used as the colder heat bath for improved efficiency.

I am not claiming any actionable specific device or configuration design to improve the efficiency though!
Plant-based nutrition guide and other health essentials
How to turn unhappy customers into raving fans?
Yeah but if you live in a detached house that will no longer get any sun in its backyard when the six-story building goes up, you too are most likely going to be down at City Hall or wherever one goes, fighting against this one six-story building, even if you're a well-known advocate for taller buildings. Because it's My Back Yard, right?

It's definitely not win-win if that shadow falls on your beloved back yard, ruining your legal cannabis plot. Or if you live in the top floor of the five-story building that was built prior and your view will now be of the six-story building.

NIMBY works ("works") because most people put their own specific self interest before community when the former is threatened. They do this pretty reliably, and on the individual level it's usually pretty rational.

(Also, I might have reasons other than economics to keep my 1500 sq ft house from being torn down.)
I mostly know Typescript, but I'd like to learn more about Dart... particularly where the type system differs in theory. Do you have a good recommended article on that?

The other question is the community one: if Dart requires type bindings (like TS .d.ts files) to the large community of JS projects, how does it plan to solve the kickstart problem. It's taken TS community many years to over just the popular js libraries out there. Imho, I'd make a utility to convert/translate TS definitions into Dart wrappers... but that would require to support TS primitives almost 1:1.

None of this is meant to sound critical, I'm just genuinely curious on the process of language development.
Welcome to pretty much every internet forum ever.
For me the important thing is that _they said_ that there are higher laws. Don't take me wrong, I do like the human rights and all. But they are just a man made construct, there is no higher power bestowing any of them upon us–it is up to humanity to ensure that we keep them.
> two seconds and more can absolutely be network latency

Not at all contesting this.

> a regular occurrence for many people

Maybe I am living in a bubble, but this seems unlikely unless your definition of "many" is fairly liberal.

On a 2G connection you might get up to 1000ms latency, if you're in a remote part of the world could could add an extra 500ms or more due to geography. DNS lookup, TLS handshake, and the data transfer, you could potentially get up to 3+ seconds adding it all up. But—apart from aspects of that being one-off, as I mentioned above—generally speaking the whole lot is an example of an extreme. Your average user really shouldn't be seeing that.
I’ve read a bunch of the literature on the topic, and I’m unconvinced that supply can bring about a price drop. Housing is inelastic and will climb to the top of what the people in the area can afford, given demand.

So, there’d have to be a massive increase in housing to exceed the demand (probably millions of people wanting to move there).

I mean, I’m all for giving it a try, but I think people’s expectations are way too high.
To be fair to the GP, none of those would really be possible in 1960s America or under Apartheid. I think there's some middle ground between both views of India here.
What about feedback ? Isn't it an important shortcut ?
Why not? They’re called classics for a reason. Should read at least some of them. Reading the best of a genre is also worth doing, along with autobiographies of people you admire.

Read Sun Tzu’s Art of War before you need to.
Japan starts space elevator experiments
Author of OBNC here. For Windows users there will soon be a pre-compiled version of OBNC out which includes all dependencies (gc, SDL, awk and the tcc C compiler). With OBNC it is easy to create Oberon interfaces to C code, so with not much effort you can use your favorite C libraries in your Oberon projects.
That's hotter than the Hagedorn temperature, there could be some very interesting stuff going on.
One of the biggest issues is revocation, i.e. you can’t. Sure, you can always keep track of JWTs and refuse to accept ones that have been revoked, but congratulations, you’ve just invented session tokens (albeit more complicated).
I use `sn` instead of `du`. It's closer to `du` than `ncdu`.

http://github.com/vmchale/tin-summer
Scons (https://scons.org/) is one alternative. The configurations (and Scons itself) are Python.
Ask HN: What accounting software do you use as an independent contractor?
nice, i think these sites are just bot sites.
As with every thread like this (seriously, tell me if you want me to stop) I’d recommend the project I contribute to: Standard eBooks: https://standardebooks.org/ . We take the Gutenberg transcriptions and prep high quality electronic editions, then proofread against the original scans to make sure all the formatting is properly represented, and finally release them as public domain again. Being limited to pre-1923 means that we’ve focused on the ‘classics’, but we’re always doing more and should break through the 200 mark shortly. Currently I’m producing a Woolf and Pepys’ Diaries (although that last one is definitely a long term project). Let me know if there’s a book you specifically want to see produced and I can add it to the list or help you produce it yourself.
They wouldn't, but if you proxy arbitrary requests for UnicornGifs.sexy through your CatSharing.com backend, and UnicornGifs.sexy gets owned up (or even just mischievous), it can now generate malicious content in the same origin as CatSharing.com --- the browser can't differentiate which is which. And that forged CatSharing content will be valid in any page on CatSharing.com, not just the specific pages that include it.

The point is that when you serverside-proxy requests to third parties, you're implicitly trusting the third party to control the DOM for any app in your domain.
You mention population growth modeling and the linked article here mentioned the tool can’t predict changes in rents... is there any interest in incorporating some sort of lifecycle analysis or dynamic modeling like that here?
Skillfully creating humor might be a sign of intelligence, but I don't think that mindless consumption of it is. Fail videos are fast-food humor, simple enough for a little kid to laugh at.

Fail videos were just one example. Other examples are listicle videos, gossip videos, and general clickbait. AI tends to drive people towards consumption of mental junk food rather than making them smarter, better people.
What about them? Is it no longer possible for America to build public infrastructure? Have we just given up?
I thought this was really spot on. The point about the glorification of people working on really hard problems at scale. I just read The Google SRE book and while there are definitely lessons I can use in the company for which I work (~5 devs), it definitely isn't a straightforward "do what worked there".

I couldn't find hard numbers from the Bureau of Labor Statistics, but this Stackoverflow survey [0] from 2016 points out that 50% of developers work at companies with less than 100 employees (that's employees, not developers). So many many software jobs are at smaller companies. Why don't we hear from them about their trials and tribulations?

Here are some ideas I've had (off the cuff), would love to hear other thoughts.

1. Big companies invent the future because they have the resources to do so. That wisdom then gets rolled out often in the form of software (Hadoop, k8s, React).

2. Small companies are boring. They are still struggling with product market fit or are stable and boring. They are not sexy, especially if they aren't growing quickly or are a services company.

3. Bigger companies have a bigger platform to announce work and/or support people to write and speak. Software they develop touches more folks.

4. Smaller companies are not doing anything interesting to the wider development community. They are focused on niche problems that aren't really interesting.

5. Folks at smaller companies don't write/speak as much.

6. We are hearing from smaller companies, just not as much/it's categorized as 'startups'.

7. Consultants, who tend to do a lot of proselytizing of new software trends, work for larger companies because "that's where the money is".

8. The scale of small business is such that software quality doesn't matter as much.

I don't really know what the reason is. I've primarily worked for small companies my entire career and I think the impact that software can have on a small business is transformative and well worth writing about (as I have for years and years [1]).

[0]: https://insights.stackoverflow.com/survey/2016#company-size

[1]: http://www.mooreds.com/wordpress/archives/43
Another good reason to read the classics is to maximize the number of "Darmok and Jalad at Tanagra"'s(1) you have with the people in the culture surrounding you. Note that may mean depending on where you are, you might need different classics.

(1) And if you understood that reference right away, you got the point!
The main advantage to a browser is auto updates. It enabled a number of saas apps that would otherwise be very costly to replicate and maintain.
https://en.wikipedia.org/wiki/Agent-based_model

This is already in common use as far as I'm aware. Its used in the Netherlands to predict electrical grid load based on the number of EVs driving about.
When Intel released the Pentium with mandatory active heatsinks that was called a big scandal by the industry magazines. Now of course we have smaller CPUs drawing 150W or more.
Yes but it's easier for when you just want to open a link to watch. You get subtitles, audio channels, can skip to the part you want, without downloading the entire video. I think it's DASH but more options are available, it works for Twitch and many other sites (thanks to youtube-dl I guess). With a browser extension you can click on links and open mpv directly.
SCons is a build system for C and C++ (and some other languages) that is configured in Python. I haven't tried it much though.
Isn't United a Chicago company? They obviously have a major hub in San Francisco but otherwise I don't think they have any connection to the SF Bay Area.
I work with devs who think it’s “very easy with Kubernetes”. Three guesses who’s always fixing the Kubernetes cluster...
No the fang talent is not exceptionally higher than anywhere else. Good but basically nothing special.
Classics are not that popular. The most downloaded book on Project Gutenberg (Pride and Prejudice) has been downloaded only 32K times. Moby Dick has 15K downloads and at least 10 of those are mine.

I disagree that classics can be understood by osmosis. I'm not discounting the books you read or saying they wouldn't compare to the classics if they were better known. But there is an experience in reading something timeless that can only be experienced by reading it. And there are more experiences to reading them with age that makes them unique. They become richer instead of becoming banal.
Better idea: dont pretend you are about to be the next google. Worry about that when it happens.

I see too many startups burning time/money on scalability they dont need. If you have 1000 customers, and your rack can handle 20000, dont talk to me about future-proofing against the day you are building your own datacenter. Keep your code working for today's customers. Worry about scale when it happens ... IF it happens.

Imho, limit your perspective and planning to double your current customer base (good day senario) and half (bad day senario). Any day beyond those bounds will require a rethink. A rethink THEN, not today.
It seems like gp’s proposal is to eliminate Prop 13 literally so that people will be forced to move out or that the threat of being forced to move out will cause them to man the barricades and demand more housing to lower property values (good luck with that).

If the point is simply to raise income for the state, that’s an interesting discussion that we can chat about. But the topic is housing availability and I don’t see how this proposal would affect that with real means testing. People who can afford it won’t move and landlords will simply pass the costs on to renters.
Eh, I've met a few people who had only heard of the name and wondered what it was all about. When I showed them how to sign up and look for hashtags, they quickly gave up between the flame wars and the bad ui.

I don't think Twitter is going to reach anywhere near the ubiquity of tv or movies for entertainment. Most tv shows and movies don't have a good chance of making you feel angry, frustrated, or depressed after watching them
Connecting a DB might be a bad idea only currently, until cloud providers implement some sort of RPC SQL layer.

We are successfully running Lambda functions connecting to AWS Aurora MySQL using IAM authentication. It has some quirks but after figuring it out, works well.

Just run a connection pool with only 1 connection and expect some additional latency on cold start, though it's negligible compared to loading libraries, runtime, etc.
The issue is that the latter is also a strawman, because that's not exactly common. That's also the problem with the initial response. Hackernews, by this detrimental definition of 'echo-chamber', is not one. People debate diverse viewpoints here, the only thing that is demanded of them is that they do so in civil manner and good faith.

That's not an echo-chamber in the bad sense of the term, that's the basis for productive discussion.
Stoic Week 2018
> The result is happy employees/contractors with no sense of entitlement.

I don't get what you mean. No sense of entitlement to, say, a fair share of the money flowing through your company?

Do the founders also live in a cheaper place or do they get SF money in return for "dealing with" Silicon Valley?

If you can extend the runway for your seed money this way, can you do it forever while still being an SF/SV company? Won't this eventually create huge differences in pay?

If I am tired of my India Remote salary and want a Singapore Remote salary, wouldn't it actually be in your own self-interest to give it to me without my actually moving to Singapore?

I don't disagree with your premise, but it sounds a bit like you're trying more for cheap labor than for building the best team you can regardless of geography. Sorry if I'm misinterpreting that.
If you're arguing that Facebook and Twitter aren't being used to push extremism you're wrong. If you're saying it doesn't matter because the US (and others) are flawed, you're wrong.
For example: http://cryto.net/~joepie91/blog/2016/06/13/stop-using-jwt-fo...

Others have also argued that JWT is too complex for the problems most devs are trying to solve. That complexity can lead to more problems especially when coupled with the fact many devs do not fully grasp all the implications of using JWTs.

Or at least that was my impression of the arguments. Sorry if I'm misrepresenting anyone.
You are not entitled to speak to anyone like that, and neither wisdom nor correctness increase with volume. This is a comment which can only be dismissed. I am sure that you have much better arguments at your disposal, if you would condescend to employ them.
I had an Indy on my desk when I was in my first paid job in high school. I loved that thing. We also had a Challenge named challenger. I blew it up once.

Years later I interviewed at Google. One of my interviewers turned out to be one of Jim Clark's original grad students. That was pretty crazy.
Incredible prose

Pedantipoint: it's mostly verse.
Hagedorn temperature on Wikipedia: https://en.wikipedia.org/wiki/Hagedorn_temperature
What’s that going to do? People with market rate rents will see them go up x% and people in rent controlled apartments will simply get more pressure to move so the landlord can convert the unit to market rate.
ID as a Bridge Between Francis Bacon and Thomas Aquinas
The only way I've been able to make any sense of CMake docs is in conjunction with examples -- searching on Github/enormous open source projects using it (e.g. LLVM). Just reading CMake docs to understand how to use directive x almost always leads to failure.
The most likely outcome is that Silicon Valley once again broadens geographically, rather than dies. It has been doing that in bursts basically since HP was founded in 1939.

The YIMBY forces are not going to succeed in fundamentally changing San Francisco. They've been failing at that for two decades. Instead, the money and start-ups will push further out. When people talk about Silicon Valley today, they mean a much larger geographic area than what that would have meant just 30 years ago. 30 years from now, the name will have grown to encompass a far larger area.
Do you vote?

What if those pesky younger people did vote? What if they outvoted all of these older NextDoor-Angry people?
The Unarchiver joins MacPaw family of apps
keep up the good work man, u got this