skysight-inc/HackerNews huggingface dataset:
Embedding templates in code is actually quite nice. I used to think like you, but then I gave React a try and it completely won me over.

Even without the transpilation step for JSX support, I find hyperscript [0] and friends [1] a notable improvement over other templating tools. Instead of having to jump to a separate file which magically inherits a bunch of implicit globals, you just call a function. If the system supports a component abstraction you can import them and compose views using the same programming constructs you use everywhere else.

An error in the template can be caught by your linter or compiler, since it's just regular code. I'd say it's actually safer, since you typically won't have to worry about escaping values manually. And along the way you can validate the input in order to confirm you only ever generate valid HTML.

Check out elm-css [2] as well, which lets you define your stylesheets with elm. This lets you take advantage of the their type system to make sure all class names are referenced correctly. A typo or accidental deletion would would cause it to fail to compile, allowing you to catch problems early.

[0] https://github.com/hyperhype/hyperscript

[1] https://github.com/developit/vhtml

[2] https://github.com/rtfeldman/elm-css
It shows who you've been paying, who's been paying you, how much, and how often.

That basically describes your entire life.
See also current discussion https://news.ycombinator.com/item?id=16714581
The premise of this article is that if you work hard and build a large pool of cash, you're "set" for life. So many problems with that. Most people, despite high pay and best efforts, continue to live the rat-race.

That said, what I hope is insightful about this article is that it teaches that having money can easily lead to having much more money.

If you start with $5M in the bank from family or whatever, you can make more from interest than most experienced professionals in any field can make from their skills. Meaning, sitting on wealth is often far more profitable than trying to earn it.

It's a testament to how money disproportionally begets more money and how inequality seems to almost naturally increase.
Considered downloading this to do a few practice runs before rebuilding a $10k machine yesterday, decided to do it live.

The game should definitely have other people standing around saying stuff like "should it make that crunching sound?"
For a couple of years, 2007-2009, I kept encountering budget-build AMD boxes with cooked thermal compund. The first time a client brought in a comouter with the heatsink rolling around loose on the bottom of the case, I thought it was rough treatment, customer error. But then two more, Dell instead of eMachines or Compaq... weird.
My favorite book of this ilk is "How to survive without a salary" by Charles Long.

For understanding where the money goes, tracking every penny for 30 days is a good exercise.
I wish it were opened up. It was a thing of beauty.
It's gonna hurt their "Ads Manager" alot as majority of marketers use "Audience Insight" tool for their campaigns.
3 million more like for a family, they will have kids in some stage and they won't make 5%, 3% is more realistic which is 90k, enough for a family to live comfortably in some mid west city.
123,000 of 300,000 is just above 40%
The comments quoted are pretty shill-ish... but I found myself weirdly sympathetic to Bosworth's concern about leaks. If corporations are people, than their internal communications are like thoughts floating around before a decision is made. If you're properly distributing decision making in a company, individual sections are going to come up with ideas that are embarrassing in the big picture! Would you want your stray thoughts picked apart in the press?

BUUUUUUT (a) Bosworth is at the top of his org, so calling his own post a "not quite staw man" is a ridiculous cop-out. Like it doesn't have 1000x the weight of the comments below. And (b) The reason people are being forced to interrogate Facebook's "character" through internal docs is because a lack of candor has made that character impossible to judge based on public statements and actions. You did it to yourself, man!
A question like that kind of does offend me, hence the curt response to it. If the interviewer needed to rely on such an obtuse question, then I’d surmise that they may not be familiar with the interviewee, which could be construed as disrespectful.

Your example of a good answer is great, and is delivered as if the original question was better worded.

I guess I’m rallying against lazy interviewers who ask “why should I hire you”.. :) it was a theoretical by the OP, and I need to relax.
Love the part where Trumps criticism of Amazon, saying they are avoiding paying their fair share of taxes and they respond with, well you signed the bill??
There are probably many places in the US where you could retire with 200k, you just wouldn't want to live there.

But beyond that, the US has a baked-in working culture. For any hard-worker, 200k won't be enough. Neither will $1M or $1B. Not saying this is healthy, it's just a part of being american.
Does someone have more information about how they implemented serializable in such a way that, as they claim, performance isn't negatively impacted? Seems pretty hard to achieve that.
besides, investing capital to maximize return is of itself a full time job, especially with such a small initial capital.
Ask HN: Where can I learn technical stuff about EVs
I wish to enter the Electric Vehicle workforce so i'm intrested in technical stuff.
> Imagine this happening in any other industry.

You mean like when Home Depot lost thousands of credit card numbers? Or when Target did the same? Or when Equifax lost millions of people's private data?

The response is always "Welp, sorry! We'll do better next time!" and the tech industry isn't alone here.
"Tinting" the cleaned surface of the CPU with thermal compund, mostly removed with a credit card or thin plastic scraper... and then applying the pea...

Could it be that there is some merit to the "thin layer all over" message? But yes, easy to mis-communicate. I had not considered the problem of bubbles.
I stopped drinking coffee a month ago due to some minor circulation problems. I do miss the taste and still get tempted from time to time, but I have to say that I’ve never felt more awake
Facebook forms PAC for political donations
While true, this issue is we are not where we need to be _today_.

Any roll back is a set back.
I know it doesn't apply to Tesla's since they only have motors and batteries to monitor, but the more physical instrumentation and analog controls I have, the better I feel.

Not much of a more clear "you missed that shift" feedback loop than hearing gears crunch and the shift lever vibrating like a magic wand.
> When each bank keeps their own version(s) of the truth, the cost of reconciling, resolving disputes etc is huge

I'm not a banker, but I'm not sure I entirely believe this. There is undoubtedly a cost of reconciliation, but is it "huge"? Seems low on the totem poll.
A lot of divorced people know this from experience. I certainly do. Don't miss any of it.
While I agree with this as an argument against overregulation, I find it extremely doubtful that rollback of extant standards will ever accomplish a reduction in vehicle costs. I'd certainly be interested to hear arguments or evidence otherwise, however.
Real knobs have built-in force feedback and none of the disadvantages of touch buttons. I have no idea what it will take the industry to realize the sub-optimality of touch environment.
America's Attempts to Build Nuclear-Powered Aircraft (2015)
Thank you, I haven't looked at Bottle. The Hello World is actually comprehensible to me and I was able to mentally crunch the entire tutorial page no problem. I checked out Flask but was overwhelmed, went through the Django tutorial and really couldn't get my head around what I needed to transfer it to my own code. LOL I told you I'm simple... SlowBro may be slow, but he's a bro...
And even those who do it full time under-perform the average 50% of the time.
I live with 500-700Eur/month since multiple years and I live a life of luxury compared to most others (and with that I mean my friends from Western Europe) and that includes traveling. So that'd be about 25-30 years which I'd call enough for retirement.
Don't forget: it's not like you'll never work again...honestly who wants to not work the next 30 years? there will always be some small jobs or part time projects which will produce some sort of income, even if not monetary
Parallels between Brownian motion and price fluctuation in markets
I'll take sexps over sgml any time. Why do you think this is worse than the corresponding HTML code? You don't have the madness of the closing tag having to repeat the name of the element, the odd idiosyncrasies with self-closing tags, the arbitrary division and restrictions between attribute and children nodes...

And of course in the context of writing lisp code it means that you have a uniform syntax instead of having some parts of the file as HTML and others in an other language (which is often a pain with code editors in my experience).

It still baffles me that SGML and its descendants are so popular. They're quirky, terribly noisy for markup, incredibly large and slow for serialization and of course every variation introduces and removes arbitrary limitations.
It's funny you mention that route, it's about 185 miles which is about how wide Sri Lanka is. Living in the US also gives us a distorted view of how large the typical nation is.
Tesla is not valued as car company by the market. 30% of Tesla float is shorted and yet it still has a market cap on par with Ford. I've read a ton of similar arguments about Amazon how it's burning through cash for years how Walmart will crush etc.
The Problem with Mindfulness
I also understood it as a joke before I reached the `/s`, but not everyone might’ve. Case in point, there’s another post on this thread[1] where another joke (as I see it) was made and the first reply is someone taking it seriously.

[1]: https://news.ycombinator.com/item?id=16708477
Then why not just get a job ?
Deployment Automation
> Humanity is perfectly capable of building secure web services without having to keep the way it works a secret.

That's the same as saying that humanity is capable of building a large system without bugs, in an economically viable way.
It was a take on mutual respect really, the question itself irks me, and I’d never level it to a prospective employee.

I would, however, try to obtain the same info using less jarring questions; possibly asking why the employee chose _us_ to decide to make their next career step, what inspires them to do this work, things like that.
It really depends on the wine as said earlier. I know pretty much nothing about wine and I could tell you the difference between a couple white wines because some are noticeably sweet (moscato, riesling) compared to others (sauvignon blanc, pinot grigio). I could id the first category vs the second, while somebody into wine presumably would have more depth.
The rules say European Economic Area (https://en.wikipedia.org/wiki/European_Economic_Area). Which the UK is, ridiculously, also leaving, but does include Iceland, Norway and Liechtenstein as EFTA members.
Those are not Lenovo-specific backdoors, though
Okay, happy to admit when I'm not fully informed, and this is one of those times. I have interacted with TCL/TK and have made small programs with it, but I have not used TCL directly in the past. In fact, did not even realize TCL was a full language. When I read this article, given my background with TCL/TK, I understood it to be a web framework using a weird desktop GUI... which would be quite odd.
Now change the aspect ratio to 3:2
I’m sure a lot of companies that do horrible things have great work culture. That should not be a reason for such companies to exist.
But they are not paying First World prices for anything. $12k/year between two people, owning no other assets than their $300k capital is not really do-able in the West. You could if you already owned 40 acres and were mainly self-sufficient.
Robot takes cues from spider that can walk and roll
No. Nobody who runs sentry on prem needs that functionality.
> Please don't install PeerTube for production on a small device behind a low bandwidth connection (example: a Raspberry PI behind your ADSL link) because it could slow down the fediverse.

Sounds like PeerTube is vulnerable to a sorts of denial of service attack from bad actors that would join and then limit the bandwidth to extreme amounts.

Hasn’t this been solved already in other P2P protocols? Couldn’t they have built upon an existing protocol that protected them against this?
Ask HN: 9-5 burnout?
I always feel a little strange among all the other 9-5 workers. It's really difficult for me to do that every day of the week. It's not that I'm not enjoying work or anything like that, while I'm at the office I totally enjoy it, but I once I get home I feel drained out, as if I can't do anything but watch TV. It's like all my mental powers are gone and I can only do the simplest thing possible.

Thing is, when people are talking about burn out, they usually mean 60 hours work week, so complaining about a 40-45 work week feels spoiled. Maybe my psych is not built for continues effort but short sprints and relaxation. When I stay to work from home, and split my work day into 2 halves, morning till noon, and evening until night, I feel much better, though I still work the same time more or less. Problem is, this is not something I can do regularly since It's not common to work from home where I work, and I'm leading a dev team so I need to be around.

Does anyone else feels the same way? How do you handle daily burn out?
> Additionally, shoddy treatment of 10% of current registrees will do nothing to increase the perceived value of an .eu domain.

It does for me. Creates the image of an exclusive TLD with only genuine, trustable EU registrees.
One crucial factor to consider is that people are really, really bad at long-term planning - even if a more efficient vehicle would pay itself off relatively quickly, many people might go for the less expensive option, thanks to the immediate reward.
9 Drool Worthy Desserts for Your Wedding Other Than Cake
Separately, it's pretty hilarious at this point to hear hand wringing about how a leak of private data is keeping FB from having an honest and constructive internal discourse. That's exactly how I feel about what leaking 50M profiles to a political devil bent on destroying constructive discourse has done to my favorite democracy.
Commenting on upvotes/downvotes is usually unproductive on HN. From your first edit, you probably invited some the people that didn't agree with you to downvote (who would otherwise have ignored your comment)
Rust might have theoretical problems but it doesn’t matter in practice. That’s all that matters to the Rust community.
It's less verbose than writing it as HTML (sexps > SGML markup for such uses). Moreover, it's the right way to go about it, because it treats HTML documents as the trees they are, instead of running free and wild with string substitution, creating both points of breakage and potential security vulnerabilities everywhere.

RE designer thing, I guess it depends on how you work. Frankly, Reddit to this day doesn't look like anything that has ever met a designer (and that's a good thing in its case). Still, if you want, you can just stick to the designer that does mockups in Photoshop, and skip the other designer that converts those into HTML.
Why not? You're partnering up with someone you barely know, don't think it's unfair to allow them to state their case.
A lot of bad developers like to use this excuse but it doesn’t hold water. Open source has a history of producing better security results.
The Cuban hitchhiker who changed my life
As someone who rebuilt a couple dozens PCs for a charity from dumpster parts, boards in plastic bags while wearing mostly synthetic clothes, I'd say you underestimate the ruggedness of those things.

Drivers and OS are much more likely to be the cause of quirks and weird behaviour.
"Tesla is not going to financially recover if Model 3 fails to deliver within a year" again define deliver if they are at 50% of the planned rate by the end of the year but on a good trajectory to reach 100% within 4 month or whatever else situation might be it's a scale.
Where's your flawless closed source SSL implementation?
Real knobs _work_ and _worked_ for the past 100 years. You could replace them with touch screens if their advantages were compelling.
I imagine SpaceX could eventually perform the majority of routing in orbit, with packets returning to earth for the "last mile".

If they're successful, you could potentially see a high bandwidth SpaceX link on the roof of every major data center on the planet. They could be self-reliant for connections to every major online service.

If they're very successful, you could potentially see data providers like Netflix and CloudFlare joining SpaceX in orbit, most likely embedded into a future SpaceX satellite...
It depends and is a matter of taste. I'm very much a Common Lisp afficionado but I've come to dislike embedding HTML in code like this (also due to experiences in other languages).

It's not error prone maybe even less so since it can be checked by the compiler.

My preference is to use templating because it matches the final output closer and is, like you said, easier to show to other people / designers. However, even templating is sometimes turned into an enterprise confusing mess where it becomes very complex and hard to know where values come from.
I've only built a couple of PCs but my method has been to find a PC for sale that is outside my price range - check for Linux compatibility by searching for problems - and then source the parts that match the spec. I can modify as I go, double up on RAM or whatever.
Latency and bandwidth are two separate things, and the distance to an LTE tower has approximately nothing to do with latency to the server you’re connecting to, which btw is likely much further away than 100 miles. Now factor in that light moves 50% faster in air or vacuum than it does in fibre optic cables. The satellites are also going to be at a height of around 1000km (600 miles). But I t takes light only about 3.3ms to travel that distance. 30ms latency end-to-end should be realistically achievable this way. That’s more than a good residential connection but good enough for just about any application other than latency-sensitive multiplayer games.

There’s valid skepticism of SpaceX’s plan, but none of your points are among it.
You keep saying this, but it's just not true.

Obama got to 55+% disapproval rating twice, in two single polls (3 Dec 2013 and 2 Aug 2014). His yearly average disapproval ratings were 36, 47, 47, 48, 52, 50, 46%.

Trump has spent roughly 30% of his time above 55%. RCP doesn't have yearly rates up, but it's pretty clear they are much worse than Obamas.

factoring in the unprecedented liberal media headwinds faces by Trump

It seems to me the only thing keeping any kind of approval at all for Trump is his attacks on the media. It seems to me that fighting with the media is the only thing keeping him below 60% disapproval.
There's a nice interactive 6502 tutorial at https://skilldrick.github.io/easy6502/
Sure I want the people who want to remain to be able to, but the decision was made as a country. If they don't split into two it'll be pretty hard and difficult to accept Britons wanting to be in the EU.
Maybe if they privately pay membership fees? It's interesting to think about, but would encompass much more than a TLD.
I thought the modern startup business model was about never actually making a profit but instead raising round after round of funding.
None, really, this can be treated like any other ISP connection. Build things with solid RSA+SHA384 TLS1.2 and 1.3, battle tested VPN tech, etc. There is no need for anything special unique to it being a satellite link.
I still don't get why non-code templating ever became popular. Especially that I saw it becoming popular in PHP, which itself is a better templating language than the templating languages people were using. Instead, people created plethora of languages that slowly accrued Turing-completeness with them, because religious adherence to "no code in views" is stupid.

That said, glue-strings-together templates are still a problem and should not be used. HTML document is semantically a tree, and if you don't treat it like that, bugs and security vulnerabilities follow.

(Respecting semantics applies to other languages as well. For instance, those who recognized SQL as a language, instead of some blob you concatenated out of strings, didn't have to worry about SQL injection.)
Yeah I was just amused (and confused), I didn't care one way or the other...
Instance #945792 of the EU commission coming out with it's usual message:

"Bad voters ! BAD BAD BAD voters !"

"FU"

All the people defending this decision: do you seriously think a majority of Europeans would defend this decision ? Because that's the yardstick a government in a democratic nation should be measured by.
The government will not pay anything for you if you have a considerable chunk of savings you can pay for yourself from. You are only really considered poor if you have no savings.
I see Tesla as a tech company and looking at the market cap it looks like the market is valuing it as a tech company it's market cap is about that of Ford and that's with over 30% of Tesla's stock float being shorted.
I suspect that the cost (in time and money) to set up a subsidiary in the EU may be significant, especially for small companies.
I'd be interested to see how they try to turn Brexit's effect into a victory for them, though.
Because they have had established entities in it and will continue to do so until March 2019?

After all, establishing an entity in the United Kingdom has, until now, been an equal level of 'betting' as establishing an entity anywhere else in the EU.
Thanks for reporting this. It is an interesting problem, that I'm not sure how to solve (being yet early and I without coffee).

The README.md file is the homepage. It is intended to be displayed using the URL https://wapp.tcl.tk/index.html/doc/trunk/README.md and the hyperlinks are relative to that URL. When you click on the File menu, it shows the README.md file using a different URL - http://wapp.tcl.tk/index.html/dir?ci=tip - and the hyperlinks don't work for that URL.

Perhaps the right solution is to rename the README.md file to something different so that it is not displayed by default from the Files menu...
Use of JavaScript for Blockchain Projects
It depends. Michigan uses sand when it's too cold for salt to have any effect.
eu does not mean EUrope, it's European Union.
Why do you need to upgrade the code to fix a bug or implement a new feature? I don't understand that. Keep React version and do what client wants.
Revelations on the FBI’s Unlocking of the San Bernardino iPhone
My understanding is that it is like Angular $scope but without the prototypal inheritance footguns.

Instead, you have islands in the vdom tree that share a single, common state object.
https://2ton.com.au/Products/

https://news.ycombinator.com/from?site=2ton.com.au
Some criticism: I don't really like the buttons style, but more objectively, you should center text and take a look at their size, it made me super uncomfortable when I opened the page. Also, the "Try us for a week" at the bottom is shifting the page in the background to the left, leaving 20px of white space or so in the right side (Windows, Google Chrome). The "Start Trial" button that appears after clicking on "Try us for a week" looks much better.