skysight-inc/HackerNews huggingface dataset:
Not the US, but I was in Canada once as a tourist and on a hot day I went into several stores for things. The air conditioning was on everywhere which is OK, but it was set so cold, that I was freezing in my T-shirt.

I don't know if it's similar in the US, but I didn't understand why they set it to such a low temperature. Why can't they choose some pleasant temperature like 25 C which is not hot and not cold, just right?
Any links? I’d love to know more.
That's because it's cdn-cgi and not cgi-bin.
The idea that the internet transmorphed media from oracles of truth to professional manipulators is taking the whole situation inside out. The fact that people used to trust media more is not an indicator that media used to say more truth in the past. Journalists lived in a high tower pretty much unreachable by an average reader, so producing rubbish, or being manipulative was billion times easier. In the past only an important journalist was able to stand against another important journalist, and even that was a slow inconclusive pushing. Nowadays, bullshit, and incompetence can be revealed in hours, and even small mistakes are publicly noted. Everybody can be media now. Naturally journalists has lost their semigod status. But it's important to understand that they weren't semigods before, it's just that you looked at them down up. And now you don't.
It'd be interesting to see a study of the _net_ effects of them this. They are not only a positive. For example:

> Moreover, air-conditioning in the U.S. may have more indirect but nevertheless dangerous impacts: Whereas Europeans have decided to simply accept the existence of hot days and nights, American architects have been forced to ban balconies and porches from many work spaces and to lower ceilings within buildings to keep as much cold air indoors as possible, according to the Economist. In other words, whereas Americans might be more productive at work thanks to air-conditioning, they are also more likely to be stressed.

https://www.washingtonpost.com/news/worldviews/wp/2015/07/22...

They also use a lot of power:

> Using air conditioners and electric fans to stay cool already accounts for about a fifth of the total electricity used in buildings around the world – or 10% of all global electricity consumption today.

https://www.iea.org/newsroom/news/2018/may/air-conditioning-...

> The power consumption of air conditioners averages 318 watts (for a 24,000 BTU unit) in most American households. That 318-watt average (source: U.S. DOE) adds up to 228 kWh per month.

https://www.kompulsa.com/much-power-air-conditioners-consume...

At those figures, it would add about a third to my (UK) house's electricity bill.

Edit: Cold weather also kills about 3000 people in the UK every years as they can't afford to heat their homes (https://www.independent.co.uk/news/business/news/cold-weathe...), so air con wouldn't necessarily remove the problem in its entirety. You'd have the same problem from the other side - people can't afford to cool their homes.
Sure... but in hotter climates, clothing and buildings are better geared for it - white for reflectivity, through-draughts, hard floors, etc. In northern Europe housing is generally set up to cope with cold winters.
Utah versus California and it’s not even close
Reading about COM really takes me back to my VisualBasic (classic) days. I was an inexperienced teenager at the time, and I remember the excitement I'd get when browsing through the different COM controls I could add to my projects, picking some just to see what they did and trying to figure out how to use them (pre-Google and mostly didn't have internet at home at the time). Learning to make my own COM controls and distribute them was highly instructional, if also maddening at times when trying to get the right version of a .DLL registered and installed.
My preferred way of learning a new language/framework is watching someone walk through creating a real app in that language/framework so I can see all the folders/files I need to touch and the thought process moving step-by-step. Unfortunately I haven't found much in the way of that for Phoenix, the stuff on Udemy is pretty outdated last time I checked. Any recommendations?
Link seems to be to a "rick-roll" style meme-post.
> Europeans seem to enjoy mocking American fondness for air-conditioning

This is true. I happened to buy a condo where the previous owner had installed a mini-split AC. I took a quick look at it with "lol what is this thing" and forgot about it. Then later I suffered a week or two into the 2014 summer heatwave, before it occurred to me to turn that oddity on. Best thing ever.

We Europeans also still stubbornly think that cars with automatic transmission are not real cars. Although the good fuel economy of hybrids (we love good fuel economy!) is slowly changing this. But if someone made a hybrid with manual transmission, we'd sure buy those.
Thing is, Europe doesn't generally expect quite that heat. If it becomes the new normal and we also become fond of aircon, that's a pretty grim outlook for our energy needs - and hence emissions and reaching net zero.

If it had always been normal and expected our building stock would probably have evolved a little differently.
The OWASP Postgres hardening page recommends that one removes the default "public" schema in postgres:
https://www.owasp.org/index.php/OWASP_Backend_Security_Proje...

...whereas this course seems to use the public schema and just query for "SELECT * IN public.foobar" etc.

I remember being a bit confused about "schemas" when I switched from mysql to postgres. I think it would be good to have a special section that explains what schemas are typically used for, and in particular when/how to use the public schema correctly.
Doing this as well as we speak! Also using a Pi as a RetroPi.
Lofty and Cyclical AMD Is 'The Big Short'
It's still a huge and I mean huge physical achievement to have summited Mt. Everest. Sure, 1000s of people do it every year but it doesn't make it easier for you. Its the same when people decide to do anything that's been done before (open restaurants, have relationships, run marathons, etc.)

If you wanted to spin this constructively you could talk about how we could move more sherpa responsibility on to the climber or in a self-sustainable system. Nothing wrong with that but please don't generalize all Mt. Everest climbers to be rich assholes. For most people, it would be among the hardest thing that they did in their life. Also, generalizing everyone as evil is a fast way to lose audience with people with whom you want to bring about a change.
mostly for running pi-hole as a DNS server for my local network on it.
There's a mainline driver that according to their own statements is now used for the gpu. Whether there's a firmware blob underneath it is a whole other story and as long as it's not something that has to be distributed with the OS I don't see how it should be treated any different than e.g. the AMD or intel gpus.
The criticism is that a struct literal allows you to not specify some (or all!) of the field. The argument is that this is brittle since, as with what was described in the post, if you add a new field, you might forget to use the field in all instances of the struct being constructed.
Same here, I've also realized that I pretty much never feel I've missed anything.

Sites that don't respect their users extremely seldom have anything of quality to offer anyway.
In a nutshell, it's a very ubiquitous phone server (PBX.)[0]

[0] https://en.wikipedia.org/wiki/Asterisk_(PBX)
I run a plex media server on my 3b+. The server is on the wall below my router (attached via ethernet), a 2TB HDD sits next to the server. I put movies & TV for my kids on the server, then they can watch on one of two TVs in the house via Roku. It's good for getting them off trashy Netflix movies & making classics (or what I consider classics at least) available to them.

I chose this configuration rather than running plex in the cloud because a) don't want to pay monthly forever for something I use a few times a week; b) less wasting power and c) this at least theoretically can work during an internet outage (though plex authentication may make this difficult). I configured the HDD to spin down after 20 seconds of no r/w, so the whole thing draws very little power while idling (or so I assume).

The major limitation of this setup is that the pi cannot handle video transcoding. As long as I transcode to something the Roku supports natively this isn't an issue: transcode once (on my laptop), put it on the Pi, play whenever. I have yet to script this process but that's my next step in the project.

It will probably be a year before I realize any cost savings (a friend pays CAD20/mo for a hosted setup which also handles on-the-fly transcoding), but, well, it's a simple server and I just wanted to do it myself, gosh darn it!
> This was the show stopper for me. I realized that I couldn’t rely on the compiler to get my back when I was doing mistakes.

No! One shouldn't mindlessly rely on the compiler "to get your back." Instead, one should code (or alter code) so that you've manipulated the situation, such that the compiler will flag any errors. With a language like golang, this means that you should make sure that the "zero values" are always copacetic. (Analogous to crash-only software.)
yeah, they're Amazon affiliate links (gotta pay for hosting some how)

my pihole also blackholes them
The amount of pro-chinese spam here is having the opposite effect.
Complete nonsense. Yes, trust has been eroded, but only trust concerning the media and garbage websites like facebook, Twitter, etc. Go into niche communities (hackernews is already too large imho) and you will find beautiful flourishing microscopic ecosystems that do perfectly well (think of speedrunning and other niche gamer communities, programmer communities, lgbt communities, etc.). People trust each other, are kind to each other, etc. It's just that they are out of the public's view precisely because they are precious and if the public ever discovers them, they're destroyed. Oh, also, it's always been this way on the internet, for decades. The good stuff is always hidden away from the public because the public is not fit for the good stuff. Just like you wouldn't let just anyone join your research team or your backyard grill party, you wouldn't let just anyone join a great community. You may call that exclusionary or even elitist, I call it having standards. Also, this post may be ironic because I'm shadowbanned. But I don't really care if anyone reads my messages, this is more of a thought dump.
I'm not saying it facetiously. i mean it but the person i responded to it would never agree so they shouldn't expect their own reparations.
Why? It’s so easy to make a Jekyll site / theme from scratch.
Assuming your life doesn’t depend on keeping the money, do not treat this as a single-turn game.

If you agree with the client that you didn’t deliver what was promised, and (I assume, but you don’t make that explicit) you (partly) are to blame for it, why wouldn’t you refund the client?

Also, even if it doesn’t lead to follow-up work for this client, what the client tells others about you may eventually be be worth more than what you return.
College Closings Signal Start of a Crisis in Higher Education
In the case of sensational flamewar topics, we can presume that it's unrelated pending some evidence of a relation.
Once they've been encrypted, it's all just gibberish to the intermediaries. If you truly do see this as a massive loss of privacy, then why are you not outraged at Comcast and others that regularly act as middlemen with your encrypted data today?
Overdue, arguably. https://jakeseliger.com/2018/03/12/the-case-against-educatio....
.map(), .reduce(), .filter() – my turn
Does this have similar goes as https://www.gnu.org/software/mes/?
Yeah I'm actually using netgate boxes right now. I just figure rpis are cheaper. Thanks for the info.
Some use them to get into NASA, so, pretty useful.

> The U.S. National Aeronautics and Space Administration (NASA) this week confirmed that its Jet Propulsion Laboratory (JPL) has been hacked. An audit document from the U.S. Office of the Inspector General was published by NASA this week. It reveals that an unauthorized Raspberry Pi computer connected to the JPL servers was targeted by hackers, who then moved laterally further into the NASA network.

https://news.ycombinator.com/item?id=20264774
CMU and Google XLNet Tops Bert; Achieves SOTA Results on 18 NLP Tasks
Finds the Right TypeScript Type Definition on GitHub or NPM
Democrats with higher education are getting worse and worse at modeling Republicans. I think that means that, in higher education, Republicans get exposed to real Democrats, and Democrats get exposed to a caricature of Republicans.
Improving Performance with Batching Client GraphQL Queries
You should post this on reddit too; it'd get more upvotes.

In all seriousness though, this isn't a helpful comment. The comment you're replying to makes it abundantly clear that Project Veritas should be taken with a yuge grain of salt. An explanation of your own position is a much better discussion that mocking the position with which you disagree.
> If it becomes the new normal and we also become fond of aircon, that's a pretty grim outlook for our energy needs

Hot summers probably come with milder winters, which will mean total savings in energy use. The savings in heating will be larger that the increased energy use in summertime air conditioning.

Also in the US, the most northern states use more energy in year round heating+cooling, than the southern states.
Doesn't look like selling software components to me.
Go doesn't follow "you pay for what you use" model.

It's not "you" in the traditional formulation. It's "CPU." You, the programmers, often have to pay continuously for "you pay for what you use."
'It was not a good movie.'

I personally would love to know more about the original story!
I use Raspberry Pi 2 to synchronize files across my ubuntu/macos/windows machines, backup them into the encrypted backup and then upload that backup offsite.

I use syncthing to synchronize files. It's fast, stable, cost me nothing and the only limit I have is the size of my disks.

Syncthing is decentralized, that means that two machines have to be powered on at the same time to be able to perform sync. Raspberry Pi allows me to have that always-on machine at home which is small, quiet and unnoticeable in my electricity bill. Syncthing works across internet bypassing NAT thanks to the community-ran relays (I also run one of them). I could take my laptop everywhere and file changes will still reach my Raspberry Pi.

I hook up an external Seagate USB HDD and it runs just fine without an extra power source. Syncthing keeps up-to-date copy of all my files on that external HDD.

I use borg-backup to take hourly snapshots of my files. Those snapshots are encrypted and I upload them offsite without any worries that some cloud provider could possibly read them. I use rclone for that, it can interface with a number of cloud providers out there. It just take your files and one-way sync them into the cloud.

The setup of rclone and borg-backup is not particularly complicated but still requires some time. Directories, encryption keys, periodic jobs have to be configured. I abstracted all that into one script which is a bit opinionated but works for me. That script can be run on Linux on on MacOS. I used my Mac for that before Raspberry Pi. It uses system or launchd to run periodic jobs https://github.com/senotrusov/backup-script

I installed Ubuntu server on that Raspberry Pi to have familiar environment.

Sadly Raspberry Pi lacks secure boot and have no internal TPM functionality. My external HDD is encrypted but I can't trust Raspberry Pi to hold the encryption key. In rare event of reboot I have to ssh in and manually enter the LUKS key.

This setup is still prone to an evil maid attack as someone could replace or modify the SD card to log that key. That scenario is highly unlikely as I am no particular interest to anyone. What is slightly more realistic is that someone could brake into my house to steal stuff. For that my data is secure as the key is lost the moment you power off the Raspberry Pi.

Overall I'm pretty happy with that setup. My Raspberry Pi slowly blinks with it onboard red LED to indicate that all that services run well and alarms me with fast blinks if something is not right.
> if everyone is dodging paying taxes using some loopholes I feel cheated and an idiotic if I do not use the same loopholes.

Yep, which is why income tax is stupid. You SHOULD use all legal means to pay as little tax a possible.

A VAT tax would be the smart thing to do and would make it impossible for billion dollar corps. and billionaires to evade. That is how you fairly make sure everyone is contributing, not an income tax.
Smart dashboard for TVs
Bullshit
The researcher has no idea of science
Full of bullshit
I run my new daily newsletter (btvdaily.com) from a Raspberry Pi 3. It generates the content and mails it out each morning (via Mailchimp) from my house. The website is not hosted on it though.

It also runs a Twitter bot I made that takes a picture of my backyard each morning (@walkburlington).
> At those figures, it would add about a third to my (UK) house's electricity bill.

If you lived somewhere where you needed that much cooling you wouldn't have a heating bill, though.
It's entirely possible you're both right -- different compilers and different environments will produce different results.

So instead of arguing back and forth, it would be more helpful for others reading your comments if you provided full information about the conditions under which those sizes were achieved.
Any word if amateur radio operators are being put into service for this?
the smaller the prefix I announce the more it gets spread. i.e. if I would announce the whole range via /32 it would probably go trough and all sites would be down.
BUT under normal circumstances an upstream provider would filter it since it's sloppy to not do it.
Historically, that has been the modus operandi since, at least, the Truman Doctrine.
I think there is a wider issue. Go simply does not provide a way to restrict the state of public struct fields.

Enforcing the initialization of all fields achieves relatively little given that public fields could easily be modified elsewhere. Requiring initialization to anything more specific than an automatic zero value is only useful in languages that have read-only fields.

So the only way to handle this in Go is to make struct fields private or accept that all combinations of public field values are valid (including the zero value) and deal with it at the point of use (or rather at all points of use).
I am not sure about your specific use case but it owuld be hard to imagine that graceful reconnect on websocket + a more traditional deploy would not be much more effective resourcing vs that hurdles you have to go through to properly appup. Is it really an advantage to you or has it slowed your ability to get to market for something that seems like it "should" be an advantage.

Its not like you don't need graceful reconnect handling logic for the websockets anyways -- net-splits and endpoint failures are a thing.
You make a very valid point. I was in Central and Eastern Europe during the 2010 heat wave [0]. The combination of Soviet style blocks of flats [1], [2] and no air conditioning was pretty unpleasant to say the least. Eldery people living alone were particularly susceptible to the effects of heat.

[0] https://en.wikipedia.org/wiki/2010_Northern_Hemisphere_heat_...

[1] https://en.wikipedia.org/wiki/Panel%C3%A1k

[2] https://en.wikipedia.org/wiki/Systematization_(Romania)
Agree with this sentiment. This machine gets a lot of internet hype. I thought I would buy one but then I got a a Breville Bambino and grinder for half the cost of the Silvia and it takes up half the space and looks nicer. Couldn't be happier.
I had a Neo Freerunner (2008ish time frame). So many SD card vendors ship (or shipped, then) bad/broken/out of spec SD cards whose controllers just barely work on Windows, Linux distros' drivers didn't work around the quirks, and probably the Freerunner SD port wasn't that great electrically. End result 8 out of 10 SD cards wouldn't work at all and one of the remaining two would fail silently later. I have still have a little box full of microSD cards.
If you mean the Pijnacker fire... during that, I got zero messages, my wife got one (we were both at home).

I guess the delivery system is just totally fucked, and the spammyness wasn't deliberate
Does it record on the blockchain who took the last cup of coffee and didn't make more?

Everyone in every office would pay good money for that.
James O’Keefe’s Project Veritas should never ever be trusted. They’ve been caught so many times now lying and spreading fake news that I have no doubt that you are intentionally spreading lies.
The best use I have so far is for a local TV station have the Pi using a LAMP stack to:

a) a Pubic Service Announcement slideshow it autoboots into chrome and hooks in composite NTSC. Can be remotely managed, etc.

b) It also serves the station's website which previews the slideshow in a frame, or has a page showing all the slides.

Experience: very resilient just cycle power when problems... but learned the SD card is way too sensitive for power cycling - so now has an external HDD for better recovery.

Plan to work on one for data collection/receipt for a local recycler, that one will likely use Python with a touchscreen to collect signatures.

This is a big disruption to the POS/terminal market as it gives a very powerful/flexible platform that can be developed/deployed inexpensively, and parts can be sourced easily when HW problems occur.
11% were less than one year.
Bullshit
The researcher has no idea of science
He needs to study from primary school again, if he has studied before
Full of bullshit
> 3. Custom NYC subway dashboard, showing me estimated train arrivals for trains at the 2 closest stations.

A friend of mine is a big Mets fan with a home bar; I helped him build a sign that showed the countdown clock for the Willets Point subway stop for that room, which went nicely with the beer signs and other sports memorabilia he & his dad had been collecting for decades.

I also built a FE that scrapes bus/train/light rail arrival data from NJTransit's website (they don't have an API, but they provide some JSON in their web app responses).
I run a print server on one of mine, and shairport for AirPlay compatibility
也就是中国人能这么善良了，理解你有文化差异，还给你发邮件，你倒好，不管中国人民有没有文化差异，得出这么个结论？还他妈civic honesty？一副西方中心主义和种族主义的嘴脸，拜托小王子小公主们收了神通，好好学点文化，别丢人现眼了。这文章是一坨屎。I notice there were still some Chinese people kindly took your culture in consideration and actively sent mails. Sadly you guys ignored the cultural difference and made such a conclusion. I feel nothing but arrogance from Western centralists, or maybe even racists.
Shame on you. Shame on Science.
恶毒的话我就不说了
Not just hardware but also just using less adblue fluid.

That seems even crazier on the surface. Let’s kill a few people so our users don’t have to refill a tank as often.
With all this effort, cash seems much easier option.
Sure !
https://parklink.asia/
https://rebadge.eu/

We've got a custom PCB which controls the touchscreen and prehipherals (LF and HF RFID readers), placed in a custom, tough ABS case (locksmiths are full of metal filings, which don't play nicely with electronics...)
The average temperature in Europa is -260F / -160C so it's not surprising you wouldn't need AC there.
All four of mine sit on a box of wires and parts, waiting to be used. Have for some time now.