skysight-inc/HackerNews huggingface dataset:
Is this even allowed? I thought making loud noises and announcements like that are actually banned in Germany.
Strachey also taught a Pilot Ace computer to play checkers in 1951. He'll become the first CSci prof at Oxford. (His father was a cryptographer; his brother was Lytton.)

http://www.nationalarchives.gov.uk/a2a/records.aspx?cat=161-...
what's WFH ?
You don't have to be "productive" with every minute of your life.
Honest question: what's up with the (2 hours ago) notation? I've seen this before in a couple of git-related and other applications but personally never understood why one would pick this over date/hour. Is this a cultural thing? Do some people actually find this better (from the point of conveying timestamp information)? My main problem with it, apart from not having a high resolution, is that it usually just leads to me trying to calculate the actual date from it because that just works for me, being used to it. Same with e.g. Thunar: to me it's maddening that it defaults to displaying 'today/sunday/saturday' and then mixes that with plain dates for timestamps older than a week (or so). Can be me, but this is just so confusing and harder to parse?
Can someone explain the benefit of using this over the (already existing and popular) reactive libraries?

I've found a combination of MobX/RxJS to be a good fit for most applications that need reactive state and don't use a framework (like Vue or Svelte) that already ships with reactivity.

Looking at this - it looks very similar except that it requires a global mutable variable (which I'm not a fan of, kind of like MobX state tree but without the serialization fun).

Someone please sell me on this :]?
Definitely. That's part of my point about understanding the problems and limitations.

After thirty-something years of programming I've seen numerous languages (or model) touted as the one true language that will save us all.
> If tech workers would chafe at rigid role definitions, a tech worker's union that they control would not impose them.

Name a union, any union, that does not impose rigid role definitions.

The fact is, there aren't any. Their entire purpose is to categorize employees into roles as a basis for bargaining. If every worker was unique, then collective bargaining would be impossible. The entire point is to group people together and bargain for the rights of that group, and to sign up every member of that group to the deal that was obtained.
I bought a weed stock that crashed...
It's a large field. I don't think anyone in the Rust world expects it to make a large dent against embedded C anytime soon - rather a subset of embedded developers who would like to not have to use just C are working on it because they would personally want something "better" for their niches. And as the article describes, Rust has good foundations to be able to fit that role, compared to many other languages.
I used to read that in high school for debate class, since we were quizzed weekly on current events.

I completely agree, it is not exactly thrilling.
Memory safety errors are a far bigger "annoyance" to the profession than dealing with a slightly more complex (but still quite elegant) syntax or understanding borrowck diagnostics ("fighting with the borrow checker"). It's not even close.

The problem with unsafe programming in the traditional C style (with its heavy reliance on shared, mutable, possibly aliased pointers) is that it's inherently non-compositional: proving safety or correctness of such a piece of code is a 'global' problem that cannot be meaningfully decomposed or modularized. That's why Rust's choice of explicitly restricting these features to "unsafe" blocks feels intuitively right - the "safe" part of Rust is essentially the part that can be worked with in a highly modular way, where safety is checked 'locally' via a type system. Future versions of Rust may well make some currently-unsafe features slightly easier to use, perhaps even more idiomatic in a way that might appeal to C developers, but some inherent constraints will remain.
Google’s Websites to Get Benefits
Yes, in 2020 Unity introduced the concept of "SubScenes" which allow for large worlds (i.e., MMO-style loading).
I think there could be enough interest if managed well, but unfortunately they make the process very complicated and then the quarantine is overly strict (you can't order food from outside, no alcohol, not allowed to open the windows) and other shenanigans like prebooking all hotels, wearing gps-wristbands. Most of the people interested in this already live in Thailand (but got stuck abroad unable to return) on tourist or other visas and would rent apartments, and not stay in hotel rooms.
Yep, totally agree about the docs and tutorials promoting bad practices, it’s almost impossible to find up to date, modern examples.

I am not a game dev, more app/audio/web, but our app uses Unity for the 3D and interactive video lesson playback parts and recently I’ve been refactoring the video part, which is a perfect candidate for building out with unit and integration tests. It took a lot of digging to work out how to use the Unity unit test stuff effectively as there are really just a few toy examples out there, same with async/await (and the unit test runner still cannot handle async/await in tests!).

I guess maybe it’s a culture thing to some extent, unit testing maybe isn’t as prevalent in games for whatever reason? Once I worked out, as you say, that I could move most of the logic into plain C# classes and test them much the same way I would any old business logic, things became much easier to deal with.

I did think about using DI but in the end found that passing GameObjects in via the IDE and public members as the other comment says sufficed for anything which is a GameObject, and the other (plain class) dependencies I am new’ing up in a top level Manager class and passing down through the constructor, and using NSubstitute to pass in mocks in the unit tests.

I might write up my experience/findings some time when the work is complete.

On the whole, I do think Unity is great, I’ve seen how fast we were able to build out a great looking experience and it’s pretty easy to figure out. C# is a really nice language too. Just a shame that more “modern” dev practices are not actively promoted, and parts like async/await and unit testing seem to be left half-finished.
Ask HN: Startups in the Psychiatric Space
Are there promising startups in Silicon Valley which try to innovate on new remedies for depression and other mental illnesses?
I've been living on Koh Phangan since March. AMA
almost two weeks and no comments?!

amazing.

Ok, so let's dive in.

First, "threat modelling" is a very broad, I'd even say "umbrella" term. It ranges, basically, from creating a simple google sheet document "what could go wrong" to a complicated graph-based quantitative modelling.

And I would say, you get more value from the simple spreadsheet. The rest is complicated voodoo which takes a lot of resources and still gives you quite ambiguous results. But it is fun to do as well.

STRIDE is nice, and it is kind of de facto standard, but when it comes to classifying actual threats you would notice that everything is interconnected. You cannnot separate one letter in STRIDE from another in most threat scenarios you encounter! Spoofing leads you to tampering, elevation of privilege to information disclosure and finally you try to arrange the whole mess in a minimally comprehencible way. So I would say, what you are actually interested in is not classifying everything in STRIDE or making complicated attack graphs, but trying to identify threat "building blocks" like a software bug or a workstation compromise and build a few typical "worst-case" scenarios around that.

See also "Crown Jewel Analysis" and "ATT&ACK", both would help you much. Feel free to contact me if you need more assisitance :)
Very insightful. Thank you.
My previous post seems not clear enough.

I meant that sociological behaviour does not have "one true adage" (i.e. survival of the fittest, or whatever-else), and cannot be simply concluded that way. ("It is very difficult to conclude a simplistic view of society/sociological behaviours.")

The examples I gave were meant to show that the behaviours that one believe to be "fitting" for a certain worldview, is suddenly not "fitting" in another group.

This is due to the key concept that most students learn in Sociology 101, being in a group changes your behaviour.

Therefore to study "behaviours", if you conclude a simplistic idea, you have to define its boundary. Maybe in, say, the Napolitan culture of Italia, a certain behaviour explains a certain reasoning holds true, but to generalise that to "behaviour" (in general) is hand-waving away many complexities.
You will quickly learn to live with it, just like with older mechanical (granfather's) clocks.
I agree with this and it is key. Video that has been "designed to be displayed on TV" looks better than stuff that wasn't designed to be shown there. The same is true for LCDs of course.
"Seymour Cray didn't care that 81.0/3.0 did not give exactly 27.0 on the CDC 6000 class machines; and he was universally respected for making the fastest machines around." ──Linus Torvalds
Sure. For some reason they aren't packaged yet in common distros, so that makes them not well known.
I was surprised by this, as I assumed from the first pictures that it was going to be electromagnets. Seems like a lot of moving parts to do it this way.
EA Sports FIFA Tracker
I just personally use BFG to scrub files from history https://rtyley.github.io/bfg-repo-cleaner/
Good architecture for Unity is one way data flow, immutability, discrete mutations.
Dephell has a nice overview of various software versioning approaches: https://dephell.readthedocs.io/cmd-project-bump.html#version...
I don't think he does..
India’s Leading Organisations Under MeitY Which Are Driving AI for India
It was news to me that EA are using Trello as a fan engagement platform to help direct the development of the FIFA series of games.
For me at least a "lifestyle doctor" is a term without negative connotations.
The thing never mentioned in these data points is the sheer amount of fossil fuel exports either. The numbers are staggering when you include them.
Yup. Personally, I like doing coding stuff on the side. And even though I'm not going to let any company tell me what side projects to do (I use these projects to reclaim some autonomy), I'm also not going to leave them out of my CV to be "fair" to other candidates. After all, they won't leave out their superior university or FAANG experience either.

I think what we want to limit is employers pressuring people into side-projects as a form of unpaid overtime. Other than that, I'm not sure if I see the problem here - but I guess I'm a part of it too.
Certainly, if one generalises anything far enough, everything holds true in broad strokes.

It's like saying if we look at history by the billions of years, what we do has no impact whatsoever (what you do today has no meaning since your imprint or anything that you affect, would have no effect when considering the history by the billion-years-scale).

Yet concluding that would be avoiding the issue of looking at the reality that, yes, what you actually do today does matter, it matters to your family, your loved ones, to your friends and colleagues, your neighbours and so on.

So that was what I meant by saying: "Hey, it's fine to model things and have fun with it, it's another thing to believe that your modelling explains anything ... it does not."
I'm not sure we should see unlimited 4G plans as a positive. 4G consumes a lot more enregy than Wifi for the same bandwidth, so usage of Wifi should be encouraged when possible.

(https://whatis5g.info/energy-consumption/)
The bitrate you get when on "unlimited 480p" is typically 1.5Mbps.

The bitrate you get when most plans throttle is 128Kbps, less than a tenth of that speed.
Depends, for some things (e.g. the timestamp of a blog post) it just doesn't need to be precise.

This thing has the advantage that you don't need to know the current time and subtract the timestamp from it to see it is 2h old.

For a lot of other stuff it doesn't make any sense at all. E.g. when you have a lot of things all with "2 hours ago" the precision is too low, when you are more interested in the time of day something was happening etc.
The Xorg modesetting driver works quite reliably on Intel in my experience.

The SNA acceleration architecture in the Intel Xorg driver was a disaster in terms of correctness and stability. When SNA appeared as an option it initially seemed quite fast, but didn't take long to reveal it was also quite broken vs. UXA.

I used to explicitly use UXA but for the last 5-10 years simply using modesetting has been the way to go.

Personally I think you're conflating Xorg and kernel driver issues. Xorg is basically unmaintained in general now and unfortunately SNA was the last major development in that context for the Intel driver, and it was not good.
> If someone is a danger, or a flight risk, maybe they shouldn't be out at all if that's the determination reached by a judge.

Ok, then most people who currently qualify for bail will not get let out at all. Anyone with the means to leave town (e.g. having a car) and the motivation to leave town (e.g. being accused of a crime is a pretty good motivation for leaving town...) can be deemed a flight risk.
I said off-chain. Look up lightning network.
The UK imports and exports at the same time (from/to France and Netherlands), which seems to me to just be creating unnecessary joule heating in underwater cables. Is it some kind of price arbitrage? When I did an undergraduate report on the UK electricity network ~10 years ago this happened then as well, so it's not a new phenomenon.
The source is here: https://github.com/dominictarr/sentimental-versioning
Fair enough. What my wording meant is that there's no point in discussing them in the debate sense. They just shouldn't exist. Period. The liquidity argument is more complex and debatable.
https://github.com/tj/git-extras/blob/master/Commands.md does it pretty well. Everything you've listed is covered there I think.
If you cannot write the Assembly you want there is certainly a problem. /s
i'm really looking forward to read about your experience
> If experienced developers are finding this language overwhelming, how are you going to convince the electronics guys to adopt it instead of using plain old C?

Because embedded software is increasingly networked (BLE, TCP/IP, ZigBee, etc.) and you can continue writing your communication stacks in C and having memory corruption security vulnerabilities or you can suck it up and try something else for once.

> Also in this world all major HALs and SDKs are written in C. The toolchains usually are very fixed, since doing embedded systems is hard...

1) The embedded world has effectively converged on ARM. This means that the toolchain is whatever ARM shoves out and HALs and SDKs will comply or get no traction.

It also means that you can use actual, real software tooling (VSCode, Meson, Ninja, etc.) instead of "Yet Another Broken Vendor IDE". It's soooo compelling that I personally can run rings around some vendor teams. To be fair--this is NOT limited to Rust. VSCode and its ecosystem enables even C programmers to be stupidly more productive. However, the embedded Rust folks seem to rattle the VSCode folks cage quite a bit more than just plain embedded C folks--this keeps the VSCode guys quite a bit more honest about cross-platform support.

2) Anything RISC-V is in flux, and folks like Bryan Cantrill are leading the charge so the toolchain will be forced to accommodate more than "just C".

3) Even if Rust isn't the answer, you should root for its tooling to break the C hegemony. If Rust finally forces C tooling to acknowledge that "Hey, just maybe we should think about playing nicely in the sandbox and have some useful API's instead of telling everybody to cope or leave because we're the 500lb gorilla.", the successor to Rust will have a vastly easier time.
If you are using no_std isn't that the same as just not having a C standard library? I have been programming in C/C++ for over 25 years in ridiculously restricted contexts--even using it to compile tiny trampolines and the such--and I have no clue what you might mean that Rust could possibly have a smaller runtime library than C's "literally it comes with and uses nothing as the C standard library is nothing more than an optional library that most embedded people don't use".
how do you do the tax deduction part? Probably this is American specific, I don't think I can deduct time on a side project here in Denmark but tell me anyway, maybe I can translate the ideas.
Both Unity and Unreal are used by Hollywood studios for different things.

Unreal is used for on-set visualization (see e.g. the Mandalorian) but Unity is frequently used for pre-viz/planning work because you can just literally drag and drop things in and run them (see e.g. the Jungle Book, from the same director).

i feel the money and R&D that will span from that in the unreal engine will allow them to totally crush unity. already today most of the modern games made with unity are 2d or average 3d games.

Most of the modern games today aren't made with the Unreal engine...For example, among triple-AAA studios, EA, Rockstar, Activision, and Ubisoft all use their own engines (note: Activision uses Unity for some of its games).

Epic already makes a few hundred million each year from Fortnite. The relative pittance they get from Hollywood studios isn't even a drop in the bucket and generally won't effect the pace of development of Unreal, though it has driven Epic to put even more effort into making Unreal a better component in Hollywood workflows. However, this effort won't have much, if any, impact on game production since the workflows are completely different.
Why do you think that others should adjust to the way you live? Surely kids are a choice. And if you choose kids of career thrn you're bound to be less effective than someone who chose otherwise?
Literally in your wiki link:

> The origin of the song is most likely George Washington Dixon's "Zip Coon", penned in 1838.

Which is also the racist song being talked about in the NPR article.
In evolutionary terms, "fit" means like a piece in a puzzle and doesn't an ethical connotation or anything like that. More like a model fits, eg in the above game related to ML.
Okay, goodbye if you want.

To be clear I'm not even trying to disagree with you at this point, it's that I legitimately don't understand how you interpreted my sentence.
I think the saying is drawing on the same idea as Bill Gates' opinion that measuring progress on software by lines of code written is like measuring progress on an airplane by weight.

Airplanes have many functional parts and many not-so-functional parts. There are parts of the airplane that will, if removed, prevent it from working in various critical ways.

But from another perspective, all of those parts, decorative, functional, or essential, are liabilities, dragging your airplane back toward the ground when you want it to stay up in the air. The fact that a particular piece is important doesn't mean it's less of a problem having it; it means you have to suck it up and work around the problem.

Source code is like this. The mere fact of its existence causes problems. Some of it you can't do without. But it's causing problems anyway, and if you can do without it, you want to.
Yes, I believe and hope we are. How else can we tackle climate change? I stayed up all night to watch the debate between Trump and Biden. It was a complete train wreck. Many of my colleagues did the same.
The general solution to getting better at anything is to put more hours into it.

Where's that expectation that you have to be best of the best coming from?

(Not to mention, the expectation to be seen and treated as the best of the best, without putting in the work.)
It comes from the fact that code depreciates like a car. Yes it does make you a profit (gets you to work) but after 20 years nobody wants your code (car) unless you have done rigorous maintenance. Having the biggest codebase(car) is not a benefit. It's kinda like measuring your software product by how many cups of coffee your developers have drunk.
There’s an interesting statement there that the extra ten hours makes a difference for career advancement. I wonder how much that’s really true.
So Your Reporting Became a Factor in an Ongoing Revolution. What Do You Do Next?
> precompiled and even distributed

There is work on this. This can be done with https://julialang.github.io/PackageCompiler.jl/dev/, but so far only to a rather large binary / “bundle”

IIUC, In principle it should be possible to do much better if you knew for sure at compile time which methods you would need to dispatch to for the data you ultimately want to run on.
Node.js wrapper for LinkedIn unofficial API
Hey all,

I'm happy to announce the release of the new NodeJS wrapper for LinkedIn unofficial API.
This an open-source project that helps NodeJS developers to build some LinkedIn bots/services.
All you need is a working LinkedIn account and some basic knowledge with Javascript/NodeJS/TypeScript

Those are the features my API provides (so far):

* Search for people, companies, and connections
* View profiles
* View sent and received invitations and send new invitations to any profile.
* Navigate between conversations and scroll messages.
* Send new messages.

Note: A lot of new abilities will be added soon :)

You can find the GitHub project https://github.com/eilonmore/linkedin-private-api
Qualified leads for your business every Monday
An expert system, very refreshing in this era of ML.

Brings back memories of uni.
Bayes’ Theorem and (Corona-) Virus Testing
It does depend on the context but I mostly use the '2 hours ago notation'.

Sure, if you're looking for a specific timestamp or something that happened 2 months ago, it's not useful and then I switch to the timestamp format.

Majority of the time I care about stuff like what happened today, yesterday just to get the rough idea.
Though it’s definitely true that they’re close relatives.

A prof of Syracuse University has created trees which yield 40 different stone fruits each from almonds through apricots to peaches.
Why would a different CLI (presumably still using libgit2) improve security? Especially if it's installed like this: curl -sf https://gobinaries.com/chriswalz/bit | sh;
> The US Constitution does protect Americans from the federal government, though, far more than almost any Western nation

Citation needed. ( And don't forget, there aren't that many federal Western nations, so the entire argument is close to nonsensical)