skysight-inc/HackerNews huggingface dataset:
I use Aegis, but also import the TOTP URI to pass, and use it with pass-otp[1].

It kind of defeats the purpose of 2FA, but I keep my pass repo relatively secure, and the convenience is worth it.

[1]: https://github.com/tadfisher/pass-otp
Yeah I didn’t have to compile fpc/Lazarus for it to run on M1 (it works just fine), it is just that I wanted to give it a try!
> Be careful with locks in the form "x.Lock(); x.DoSomething(); x.Unlock()". If DoSomething panics, you will still be holding the lock, and that's pretty much the end of your program.

Interesting, thanks. But isn't panicking the end of your program anyway? Could you provide another example where no using defer causes problems?
I remember reading a Harvard Business Review article which was literally "How to motivate your employees to work harder without paying them more."

And it was full of this kind of nonsense - plaques, award ceremonies, teeny-tiny presents as bonuses, and so on.

Cynicism and offence are perfectly reasonable and fair reactions.
Flagged in hopes the title gets changed
I was dropped into the tech lead position at my job last year; I started in game design at art college, so having to run and gun has been fascinating. I'd be lying if I said I wasn't scared reading about much of the stuff in this comment section that really should be bread and butter.

I'm talking to my boss to see if there's some kind of training program I can pick-up on the side to help me gather what should be the basics that I've missed out on, although we're so overloaded finding the time and money is challenging. I'm lucky it's mostly CRUD, but I can't help by worry every architecture decision I'm making is going to cost us massively down the road.
One of the things the author neglects is the ease of use of newtypes in Rust. This can actually alleviate a lot of parsing issues, by making it impossible to use stuff without parsing.

An example of where I've recently done something like this is my sparse linear algebra code. I have distinct types for column and row vectors for a matrix, so that if I want to right-multiply A with a vector, the input has to be a column vector and the output has to be a row vector. Similarly, if I want to left-multiply A with a vector, the input has to be a row vector and the output has to be a column vector.
As the cost of labor rises, a country will lose its competitive edge. (US in the 1970s, Japan in the 1990s, China in the 2020s)

Then another country with cheaper labor will take over the 'low-cost manufacturer' position for low-cost items. (Japan in the 1960s, China in the 1990s)

Meanwhile the first country will move up the value-item ladder, maker of more specific, high-technology, high-value stuff. (US: space technology, computers. Japan: Hi-tech cameras, TVs, phones, etc)

China was the lo-tech, low-cost manufacturer in the 1990s, by the 2000s it was starting to move up the to the hi-tech level manufacturing. (Laptops, iphones, etc)

China in the late 2010s, early 2020s is moving higher up the tech scale, making its own phones (Huawei), space-vehicles (retrieving soil samples from the moon), quantum tech. It won't be the world's factory for a lot longer.

When the US was the world's factory from about 1940 to about 1970, that lasted about 30 years. When Japan was the world's factory, that lasted from 1960 to about 1990, also about 30 years. China was the world's factory starting in about 1990, so 30 years brings us to the present 2020.

Vietnam is looking like it will be the next factory, but it's really too small. India could be the next world's factory, but it would need too much social adjustment to do that now. Perhaps in 30 years time, around 2050, definitely India.

Now I'm going to go out on a limb here. We are looking for a largish in terms of population, fairly homogenous in terms of its ethnicity, low-wage country with access to several sea-ports. I'm going to pick a couple of countries that would match these criteria: Nigeria and/or Indonesia.
A language can’t be separated from the platform it runs on and the JVM has really good concurrency primitives, so a lib written on top of them will be top notch. Furthermore, the JVM will run circles around Beam with its state of the art GC and JIT compiler. (Not trying to start a flamewar, I really like Erlang, but the JVM is really incredible)
Just curious, how do you pronounce this, as in how would I recommend this to some one verbally?
Its more like PvE system
Just been thinking that it's bad to use 'trusted' in an acronym. Not only is it subjective but it will also not stand well over time. Just like how NG is avoided.
Apkadmin.com – Upload and Share APK Files
Soon enough this will be used to block other kinds of "unsafe" sites containing dangerous things like "hate speech".
My point was more: The way to handle resource cleanup is "let it die".
True enough, but the notion of the "Big Lie" itself, and the archetype for which it was named, were driven by the age of radio. The idea that social media is uniquely to blame here seems laughable to me.
Great, so I can refuse to bake a cake for a gay wedding?
What's worse - instead of fixing their shit, they bloody sue google.
> There’s a good case to be made that Twitter isn’t Caesar and their lawn isn’t the Forum of Rome, there isn’t a good case to be made that their lawn is actually public property and should be treated as such just because they spent a decade deluding themselves and others.
>
> Social media isn’t a utility either, and no one has yet to make a case why Facebook and Twitter specifically should get special privileges and powers by society when they are in fact just corporations.

I'm not making a case that their platforms are some Forum of Rome, or that their "lawn is actually public property." I'm also not proposing that Twitter or Facebook be given "special privileges and powers" based on their potential status as utilities. I'm proposing that they be obligated to uphold special restrictions and be subject to public oversight that, in my opinion, goes hand-in-hand with their monopoly or duopoly-like status in many countries. Currently, it seems like they have the best of both worlds: the benefits of existing marketshare (and perhaps governmental legislation that hampers new competitors) in a market that is inherently biased towards the largest players alongside the lack of oversight and social responsibility that we attribute to private entities.
Not necessarily. Panics can be recovered and the stdlib http server recovers panics from handlers.
> Enums in C are just ints with names.

Yes, they are integers. You can do arithmetic with them, you can use them as bitmasks, or use sentinels instead, like -1. I like that.
Carl Hewitt, the inventor of the actor model, wrote this paper: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3418003, which he posted a link to on a recent post here on Erlang.

In it, he claims that Godel's Incompleteness Theorem is not true, and that the actor model is more general than the Turing machine. I am open to entertaining the idea.

I've seen that his ideas have been discredited elsewhere on HN. I would be interested to know people's opinions on this, as a lot of the paper went over my head.
I think my main problem with this is the intermixing of higher "application" level features like surveys and forms with lower level protocol features like "message transport."

This seems like a bad idea and goes against years and years of open systems design.
By modern, in the context of web development, I generally mean bloaty unnessesary mess.
I met Charles Houston, leader of the first two American expeditions on K2. He approached me to have me explain the mathematics of card shuffling, and I traded an hour listening to him explain the medicine of altitude sickness (which helped me later on some modest climbs).

He was on the wrong end of "The Belay" on the second climb, but survived.

https://en.wikipedia.org/wiki/Charles_Snead_Houston
I remember the first time I sent a reply to bugtraq. I was using a friend's server and linked to a tarball for a set of tools. He called me pissed when the box in his room started spinning like crazy. He pulled the DSL connection after it woke him up. This was before the /. effect was a common problem.

You will be missed. Thanks for all the fun times.
I'm not a big Jack Welch (former GE CEO) fan. But I did catch an interview on a news program where they asked him how to succeed in business, and the answer was awesome: "Know the facts and act on them." Seems being artificially positive (or negative) is a great way to become detached from reality, and eventually, make a lot of very bad decisions.
While not directly related to the issue, I had a question (and semi-rant) in my mind for a very long time:

Haven't this scale of federation of services, "move fast and break things" approach, first to market races and rise of ready to use components and related machinery (containers, k8s, AWS, et al.) abused some well defined norms about technology and as a result aren't we in a somewhat broken state?

In the older days, we'd never have this kind of thing overlooked. You just weren't able to. Now things are much more complicated and this complicated services are assembled in a haphazard way to form big applications and platforms (e.g. too lazy to bind a folder with proper config to enable SSL, so put an NGINX https bridge container in front of it). As a result, the edge cases are not as edge anymore and breaking the configuration of a webapp is much easier.

Similarly this onion structure of abstraction over abstraction makes debugging and mending things much harder. To fix a one-off bug in a DB operation, you need to go to relevant container inside the pod, find its DB location, access if you can and update the table. That table maybe anywhere on this planet. This is impossible for a support engineer in most cases since we have convoluted SSO configurations which makes this kind of access impossible and the original developers couldn't care less in many cases.

I'll sound old, but even the new capabilities are fascinating, we have gone backwards in a lot of things, software quality and robustness related IMHO.
What happens if it is a hit against the bloom filter / checksum? Would it transmit the URL so that it can be blocklisted?
“We need to work harder” is not the kind of manager I like. The best ones just set a great example and work harder and put in overtime themselves and the rest of the team are usually are sympathetic enough to follow.
Like the React team, claiming that they have found a revolutionary solution which is faster than direct DOM manipulation, where in reality it is perhaps only a constant factor faster. Nice in practice for small data, but not very interesting from a CS point of view.
In the context of the various US objections to China, de-platforming narrows one distinction between the Chinese authoritarian treatment of speech and the US's. While all nation-states are hypocritical to a degree, it certainly allows the Chinese to underline this hypocrisy, while providing cover and justification for their own lack of internet speech freedoms. Not a happy trend for free speech absolutists anywhere.
A few feature requests:

* I want an upgrade that is a magnet. It get's boring to collect all the energy orbs or whatever the shiny points are.

* I want an upgrade to auto target the asteroids.

* It is weird how the planets move. Try to use something like the third Kepler's law, so the outer planets move slower than the inner planets. (And in each system, move all of them in the same direction.) [OK, most people would not find this so annoying.]

* Add damage to the star in the center of the orbits of the planets, and If I touch it, I'm dead.

* Give the pirates some personality. Like custom color or shapes.

* Are there super pirates? At some point they are too easy to kill, and planets are too difficult to kill.

* If you are not afraid of the dark side, add some bots, so the universe looks more full.

* Fleets? Can you add some pirates that move in a formation?
It’s also predicated on the existence of an economy which provides ample leisure for some while others labor ceaselessly at the edges of poverty. There’s a reason the Indian sub-continent lacked a food surplus, academic establishments, strong governance etc. Great Britain looted an estimated $45 billion from its Indian colonies during the 173 years of its rule.
Jon Krakauer has responded to Anatoli Boukreev here[0], it seems as like most things in life, there is more nuance this than just hero villain dichotomy.

[0] https://medium.com/galleys/a-postscript-to-into-thin-air-e23...
I used Akka cluster many years ago.

One of the problems I encountered was that to finding actors in remote actor systems. i.e.: you have a unique actor responsible for X, living somewhere in your cluster and you need to know its name as well as the IP address of the actor system where it is running.

A message queue solves this problem, but that was not the approach I took.

My solution was to implement an actor discovery system on top of Zookeeper. Using that, I could have a cluster-wide unique actors.
Would popular rapper Eminem claim trademark infringement?
> To-do lists are for things that aren't a real priority, otherwise you would be giving them your full attention and the tracking would be unnecessary.

I really suggest looking at the Eisenhower Matrix. Urgent and important tasks are the only types of tasks that really go into the category of "real priority." Todo lists are best used to manage tasks that are important, but either aren't as urgent as the most urgent tasks, or are blocked by some outside factor that you can't control.

It's important to finalize insurance plans for the upcoming year, but waiting until it's "urgent" may result in not having enough time to find the best plan.

Granted, maybe you don't have a problem keeping track of all important tasks -- in which case, that's awesome!
The OP has re-used the title of an unrelated article posted a few days ago, for some reason:

https://news.ycombinator.com/item?id=25726068
I'd put Wix, squarespace, etc. in a different category. They are classic sandboxed site builders, you can only do as much as they allow you to.

Webflow is like a modern version of Frontpage/Dreamweaver that actually spits out modern, semantic HTML and sane CSS. You start from scratch and can build anything with it. It's actually hard to use if you don't understand how HTML/CSS works, because the UI is basically just a faster way to do front-end code.
Hmm, downvotes? Perhaps because I said "expert"? I used it in the sense of an exceptionally good person in the field, rather than the less-restrictive legal sense, which includes those who are unexceptional, uninventive, and of average qualification. Or perhaps some are unfamiliar with PHOSITA?

> A skilled person is typically defined as an expert in a relevant field who has average knowledge and ability but is not exceptional, outstanding, or brilliant. Such a person must be neither over- nor under-qualified and is deemed to be uninventive.[1]

> This raises a difficult question of how to define an appropriate benchmark for AI-assisted inventions and whether/how the current standard should incorporate AI.

[1] https://ijssppnet.com/file/2.%20%20%20%20Dr%20Olga%20Gurgula...
I'm not sure I see any reason to expect or believe that engineers would make good ui/ux decisions. It's not clear to me that choices that are simple for engineering are necessarily even aligned with ultimately being functional.

A good ui/ux specialist will be interested in reducing error rates and improving ease of discovery and use through affordances and good organization of information and actions. Obviously other business interest may conflict with those goals but those same interests are capable of corrupting engineering as well.

And I don't think ui/ux work is as recent as this is all making it sound. Perhaps it is more common now even for orgs where their bread and butter isn't software but ultimately making tools useful and safe and accessible predates software entirely.
Interesting, but how Texas turned into France has to be the bigger story ;)
A Bash script is a linearization of the dependency graph, a Makefile is a description of the graph itself.
One possible explanation is that, in order to produce the desired clear outline of a hand, it would be more effective to use the 'stencilling' technique than it would be to attempt to transfer paint directly from the palm on to an uneven surface.
And it's only fringe people on the right that tried that. All mainstream right leaning people disavowed it.
I think so. I’ve been using it to document 3 types of things for the projects.

1. Code guidelines, which anyone can contribute to and we can discuss/review them via PRs. As each note is a small rule or idea, it’s easy to reason about. It aids discovery for new team members, but early days to test that bit out.

2. Application implementation patterns. I’ve added small notes in the codebase to outline how concept work, state management, styling, types, etc. Relevant to the codebase, but not specific to any individual code file.

3. DevOps playbook. I’ve been working on this in the past week and having it in a Zettelkasten format has been very beneficial to fill it out with the most important aspects. The set of markdown files covers how to do deployment, how we do security, backups, etc. Would love to turn that into a blog/video series when I’m done - which probably shows the power of having knowledge that is very reusable.
Case and point.
It's more of an exploit than a hack, each smart contract by themselves worked as intended but the system as a whole could be exploited.
Maybe your employees have been conditioned to expect praise when they work hard, and do not currently have the opportunity to develop their intrinsic motivation to do good work.

Just because drug addicts become needy without their supply, doesn't mean they should juice up. Analogously, just because people become demotivated due to lack praise (or other reasons), does not mean praise is necessary to boost their performance. It might just be a sign there is an unaddressed problem.
With respect to DRY'ing the JSON code, isn't something like this workable:

err = json.NewEncoder(w).Encode(&task)

I know there used to be a reason why this was disfavored but thought it had been addressed in the stdlib.
I think this is reasonable unless SpaceX runs into a wall at some point. Settle has a fairly wide range of interpretation, but yeah it may take longer than this before a "permanent" settlement can be established.

I find AGI in 60 years to be more controversial than Mars. Not enough evidence yet. One can def hope though.
All the benefits you're listing are benefits that any federated protocol, for example Matrix, has. Completely orthogonal to email itself.
> Criticisms, editing, word smithing much appreciated.

My loose thoughts, feel free to use. (Reordered 2 before 1.)

2. In any bigg-ish privately regulated market, the membership needs to be based on public, objective rules and under a real jurisdiction. If you paid and obeyed the regulations and have been banned/mistreated, you can sue.

1. For any market, if a company (Google or other) has a clear majority of it, they have additional responsibilities.

"Customer is free to go away to our competitors" does not tell a full story (illustrated by OP). The cost to switch is the real deal here.
The word “excessively” stands out like a sore thumb. Seems fishy to have a qualifier just on “violent” and not on any other term.
https://www.devops-research.com/research.html
https://www.amazon.com/Accelerate-Software-Performing-Techno...
I think the case with children is the same as with adults. We don't raise children "to have fun". Some would say we raise children to have a meaningful life for the parent, and I would hope for the children as well, i.e. "to do good work" as you say.

Like others have said, effect of praise would be very specific to individuals, but some have said praise hasn't helped them much. It definitely has not helped me, so here is my reasoning as to why you should not praise a good team. For me, stop the praise, tell me how to be better, and show me you care about me improving, and care about me on a personal level. Yes, I know that when I work hard and give you good output, it helps company, I don't need people to tell me that I worked hard. I can see it (If your company prevents your employees from seeing the effect of their output, thats the problem, don't say praise is necessary. The boss should not try to be the feedback loop). The reverse pavlovian effect can kick in otherwise: If it doesn't come when I am working hard, I feel bad. Also, the boss does not control reality, so becoming my feedback loops is bad, because he can warp reality based on his perspective.

It looks like this is highly specific to individuals though, the above works for me.
And I feel like, while Rust also has you puzzle-solve a little and jump through hoops initially, you quickly start to appreciate all the safety that gains you. And I value that a LOT.
Though I have to say, Zig looks awesome. Both Rust and Zig get me really excited to code more after getting frustrated with god-awful python codebases.
In most significant decisions in gamedev you want art, design and engineering (at least - QA, audio, animation and a number of others as well) to be involved. Some people from one discipline may be versed enough in another to cover the role, but the role must still be present, or there will be pain and work thrown away later on.

(incidentally, the ability to understand an issue from these multiple but interrelated angles is what makes experienced people so valuable in gamedev, and their constant loss to other less crazy industries so painful)
This, I've asked my musician friends too how teaching has been like through covid. All the platforms for recording they stated have at least a 0.5s delay, which makes playing together with a student very difficult. Usually the teacher sometimes has to prerecord a sequence instead and play a video, which makes teaching online not really convenient or fun for the teacher.
Thank you. The article segued right from talking about scarring to severe findings and I wasn't sure how to take it.
In the past I developed a hate for the slow-to-sync and note-disappearing Notes app from Apple. But after reading this article I will give it another try.

In the past, I tried to make the following systems work for keeping notes:

* endless lists of hyperlinks in subfolders in Firefox
* endless amounts of pdf’s in subfolders on Dropbox and iCloud
* Evernote
* Notability
* the free open-source app SimpleNote
Many of Beethoven's greatest works were composed when he was fully deaf (most famously his 9th Symphony, but also the Late Quartets, Grosse Fugue, etc.)
The solution is for the legitimate sites that are driven out of business by Google AI to sue Google for tortuous interference and libel.
C# also does this, and so do Python, JavaScript and Visual Basic. Java is the odd one out by not supporting properties.
What a shitty attitude.

"bad decisions"

Imagine thinking that earning a degree was a "bad decision".
> Is there any downside to being on this list?

If example.com were on list then a cookie set on a.example.com couldn't be read on b.example.com. In this case that would probably be a good thing, since the subdomains represent independent sites, but if a site were erroneously added that could be a problem (mail.yahoo.com and groups.yahoo.com should share login cookies, for example).

The list was originally created to handle cookies, but more recently it's been used for other notions of "site", like cache sharding.