skysight-inc/HackerNews huggingface dataset:
Some of our older tests at work are an absolute nightmare to deal with. We went through a phase where we basically just mocked everything non-trivial and ended up with a rewording of the code itself. Any time you make a change to that code, even if it still behaves exactly the same from a user point of view, the tests blow up into pieces and you end up having to rewrite or throw out most of them.

We moved to a behavior-focused testing style, and it has been much more robust to non-functional changes and refactorings in the code.
Everyone has a different price point. But I feel $5/m is too much for a note taking app.

For $7/m, I could get OneNote plus the entire office suite, and OneDrive.
Mars will never be able to be a "second home" for humanity: it lacks the ability to maintain an atmosphere that can support humans due to its weak magnetic field.

The bottom of the ocean would be far more habitable if we faced any type of extinction event.
What if it's a magic roundabout? [1]

[1] https://en.m.wikipedia.org/wiki/Magic_Roundabout_(Swindon)
Doesn't appear to be the case in the UK at least:

> It is illegal to circle a roundabout more than 3 times

> FALSE

> There is no evidence to support this, other than the 'careless driving' argument. You should plan before you enter a roundabout and circling more than twice could be considered as careless driving.

https://www.endsleigh.co.uk/blog/post/false-driving-myths/

See also https://www.reddit.com/r/policeuk/comments/6ouamr/how_many_t...
Live+and+Sleep+Savings+Awesome+Night+Sleep
Easily. Open source merely means that the source can be seen by anyone. It doesn't mean that readers of the source have any say in how to run the browser.
For me it's mostly driving directions, followed by reviews. OSM does that, but the interface is a bit confusing since that isn't really it's focus, and AFAIK there's nothing like their reviews (maybe an optional integration with Yelp?). And when I'm looking up directions, it seems to expect coordinates or a specific address, though usually I only have the have to name on hand, which means a separate step to look it up.

OSM has a ton of features, but the most useful ones to people who use Google Maps just aren't dead simple to use. Maybe they should make a directions-specific app. I'm not sure how good the directions are since I've only managed to use it a couple times before getting frustrated and switching back to Google Maps.
Having a robust test suite is very nice. Having an overly pedantic test suite is not. Things like getters / setters that use the same library you've used 1000 other places have no need to be tested again. Add tests for the base concepts and trust that they'll continue working based on those.
Or you can actually add the engines you use to your browser and skip the middle man.
Most managers only think short-term. In the short term it saved money. In the long term is cost Boeing their reputation.

But in the long term the MBA manager has been likely been promoted and is working elsewhere, killing another company, while his or her CV boasts of "reducing inefficiencies".
> Same goes with NewPipe - you're using YouTube without actually paying for bandwidth, storage costs or the video author.

> So you're not actually getting yourself rid of Google or tracking, you're just using their resources without paying the asking price.

I love newpipe. I block ads on my desktop, I'm not going to feel bad blocking them on my phone. Google has taken far too much from us, from me, for me to worry about their bandwidth or storage costs. Somehow I think the multinational billionaires will manage.

As for video creators (who themselves are regularly screwed over by Google) they should be supported using other channels.
Line of Business I presume
Unviable from a game-theoretic standpoint. If someone chooses to break that reciprocity, what can you do about it now that you've disarmed? Literally nothing, you are in a weaker position than before.
What if most type system security is a waste?

I don't personally believe this is the case, but I also can't tell you I know it to be false. What I do know is that types have a non-zero cost, and I think sometimes that's ignored, and only their benefits are acknowledged. But the efforts to bring types to historically dynamic languages show that not all common dynamic language idioms are amenable to reasonable type signatures. While some idioms (e.g. monkey patching) are problematic, that's not the case of all of them.
pretty much exactly the mantra of the DOJ from 2008 and fwd. Let's fine the corporations and let the bad actors go free.
The absorption and emission spectra of a material are equal, mostly. There are some exceptions and small errors, but for the most part a material that emits a specific set of wavelengths of light will absorb practically the same wavelengths.

The converse could be said that if you use the right material, it will absorb significantly less radiation from the atmosphere while emitting a similar amount.

However there are some bands with very high absorption and if you avoid emitting in that band you could possibly experience locally lower air temperatures or lower levels of a particular band. (I am only guessing that this would be a significant amount)
I think you missed the point. Whatever you call your code, monolith or microservice, it's still code and tomorrow or next year it will be legacy code. I'm not sure if the size of the codebase actually matters, developers just want to develop and will move on quickly to the next thing. It takes time and patience and persistence to maintain legacy code and the systems it's embedded in and it's far from sexy or exciting. The young dominate IT and are way more idealistic and filled with enthusiasm and new ideas than those of us who are getting on. They want to make their mark and solve the world's problems and that means more and more code! But new code! This new code will be better, you'll see.
1. Yes, love avoiding nested if-statements.

2. Yes, similar to my love my avoiding nesting, I too like avoiding indentation. Switch -> Case -> Statement+Break vs Object -> Key/Value.

3. I think this example dips a bit into the arcane. It's not that I can't read it, but you have a reduce starting with two arrays and some conditional logic. I don't often run into it, but I might try to think of where this can apply further.

4. Yes. Even though I love short concise code, I want the variables and function names to be clear to their meaning. When I read acceptable abstract code I expect the pieces to read like a set of instructions. Ideally the nicely named functions do what they say they do, and no more.

5. Hard pass. That ternary looks like a blob of characters and I have to think very hard about the logic going on. Not a... if b then a & b else a... I don't like picking on specific examples inside these kinds of posts, but on first pass:

if(!conditionA) return "Not A";
if(!conditionB) return "A";
return "A & B";

Probably give it a nice snappy function name so there isn't a bunch of conditional logic in the middle of a function, when I just want to know the state of two booleans, (with a caveat).
Laboratory of Batman. I hear his NDA is intense.
Agreed. I don't even know what the point of the article was except to define epitaph and epigram.
use GitHub gist to host a script code. Hacker news formatting doesn't do good formatting
Too many free / non-free / Linux / OSS ideologues.

Does this let users do more? Does this give users more options? This is a good, practical feature. I'm excited to, hopefully soon, fully ditch Linux on desktop for something that actually works.
I think this will benefit windows users because now they have easy access to Linux but also probably to Linux users who now can write Linux programs that can access resources on a Windows machine.

Conceptually it amounts to having England and France whose people speak their own languages and now there is an European Union language translator program that allows them to talk to each other in their own language. No?
It's easy to change my mind on this: just provide me a decision rule that'll put rural decay data points on the "failure" side of the classification boundary while leaving urban decay on the other.
Yes, one reason. The other is the board supports two m.2 slots.
It is a pretty entertaining book.
In my case it's street view. Directions I can pretty much get anywhere, but nothing beats virtually taking the drive yourself so you know what to expect when going somewhere new.

I'd love to see a competitor who could make that experience a little smoother. Navigating in streetview is more like a slide show than a drive.
> The Unix philosophy: do one thing, and do it well

You're trying to argue that there should be two distinct pieces of software, a local and a remote renderer, for simplicity.

Rendering does not fit in that space well. The physical resource of a display and graphics card really only allows one renderer to run, so it's not really useful to say "just write two renderers, one local and one remote".

The unix philosophy is not a good argument. It's a principal by which you can make decisions, but it doesn't always lead to good decisions and it's quite open to interpretation as well.
On server side we might get a decent option that comes with Go like std lib Deno.
Indoor farming has really taken off recently. Infarm, Bowery, Plenty etc have raised a lot of money this year. Hope they continue to grow. Though i am not sure how many crops can scale to indoors and at what scale
You should file an issue for the changing IP address problem. Sounds like a serious pain point.
Cool project, but I dislike the semi-arrogant tone taken by the author.

> Have you ever opened a years-old project that used the favorite Web framework-du-jour, and tried to make sense of it now? Would you be able to maintain such a piece of software?

Yes? Even if the answer were no, why would this framework be any different? The author seems to suggest that his perspective on "maintainable" is universal when it's actually just his opinion. Having strong opinions is fine, we all have opinions, but trying to play up your own framework as if it's objectively more maintainable is eye-roll worthy, especially in the context of JS land.

> Who will remember the (hypothetical) peculiarities of the willUpdate method in version 14.2.132 of framework X?

This is a banal criticism that can be applied to any piece of software that introduces breaking changes. The idea that the author will never release breaking changes is absurd, especially on the web.

> Code shouldn’t have to be completely rewritten to be compatible with the next major version of Typescene

"completely" and "compatible" are pretty vague caveats. Is it a complete rewrite if I have to rewrite 25% of code? 50%? 60%? I'm sure someone can point out an example of a framework that required "a complete rewrite" in order to be "compatible" with the next major version, but this isn't typical.

> No-nonsense object-oriented (OO), event-driven approach.

OO is nonsense (someone's opinion).

> you’ll only need external modules to import complex UI components or application behaviors that aren’t included in the framework itself.

You'll only need external modules for complex UI and behaviors that aren't included in a minimalist framework... So, just like every other framework out there.

> Most importantly, Typescene hasn’t been invented overnight, it’s not a Minimum Viable Product that introduces some clever new paradigm

What is an example of a framework that was "invented overnight" that introduces some clever new paradigm?

I'm not trying to come down on the author, and I'm not making a technical criticism of the project, but the "everyone else's shit stinks but mine smells like roses" is a turn off, for me personally.
Embrace, extend, and extinguish. Has everyone forgotten?
You can prove a merge sort correct with dependent types. However, a typed implementation of merge sort will arguably be more difficult to mold into a TimSort if it isn't dependently typed. What you say?
Absolutely the best book, everyone here should read it.
Magic is forbidden in the Quran. App building is a form of magic, it is therefore forbidden.
Comparing Integrations in the Form Market
There's a difference between tests that haven't broken because they are in stable code, and tests that haven't failed because they are testing tautologies or even just completely failing to break when the underlying code is broken.

I've lost count of how many times I've gone into an old test suite at work and found that the tests were still passing even though the code they were testing had completely changed or been removed.

Sometimes tests are written very poorly. The codebase benefits from their removal.
How do you guys have time to get any work done with all this zealotry?
Side note:

I can’t get NYT to load anymore. It’s convinced I’m in “incognito” when I most definitely am not. Same behavior in Chrome and Firefox. Has anybody else had it break on them?
Subway is just the lowest tier of sandwich shop I can think of lately. Could easily see them going the way of Quiznos and forced to restructure at some point in the future.
Is https://typescene.dev itself developed using this framework or not ?
What democratic breakdown? I'm fairly unplugged from politics, but the major things people seem to talk about
(Trump, Brexit) at least in my area seem to be deeply rooted in democracy.
> Objects also have other internal (non-space/position) related properties. For example, light has polarization.

So the angular momentum of light would be put under the same category as polarization, which is a property that a single photon can have?

Or is it a property like wavelength, momentum, frequency, intensity, etc -- a property of light that can be observed only when the light is a system of lots of photons, instead of just an individual photon?

Also, sorry if my categories are wrong. If so, I hope it doesn't take away from my main question of whether it is a property of a single photon or a property of a system of photons
A lot of C programmers build this "utils" folder that they carry around every project, I'm sure they keep refining the content of this folder through the years with things they find and adapt to their taste, or refinements of their own implementations of different algorithms and data structures.

Seems like you did something similar with regards to building web applications (5 years working on this framework). Good for you! And if you can convince others to use your stuff, all the better!

I'm trying to focus on writing my own tools too for the kinds of projects I work on, including fronted development (instead of always be trying to catch-up with the latest frameworks) [1]. Can't completely ignore the trends or fashions, though, sadly. A hard balance!

1: https://www.youtube.com/watch?v=VvOsegaN9Wk
> a mission to build the most elegant framework ever

The only elegant thing I find about this framework is that it has no deps. A TypeScript-first framework would be a plus but I find the Typed API particularly inelegant with its usage of static methods to compose the UI which is particularly non idiomatic for JavaScript.

There doesn't appear to be any live examples you can experiment with which is a notable shortcoming for a modern JS framework and the only complete stand-alone example I can find is something called "first project" that was contributed 19 days ago:

https://github.com/typescene/first-project/

The name doesn't fill me with confidence and the only example I could find has a webpack dependency which kind of throws out its "no deps" USP. I don't find anything compelling in that example that would entice me to use it over React, Vue or even just Vanilla JS - which I'd prefer to implement this particular example of which I'm not clear what value it adds that would justify adding a dependency to this JS FX.

This file is the most code I could find:

https://github.com/typescene/first-project/blob/master/src/a...

It's full of "magic string" APIs where there's no way you could intuitively guess what the values would be, e.g:

- maxWidth: "100vw"
- gravity: "center"
- revealTransition: "fade"
- borderColor: "@separator"

The benefit of using TypeScript is that all these values could be typed to assist during development and type-checked to validate any runtime errors.

Magic strings are even being used for callbacks that looks like it uses its own unknown DSL in different APIs of which is going to be unknown to anyone but the author:

- onEnterKeyPress: "addTask()"
- state: bind("object.complete")
- onClick: "+ToggleTask"
- tl("{@text/50%}${todo.nRemaining} task#{/s} remaining")
- hidden: bind("!todo.nCompleted")

The docs are particularly lacking in working examples of which the bulk looks like an API class dump which isn't a useful onboarding experience for anyone who wants to learn and use the framework.

Honestly if headline didn't say it took "5 years" to implement I would've guessed its a few months effort max - nothing like the refined, battle-tested, real-world validated framework this article proclaims it to be.
Water is a bit less forgiving than steam, it has great resistance to changes in position or velocity. I suspect that closing the generator created a water-hammer, which physically or mechanically destroyed the machine.
Brave Ads are opt in and give 70% of gross revenue to the users who opt in. Leaving this out while glossing over other browsers’ default search revenue model is doubly misleading.
What’s the dialogue?
It’s so weird I use Evernote precisely because it does not and has not ever lost any note I’ve ever written across dozens of devices over over 7 years
I enjoyed this!!
OP is almost definitely an Android developer.
Not gonna happen. They already have a unix based OS (Darwin) that supports their Arm and x86 devices.
The docs for react-testing-library look like they offer a great deal of wisdom in a tiny package. I find my React components tend to be simple enough that I'm generally far more concerned about whether the CSS works than the JS, leading me to probably keep my focus on Storybook for the moment but I suspect I'll be reaching for react-testing-library before too long. Thanks for the heads up about it.
The bottom of European ocean?
I’ve started bouldering which is rock climbing with crash mats instead of a rope. I do it indoors. I like getting an upper body workout without lifting weights.
You can push objects with light, check out https://en.wikipedia.org/wiki/Solar_sail
As far as I know (and anyone in the field please correct me), ASML focuses on photolithography equipment. Which leaves where you put it, how you feed it, and how you validate the output.

In a sense, it's kind of like a nuclear plant -- you can't not consider the site and physical structure as part of the operation.

I wouldn't be surprised if those parts are the secret sauce for a lot of cutting edge fabs. How do you isolate your space while moving materials about? What do you clean, when, and how?

We gave industrial engineers crap at my school, but for semiconductor fabrication the holistic approach seems necessary.

(Would love to hear more details from someone)
I studied under Al Aho a few semesters ago (the 'A' in AWK). I'm dipping my toes in Data Science in Python at my current internship, and while I'm seriously impressed at the bevy of NLP/Machine Learning algorithms I have at my disposal, I've come to realize that some of the stuff I'm working on can be solved by unix tools written in the 70s/80s. And that's dope.
Swiss Neutrality did not save them in WW2 either, only German strategic calculus and the idea within the German high command that a mountain campaign would be too costly in military terms. It wasn't their neutrality that saved them, it was military deterrence. Push did NOT come to shove for them.

You cannot seriously assert that if Germany beats the UK and Russia, they will decide to simply leave Switzerland alone?

https://en.wikipedia.org/wiki/Operation_Tannenbaum#Nazi_atti...
Depends how tall you are.
Japan to use Osaka G20 to tackle plastic waste problem one step at a time
Isn’t backpropagation just an efficient method for getting a gradient? It sounds like what he’s looking for an alternative to is the idea of adjusting parameters to match labeled training data.
Why couldn't the 4th physical dimension interact with our 3 spatial dimensions as something we have trouble explaining such as quanta or gravity? There is a lot our physical bodies are not even aware due of to our senses such as most of the electromagnetic spectrum and gravity.
Man, IC designers who work on state backed IC projects are given salaries significantly higher than that of designers at Intel and Apple.

Otherwise they would not have a single chance to bring in anybody of an anymuch high calibre to China
And consider this: performing OCR on product labels is nothing like performing OCR on a neatly typed A4 paper that has been scanned. It is an enormously difficult feat that probably required at least a small team to accomplish.
Never thought about this before, in theory does this bring super conductors closer to reality?
Brave Ads are opt-in, you have to click on the triangle in the right end of the url bar and enable Brave Rewards, which includes Ads. You can turn off Ads but keep Rewards on and send tokens you buy, or direct tokens we have in a granting pool, toward your favorite creators. Ads pay 70% of the gross revenue to the user who opts in, and by default these tokens flow back to your creators, anonymously. Neither Brave nor any partners see linkable automated contributions thanks to a ZKP protocol (anonize.org based). No user browsing data in the clear goes to our servers or partners’ servers (or of course on a blockchain) for any part of Brave Rewards. Which is off by default, to return to my first point. I hope you give it a try. Thanks for your support.
Well...having driver and app compatibility going back to Windows 7 in 10 is still a massive pro.

Linux's driver architecture and even app distribution is a fucking nightmare.
You’re right, of course; Subway tastes like resignation and apathy. But even the most mundane things can surprise you every once in a while.

Years ago, I walked into a random Subway, somewhere, and ordered some random sandwich. I asked for onions, olives, and yellow peppers on it. The energetic “sandwich artist” (their term, not mine) shook his head.

“No, no,” he said, with a friendly sincerity, “that’s not a good combination for this sandwich. You should go with olives, yes, but also the green peppers and spinach, with the sweet onion sauce. Much more balanced that way.”

I let him make it his way. I couldn’t even object, because I was struck speechless by this man, making probably minimum wage at the crappiest sandwich chain in America, caring so deeply about his work and my lunch. This man and his pride in his work, his determination to actually care, helped me see my own work in a new light, and honestly helped me climb out of the burnout I’d been suffering at the time.

Whatever you do, do it the best you can; thanks for the reminder, Subway dude.
> Candy Crush ad in the games tiles in the start menu doesn't bother me.

this is where we differ.
Problem with single-purchase licenses is this: what if, after the short trial period, you decide that you don't like? Or what if you find a better alternative?

With SaaS, you can simply cancel your subscription. With a single-purchase license though, it's basically money you have flushed down the drain (unless the company is really generous with their refund policy).
Regarding nested ternaries, while not recommended, short circuit evaluations may be even more readable:

return ( (cA && cB && "A & B") || (cA && "A") || (cB && "B") || "neither" );
I use it run RISC OS on the metal.
I'm joining Startup School this year; I'm building lilit.dev (Java code intelligence on your browser), and it's in private beta right now. So, great timing for me.

See you all!
Those say Intel was unfairly competing with AMD.

That's different from Intel conspiring with the Wall Street Journal to write negative (and maybe false) articles about AMD.