skysight-inc/HackerNews huggingface dataset:
Didn't find to much info on arithmetic support, although it is mentioned.

However, I hate working with dates because many APIs make question about dates a slog.

Consider the following for the poor people on the dark side of the planet (UTC + something). If any application only saves the date and not the time and you have dates like 2021-06-28T00:00:00 or something like that.

Now it gets saved in a DB as 2021-06-27Z23:00:00, because the user lives in UTC+1-land. It is correct but makes my blood boil and propably causes a lot of errors, even in apps that set their time zone correctly. How often have I seen implementations that just /(.*)T.*/ match the date and create a bug.

I have no solution for this, but I wasted too much time on problems like this. Such errors also notoriously evade unit tests...

This seems decent from a quick look. But let us be honest, it has to compete with moment.js, not with Date().
I see free range chicken breasts for way more than that. If they’re targeting the consumers who buy based on ethics, they’ve already reached a not-unreasonable price.
Interesting. I have around eight. Work laptop decryption password, Work Email, Work VPN, SSH Key Cert Password,Personal Email, HN, Reddit, bank card and then a generic password for other trash which I don't really care if gets leaked. The passwords contain special characters too.

I can recall each one with no problem, no matter how long it's been. Only one password has a close match to any of the others.
I wrote a reddit post[0] about why Oni takes so much space to build, but the TLDR is that we build a bunch of native libraries from scratch on a fresh build, namely Skia.

I would like to note that we don’t maintain/support/promote the Oni package on AUR. Builds from scratch are mostly for “trial” or contribution purposes. We do try to help with build issues in the Discord, though!

I would also disagree with the idea that a light and fast program must be easy/quick to build. C++ is notorious for having huge resource/time requirements to compile, but the end result (assuming good code) can be faster than some C code! Consequently, it takes relatively little time to spin up a node interpreter but the resulting program is orders of magnitude slower.

Oni is written in OCaml, so naturally it requires the OCaml compiler to build. Those NPM packages aren’t JS — we just leverage the existing NPM ecosystem for our native code.

We do recognize that building from scratch is not ideal, which is why we provide prebuilt binaries for purchase. I can’t give an exact timeline, but we’ve discussed publishing public trial builds probably before the end of the year, which further reduces the need to build from scratch.

Feel free to ask any other questions in the Discord!

[0] https://reddit.com/r/onivim/comments/n05pqz/_/gw8hw8p/?conte...
An autoclave requires distilled water and an enormous amount of energy to operate. You could save the water but you'd potentially need to distill it again after. They use an enormous amount of energy and water overall.

The feed for the cells still has to come from somewhere too, and the growth of the cells is aerobic and generates CO2. That said, artificial meat is supposed to hit market parity price by 2026 and probably below parity after. [1] We will probably see a rapid transition to cultured meat within a decade. There are a very large number of these companies competing right now. [2]

[1] https://www.mitsui.com/mgssi/en/report/detail/__icsFiles/afi...
[2] https://cellbasedtech.com/lab-grown-meat-companies
Only foreign scientist in Wuhan lab says Covid-19 leak highly unlikely
Lots of countries do: https://blog.telegeography.com/liberty-vs-security-the-battl...

You also have to remember carriers will track the approximate position of a phone with an anonymously-purchased SIM-card, so better not take it home.
My take in the specific case of functional programming in Java is that the language will fight you every step of the way.

Checked exceptions are decent example here. The set of checked exceptions a function might throw is part of its signature, and the built-in function types don't declare any checked exceptions.

But I've run into others. I find that Optional<T> and Java Streams have some design quirks that are mostly no big deal if you're using them in predominantly object-oriented or procedural code, but quickly become irritating if you're trying to follow a scrupulously functional idiom. And some of the design implications of how Java did generics at a language level have a way of sneak attacking you when you're trying to scrupulously follow a functional idiom. Not because of type erasure (really, Haskell is the poster child of type erasure; this definitely isn't about type erasure), but because some limitations in what kinds of generic types the language will actually allow you to express can quickly back you into mind-bending workarounds like the the curiously recurring template pattern.

THAT SAID

I'm really thinking here of functional programming in more of the ML/Haskell tradition, which is a peculiar way of doing things that does tend to lean pretty hard on the type system. If we're just talking about using higher-order functions, that's great. Higher order functions absolutely have a place in object-oriented programming. Java should have had them decades earlier than it did. The virtual machine that the JVM was largely based on was for a language that used them heavily, Strongtalk, and I'm not sure I understand why the Java team took them out. I'm sure there was some technical challenge, but I can't help but wonder if it's really because Java was born during the great "Lisp vs Everyone Else" war of the 80s and 90s, and the feature was purged for political reasons.
*Should write their own software.

Software design and implementation is FUN. Now I know not everyone agrees, but a self contained game etc (no it does not need to be reusable package that are 'useful for other people/future'!) is a very helpful experience for software implementation.

e.g. http://aperocky.com/cellular-automata/
> There seems to be no way to efficiently replay concurrent programs in a deterministic fashion

I wish there was something like Jepsen [1] broadly available to mainstream programming languages to do just that.

[1] https://jepsen.io/consistency
I'm somewhat surprised that Google doesn't track public domain works and see them as such -- it seems like a perfect honeypot to distinguish copyright trolls (or just over-aggressive studio/record-company algorithms) which they could regulate or push back against.

I.e. public domain works are a good input to their own AI -- why are they leaving that on the table?
> Two naked sunbathers were also fined for breaching coronavirus restrictions after they were startled by a deer and ran into a forest, where they became lost and had to be rescued.

This deserves its own submission!
Do you have any tips on getting real Chinese food in America. I was planning on living in Asia later this year, but it doesn't look like the pandemic will be under control by then
To echo your point which is why ECS isn’t data-oriented by default. Merely stuffing component data into flat arrays is not enough. You need as best as possible to have those arrays organised to fit access patterns. Which turns out is quite tricky. For example organising arrays by entity archetype (shape of entity from its components) or some other form of grouping.
Functools – The Power of Higher-Order Functions in Python
I disagree with that - what i’d call a plugin architecture - leads to a very nice separation of components.
More legal CYA's, more consultants, more MBAs, more rules, more legalities, more formalities, more NIMBYs, more protests, more inertia, more resistance to change / progress. Cumulatively, these result in higher cost and time budgets.
Unfpa Sierra Leone provides support to schools radio teaching programme (2020)
Yes, and in various countries universities have a solid theoretical and scholarly approach to STEM topics.

In US Engineering is framed as a very practical, "how-to" oriented, to the point that people can be surprised to learn that engineers do research and publish papers.
That's incredible - it's from five years ago. Are people still using the technique these days?
Game pass already works on Windows 10. It's not in any way a plausible Windows 11 feature.
A peer fuzzy robot trial[1], illustrating both potential and challenges.

[1] https://www.youtube.com/watch?v=pWTXk3eHkVU&t=830s
I challenge you to come up with any knowledge I can't click my way through to.
My favorite is when people claim their culture has never changed out of one side of their mouth, and then whine about the new music their kids listen to out of the other.
Roblox works on Linux as of this week, there was a post here a few days ago.
Seconded. I tried some of the consumer devices that ran over Z-Wave before OpenGarage. They worked fine but would invariably require a reset after a couple months. This meant I couldn't really rely on this and leave my keys at home. My OpenGarage unit has been super reliable for 2+ years.
I was going to say, while technically there is the risk of loosing more than your stake, practically speaking you will be margin called long before that happens.
Jambalaya.
Building a social network / support network is non-trivial even in the best of times.

It's one of the more challenging parts of life anyways as YMMV. Some people have loads of contacts and friends, others have enough with only a handful of close ties. There's no catch-all that works for everyone. And I think it's important to acknowledge that everyone has different individual needs.

Building a sturdy social network with a variety of contacts isn't something you do overnight. Rome wasn't build in a single day either. This takes time. And yet, you might surprise yourself one year from now. A lot can happen in 365 days if you decide to put your shoulders under this.

> I don't even know where to start

Group activities are a great way to meet people.

Group travel, classes / workshops, local social / cultural communities, outreach activities,... For instance, I enrolled into cooking classes for a few years, which was a great way to meet people and have great food. Many non-profit organizations do stuff like guided walks and tours, visits to venues, organise workshops and so on.

Volunteering works too. Doesn't have to be charity. Working with youths is a pretty great way to get involved in a local community. Even in your late 30s.

What worked for me in the past was just walking into a community center and striking up a conversation with people who are working there: What are they about? What do they offer? Are they doing cool stuff? If you show interest, they will pick up on that.

One challenge is to get out of your comfort zone. Try out things you haven't tried before. Like, try following a first aid, dance or yoga class if you haven't. Don't get stuck in an area related to work or older hobbies you have.

Be mindful that not all things you explore will work out for you. You might feel that some stuff just isn't for you, or that the group dynamics aren't a match. That's totally valid. It's fine to drop an activity for something else if you feel disengaged.

As for making friends: those are actually a side effect of the above.

One doesn't make friends out of the blue. You put yourself out there first, trying and exploring the world, following your own interests. And as you do so, you will hit upon people who might become friends. And in due time, some of them might even become close friends.

Personally, I'm in a similar boat as you. Intend to put myself out there over the next few months, try some new things I have on my mind, and spend less time in front of digital devices as I did in 2020.
Why does Apple make it so difficult/borderline impossible to run MacOS on non-apple computers? Would it cut into their computer sales that significantly? I would imagine most people who want (and can afford) a Mac would still buy one.
I came here to say the exact same thing, please remove this. Add zxcvbn.js to the page if you really want to do something, but telling me my 32-random-character password is "insecure" because I didn't add an exclamation mark at the end is just annoying.
Fairly easily yeah, on either hand
Anecdotal, but I recently wrote a book that had a quote from a prominent, successful person at the opening of each chapter. Part of my process was reaching out to the originators of these quotes and asking permission to include them.

The result was fascinating. With exactly one exception (from a university professor) all the people I was able to contact were incredibly gracious and encouraging. Based on that experience I now believe that to have significant success really does require a reflexive attitude of generosity and gratitude. I don't think successful people are paragons by any means, but when I compare how they responded to how the average person would respond to a stranger asking a favour, I have to say - I'd definitely trust a random billionaire over a random member of my own social class.
I suspect reality will be a lot more boring.

Animals are a low efficiency method of converting plant material into meat, both in terms of calories and protein mass input/output. So with scale, eventually lab-grown meat should become much cheaper than traditional meat. At the same time, it will be higher quality. Sterile production will eliminate E. Coli, salmonella, antibiotics... Input nutrients will be tightly controlled. Environmental pollutants and parasites will be kept out.

Traditional meat will still be available, but it will be an expensive and morally questionable luxury product, like "foie gras" today.
Same exact experience here. Now I get why people told me to avoid rolling release distros.

I used Manjaro entirely because of its i3/bspwm DE versions. Ubuntu now has a good equivalent in the form of regolith. Avoid Manjaro if you care about long term system stability
I don’t know. It sounds similar to a lot of IDEs. Produce an interface that plugins can make use of, then people can extend the system to support new languages and capabilities. Seems to work well in a lot of cases.
> The server lacked validation in this case and crashed when processing the invalid data.

As a backend dev, I'd point to this as the root cause, not the client sending invalid data.
I love this project for the simple reason that it makes me think of the possibility for large crewed long distance space flights with onboard protein producing capabilities. Would also go a long way towards making life on mars more realistic.
YouTube's system goes far beyond what is required for DMCA Safe Harbor.
The intent behind making a distinction between machine language and assembler is because one can offer a deeper understanding of what actually goes on at the lowest level of computing.

The way I would prefer to teach machine language would be to start from scratch. This means you would create and define a simple set of instructions in the context of an equally simple 4 bit processor the students would build on a breadboard out of simple chips. And, yes, the microcoded instructions would be coded by hand using a diode matrix.

I truly believe such an exercise has enough value that it should be the starting point of a real education in computer science.

From there it's on to assembler on preexisting processors.

The reason Forth follows assembler on my list is that you can easily bootstrap Forth from scratch on any processor. Building the language from scratch is, again, to repeat myself, a worthwhile exercise. You would use assembler to get started and then switch to the embryonic Forth to build upon that. At some point you write your own code editor in Forth. From there there are a number of interesting applications (PID motor controller?) that could be implemented with the language you just built from scratch.

C offers an entry point into a world of languages that look and feel like C. It provides a tool that is close to the hardware, yet high level enough to allow for much greater freedom of expression. Doing arrays in Forth is a very hands-on proposition. In C it's pretty easy.

Once you are good with C you can easily pick-up languages like Javascript and Python. Not the same thing but you "speak" the same words to the computer to achieve pretty much the same thing. A "while" loop and an "if" conditional are the same incantations.

LISP opens the mind to an entirely different paradigm. It is well worth learning. The same is the case for APL. I don't think of these languages as "career level" languages. That may have been the case ages ago. No longer the case. However, the perspective gained is invaluable. As we try to solve more and more complex problems the limiting factor might very well become our ability to express ideas for a computer to solve these problems. Having the perspective of languages such as LISP and APL makes someone realize there are other valuable approaches to solving problems computationally.

Finally, C++, well, it's the entry point into object-oriented programming.

This, BTW, was pretty much my path through computing. I can't complain.
Yep! You can find the MIT repo here: https://github.com/onivim/oni2-mit

I actually never thought of it in the context of Id Software, that’s an interesting comparison!
So junior level programmers are not allowed to upvote stuff on the front page, or?
Seems fairly straightforward to predict, since this has happened dozens of times before as technology marched on: with no more business for them, they'll go bankrupt and the workers will eventually be assimilated into other professions. Maybe there will be a small remaining industry tending to hobbyists, similar to how horse shoeing and buggy whip manufacturing are very much a niche professions these days.
Check my proof of P=NP for errors [pdf]
I prove that an NP-complete cryptocurrency is polynomial time. Comment if you did or did not found an error. No efficient algorithm found.
Residential ISDN was very rare in the US. I rented a house in the 90s with a few fellow nerds and we got ISDN in our house, but it was definitely expensive (and required a network terminal device) and you always had to be routed to a specialist at the phone company if there were any issues, since most of the support people had never heard of it.
gibberish? "JS as a language has nothing to do with browser APIs, why would you judge it based on that?"
Excuse me? That is precisely what JS is based upon.
Lemme give you a prime example:
JS = a single threaded event loop, ON PURPOSE.
That directly affected Node.js as an implementation.

Your browser has an embedded scripting engine. Embedded, meaning, the source code for your browser includes the scripting language engine, and JS can run on that and script various permitted things via the browser API.

ES6 may have been ratified six years ago, but it's not the target code your front-end build chain spits out, is it... browsers don't uniformly support it yet. fun facts.

Look, I've been programming JS since it was invented.
I'm not impressed by "classes" that don't exist, arrow functions, async/await, futures, promises, fibers, and assorted hacks that don't mirror the actual CODE (what computers execute) a JS engine actually is based upon.
I don't need these tools, why should I use something that I need to transpile when I can code directly for browsers as they are in 2021, including legacy browsers? I don't find ES6 "easier" in any way..

Regarding dynamic languages on microcontrollers:
Dynamic languages cannot directly control memory allocation and manipulation, typically are heap based and have no concept of a stack frame, and are basically just a computer program written whose corresponding code instructions (machine code) and execution path is scripted by your high-level language. Read a JS engines source code, study embedded C, and get back to me as to how suitable you find it for timing deterministic embedded programming. LOL

Types are directly related to memory size allocations.

Study the recent crop of LLVM languages, including some very interesting ones like LuaJIT, which should be right up your alley, and note the role Garbage Collection (check the Boehm implementation, for example) plays in many of the object-oriented languages, as well as Go.

Look at the actual assembler instructions you require a computer to perform as a result of your high level specification.

I am NOT speaking gibberish.

I agree that dynamic languages are considered easier to program in.

When speaking of programming languages, they are not all on the same level. One cannot say "oh assembler is fine and all but i prefer lua", as it's like comparing apples and atoms.

there's a reason that you can implement a lisp in c, but that the contrary is not viable nor makes any sense.
(although metaprogramming c with lisp makes a lot of sense :D)
Any update on the routine? Also please share a link to your blog :)
To me an interesting question is why they bloat up. Is it all mindless waste or is there a tradeoff being made here?
Oh this so much. So many people are envious and think being a billionaire is a zero sum game.
I know in Greece and many European countries you must show ID to get a SIM, nationals and foreigners alike.
I still don't get why large holders aren't getting hit? If you were to file takedowns on Disney's misuse of mythology, or whatever, wouldn't you get 30 days of their income while letting their rebuttal expire?
11% is brutal! One of my favorite local climbs is about 450ft and maxes out at 7.5%, there's always people walking their bikes up the shoulder.
We closely monitor the "fix rate" -- what percentage of issues reported by Lift are ultimately fixed by developers. If the fix rate for a particular tool or type of rule is too low, then we modify how we configure and run the tool to eliminate the false positives we're seeing. It's very much like what Google reports doing internally in their use of ErrorProne (where they require all rules to have a 90%+ fix rate).
> Oh and btw OOP can be cache friendly as well. Nobody forces one to organize internal data representation in any particular way.

This is part of the argument of the article, that although nothing forces you to, there is a culture that strongly suggests a way of doing things.
And this: https://news.ycombinator.com/item?id=27068400
Which part is not clear?
> Will we get to the point where statues of now-famous people are pulled down because they ate animals? Assuming some variant of "cancel culture" exists then, will that act retroactively and currently-lionised people get cancelled because they are carnivores, even though the current culture that they exist in considers it acceptable?

Perhaps, if those statues were originally erected in honor of their diet, and to remind the vegetarians of the time who was in charge.

I know the false equivalency isn’t really your point, but come on.
How did China know how to make their rover without sending a bunch of probes onto Mars? Did NASA share its data and info with China so that they knew what specs to make the solar panels, etc?
That was my first reaction, but I think it can work in some cases. Take for example plugins in a paint program, or dissectors in wireshark. Both of those can have any number of user-created extensions for different packet types or editing that the general populace doesn't need.

However, to your point, when wireshark changes their API every few versions, all the plugins have to change as well or you either break your dissectors or are stuck on an old version. The base program should be designed with extension maintainability in mind.
Mac is unix-like. I suppose Google's fuschia is new, but that's also unix-like.
Samuel Slater ("Father of the American Industrial Revolution") is known in the UK as "Slater the Traitor". He stole the textile machinery designs from UK as an apprentice, then migrated to the US and build his own mills. British law banned exporting textile mill designs.