skysight-inc/HackerNews huggingface dataset:
This is interesting. We collectively spend _so much_ of our energy on heating and cooling buildings, and there's very little change happening.

The problems identified in the article are such low hanging fruit. Everywhere you look in residential housing there's huge efficieny gains to be made, but very little effort is going in to making them.

I'd love to find ways we can use technology to make housing more efficient. We need to - it's such a crucial pillar in dealing with climate change, and the vast majority of housing is so comically inefficient. The single tube air conditioners mentioned in the article are just the icing on the cake of all these massive energy wastes we accept because they're marginally more convenient. Does anyone know how to fix this?
Cheap Computers for Remote Learning
It's 4 digits, he has to hit 5 twice as it doesn't register the first time through his glove.
What Google taint is there in the Go compiler/command?
Question, out of curiosity - How do founders manage those troves of cash after selling their startups for billions (sometimes even in cash)? I'm aware the amount is a mix of cash and stocks paid over 3,4 years. But, in some transactions the cash portion is not less than ~$300M.
Why there's a so much hype about blocking TikTok? China blocked multiple US websites by replicating them first and blocking them (Google, FB, Twitter), irony, isn't it? Were those websites against Chinese laws? I'm surprised by some people reacting negatively to this.
P.S. I am not a pro Trump.
Henrietta Lacks and Her Remarkable Cells Will Finally See Some Payback
It sounds like a lot of his issues arise from human factors. For you to talk about the qualities of how good cancer treatments in the US are -- when I'd call the OP's experiences a result of gross negligence -- is the most tone deaf thing I can remember ever reading.
https://archive.vn/Q88kp
I wonder if any stats or math go into this decision, and what the thresholds/limits of risk are? Or perhaps they're programmed into the criteria for what is accepted as the eventual vaccine.

Because this decision is most definitely making a call about the value of saved lives / avoided sickness, versus the likelihood of unintentionally caused sickness due to vaccine side effects.

I wonder what the acceptable numbers / risk percentages are.
> ... I have $450K in cash burning a hole in my pocket.

First, the urge to put money somewhere could be a problem. Examine why you feel this way - closely. It could be you're letting emotions take over and that's rarely a good thing.

Second, you didn't mention debts. If you have any, you might look at the interest rate (including government freebies) and compare that to the most likely return you'll get. If your interest rate is higher than your expected return, paying off the debt wins.

Third, what kind of reserve fund do you have? If you don't have 3-6 months of expenses in a ready cash, consider creating an emergency fund.

Fourth, if you have not maximized contributions to tax-advantaged accounts, consider doing that. If your employer offers a match, really consider that.

Fifth, avoid the temptation to tell others about your windfall.

Sixth, has someone helped you who is now in need? Think hard about it. If so, consider helping them out.

Seventh, be sure you understand the tax implications of receiving the money. How much will you owe, if anything. Make sure that money is securely set aside.

Eighth, if everything else is taken care of, think about the lifestyle you want to lead. Do you have enough money now to retire? How attractive does that possibility sound? Taking that path means taking less risk with the money.
Fairchild's camera and audio gear (4 parts)
Many believe the rice cooker to be an exception to this, especially when you're cooking rice for your family every single day. It's just easier, and when you do something constantly, even minor improvements help save time and effort.

I think you have to follow the no unitasker rule in moderation. If you eat salad every day for example, I don't think it's a bad idea to have a salad spinner, when you can "easily" rinse and drain by hand.
Put your name on the website and tell the user who you are. The privacy pitch is silly if the user is to share his data with faceless nameless entities.
What I've noticed is that if you want to build a dedicated indoor trainer bike from used parts, there definitely is some good opportunity now to pick up previous generation stuff for cheap.

As serious road frame design is moving to disc brake and thru axle, something like a 12 year old all aluminum Cannondale or specialized road frame and fork set for QR skewers and 130mm rear should be pretty cheap. Then add basic all aluminum components for stem, bars, seatpost, etc.

I'd still expect to spend $125-200 on the saddle if I want exactly the same model to match my actual on-road bikes.
Anyone else "back in the day" would buy portable air conditioners from the hardware store and sling them into your server broom cupboard in an attempt to keep things from overheating.

It got so boring when we rebuilt with proper falso floors ceilings and real racks.
While that is certainly true there has also been significant congressional interest in Tik Tok and possible security implications going back to October of last year.

Marco Rubio asked the Committee on Foreign Investment in the United States, to review TikTok’s acquisition of rival app Musical.ly. The impetus seems to have been a Washington Post story that ran that September[1] that questioned the absence of Hong Kong protests on TikTok in contrast to other social media platforms.[2]

Also that same month Chuck Schumer and Tom Cotton sought to have the US intelligence community assess the national security risks of TikTok(and other Chinese-owned platforms) sighting concern about election meddling and influence.[3]

[1] https://www.washingtonpost.com/technology/2019/09/15/tiktoks...

[2] https://www.theverge.com/2019/10/9/20906971/tiktok-censorshi...

[3] https://www.cotton.senate.gov/?p=press_release&id=1239
How common are assaults on Japanese bullet trains? Even very old bullet trains in Japan should be highly pandemic-resistant, and not any more prone to assault than, say, your average commercial airplane.
> Ultimately I feel that it is US who has been more to blame (contrary to much of Western media coverage) for the deteriorating US-China relationship, and drumming up the chorus for a new coldwar. Chinese policy seems to have not significantly changed in the last 5 years towards the US, but on the other hand US seemed ever more keen and eger to pursue a hostile attitude towards China.

In what universe? The Chinese global stance has changed drastically over the past 5 years, and they have continued to deteriorate western companies and forced companies to appease their government, or the CCP will ban those companies, steal their IP and clone then. So far not a single soul has stood up to them, for fear of losing out. They've expanded their power in the South China Sea, laying claim to land and passages that aren't theirs at all and never have been. They fund North Korea as a satellite state to antagonize its neighbors, and turn in people that escape back to NK so they can be put in slave camps. The new security law gives them reach beyond their own borders to crack down on people that criticize the CCP. Not to mention they have literal concentration camps where they are harvesting organs, hair, using them as slave labor and stealing their possessions. Ask other Asian countries how they feel about China's slow and steady encroachment of their authoritarian regime that is anti-freedom.
> Just serialisation (which is almost invariable Serde) will pull in at least 54 dependencies (if you only use serde and serde_json).

What is this number referring to? Serde + serde_json with all their transitive dependencies is maximum 12 crates (for someone who has enabled all optional features), though in typical usage it's 9 crates: serde, serde_derive, serde_json, syn, quote, proc-macro2, unicode-xid, itoa, ryu. I haven't figured out how you got to 54.
2020 feels like it has already lasted several years, so I can understand 2018 feeling like more than just 2 years ago :)
The "web" generally refers to http/html which were extremely new in 1995, much newer than generic tcp/ip networking. The first netscape navigator was released in 1994!
The right advice is "don't use a leveraged fund unless you want to be involved and look at the market every day"

I've made good money on them as well, but I shuffle money in and out frequently.

It's not a good strategy unless you really want to study things.
Maybe when you feel the need to defend your employer from such criticisms often enough to define a new term for it, you should wonder about your employer more, and whether or not the criticism comes from a place of truth.
That's not what I see in the replay of the shot but okay...
It depends what you're doing - for analogue circuits the free software LTSpice is pretty great. It's clunky and you need to follow some tutorials, but it's a brilliant way to sanity check an analogue design before you build it. You can set square wave voltages to see dynamic performance.

If you want to simulate logic then logisim is really useful - you can design your circuit in terms of logic gates and then change inputs to see how it behaves - or generate a truth table. Good for checking that your logic works as expected.
It is hard to take a comment like this in good faith. You make multiple references to Singapore being a dystopia with zero justification. You make several strongly negative analogies of Singapore ("deal with the devil", "costs you your soul", "zoo for homo sapiens") with the thinnest of connections.

Singapore is far from perfect. It is horrendous on gay rights. It struggles with inequality. The amount of power resting in Government and political entities, even if currently not fully exploited, makes me incredibly uneasy. And it has many other issues too. But it is far from the fictionalized robotic totalitarian state you want to pretend it is.
Since you’re looking to maximize return, not risk-adjusted return, you should buy Bitcoin and roll deep OTM weekly put options on large cap ETFs.
The source is also available on GitHub https://github.com/FlyOrBoom/mercator
To be clear, not only is the package in question not "missing short options, prompting for options and using environment variables for options", there is not even the slightest indication on its docs site that it might be missing such features.

I'm not harmed by the reckless indifference of that comment, because I know a decent amount about these libraries, and it's not my business if people want to self-harm by believing false things, but people scrolling the thread are potentially harmed ("damn, I like the syntax of this, but it doesn't support short options?").
> Your blood results are perfect

This is if you can even get prophylactic blood tests done, which is not a guarantee in some European countries

I had an awful experience with Sweden's health care system when I lived there ~6 years ago, and didn't get actual help until I went to a private doctor via private insurance.

Since then, while I still support access to universal healthcare, I personally have stuck entirely to private healthcare instead.
> A few comments later, you retreat back to the motte by saying that what you meant by "violates the rights of Americans" is "harms Americans".

No, I didn't equivocate between "harms Americans" and "violates rights." The former is an explanation for why we need a theoretical framework of rights. That was pertinent in that part of the discussion.

I get that you think that everyone understands "rights" to mean "rights in a narrow legal sense," but as I said before, I don't agree. In fact, I think most people understand "rights" in my sense. Anyway, I needed to say what I said, the way I said it, to make my point. Yes, this is a discussion about political theory, and already was, before I joined it.

On your premise about the word "rights," which I disagree with, I would have acted in bad faith, so you are right to raise that as a complaint, from your perspective.

I don't think this is a productive conversation anymore, so I am asking you kindly to refrain from responding further, on the presumption that you continue to believe that I have acted at least irrationally, and possibly in bad faith. I will not respond further.

> It probably makes more sense to edit your existing comment and delete that one rather than starting two comment trees.

I agree, but I couldn't find the link to edit that particular comment, for some reason, so I had to make a new comment. I know how to use HN (been on here for a super long time), but I probably goofed somehow.
I Was a Screen–Time Expert. Then the Coronavirus Happened
He may not want the chinese benefiting from American money through such moves. This deal could set an example on new apps to come from China.
It's not related to anything China has done over the past years. It's the fact that TikTok users embarrassed Trump, so sympathetic conservatives are looking for any and every Trump-free reason to support the president unilaterally banning something. Mind you, these are the same people that scream about "free speech" when YouTube or Twitter deplatforms Nazis and other right-wing white supremacists.
Confirming the most popular chord progression in popular music
If this is a job post, it should be posted in the official thread that will appear on Monday (read the instructions about the format or details).
This is really cool. Maybe there is a market opening for an open, hackable aircon unit?

One thing I've long wanted to try with mine is use 'heating mode' as a quieter version of cooling mode. They work the same - the unit just runs backwards, with the cold air coming out of the tube instead of the vents - so in theory you can cool your bedroom without having the noisy aircon in the same room. But the thermostat doesn't work properly in this case, because it thinks it's trying to raise the temperature of whatever room you put it in, not cool the other end of the tube, so for this to work properly you need to hack the control board.
With the new tax laws the home mortgage deduction is useless for most people. If you are married filing jointly, the standard deduction is $24000. I paid around $10K in interest last year on a $330K mortgage in its fourth year.
McDonald's decided to sell most of its stake in 2017. It wasn't forced to. After the sale, McDonald's China was 52% Chinese-owned, and 48% American-owned. The latest news is that the Chinese group is trying to divest itself from McDonald's.

Starbucks entered the Chinese market in 1999, when there were still JV requirements in its sector. Those requirements have been removed, and Starbucks bought out its Chinese JV partner in 2017.
What's your reason for dragging Clinton into this?
It’s my first day in Hacker News with this unhackable news.
> Also this kind of scrutiny is rarely applied to tech sector content being posted here.

My observation cuts both ways obviously. Presumably corporations have fixed advertising budgets. If they stop spending in one media space they'll reallocate spending to another.

Am I being too cynical? Perhaps. Firewall or not, by way off analogy: Tesla is Volkswagen's competition and Facebook is the New York Times's competition.
I'll answer the question in a more standard way, and disagree with your points along the way.

'Fair Trade' does not have to be 'Trade on Equal Terms'.

That is how the relationship started: China was 'very poor' and so the asymmetrical trade rules made sense. Pepsi and Coke and a few others had access to China market, people 'looked the other way' at the IP issues.

But in 2020, China is in a different situation, and the asymmetrical rules are basically 'not fair'.

"The idea of unfair trade is also a bit of a mercantilist trope,"

This is false.

If one nation is allowed to sell into the other, but does not allow the other to sell to it - this is 'unfair trade'. Blatantly.

If one nation uses state subsidies to support fledgling industries, so that they can dump on foreign markets and 'take over the global industry' - this is obviously unfair trade. China did this with Solar Panel market - subsidising their industry to flood America with cheap products, putting everyone out of business etc.. This is not a 'new' idea, these concepts have been well understood for hundreds of years.

"Blaming the demise of US industry on China is absurd "

Nobody is 'blaming' US economic issues on the US. What I'm articulating is that China is effectively 'cheating' (or rather, has an obvious upper hand) and it needs to be rectified.

"As for the whole question of whether or not China is 'playing dirty', or muscling their way through established norms, I think it's obviously not the case - or at least, it's by no means the case that China plays more dirty than anybody else - least of all the US."

This is again false. We can call it 'dirty' or not - but China plays 'extremely protectionalist' first off, second, they have state intervention, which is not suitable for trade.

There are a million and one things that the US cannot do in China, but that China can do in the US. This is blatantly lop-sided. The US should apply the same rules to China as China does to the US.

Second, and more nuanced, is the state intervention. Again, the example:

Imagine if the US forced Huawei to give designs and IP over to Cisco, and the US Pres had direct authority over major banks, ordered JP Morgan to finance Cisco buyers in Brasil, Germany etc. - and for liquidity, ordered the US Federal Reserve to print money for that purpose. It sounds incredibly bizarre, right? Well that's what China does today!

So it's fine for them to play the game they want to play, but the West needs to respond in kind.

This has little to do with 'bringing back coal mines' obviously. But it may have something to do with bringing back manufacturing - in a highly automated way.

"about trade seems two parts grandstanding and one part hypocrisy."

No it's not, generally speaking the US is pretty good on these things, and has fostered a lot of very important international agreements and ideas along these lines as well. Of course, trade really does benefit the US a lot, so it's to a great extent self interest, but still.

The world needs to trade with China on somewhat different terms.
95% of Programming Isn’t Hard (and other random thoughts)
Any place that executes people for minor crimes or non-crimes is pretty awful on human rights issues. Couple that with its status as a single party state, corporal punishment for minor infractions, the fact that it is awful on LGBT issues, and so on, and I don't need to know much more. I don't care how clean the streets are if that's what it costs.

Also: Singapore's Lee Kuan Yew, often considered the father of the place, was a fairly virulent "scientific" racist: https://lkyonrace.wordpress.com

Sure, other places are much worse. Sure, many places like the USA have their own huge issues. That's "whataboutism."

As I said, the thing that makes Singapore almost alarming to me isn't that it's the worst place for human rights. It's not even close to that. The thing that bothers me is that it looks like it works and serves as an advertisement for better living through totalitarianism. Most other places with awful human rights records look like places with awful human rights records.

I'll say it again: if what Singapore does is the cost of clean streets and virtually zero crime, I'll take a filthy slum. Fortunately that doesn't seem to be the case. I currently live somewhere that's far less punitive and it isn't a filthy slum.
Yes; Google hiring people with a history of innovation and giving them the support (financial and otherwise) to undertake a project does make the project part of Google’s engineering portfolio. I’m not sure how this could be in dispute. It’s not like Golang was something that Google backed on Kickstarter: they gave resources and pay to the people whom they intentionally hired because they wanted engineers with their skillset.

If employees hired as engineers, who work on engineering projects, don’t count as part of your company’s “engineering ethos” just because they were already engineers before you hired them, I’m not sure we have a shared agreement on what “engineering ethos” means. Are only fresh college graduates permitted to count as part of your “ethos”? How many years of experience can an engineer attain before their accomplishments at work are no longer part of their employer’s ethos?
It really is amazing! Like being in a wind tunnel almost. Got to go on the Shinkansen from Kyoto to Tokyo and back. Expensive but wouldn't have been a visit to Japan without it as a train fan.
I'm going to bet that there are tips at the bottom of this thread that actually work and were written by someone who has made a lot of money off it, but it's hard to sift through them and find out what works.
I haven't decided how I feel about the TikTok debate yet, but just to offer a better rationalization: foreign relations is the President's domain. Apps are one way that a country projects its soft power, and as such this might be applicable.

If TikTok was not a foreign-owned app, I don't think that Trump would have a leg to stand on, but because it is, I'm not entirely certain he doesn't.
Prior comments: https://news.ycombinator.com/item?id=18698651
Or worse - you pass --help and the script runs and starts doing stuff
Blub languages are all alike; every powerful language is powerful in its own way. It's hard to reuse what I learned about Lisp macros or Python decorators or Scala implicits in other languages that don't have anything like that. The result tends to be reams of cringeworthy boilerplate because that's the only thing that works in every language.
That would be a great aftermarket product to hook up Nest to portable air conditioners.
Show HN: RISC-V disassembler in 200 lines of C
4chan edgelords
Was it really "bricked"
The temp vs run duration doesn't seem that meaningful. It shows the first 3 minutes of runtime, and doesn't show if all configurations reach equilibrium performance after that. It looks like they might. These things are usually run for hours, is there a chance they'd have similar cooling performance at that length?

The insulated hose is something I'm exploring myself. There's insulated ducting like this: https://www.homedepot.com/p/Speedi-Products-6-in-x-12-ft-Ins... but it looks terrible. I'm kind of worried about having fiberglass being in my living space like that, the PPE is significant https://homeguides.sfgate.com/safe-ways-handle-fiberglass-in... and I'm pretty sure my cats would shred it up. I'm leaning toward adding reflectix sleeves with gaps so that the hose is flexible.
FWIW, Drew's position on Go is hardly even unique. Someone who is quite fond of Go was telling me last week about how I should consider learning it despite it being from Google, because it is not very Google-like of a project. And that wasn't the first time I'd heard it either.

(Myself, I am usually just trying to build stuff people wrote in Go, and I usually end up fighting the tooling for a while and getting mystified by the error messages and having no idea where to look to solve them.)
I'm not sure I follow here. The transaction might be structured as the landlord giving you 12 months of housing service at the time of signing of the contract (or when the lease starts) and you paying him in installments of 12 payments (with the first one or two upfront), but you don't "take delivery" of the service all at once. It's given to you on a continuous basis. Therefore, at any moment during the 12 months, you don't owe the landlord anything.
I ran `cargo tree -e all | wc -l`. Now I realise that's not a proper way to do it :-/

Looks like `cargo metadata --format-version=1 | jq -r ".packages|map(.name)|.[]"` is the way to do it.

- 10 for serde + serde_json

- 88 for rocket only
Coronavirus Has Changed How We Drink Coffee
Masterly Inactivity