skysight-inc/HackerNews huggingface dataset:
There are units that come with compressors pre-charged with an amount of refrigerant for the units and a lineset length of between X and Y. You can also buy linesets of different lengths that have all the ends pre-fabricated.

After installing everything, you open two valves on the compressor unit to flood the lineset and evaporator with the refrigerant. It's not perfect [the lines are likely to have some water vapor in them], but it works. (The manufacturers also charge a premium for these "DIY" versions, so if you can find a way to do the traditional charging, you can save some money [or apply that towards an HVAC tech to come out, do a quick vac the lines/leak test/charge].
Compilers started to generate surprising code more regularly. Here's an example of a function taking void* parameters, that are cast to uint64_t* and then used. Upto gcc 6.3, you get a "sensible" result. After gcc 7, with -O2, you get a surprising result. https://godbolt.org/z/ugSDmr

If you get Godbolt to run the program and show the output, you'll see it change with GCC version.

Obviously what is "sensible" and what is "surprising" is subjective.
New Story Charity (YC S15) Is Hiring a Brand Designer
This is nothing special, it's commonly used e.g. with GraphQL (the `gql` tag).
It seems you cannot load relationships for a collection of entities easily without N+1 queries, unless I'm missing something. Based on the many-to-many section of the docs (https://github.com/Seb-C/kiss-orm#many-to-many), I would have to load relationships for each entity separately, and then if they have further nested relationships, run a query for each again. The subsequent section also mentions eager loading is not supported.

For me, being able to load relationships (and especially nested relationships) with little boilerplate and few queries is probably the most useful feature in an ORM (usually explicitly eager-loaded), so I'm sad to see it's not supported.
Like are those wall color piping on the left side. The mini split ACs in japan come with precharged outdoor unit which has valves closed so the installers route lines from indoor to outdoor unit (using already packed with insulation lines). The connections are made using flare connectors. After all connected they use vacuum pump to evacuate air from lines and then opened up lines that's basically all in the installation.
The new title implies "Pasco" is the name of a statewide system, rather than the county where a system has been deployed.
> There are some hooks that I have written that I hope I (or anyone else) don't ever have to touch.

If you need to make such statements something is very wrong. Either your code or with the design patterns you're forced into by your framework/library
The Log Collectors Benchmarking 2020
We investigated using Prisma v2 as a way of auto-creating a GraphQL API that directly interfaces with a PostgreSQL database, but we immediately pivoted to other solutions as soon as we discovered that the Prisma Client is really spinning up a behind-the-scenes GraphQL rust server itself to access the db. The performance of fetching a mildly complicated query (3 joins) ended up being more than three times slower than Hasura or PostGraphile.

For the life of me, I couldn't figure out why it's desirable to have an intermediary GraphQL server issuing database requests. Is that something you have also discovered while using Prisma?
Python, Microsoft's latest beginners course looks at developing for NASA
Also install microsoft visual c++ build tools which is like 1.2GB :(
And he published none of it. He gave it to a few trusted journalists exactly to have them sort out what was not deemed in the public interest.
>I try to be more aware of it now, and tone down my statements or be more precise on the extent of my criticism, when in the expert side.

Who cares. I don't think n00bs are taking what you say and running with it without understanding it. It's not like they're going to quote something they don't understand. The hatred for OOP is from a genuine belief that they understand the concepts (and so is the love.) If anything what you say could only change the direction of what they choose to learn. I doubt they'll quote or promote anything they don't fully understand.

>An expert in PL theory is not an expert at writing programs or at engineering business solutions that leverage the known science of computers.

Nobody is an expert at this because there's no formal theory behind "business solutions" It's all people making shit up and walking in circles. Is your arbitrary solution the best? Is someone else's better? Maybe your solution is just mediocre how do we rate any of this what exactly is a "good business solution?" This whole field is largely an art.

So when a field is an art you get people liking terrible drawings done by a three year old, take a look:

https://i.pinimg.com/236x/5f/c9/4f/5fc94f54df98d50bfae9b1807...

Wait I lied it's Pablo Picasso. This work is the work of a genius according to most people. But you can definitely see why from other angles it's considered pure crap. Is this guy an expert or is he on drugs? Maybe both, nobody knows... same with business solution architects.

Because nobody can formally define "good business solutions" most of these "business solutions" including OOP is just like that piece of art above. It's all opinion and people making shit up.

So just discount it all. Modern art to me is a form of fraud. And so is a business solution architect or an OOP architect. Follow the science, follow what's definitive.
A C header can contain function definitions, though - either using the inline keyword (since C99) or as macros. Moving all functionality behind a function call barrier may not give satisfactory performance.
A letter to X3J11 from some chap named Dennis Ritchie.
I have an OG account that's my first_name.last_name and I keep getting all kinds of other people's stuff.

Apparently, one of them is a doctor with a caribbean bank account. I was getting monthly balance updates for years.

I get confirmations of automobile service appointments and a bunch of other things.

Once, I even got an email from someone saying "This is MY name."

Occasionally, I get alerts on my phone that someone tried a password recovery. I gleefully decline and go about my day.

My name is neither common nor uncommon but I'm glad I got here first.
Cops are humans, yet as a human being, how in the world does any of this stuff seem like a good idea? How jaded have you become in the world where this kind of behavior seems acceptable?
Same here it's sad but I don't know a single person who would pay (and oh boy donate) for such an app. They are completely unaware/blind that developers need to eat too.

It's not even about the price: 50ct would be too much.
In fact 99% of all my friends/family circle never payed for any app.
Makes sense. If I had old f you money, I'd be more concerned about preserving it for multiple generations than growing it significantly.
From what I saw, it doesn't meet c) though?

https://github.com/wireapp/wire-android/issues/1903
I was more targeting Europeans with that paragraph as I never had any issues with it in Europe (UK, Germany, Lithuania)
Free software documentation is usually pretty good, and installing SW on just about any Linux distro is very smooth. Uninstalling is just as smooth. As for the ugliness, one could also say they a given UI is "time tested" (eg Gimp, Gnumeric).

Unfortunately a number of projects feel they have to change their UI as often as commercial SW (Firefox, Evince, Ubuntu). I would certainly prefer they remain away from that temptation and remain "ugly". Some people favor efficiency above all.
Learning the language is one part, but what enables you to make an application are patterns and paradigms: inflating, mvc, mvvm, immutability, functional. These work for all languages, you learn one once, you can apply it everywhere. It just so happens that maybe every 10-20 years a paradigm replaces another. Since i started writing code in the 90s this happened maybe three times. As far as i am concerned all this ever-changing js fatigue talk is complete rubbish. Even the tooling, we're using the same tools that we used 5 years ago (Webpack, Babel, TS, React, Jest, ...). Microsoft/Apple change their platform toolkits quicker than that!

Class lifecycles being replaced by hooks is a radical but much needed change. Learning it isn't complicated and it will enable you to venture on as everything around you sheds the class based component approach. Swiftui, Vue, Svelte and ofc React are just the beginning.
I've been using syntastic [1] for this. No server needed.

[1] https://github.com/vim-syntastic/syntastic
What I am learning ... is you have a lot to learn. The relatively minor and patently obvious point that there are assholes, players, and politicians in human organizations doesn't give us that much to work with. Moreover, you have defined away most of the context by making good business equivalent to revenue. Meanwhile the interplay between revenue, profit, people has been explained into ground over the years perhaps simplest by Iacocca: There are people, profit, product. Without good people you can't get the other two.
Less strongly. But Softbank etc were also less heavy handed than an Nvidia would be...
1902 video of the Wuppertal Suspended Railway in Germany upscaled to 4K [video]
The SAT added an essay section in 2005, increasing the maximum score to 2400 from 1600.
Am era when you could download whatever software you wanted to your device without going through a draconian app store.

An era without walled gardens.

People had websites and blogs.

The technology was bolder. The algorithms used to accomplish heavy lifting were cooler.

It was the wild west and it was free and exciting.

Today we live in a plastic, enterprise, software as a service monoculture. The wild and free part died.

Maybe I'm just getting old, but I hate it.
> I don't think Svelte is that place.

How come? I'm fine working with either React or Svelte, but I prefer Svelte's simplicity and small bundle size. What would be a good React alternative that is not Svelte?
Why people of color probably shouldn’t get the new Amazon Halo
That's not how prices work. Eg. if the price of gas increases, then airline ticket prices increase. It's not that the airline companies didn't think that they could increase their prices before, it's just that the cost of providing an airline ticket changes over time, and thus so does the price.

A tax achieves a similar outcome.
Discover the role of Python in space exploration
Normally immigration is not what people are thinking of when they use the term “invasion”.
The Power of Visualization
I Don't Care About My Linux Window Manager
It's so weird. If you go to a bar with your friends you pay more for a single beer, and people spend so much time on these apps.
fwiw, the author is one of the most well known react devs in the world and definitely knows what hooks are for. he just also has empathy for how it is looking to newer devs.
Adverse Childhood Experiences Study
I'm not on Jio. I wasn't able to access a few sites today like https://hn.algolia.com/ and https://leanpub.com/ but they are working again after around 3-4pm or so
I really like clojurescript in theory, but have a dumb practical reason for not being able to use it. I do a lot of programming in common lisp, and am way too used to a lisp-2.

I literally can't write more than 100 lines of clojure without accidentally shadowing a function binding with a variable binding. I think the only way to break the habit would be to abstain from common lisp for 6 months or longer.
i had this issue but i just set the time to wait for propagation high enough to be somewhat certain and had no further issues since (its 10m i think). it does not really matter to me how long it takes as its an automated process... should be finished before expiration though ^^

having multiple nameservers is pretty standard and often mandatory requirement set by the NICs. Its just that my secondary is sometimes not fast enough to transfer the zone after a change notification which triggers this issue.

Also, retrying after an authoritative nameserver said there is defacto no record seems pretty wrong to me... i doubt they use google DNS or anything really. in order to avoid caching issues they very likely resolve names recursively without (the usual) caching
The ability to create a realistic pornographic photo using someone else's likeness has been around for a long time; why does the medium of video make things different? We've got to let go of our notion that video is reality and can't be faked. The time when that was true is definitely gone.
Given that colored pencil drawings can be photorealistic, I'm not sure a "bright line" exists. Deepfakes just make it easier to do something that has likely been done since the creation of drawing tools.
Coding
Hi
VW-backed U.S. battery maker QuantumScape to go public at $3.3B valuation
Any time your webpage hijacks scrolling to the point it needs to be stated multiple times to scroll down, something is wrong. Yes, it is a good write up, and the video provided is good corroboration. I just don't understand how something so basic like scrolling is deemed as improved by taking it over with javascript.
Future Storm
Motion music - Future Storm
Titles are mutable (and mutated), so you need to quote something that you want to comment on.

(Hello, Haskell programmers!)
> Where are the refrigerant lines, how did they run them from compressor to evaporator?

Look at this image from the blog post showing the post install view:

https://www.techprowd.com/content/images/2020/09/image-24.pn...

Notice on the left edge there is a large white "pipe" running from the evaporator unit down to a hole in the wall (the hole was already present and visible in other photos). The refrigerant lines are running inside that white cover and through that hole to the outside unit.

> I thought the biggest issue with AC self install is filling the refrigerant and sealing those lines.

As for the refrigerant fill, yes, that is the part of the work that most DIY folks will not have the equipment to perform. The evaporator and compressor units for most of these mini-split units come prefilled with refrigerant plus enough extra for X length of tubing (I forget the length X at this time). The install basically involves installing the lines, evacuating them (refrigeration grade vacuum pump needed here) and then opening the shutoff valves in the two units to release the already present refrigerant.

Since most DIY's will not have a refrigeration grade vacuum pump, and are unlikely to be able to justify the several hundred dollars for one for a one-off install, this is the point where the DIY'er would need to call a professional for the final completion of the install.
So... do pretty much exactly what ORMs with migration support already do for you?
> An advanced type system:

Not compared to Haskell.

Ada has a strong type system for an Algol-derived language, but the world has moved on without it in terms of type systems in general.
Compilers use UB for optimization, because programmers de-facto demand it.

You'd hate a compiler where this has silly overhead:

for(int i=0; i < n; i++) arr[i];

That's because 64-bit addressing modes don't overflow the same way as signed 32-bit ints. But signed overflow being UB gives compilers license to ignore the difference and generate code that makes sense.

The real problem is that C is too bare-bones and lax to be able to contain or avoid UB in day to day programs. For the aforementioned overflow gotcha, there's no way to enforce use of size_t for indexing. There's no `checked_mul(a,b)` to easily avoid signed UB. You have to make the check yourself, and if you're not careful, that check will be UB too. malloc() makes you multiply numbers often, exactly where it's dangerous. And on top of that implicit integer conversions can make unsigned arithmetic surprisingly signed.
Worldwide broadband speed league 2020
It did these things years before Riot did for starters. It does less, but well-polished IMHO.
Even with national holidays, it's still up to the company to give employees the day off.
Ask HN: What is reasonable equity for early employees?
Recently received an offer from a seed stage startup and I'll have to take a significant pay-cut(>50%) to take up the offer. Wondering if the %equity I am getting makes up for it / is standard or not. What was your early employee offer? How much of a salary sacrifice did you take? What was the situation of the company?
Just forgot to mention Ecto's "Multi API", that is worth knowing. Allows to construct a chain of operations as a data structure and to execute it later transactionally. You may even include operations that are part of transactional business logic but that do not hit the DB (like sending an email). (https://hexdocs.pm/ecto/Ecto.Multi.html#module-run)

As I understand KISS ORM's sequence function would also allow to express business logic transactionally and operations beyond the DB. Obviously the rollback would only effect the DB, but other failing operations can at least trigger the rollback, right? I think this is usefull as integration with external services (like email providers, payment APIs..) are really the source of runtime surprise that might fail a business operation and demand a DB rollback.
9th Circuit Rules Apple Owes Retail Workers for Time Spent Security Screening
I like hooks and prefer them over class components, but I think this is a problem. Almost every React developer I know has a poor understanding of how hooks work because it's so fundamentally different from what they're used to. In most simple cases (probably 90+% of the time) you can get away with a flawed understanding of hooks; it doesn't typically bite you until you get into trying to write custom hooks with complex logic and/or side effects. Dan Abramov's dissertation on useEffect is a great example of how much complexity is hidden behind what appears at first glance to be a simple function: https://overreacted.io/a-complete-guide-to-useeffect/
> ...it's far from proven that using complex systems necessarily causes the complexity of your system to balloon...

I don't know what "proven" would actually mean in this context, but there's a notion called "leaky abstraction". It bites you hard when you use a "do-everything" framework and something goes wrong.

All of sudden, the magic stops and you have to deal with a ream of obtuse stack traces, problems that completely smash your metal model of what's going on, and you end up in deep rabbit holes of stuff you don't want to get into at the worst possible time. That is a fundamental obstacle.
Computed Gotos Are Fast
Show HN: Skia-canvas, a browserless implementation of the Canvas API for Node.js
adventure game with both a GUI and a TUI.

Things like graph exploration for maps, memory management, string parsing, software design and architecture are all found in adventure games

as puzzle problems, it's worth implementing and benchmarking various tree types. Implement from scratch a bst, trie, b-tree, avl, red-black, quadtree

Sort a collection of numbers larger than the memory of your machine.
So it seems to me that there are two types of people: those who don't care if they're seen naked and those who do. Among those who don't care, this wouldn't be a problem, and for those that do, this actually works in their favor if it becomes widespread: if their personal pictures are leaked, they have perfect plausible deniability.
I would guess something akin to existing copyright/branding rules?

Something like "can an unknowing person genuinely confuse the copy with the original, and did the person who produce the copy did it to exploit such confusion".
The kinds of people who work for Pornhub aren’t going to have moral qualms about this[1] and there’s no way you can ban deep fakes as such under the First Amendment. Either there will be regulation of porn on grounds of obscenity or the current free for all will continue but there’s no way deep fakes will be banned and the rest of porn left alone.

[1] https://fightthenewdrug.org/pornhub-refused-to-remove-videos...

https://www.bbc.com/news/amp/stories-51391981
The corollary to all this. Companies with open source strategies should really consider hiring and retaining good writers alongside the core developers. This is the reason everyone thinks Dan Abramov created React, he is simply the best communicator when it comes to explaining the mental models around React development. You might have amazing technology, but if you have no one advocating it in a beautiful and powerful way, it won't matter for adoption. React is at a precipice for sure, and there are a bunch of great writers on that team, but there have been a lot of good ones that left recently as well, and that's something Facebook should strongly address.
Pure functions with clearly defined type signatures are always preferable, in my opinion, because there is far less thinking involved. Elm's vdom is done in this way, as is the vdom used in PureScript Halogen.

React is great, and groundbreaking, but with 20/20 hindsight, there are better ways.
Ah yes. Hacker News' daily reference to Alec from Technology Connections. I enjoy his orange with context.
What do you mean? Wikipedia agrees that 6 was disinformation.

https://en.m.wikipedia.org/wiki/SEAL_Team_Six
Not a stupid question! The editor/plugin manages the language server process, and starts it as necessary with whatever project config it found for the file being edited.
They might want to play down the "Swiss == secure" angle, e.g. from the About
Precision, reliability, and discretion are typical Swiss characteristics, and as a true Swiss company, Threema lives these values every day.

https://en.wikipedia.org/wiki/Crypto_AG

Personally I am happy with Riot.im/Element Matrix. Is there some feature which distinguishes Threema from it?
> Once two nodes are connected via a Tor hidden service, other p2p channels can be established and are more appropriate to transfere large files.

While maybe not in your concrete case, in general this sounds like really dangerous advice - a quick way to open up for deanomyizing attacks?

Hey node behind Tor, send me your IP by requesting this https resource outside of Tor... Etc ?
Female Torso Body Naked Candles
In japan there is also way to rent tools, next time I am doing it by myself it costed almost third AC to get 2 installed... When materials and rent didn't even cost more than 1 install cost
A lot of consumer-grade ACs use IR-based remotes which can easily be connected into whatever automation solution you have with something like a Broadlink bridge.
I was drawn to Svelte by the performance/bundle size but I fell in love with how simple it is to write components and share data between them.

Each component is just HTML/CSS/JS in a single file, sort of like Vue but cleaner.

If you're curious I recommend either the "rethinking reactivity" talk from the author: https://youtu.be/AdNJ3fydeao

or the tutorial: https://svelte.dev/tutorial/basics

Both are great!
Missing examples or clear review to support this argument
i watch the video of the first landing any time i need a boost of enthusiasm or motivation. It's just amazing.
aka multiple Bush presidents
the links to part 1[0] and part 3[2] in the text are dead (at least for me). Here they are to save other people time:

[0] https://blog.llvm.org/posts/2011-05-13-what-every-c-programm...

[1] https://blog.llvm.org/posts/2011-05-14-what-every-c-programm...

[2] https://blog.llvm.org/posts/2011-05-21-what-every-c-programm...
The answer to what is no? I don't think anyone asked you a question.

Many of the most fuel efficient vehicles are relatively cheaper than the less fuel efficient ones. For example, luxury sedans and sports cars tend to be less efficient than economy sedans, but economy sedans are (perhaps obviously from the name) cheaper. So by doing the environmentally efficient thing, you would actually be saving money, not spending more.