skysight-inc/HackerNews huggingface dataset:
There’s no limited war between China and the us
I haven’t kept up with commercial solutions. Full home automation even with the easy solutions eat up a lot of time especially with light switches. I remember only one brand that might meet the local first requirement. UI was clunky. https://hubitat.com/

Imo I’d go open source for the hub. Installing it on an older laptop shouldn’t take as much DIY

https://www.home-assistant.io/

https://www.openhab.org/

Sadly, you’re probably going to need to do some DIY if local first and air monitoring are your highest priorities

Edit: I forgot that Apple HomeKit is local first
And the next step for this tiny country might be even more interesting. I'm talking robotics developed for a better mixture of nature and farming. Think pixel farming, automated agroforestry and hydroponics. I've been fundraising in this field and some of the POC's I've been showed are really next level.
Paying for things that benefit you at the expense of others is not the hallmark of a great deed.

Crypto, after a decade of promises, remains nearly exclusively a fraud and pollution ring. Proceeds from misdeeds are not magically redeeming.

What if sex slavers donated their proceeds to sci-hub? If extortionists donated to sci-hub? If assassins donated their proceeds to sci-hub? Suddenly we should call them beneficial? "Oh, I'd love to end child sex trafficking, but did you know about the free access to journal articles?"

Fund sci-hub by mailing them rare pokemon cards instead.
A year ago when the pandemic was still front of mind for everyone? Finding a job when you are early career is almost always tough. Sure some times are tougher than others but its almost always very difficult unless you have a top degree or spent a lot of time doing interview prep.
Biologicals won't leave their solar system. The AIs that don't need biochemical metabolisms, caloric intake, gasses, gravity, etc. will.

Brains as we know it die, cannot replicate, and take years or decades to train. Hard drives can be duplicated and loaded into memory with no limit.

Biology and biological intelligence is a bootstrapping mechanism - a "hard step" [1] or two - leading up to the next stage in the evolution and proliferation of intelligence.

All of our science fiction centers on humans, because we write stories about ourselves and what we're familiar with. But that's just fantasy. The future probably looks nothing like what we portray in our films and books.

[1] https://grabbyaliens.com/paper describes hard steps well and also covers other interesting implications
This is the right answer.

Scratching my head as to why devs are buying up these new macs knowing up front that they will not work well for the job they were bought for.

Why not make it easier for yourself and have your dev machine match up with prod?
Not always, because certain operations that look trivial in TS involve more code in JS, e.g. the widespread `?.` operator. The code is usually trivial though.

It's Flow that just allows to remove any type annotations; there's no compiler, only typechecker.
Not really what you want, but the Awair Quality sensors have a local API that you can use to fetch the data (not local-first, as you asked, but it works locally and you can disable internet connection)

https://support.getawair.com/hc/en-us/articles/360049221014-...
Full calendar: https://miniature-calendar.com/

What’s the best way to regularly consume content like this?

In the last year, I became unglued from RSS, and something like Twitter is not the right medium for me. But, this is “active” art I’d like to check in on every day.
That's addressed in the article, which recommends and explains SMB too.

---

Using Samba instead of AFP (recommended in 2021)
As pointed out by many people on Reddit that Apple has effectively deprecated AFP, I would like to add this section telling you how to use Samba instead of AFP for Time Machine and file sharing.

---
Very creative project!
While private media in Germany is diverse, German public broadcast has a strong left bias. Besides surveys of people working there, there will be a lot German lefties who claim otherwise. (maybe here too?)

Shortly I dont trust German public broadcast.
Here are all the current water quality notices in Canada right now.

There are dozens of them.

http://www.watertoday.ca/textm.asp
There are a group of amino acids that the body has to get externally. There are a few veggies that do have all those amino acids, but I guess soy and peas don't
I think Ambient Weather weather stations hit all your requirements. They can log to SD card, come with a display, and expose local only network endpoints. They can also upload to various web services.
good catch that bank was a top financial asset for the cia and mi5.
At first, I was really excited, because I really wanted this pipeline to work well. I've wanted an automatic FPGA workload offloader for awhile. Then I read that their "JIT" FPGA bitstream still took 2 _hours_ to build because it still used the built-in slow-as-molasses FPGA manufacturer bitstream assemblers. That's not a timescale that really supports a real, dynamic workload, unfortunately. Still, the work is neat and gluing together these parts in a way the works is really cool - what is essentially a Graal FPGA backend is pretty neat, if unlikely to be on its own paradigm shifting. Still, maybe the existence of something like this can prod Intel into making a fast mode for the bitstream assembler.
Ok, so? That means you disagree about me on whether it's a problem, which is fine.

When I hear the word "issue", I hear something roughly similar to "problem"; it certainly has a negative connotation. Maybe I'm just wrong, maybe I'm the only person in the world who associates "issue" with something negative. And even if I'm wrong, it still has nothing to do with marketing.
The notion that a number, or hash, could be "illegal" is preposterous.
Rather than becoming complicated it much better to assume discounts are already complex. Rebates (final bill - X$) aren’t the same as exclusive discounts (X% for seniors or Y% for veterans) which are different from additive discounts ( X% + Y% = Z%) as separate from multiplicative ( (1 - X%) * (1 - Y%) = (1 - Z%)) etc.

Unfortunately, it’s really easy to assume everything is simple until the system gets complicated enough nobody understands it.
You could use source maps.

Besides, I’d imagine the deployed code would be minimized anyway regardless of whether TypeScript is used.
well written blog. thanks for sharing
> Impossible started out strongly focused on the restaurant industry, and AFAIK still doesn't even bother with supermarkets

They are now widely available in supermarkets. In my big city they are carried by all the major chains, Safeway, Walmart, Giant, Target, Harris Teeter, Wegmans and Trader Joes.
The couple of times I tried to really learn C I ran into the same problems. I started by trying to answer two questions: what are the modern features of C that I need to learn to use it, and what style/rules should I follow.

What I found is a body of several C spec updates that are each defined in reference to previous C spec updates. So I'm supposed to... ? Learn C from the 70s and then study each version update and mentally diff everything to figure out what C is now?

Then in terms of rules and style, unlike when K&R C was published, I couldn't find any authority. Actually what I see is that even programmers who have been writing C for many years frequently debate what practices are correct vs not. You can see it in this very thread. Every language has this, but I've seen it much more with C than other languages.

Actually learning the material for me is hard when I can't even get a firm handle on what it is I'm supposed to learn.
> Not everyone needs a language filled with features and abstractions to have
> fun programming.

Yes, people who need these abstractions to have fun programming are a minority.

Unfortunately, I don't get dopamine rushes ticking feature requests off. I stopped being excited about making a cube spin on the screen long ago, so it's no longer about the what but the how: I need to fix problems in creative, clever, and expressive ways.

So Hare is not for me, but it's great that it exists.
Bing and Google are about equally bad these days. For the last 10 years I have used Bing as my primary search engine just to encourage competition.

Hardly anybody else does. Back when I was into SEO spamming I found that you could rank #1 on Bing for a really hot keyword and get just a trickle of traffic.
Hey there! My co-authors and I actually wrote a book on this topic earlier this year. It walks you though setting up a weather station with Elixir and Nerves using a Raspberry Pi and the following sensors:

- VEML6030 light sensor
- BME680 environmental sensor
- SGP30 air quality sensor

After you set up the hardware side of things, you put together a very simple Elixir Phoenix REST API and persist the sensor data into Postgres (with the TimescaleDB extension).

And to wrap up the book, you learn how to create Grafana dashboards to visualize all your time-series data.

Everything is meant to be set up on your LAN and everything can be run either natively or in Docker (there is a Docker compose file in the repo).

Hope that helps!

GitHub Repo: https://github.com/akoutmos/nerves_weather_station
Book: https://pragprog.com/titles/passweather/build-a-weather-stat...
> no limited war between China and the us

“Limited” as in not seeking unconditional surrender. As long as the U.S. doesn’t threaten the CCP’s existence, limiting its aims to thwarting Xi’s policy goals, i.e. taking Taiwan, it’s irrational for Beijing to escalate to nuclear Armageddon. But Xi is a dictator, and dictators do not make for rational states, so who knows.

What is clear: a Chinese invasion of Taiwan would meet with an American and allied military response. And the decisions around what that response looks like (or if it happens) would give zero weight to whether China says it’s in a pandemic.
Awair recently deprecated some of their devices making them into bricks instead of allowing them to continue working locally. I'd stay away.

https://old.reddit.com/r/Awair/comments/y7i5ku/awair_discont...
98% of typescript compilation is just dropping the type annotations; Babel for example outputs TS almost exactly as written. There’s no voodoo compiler passes going on unless you add them on top of Typescript. There’s no practical performance difference from JSDOC comments unless you’re using tsc to target ES5 or below; and in that case vanilla ES2020 would need a similar amount of Babel shenanigans to downlevel iteration.
> for most people you only need to find one job for your job search to be over.

This is interesting as it relates to price rather than ability to find a job. Things would have to change dramatically to reach a point where someone won't pay you minimum wage to do tech work, but as difficulty in fulfilling positions declines the need to pay extraordinary and increasing salaries will decline in kind. This does give a good idea about what's ahead for compensation adjustments. The double digit percentage pay bumps people were taking advantage of over the last couple of years is no doubt over (for now).
Your Twitter feed is dependent on who you follow. Why follow people who abuse and troll?
Julian Assange was not indicted for publishing. The criminal charges are for conspiring to illegally obtain classified information. If someone had merely given him a package of classified documents and he published them then he wouldn't have been charged, but allegedly he was an active participant in stealing the information.

https://www.justice.gov/opa/pr/wikileaks-founder-charged-sup...

One could argue that he performed a service by exposing information of critical public interest but the law contains no exceptions for that. At this point his only path out of legal jeopardy is a presidential pardon.
This must vary by industry. I just left one big bank to go work for another one. Both are hiring like mad, both junior and senior roles. Both actually have pretty amazing internship programs and at least one has an incredible program for veterans.
Crypto Lender BlockFi Files for Bankruptcy as FTX Fallout Spreads
Source maps allow you to read your code exactly as it was written
I would say that FAANG is not part of HN Who is hiring at all.

It seems to be almost 100% small and medium tech startups.
That is not an infinite loop, it has an exit condition on i > n.

An infinite loop is not UB. It is well defined. Just the definition of a terminating loop is a bit funny.

> An iteration statement whose controlling expression is not a constant expression, that performs no input/output operations, does not access volatile objects, and performs no synchronization or atomic operations in its body, controlling expression, or (in the case of a for statement) its expression, may be assumed by the implementation to terminate.

Plus:

> An omitted controlling expression is replaced by a nonzero constant, which is a constant expression.

The compiler may only use as-if rule here if it can deduce the value is constant or limited. It can (but does not have to) assume the loop will end due to the conditional and lack of the other features. Which is still defined behavior. (since C11 at least, probably earlier)
The "beneficial" property you're referring to is "can be easily used to fund criminal behavior", which is typically not a desirable feature in a payment system.

Many people believe LibGen/Sci-Hub are good forms of breaking the law - but if that is the case the solution is "make the things they do legal" rather than "make it easier to send criminals money over the internet".
I think your questions at the end are super important ones, and it's frustrating that they are far less commonly discussed; presumably because it's very easy for a person to be called sexist by even bringing up the idea.

> How much of it is due to the professions each gender gravitates toward

I think it is even more interesting and complicated than that, too. Assuming that "women tend to more commonly take roles that pay less", you can ask the followup question of whether those roles pay less _because_ women traditionally fill them. Is cause and effect one way, the other way, or both ways?

Overall, it is a REALLY interesting topic. It is also, however, one where it's very easy to start out having an innocent conversation and accidentally turn out being considered "the bad guy". So it's a hard conversation to have widely.
> I would contend that removing checks is also unreasonable.

Yeah, but removing a null check after a dereference has a solid rationale, so it’s very different from GCC taking it upon itself to format your drive.
No, Julia is not 34B times faster than Python
I've seen most are at a lose.
Drugs, other illegal things, huge gigantic speculation opportunity.

The things primarily responsible for the 'success' of crypto.

As soon as the countries start to catch up and create laws,.crypto will look like any other currency.

I personally used crypto for drugs. I personally don't have and haven't had any other use case than that and I'm not aware of any other real use case which is solved better with crypto than with what we have.

I'm actually more negative affected by crypto due to GPU prices and additional CO2 consumption.
I bought the Aranet4 a while ago, and that seems to meet all your requirements. Keeps measurement history local, but can be paired via Bluetooth (with a pairing code) through their (somewhat flaky) app or open source options. Has a hardware switch to disable Bluetooth. Good quality sensor. Very good battery live due to e-ink screen. Looks pretty neat as well. Quite expensive though, but almost every quality sensor is.
Thanks!

Some years ago, I built a sensor kit for a similar project (Luftdaten), but IIRC, the measurement quality of the hardware was... questionable (it did led me to discover that ultrasonic air purifiers will disperse as particulates anything and everything that's dissolved in the water you feed them, though).

At this point, my area is somewhat saturated with (cloud-connected, proprietary, with penalties for opening up) air quality sensors leased by a local startup - I have access to more outside-air data than I need right now. I'm looking for setup optimized for indoor air in various rooms - so even public clouds are kind of a mismatch here: I don't want to publish this data, and it would only make their aggregate results less accurate.
China owns Apple.
the standard does not distinguish the linker from the compiler.
This is correct.

Further, I don't know what it has to do with race - all humans respond to low calorie diets in the same way. There is the case of lactic intolerance due to loss of a particular gene. I'm not aware of any similar gene being involved in insulin intolerance.
One potential issue would be that the compiler is free to assume any type with the name `foobar_t` is _the_ `foobar_t` from the standard (if one is added), it doesn't matter where that definition comes from. It may then make incorrect assumptions or optimizations based on specific logic about that type which end up breaking your code.
Ah, that was one of my less considered additions - thank you for the feedback!
> I really liked Rexx (IBM’s scripting language which they brought into OS/2, but is now pretty much dead)

I’m not sure if it is the same, but back in my Amiga-days we had Arexx which I thought was an amazing tool to do tool-automation.

To this day I haven’t seen anything quite like it. The closest is P to ably Windows and COM, but nobody likes that ;)
Autism and exceptional cognitive ability is associated with suicidal ideation
New Symbol of Protest in China Roils Censors: Blank White Papers
Definitely helps with having the confidence to pick something back up and start working on it again without worrying about breaking stuff.
https://smartyoutubetv.github.io/
Since OP mentioned not wanting to DIY, if people are looking for weather system with incredibly rich API and no moving parts (no Raspberry PIs either), this system is fantastic for people without workshop build time:

https://weatherflow.com/tempest-weather-system/
Sounds like you were early and should give it another try!
Berlin artist transforms waste plastic into an inflatable isolation chamber
I have very often seen prototype code crafted in a REPL, not in an IDE. That's where the fluidity comes in handy.

Type-level refactoring tools don't seem to be very powerful at the moment, too; without them, you can end up with some legwork when you change a design decision (a frequent thing while prototyping), even if you carefully aliased every type (which is legwork in its own right, because trivial cases like 2-tuples are plentiful).

Fortunately, TS allows you to gradually type your code, and rely on inference in many cases (not as much as Haskell, but still).
Show HN: 2d heat equation simulation, reactivity with Svelte
Just something I made to try out svelte
The case of the application that used thread local storage it never allocated
But all of the useful bits that I would want to navigate to directly a month from now are subheadings under those top-level headings. The TOC should contain all relevant subheadings, not just the top-level headings
Here are some more recent generated images, more or less indistinguishable from real fashion photography. Can you not see the value?

https://twitter.com/rainisto/status/1597206841813274626?t=7B...
I met a dying person today – this is what he told me
Blank paper becomes the symbol of rare demonstrations
You could put together a strong argument that Dreamcast had a similar level of originality too. Jet Set Radio, Crazy Taxi, Powerstone, Samba Di Amigo, Seaman, Shenmue were all games that were risk taking because they didn't have much of a template to build from.
> (In fact, most studies focus on recreational users who are using near-clinical levels, which is an order of magnitude more than the typical recreational dose, and doing so with regularity).

Is that so? For ambien it's the opposite, usually the recreational dosage can be a lot higher for some users than a clinical dosage (5 or 10mg)
Yeah, I never said it couldn't, I said the more helpful thing to say is that UB can cause what looks like dead code to not be dead. If that dead code includes, an rm -rf, or, say, a function to enable/disable arbitrary pins on your chip, then yes, that dead code might be called, and with undefined parameters too. But saying UB will wipe your drive is just misleading and almost wrong.
Nice. Some of the links in the table of contents don't work: Format, Program, Partner Conferences. The URI fragments don't match the section IDs.
I'm a strong advocate (after migration between various cloud CI providers free tiers when I worked in academia) of making your build process as agnostic as possible to the CI provider. That generally means putting things into shell scripts and calling them, which can be a bit painful, and you'll never get 100% there, but it also has the added benefit of being able to debug things locally too if something goes wrong with the pipeline.

The first time I used GH Actions I thought there was a strong vendor lock-in element to it which I wasn't hugely comfortable with. I'm a big fan of using GitLab CI these days which seems to be a good trade off between various considerations.
As someone who doesn't do this as much as I should, I agree.

On projects that are well covered with tests, I find I'm less afraid to pick it back up again and start working on it, because I know there is less chance of some missing context I had in my head months ago and now is forgotten and my change will break the app.

Most of my small projects have automated deploys using ansible, not because I couldn't do the deploy manually (in most cases it's ssh to the server, git pull, run migrations, collect static, restart the server), but because with ansible I don't need to remember the manual steps.

I am sorely lacking in the documentation area tho :-) Your post prompted me to try to improve there, as I can definitely see the benefit.
I thought it was from Peopleware. They claimed they found the result by performing coding wargames among professional programmers in the 80s.

They claim that the best are 10x better than the worst but only 2.5x better than the median. Additionally programmers from the same organizations had very similar performance. I.e. there probably isn't a 10x difference in performance within your company.

The book claims similar distributions when you measure many kinds of human performance, so I wouldn't be surprised if there were many studies that replicated the general idea.
Do you have any resources that make PowerShell intuitive?

I've been using bash for ages but PS looks like a verbose, wildly disorganized language, possibly optimized for Windows idiosyncrasies. I have difficulties remembering just the syntax for getting the list of environment variables.

> what other languages I might enjoy solving problems in

Clojure - as intro I had "The Joy of Clojure" by Michael Fogus
the 24h gif from the thermal camera is funny

https://www.usgs.gov/media/images/last-24-hours-live-panoram...

just see how the temperature legend changes all of a sudden when the lava appears
EDIT:spelling
>I live in Virginia which the article mistakenly claims to have legalized jaywalking. Jaywalking is still a crime in Virginia but is now only chargeable as a secondary offense.

That sounds perfectly fine. Do it right, all is well. Do it wrong and cause problems you pay up for the problem you caused and for trying to pull a move your were not competent enough to pull off (jaywalking, in this case)

More road rules should be like that.
Supercomputer status was attributed to The Cell processor and the PS3.