skysight-inc/HackerNews huggingface dataset:
Starcraft: Mass Recall
You can still do that. If you just tap the volume button, it toggles between mute and unmute.
Somewhat related, does anyone know of a working screen recorder for wayland? The gnome builtin one is broken on 20.04 and 20.10. There’s a fix upstream, but it doesn’t look like it’s going to make it to the repos for a while yet
First non-bullshit article about Rust for long time.
This is really nifty but just making sure I understand, this isn't exactly a factoring solution but rather something a bit closer to a Square/Stripe integration that repays the money directly with the companies' online revenue rather than by taking ownership of an invoice?
The proximate cause of the failing farm was that it's impossible to turn a profit!

They had a family member willing to do the hard work! "hard work" had absolutely nothing to do with this particular farm failing.

This isn't rocket science guys, I don't know why people insist on conjuring up phantoms to argue with.
"First, a few obvious, non-negotiable things any new OO language should have: ..."

Well, that's like your opinion, man ...
All my terminals applies a glowing outline... I patched Kitty [1] with a shader to apply it (Kitty already uses shaders for the terminal rendering). I should clean it up and put it up somewhere. I did it partly because I like the look, partly because it gives me much more flexibility in having partially translucent terminal windows without making the text unreadable.

[1] https://sw.kovidgoyal.net/kitty/
Erlang is perhaps the best OO lang out there that doesn't look like one but it's principles are the heart of OO.

PS: I admit I lost the author at "scala is my favourite language" and so am biased.
I don’t get this obsession with “dangerous.” Honestly, what does that even mean? I think a better word is “error-prone.” Danger is more like, “oh my god a crocodile!”
Sure, but that's what PCs and Linux are for. Macs, macOS, and iOS are not for that purpose. They're meant to be straight-forward and immediately usable as opposed to customizable.

When I was younger, I would probably have loved an Android phone but my 2 attempts with Android phones (like the Nexus) recently were terrible compared to my iPhone. I was constantly messing with things to try and get them working, I had to stop tasks and apps constantly in the app manager (and even had to download a different app manager), and was constantly waiting for things. Now, I care more about just being able to pick up my phone and know that it works to do what I want to do at any given point. I'm done messing with things.
The writer lists 11 requirements for the kettle beyond functioning as a kettle. The piece essentially asks "why hasn't capitalism found and manufactured my personal optimum in a high dimensional space for 19.99€?"
I successfully used Tetris to teach a first course in programming. What I did was provide a module I called "Gridworld". This provided a simple way for the students to create an N * N grid of cells where the cell size was fixed. The only other thing that could be done with Gridworld was to fill or clear the cells. After presenting Gridworld, I then asked the students how we might make an animation of a single square moving down the screen. This was in the very first class!

So instead of talking about semi-colons, syntax, types and so on, we thought about timing, animation, and how to make the animation uniform regardless of the speed of the computer.

After that, the students were given a series of staged assignments, finally ending up with the complete game by the end of the term.
I didn't read your code but one problem I suspect you ran into is that you had to re-invent your container data structures to make them work in a mmapped context.
Becoming actively involved in politics is a quixotic endeavour with a high personal cost and very low chances of success. Moving out has much lower cost and much higher chances of solving your problem.

Thank goodness some people get into politics anyway, but it is not a rational choice for a utility-maximizing actor.
Your first observation regarding clicks was right on but QAnon is just another consumer choice for people to add to their Identity.
As a general rule, if there is advertisement and sales around a space, it isn't countercultural.
Personally I would drop the static type system and reinvent Self.
They sort of killed DNT.
I love how rust does interfaces (traits) and allows implementing outside the type. It feels much more natural to create a subsystem on the side without tangling it into other subsystems. E.g. to create a separate rendering subsystem for a game entity you simply

impl Drawable for MyEntity
void Draw(MyEntity self, Canvas...

Which feels quite natural compared to anemic-entity ECS or naive Composition-over-inheritance like so:

class MyEntity {
EntityDrawingComponent drawer
EntityMovingComponent mover;

and of course, over the standard Java/C# OO way

class MyEntity : Drawable, Movable, ...
void Move(Vec..)
void Draw(Canvas..)

With this type of declaration, I'm forced to mix the code for my different subsystems making it not just likely but inevitable that someone eventually ties these subsystems together.

In general, if I were to design a "better" OO language now; i'd make sure to make it almost not OO at all. I'd allow subclass polymorphism, but no virtual methods or classes. Only interfaces/traits and abstract classes. I'd very clearly separate data types from identity types at the language level (which aren't just a difference betweeen stack and heap as with C# structs and classes).

I'd want the bare minimum of functional niceness: enumerations and pattern matching which check for exhaustion. Having that in a lanugage easily lets the developer use different implementation for two completely different cases: open and closed polymorphism sets. OO is great when you don't know what variants might exist, but it's useless when you DO want to control it.
If I as a developer know that the set of Payment options are Credit/Cash/Invoice - then I want it exhaustively checked. I deliberatel do not want to leave that open. I want to be able to switch on the closed set of 3 cases, and be warned if I fail to check a case. I want to be able to do this without inverting the logic like and calling into the unknown like paymentMethod.HandlePayment(order).
This is not a very constructive reply, how about you give us the rebuttal?
And data and devices will be even cheaper in another 12-18 months once LoRa is rolled out nationwide in the US.

https://en.m.wikipedia.org/wiki/LoRa
I'm using a desktop. And nowhere on the page are core features described. So you're ok creating an account when you don't fully understand the scope of the app?
It looks like a nice UI for a 2FA app but I don’t understand what’s missing in existing options that this solves?

I also don’t know what encrypted while in iCloud means. Is it your key, my key or Apple’s key? Is the key also backed up to iCloud?

It’s important as 2FA is the most critical thing we need to get right next to whatever mechanism secures passwords.
time to dust it off and sell it as new ?
Right, consider the thousands of hours of online technical training content on Udemy, etc. Much of that is very clear, well-paced, and precise. Conversely, watching any number of peppy newsreels on e.g. British Pathe[1]. They're just as blaring and superficial as any contemporary correlate.

[1]https://www.britishpathe.com/
The Code Breaker is the CRISPR chronicle you need to read
There’s no point in decentralizing social media. Hardly anyone would use it.

The whole point of why social media is so popular is people want attention.

In large numbers.

Likes, follows, comments. That’s for example, why it will be hard to dethrone services like Instagram or YouTube. The only way they fall is if someone swallows up all the attention. (Eg: tiktok)

Decentralization is a Pipe dream that goes against natural human behavior and instinct.
Is it funny or sad that after 30+ years, the industry is not clear on what is or is not OO.

At a gig in my college cs lab, teachers talked about OO, 3 teachers, no answer the same.
One thing that tends to offend most tech people I come across:

Data is not the basis of existence. Math itself is nothing but a derived value construct our minds play tricks with. 3 apples is a value system in the mind as we see it, not innately as it sits there.

Thus, when people say "I want data", they are saying to me, "I want a majority thought based on an abstraction of information (math)." You certainly didn't when you (and me and everyone else) were foraging for a nipple/bottle!
It can be really stupid too, I’ve had sites not load and suggest that I use “modern browsers like Chrome” when I’m trying to load it in Safari or Brave. So I think we’re back to dumdums literally checking user agent.

For a little while, outlook and 365 web didn’t work properly in safari because of the third party cookies defaults, so the suggestion was to use Chrome (rather than just adjusting cookie settings).
I was under the impression that rethink db was not open source (until after it “failed”).

That’s not a reason for failure, of course, but I have mentioned before that we (as in developers) often only choose things with permissive licenses, often to the detriment of the products we “support” (see the recent elastic drama, where we blamed elastic being forked by Amazon for being too permissive!).
Stuff like this is exactly why I have chosen to allocate 0% of my cryptocurrency investments into Ethereum. Such a cluster
repayments adjust to how much the business had in sales via the platform. So closer to what Square/Stripe offer in the US.
Mainframes -> home pcs -> laptop -> smartphone, all advances miniaturizing and distributing computing closer to the edge
Ask HN: Advice on Finding Manufacturers?
Currently doing my due diligence for xyz product and wanted to know if anyone here has suggestions/ things to look out for when attempting to look for manufacturers (overseas) to develop a product.

TIA
I don't want to turn it into a political argument. It was my understanding that we were already having a political discussion, which I entered into.

For one thing, the article itself is overtly political -- which is fine and expected, because farming is politically fraught in much of the world.

For another, when you said "important" in your parent post, I had understood you to mean "important" in the sense of being generically important, like to society. I did not understand that you were referring solely to the importance of the issue from the perspective of the author of the article.

If you were trying to avoid a political discussion, then sorry. My mistake. Feel free to ignore my response to you.
Agreed, came here to say the same thing. Would be interesting to see how they stack up against each other. Both are highly evolved modern languages that make pretty much the same claims.
I think flameshot is more for people who prefer design over functionality. Although the feature set is not too bad.
Does shutter have annotation features?
Cool collection, but it seems like it's just modern examples. Surprised scaruffi.com is not in this directory
> As a minimum to make the properly usable, we need a way of passing one object with multiple different traits.

Supertraits?
Might be interesting to do

https://wyag.thb.lt

(Write yourself a git!) first and then compare. (Though that is intended to be done in python)
I feel this way every time I read an OpenSCAP or CIS lockdown policy. They're hundreds of pages of "recommendations" that I think I can trust but don't fully understand. I don't know if I should worry about my lack of understanding or not.
does finding a panel model number involve taking it apart? or has someone been nice enough to aggregate that data somewhere based on, say, tv model (maybe even serial number)
Yeah - I think the kids are ready for that.
Why does that need to be a qualifier? Having to look at it doesn't bother me and, if I want to rely on muscle memory, I just plugin an external keyboard. When I'm editing media or coding, I don't mind needing to look at the Touch Bar at all.
...and steal the Soups from NewtonScript on the way.
Paleotronic Magazine – Electronics, Computing and Videogame History
Ah yes, sorry. I remember it in my head with "async", but you're right. :)
Wow, thanks. Had no idea.
Of 3 million residents, maybe a few thousand - at most - will be full-time politically committed and active.

The problem isn't the numbers, it's breaking into the patronage and power networks. That's not a numbers game. It's a relationship, influence, and networking game. And some elements will be corrupt, while others will be about carefully cultivated appearance management.
I wish more sites would integrate a two factor option into their apps instead of requiring a second app - for example I should be able to two factor Amazon via the Amazon app instead of having to use a second app for the one time key generation.

Microsoft and Salesforce have made it pretty slick but it’s still two more apps I have to keep that I don’t really want.
Got it, very cool. Of course I assume you can also easily create a little card reader for smaller shops/physical stores so you can also track those sales and do loans based on that too!
Okay, good luck.
>The US has a strange obsession with massive cars.

It's not strange... it's survival (plus federal regulations about crash safety, bumper height) require the size vehicles I'm used to here. (The SUV thing is just crazy, though)

It is not unusual in the USA on a road trip (vacation) to drive 1000 km/day (or more) at 120+ kph.

How is something smaller than a 1999 Honda Civic (1100kg) going to safely share the road with 40000 kg Tractor-Trailer rigs?

Here's the smallest car I ever owned... it was silver, with a hatchback... I loved that car, and miss it.
https://en.wikipedia.org/wiki/Honda_Civic_(sixth_generation)
Having your 2FA tokens on something where the keys available to the user changes it to something you know.

An encrypted file with that an application decrypts is still available to the user. ie, they keys are loaded into memory. In most phone and hardware tokens the key is done by a dedicated security chip and is never loaded into main memory.
>It just feels very arbitrary to stop at personal car ownership but maintain the benefits of all other externalities.

Yes, it's incredibly arbitrary because cars don't suffer from low density development patterns. They don't cause pollution. They also don't cost a significant amount of money and this also doesn't force less well off people to get expensive leases because everyone buys low end cars. The tax burden of suburbia is absolutely insignificant. The fact that you have more roads per resident decreases the tax burden significantly. Their only fatal flaw is that new developments aren't funded by the federal government and private developers. Thanks to cars and suburbia municipalities are swimming in cash and never have to worry about their finances.

We should ban bicycles and pedestrian paths. Everyone should drive, even children. This is the future.
https://www.google.ca/search?q=personalfinancecanada+house+p...

There are literally thousands of threads that repeat the same arguments over and over. The original poster may as well be quoting any of them without any new insight into the economics behind it.

Once you’ve been on reddit for a while, you realize how pointless it is to engage in these discussions since people only bring in their emotions and not much data.
No, I didn't. An fst is a compressed data structure, which means you use it in its compressed form without decompressing it first. If you ported the fst crate to C, it would use the same technique.

And in C, you have to design your data structures to be mmap friendly anyway. Same deal in Rust.

But this is moving the goal posts. This thread started with "you can't do this." But you can. And I have. Multiple times. And I showed you how.
Transferwise nailed this. 2FA request pops up as a notification, touch or Face ID approves it. It’s the canonical example I use when poking other apps to provide a similar UX.
That of course leave the question, was it that that solved the issue or was it the end of the war, or the exposing of the camps (one might not like the local jew, not trust them in general, but still not want to mass murder them) or something else?
> Honestly, what does that even mean?

It has a very specific meaning in Rust: the user can cause memory unsafety if they make a mistake.

> I think a better word is “error-prone.”

The issue with the connotation there is that it's not about the rate of problems, it's about them going from "impossible" to "possible."
Over the last 30 years, object oriented languages got more attention, more funding, more companies using them, more jobs available, more developers, more education resources, more libraries.

In short, I use OO because everyone else does. Now in my 40s, I’m not going to change merely because another language is more expressive.

But yeah, if I could do it all over again, I’d probably choose Clojure.
Although it might not be perfectly positioned to build a consumer facing web-app, we wanted to make it simple to build web apps. So we built https://lowdefy.com - It makes building web apps as simple as writing a query.

I would like to challenge anyone to show me a faster way to build out a web app of medium complexity, especially one that is more focused on working with data.

If it is only demonstrating and testing concepts that you are after, Lowdefy can be a nice quick win.

If you are looking for a more polished consumer experience in your MVP, I would consider Flutter, or Next.js, even Meteor.js with React.

If you are willing to consider the No-Code route, you can also build fancy things with Bubble.io or Webflow.
The "science" here has absolutely been affected by decades of lobbying and coercion.

> In 1973, after intense lobbying by gay and lesbian groups and new scientific information from researchers like Evelyn Hooker and Kinsey, the APA declassified homosexuality as a mental disorder[33] with a vote of 58% of the membership supporting the measure. [0]

I'm not saying that every lobbying effort was wrong - but you have to admit a couple things here:

1. Topics that are surrounded by controversy are way more susceptible the effects of political agendas. [1]

2. Psychology is a soft science. [2] So, it's even more susceptible.

[0] https://lgbt.wikia.org/wiki/Homosexuality_and_psychology

[1] https://en.wikipedia.org/wiki/Politicization_of_science

[2] https://en.wikipedia.org/wiki/Hard_and_soft_science
Good design is human centric, it serves the function of delivering meaning, added value and positive experience longterm. Todays designs are corporate centric, they convey "value for the consumer" but in actuality use legislation loopholes and design dark patterns to maximise corporate profits.

I drive classic cars (under 3k yearly) and every trip is a delightful. No distractions, no absence of control. Craftsmanship and quality of materials.

Driving Electric cars will be mandatory, I plan to convert my classic cars.
No tracking, no data gathering and corporate overlords for me.
What’s the missing piece compared to Authenticator Plus or Authy? What’d be my actual missing piece would be backups to my own infra, rather than iCloud or any other third party.
No it's not. Its regex library is written in Rust, but was inspired by RE2. It shares no code with RE2. (And RE2 is a C++ library, not C.)

Off the top of my head, the only C code in ripgrep is optional integration with PCRE2. In addition to whatever libc is being used on POSIX platforms. Everything else is pure Rust.
Elon Musk Mars plan branded delusional by astrophysicist: like living on Everest
WhatsApp: What an Acquisition Means for Employees
I wonder if you could implement this all within a linter on top of Rust or some other language? Some of your asks already exist at that level (for example, TypeScript autocomplete in VS Code knows which enums you haven’t checked in a switch, and it also knows if a property has been verified that you’ve narrowed via a type union, so perhaps you could extend this to enforce coverage of switch statements?
First you need to know what kind of documentation you want to write.

I am a developer and I mostly write documentation for my code and the projects I'm working for. The audience for the documentation is mostly other developers and technical people who use the software.

So for every project or module I develop/work on, i try to answer those questions:

- What is this software doing?
- Why does it exists?
- What problem does it solve?
- Where does it fit in?

And next some more practical questions:

- How do I build it?
- How do I test it?
- How do I deploy it?
- What dependencies do I need, and where can I get them?

If you have build scripts, CI scripts or Docker files, link them, they are most of the time the best documentation for those processes.

This part already helps a lot, and answers a lot of questions to get other developers started.

I try to make my code as readable as possible, so it doesn't need a lot of documentation. A lot of documentation can be really bad, when you do changes. Because you also need to change a lot of documentation. ALWAYS update the documentation if you change the code. At least delete outdated documentation, if you don't have time to update it.

If I write documentation, I try to answer the questions that are not obvious, and skip the obvious ones, that can be figured out from the code

Bad: The `StockPriceLoader` loads stock prices

Good: The `StockPriceLoader` fetches data from `StockPriceProviders` (see folder ../spp/implementation) and writes them into the database table `stock_prices`

If there are some complex processes I try to make flowcharts for that (but don't overdo it!). I mostly write README.md, my choice there is mermaid or plantuml, which can be directly rendered by some Markdown renderers (Gitlab or VS Code Markdown Preview Enhanced for example).

I try to put the documentation as close as possible to the source code. Mostly directly into the same folder where the code is. So you get versioning for your documentation for free, and if you pull an old version of your code, you get the corresponding documentation.

If you're creating libraries or interfaces, completely different rules will apply. You are probably going to need a complete API documentation, examples, tutorials, ...

At some point you probably need different kind of manuals too: or the end user, for operations, for 1st level support, fact sheets for sales, ...
Author here. This a toy program demo. MPEG-1 is the only one that's legally unencumbered by patents if I understand correctly. I'm sorry you didn't like it! You might like the other demos.
Thanks for the reply. I liked the article and was confused just about this part. I've browsed the Economist's site and all I could see was political propaganda and drama.
it's possible! though what we've noticed is that there are a ton of these card readers popping up in countries like Mexico. They've got the distribution down, and have done a lot of the legwork in finding these small businesses. we really focus on understanding the risk to give them access to financial resources often unavailable to them
I just used https://www.logology.co/ the other day for a side project. Holy smokes, I completed a really unique survey about my site, think 'if your company we're a movie which of these would it be.'

After this survey I got maybe 50 logo variants that were all good. Various legit 2-color combos provided. Packages ranged from $39 for a PNG logo to like $79+ for vectors and complete brand guidelines. I'm rarely impressed nowadays but the entire process including onboarding email flow was tight.
I saw this on the homepage:

> However, SQLite is incredibly powerful. It can scale to thousands of concurrent users with the correct settings

I never thought SQLite can do something like this. How does one go about scaling it for thousands of users? Are these just reads or read, writes? Are there any known real world use cases where people are actually doing this in production?