skysight-inc/HackerNews huggingface dataset:
Your reply makes it sound like you missed the tone and context of the post. Light-hearted and intended to poke a few sacred cows...

But also you seem to be denying two important possibilities: 1. Something can be both flippant and insightful. 2. A "couple of sentences" is sometimes all that is needed to trigger a light-bulb moment in someone else's head.

We're not writing legal treatices here. We're trying to transfer insight from one conscious brain to another using an imperfect medium.
Non-English editions of Wikipedia have a misinformation problem
The author mentions in the post, and I think I agree, that Liskov substitution is the most "principle-like" of the principles in that it's pretty much always applicable. If the child object can't be substituted for he parent object, then you haven't really extended it, you've just made another unrelated class that happens to share some code. Inheritance is probably the wrong pattern here, and if you call what you've done inheritance you're going to confuse the person who next touches this code.
I think so. When typing checking a project, its dependencies don't get type checked as well as far as I know. Type errors in dependencies are kind of not relevant for you, and many dependencies are not type-annotated anyway.
I was really hoping this would be a "bring your own pi" solution rather than a build in one. If it were BYOP then it'd be great for portable devices like field readings (hydroponic nutrient readings around the greenhouse, wilderness env readings, etc) or taking retropi gaming on the go. I feel like having it built in dampens that portability aspect, especially since RPIs are often reused for various projects.
This was a great post and I remember reading it back when patio11 first shared it. It was genuinely helpful.

There's so much to be said for just keeping up a minimum level of output every single day (or week, in this case).
well, it's still better than buying stuff from Chinese company if you are trying to "de-chinaze". Also, I don't think you have any other option. ah, aren't samsung phones made in South Korea? so you do have alternatives.
Or at least bike helmets all the time. Lots of people get seriously injured or killed because of falling and hitting their head.

I expect mask wearing will be more common in cultures where it was almost unheard of like western Europe and the US. But even in a country like Japan where it wasn't unusual, it certainly wasn't anything like the norm.
Sinequal, a space to promote local artisans
I'm not convinced this will be as big of a problem for national security as suggested. Pornographic images can't be broadcast and can't be shared on Facebook. Twitter can already label deep fakes iirc.

The focus on women politicians is a but off too to my mind, a deep fake of a male politician performing some kind of taboo or salacious that could also be damaging.
I agree but consider that Homer, one of the greatest storytellers of all time, was most likely illiterate. I've also met people who are outstanding at computer science but struggle with coding. I just think they're different skills and the people who can do both know how smart and important they are. It's sometimes a source of discouragement when the aim is to teach coding as a form of literacy. I read a story once where this company a few decades ago tricked a group of secretaries into learning to code LISP because they didn't tell these women that what they were doing was programming. Similar to the airline ticket salespeople who used to do things like edit raw memory in their sabre terminals, which is something most programmers today would believe they're not smart enough to do. It's amazing how clever people are at figuring things out if we avoid thinking about technology labor with the classic division of labor assembly line model.
Oh my gosh. I've spent hours looking for something like this, and was never able to find one. Unfortunately they're out of stock right now, but I'll be ordering one as soon as I can. Thanks!
"I'm from mainland Europe and have been living in the UK for more than a decade: bundling up all European countries under one 'Europe' umbrella isn't helping"

Sure, Im not implying that Europe is homogenous, just that there are certain areas (eg WFH policies) where UK is an outlier. To this extent you can draw very general distinctions. Similarly you could draw distinctions between France or Italy vs the rest of Europe. Every country has its outlying traits.
All the best with your endeavor, If it works out consider an external E-ink display for the next project as there's a needgap[1] for it.

[1] https://needgap.com/problems/43-affordable-e-ink-large-exter... (Disclaimer : It's my platform).
My god what awful clickbait
Just think of how many lives will be saved if people never leave their homes.
> With SOLID the lack of precision renders the whole exercise rather pointless.

If your assumption is that design guidelines can have mathematical precision, then you're going to be perpetually disappointed.

> Instead we argue over what constitutes a single responsibility.

I'm sorry that you can't reach consensus. but IMHO, the false idea that there is a single, mathematically correct answer (and if people differ, therefor someone must be be Wrong, capital W) is often part of the problem, of what stops an agreement on how to move forward pragmatically being reached.
People have already pointed out using pure functions for the heavy lifting and then making the IO as simple as possible, but another issue is tooling. If you have something like Standard ML's module system or COM style components, you define a functor/interface/contract that your code depends on, and then implement a test form and a production form.

This is basically what dependency injection is doing, but working around the fact that modular programming didn't really catch on.
Brookings concluded largely the same thing: https://www.brookings.edu/blog/up-front/2019/04/30/a-better-...

> If that were the whole story behind the student debt crisis, then yes, there would be a good case for scrapping the system, forgiving loans, and starting from scratch as Senator Warren proposed. But it’s not. Most borrowers use the loan program responsibly to finance high-value investments. Among students in 2009 who had started college six years earlier, 44 percent hadn’t borrowed at all and another 25 percent had borrowed less than $10,000. Just 2 percent had borrowed more than $50,000.

That document proposes:

> The simple, obvious, mantra of reformers should be “don’t make loans we know borrowers would suffer to repay.” In practice, that means reversing many of the unwarranted changes of the last two decades: Reinvigorate and strengthen the accountability system and apply it to all borrowers. Restore loan caps for graduate students and parents. Allow private loans to be discharged in bankruptcy. Apply an ability-to-pay standard for parent loans (or get rid of them entirely) and make up the difference for low-income students with grants and loans.

… and with new loan policies fixed, universal income-based repayment:

> The right approach implements universal and automatic income-based repayment plans for all borrowers and repairs the damage inflicted on earlier borrowers for having failed to make such plans available in the past. Under the currently-available income-based plan Revised Pay as You Earn (REPAYE), borrowers pay 10 percent of their discretionary income (income minus 150 percent of the poverty line) for 20 years (25 years if a graduate borrower). Any remaining balance is forgiven (but potentially subject to income tax).

> REPAYE should be the default repayment plan, and all borrowers should be immediately converted to this plan. (Borrowers actively making higher payments under a standard 10 year plan should be able to opt out if they want to repay their loans faster.)

More: https://www.brookings.edu/policy2020/votervital/who-owes-all..., https://www.brookings.edu/blog/up-front/2021/02/12/putting-s..., https://www.brookings.edu/blog/up-front/2019/04/24/how-progr...
That's right, more properly stated, each character represents a morpheme in Classical Chinese, with a few exceptions for bimorphemic words like 蝴蝶 which are probably of foreign origin.

There are also a few modern characters in informal use which indicate multiple syllables/morphemes like 圕 for "túshūguǎn".
The tech community constantly give their opinions as truth (the article is an example of this). I wonder if YC could be a position to do some quantitative research about what works, especially as companies evolve their codebase and if that even matters as much as we software engineers feel it should.
Safari. Everything else is just a mobileSafari wrapper, so it seems redundant using anything else unless you have all your passwords tied up in something proprietary.
I find browsers (or at least my Firefox set up) much better at not loading every single tab, at least after you start up the browser with previous tabs. If you just leave it open and keep opening tabs...yeah that adds up. Though of course there are extensions to deal with that too, auto sleeping a tab. (I had a bad experience with one such extension a long time ago, that lost a lot of tabs. aaaagh)
This response is pretty well-measured, but their closing note rubbed me the wrong way.

>If you don’t like Flatpak for personal reasons, I respect your opinion, but basing your arguments on an anonymous post that claims to have “criticized” Flatpak, but provided no statistics or evidence that vulnerabilities have been exploited inside a Flatpak package is not a reliable source of information.

Really?

You can't categorize people into "people who use flatpak" and "people who have personal reasons", it's not a very healthy way to look at software development. These concerns are entirely legitimate, and it's not like you're coming from the majority here. Flatpaks are still wildly unproven, and most of their responses were concessions surrounding the issues Flatpak has.
It's this kind of rigid adherence to bureaucracy which has no bearing on reality that drove me mad. They have absolutely zero leverage here and it's in everybody's interest to let an employee leave at that point.

Ok so I don't officially leave, but I just stop turning up for work. What are they going to do, fire me? Ça marche, adieu...
This is the best explanation I know:

http://www.loper-os.org/?p=568

In brief: in the early 1980s, home computers were designed with the primary purpose of owners programming the machines themselves. They came with BASIC interpreters and how-to-program manuals. (Examples: ZX Spectrum, Oric-1, BBC Micro.)

But in fact, what happened was that most owners just played 3rd party videogames on them, which they bought ready-made on pre-recorded media.

So late-1980s home computers mostly had much better graphics and sound for better games, and some didn't have a BASIC at all, or only limited ones (examples: Amiga, ST) and better BASICs were left to the 3rd-party market (e.g. STOS, AMOS, GFA BASIC, BlitzBASIC.)

The Mac was on the crux between these generations, with one foot on both sides. Fairly poor graphics and sound, but it did have a (limited) BASIC. It focused on delivering a radically better UI, and this briefly included a radically better end-user programming environment, HyperCard.

But that isn't where the market went, and it wasn't where Steve Jobs was so focussed, which was on the UI and improving it, not user programmability.

Cynical interpretation: making it easier for owners to write their own polished, professional-looking graphical applications would potentially reduce the lucrative aftermarket for additional applications software, so Apple killed off this line of evolution.
Assuming normal distribution, the law of large numbers kicks in at n=30.
Exhaust heat/resistive losses.
There are so many instances in code where two options are just as good as eachother by some negligible margin. The actual problem that needs solving is figuring out how to compromise and collaborate.

That's why, if I am on a team project, I much prefer working in opinionated frameworks with strong idioms. It actually doesn't matter if I think I could do it better, the framework has chosen a different way and that is fine. We all have to do it that way, and we can all compromise and collaborate. No one bickers about best, and we can get real work done.

Different when it is a project of my own, but if it requires teamwork you need a framework of collaboration as much as a framework of code.
Show HN: A Pretty Simple Object System for C
Seconded. I looked into this at the start of the Pandemic -- there are a few crap ones on Amazon. I couldn't get them to work with my phone. I'd love to just have a set of web bookmarks and be able to load those or send it a URL from my device or even a page out of Notion.

My main use case: when I'm following a recipe, my devices go to sleep in a minute or two and it's a huge pain in the ass to wake it up and type in passwords while covered in sauce or flour or raw meat or whatever. I've started printing (or writing) recipes on blank paper just so I can move them around the kitchen and not worry about things going to sleep on me.

The press would eat it up with snark (Silicon Valley invents recipe cards. ha ha ha ha ha so clever!), but I don't want a rolodex full of cardboard that I have to stick in a drawer somewhere and sort/manage.
> This is perfectly valid SQL

no, it's not. this query only runs because postgres is not compliant with SQL-99 T301. the query is unambiguously invalid under SQL-92.

> When using offensive language

fwiw I regret my tone but this article deserves to be criticized. I love and respect rdbms technology and it's exciting to see anything "SQL" in a headline on HN - but then it bums me out to see bogus terms tossed around and insane queries presented as normal. if this were some beginner blog writing about lessons learned that's one thing, but this is a professional consultancy firm writing with the air of "you can trust us, we're experts".
The scenario described in the post above on Worldbuilding Stackexchange is completely fictitious, as should be evinced by dates that are in the future (2022, 2023, 2024, etc.).

Still, I think it's an interesting question; a highly interesting thought experiment...

To recap, the question from the above post was:

>"Your task is to propose the best new consumer computer manufacturing industry you can, with all the knowledge available today, provided it does not rely on external foundries or investments of more than ten million dollars before beginning production. (You can assume several years and billions of dollars of solid R&D funding could have happened in each country between 2021 and 2025, as long as it is not invested in one place or building a specific production plant.) The technology does not have to be the same as what is in use now! If you can pull out something with microfluidics, aerographene networks, quantum computing via NMR of large organic chemicals ... etcetera ... that's much more fun! But low tech human-scale solutions are probably best for the plot."

...And with that, I leave the floor open, for the HN Community's comments!
Welp, this is why interview fizzbuzz exists, because some people think of it as "software bullshit" instead of the simplest possible program you can imagine that should come out as fast as you can type it.
« Camille Noûs » is a scientific consortium created to ...

Le 20 mars 2020 naissait Camille Noûs, incarnant la contribution de la communauté aux travaux de recherche, sous la forme d'une signature...
Not sure why the GP is being downvoted. SARS-CoV-2 will most likely become endemic.

[1] https://science.sciencemag.org/content/370/6516/527.full
Any supply chain attack can be done in ways where it's externally impossible to (automatically) differentiate a malicious change from a intentional change.

Which means BOM's are 100% guaranteed not to prevent supply chain attacks.

At best it makes them a small bit harder.

Software BOM's can have some small benefits, but preventing supply chain attacks is not one of them. And open access to source always is much more useful then just a BOM.

And like a BOM without signature isn't that much trust able (with closed source) accessible source without signing is not trusteable without reproducible builds.

Anyway signing source code isn't hard so no reasons not to do so, signing build artifacts can be harder.
> The drivers get a route of 200-ish packages and follow the step-by-step navigation Amazon's provided app tells them[0] to do. The drivers are supposed to work for up to 10 hours then bring back whatever is leftover.

I've heard that FedEx Express's system will forcibly go blank for the 30 minute mandated lunch break. Can't scan any packages, etc. Seems like something software that tells you what to do (and demands input) could also do. Might need followup effort to avoid gaming by spending some of lunch driving to the next stop, but still allowing driving to a restaurant.
Ty. I was also looking for this.
What I find mind boggling is that some creators sell 100 copies of the same jpeg
Well I will get the vaccine as soon as I can get it (which is not very soon, sadly). I'm not anti-vax, but the last few weeks the news has been all about "Don't be surprised if people still get COVID after being vaccinated". Like here: https://news.ycombinator.com/item?id=26522853

With that in mind I don't think eradication will be achievable. It only takes one person with a resistant mutation. I think we can hope to bring it under control. But not eradicate it.
Listen you anti-continentalist... :)
Also for selfish reasons. I know a 24 year old ballerina (so a professional athlete) who had it two months ago and is now at 80% lung capacity.
I've seen that recommended in several places. I think for me (author of the article) it really comes down to taking more control and not just mindlessly opening things. In the end I do keep saving these tabs, but never look at them. Then again, maybe that's enough, to just know they are there if you ever "need" them again. More likely I'll just reach for a web search though.
> There's a reason societies which switched from hieroglyphics to alphabets have higher literacy rates—the best way to promote widespread literacy is to make it easy and accessible.

Source? This seems to have a lot more to do with socio-economics and politics than linguistics.
Makes sense. I use flatpaks only very lightly, I apologize for not checking before opening my mouth :)
In politics and in tech consulting there is a lot of money and fame to be made by going to the extremes and not allowing the middle ground. I just wish people wouldn't constantly fall for this, be it in politics or in tech.

Wait another 10-20 years and FP will suffer the same fate.
That would require some type of.....menu gasp
> This is much weaker claim than your original one (~"the market values popularity over technical features") and a much less controversial one.

You keep putting different versions of words in my mouth, but I would endorse that formulation of the "original". Popularity will crush technical features in a pretty short timeframe. The technical features have an opportunity to pull people in, but it is very limited and then that version will be pushed toward 100% or 0%. It is not sustainable to split the market, unlike most markets. You can compare different markets this way, seeing if it's true or false for that market, so it's definitely not a truism.

> Again, ETH was forked off the original Ethereum chain and won (it has ~98% hashrate) so it is not necessarily a bad idea to attempt one.

It means it's a bad idea to try to split things, because even in that case splitting didn't work.

So you'd better be damn sure that a powerful majority will want your version. You can't rely on merely many people wanting it.

Also, you don't think that having it be named Ethereum is a bit of a special case?

If you fork bitcoin or ethereum, you won't be taking the name with you.
No need, I just bought it now.
I understand the sentiment behind the post, but what exactly is the author proposing? The tech is out there, most people seem aware such a thing exists and yet she wants us all to be angry at something...?

> millions of women who will reconsider whether they want to be in a public facing role at all — is an existential problem for representative democracy.

Wow, really? Seems like needless fear mongering to me
Whoops, yes
You're often reading and processing a data source that's explicitly not "well typed" (heterogenous 'columns', heterogenous deep nested json structures, null values in places where they shouldn't be, garbage rows, etc), where getting them to fit any reasonable type assertions would be a lot of work in correcting and/or filtering that data, which is something that you would write after your exploration is done.

Also, it's not uncommon to not be sure about anything in the data structure you're getting; it's so often that the schema or documentation of that data is wrong or outdated or simply missing, so understanding the properties of the data types is a key part of that exploration. You start with eyeballing the data with your code; making some assumptions, and making code to process and analyze the data that doesn't meet your type assumptions, instead of throwing a runtime error as soon as your assumptions are wrong and conflict with the data.
> You can't really believe that I'd deny that!

You didn't explicitly deny it but the previous poster raised the possibility: "picking one language may be limiting what can be expressed" (this is Sapir-Whorf). I thought you gave bildung as an example of something that cannot be expressed in English but I may have misinterpreted you.

> Of course English speakers can talk about the concept using circumlocutions or using a number of overlapping concepts.

I don't see any circumlocution here but that aside, you seem to agree that picking one language does not limit what can be expressed.

> But the concept Bildung is not central to Anglo-Saxon pedagogy or education, that's why you don't have a real word for it.

I understand there's no exact word:word translation. Anyway, I think the concept expressed in bildung is not specifically German, I think it's related to the concept of education in general, specifically to the idea of an education that produces an individual who is simultaneously part of a collective and fully himself, an integrated individual, someone who who can appear in public and take part in discourse and also contemplate on his own. That goes back to Plato and, I'm sure, earlier. Another English word we use to express this is "civics".
What does building a wall have to do with policies to prevent the spread of contagious diseases?
Jack squat.
Well old Macs with a PDS slot, the sky is the limit since it is bare CPU bus address lines configured as an expansion slot!
Go through

https://fsharpforfunandprofit.com/fppatterns/

And

https://fsharpforfunandprofit.com/posts/13-ways-of-looking-a...

I'm still learning on how to apply these ideas in my own work (which doesn't use f sharp or functional programming) but it's a rich source of ideas