skysight-inc/HackerNews huggingface dataset:
I would tell them they don't need to figure out 20 different technologies. If they think they do, they've missed the point of the "basic" in "basic web project". If the 20 different technologies in your example include such basic things as an IDE and version control (evidently it includes at least the latter), I would tell them to start at the basics and learn the tools before they expect to be able to use them.
Man, you know we're doomed to face the climate apocalypse when a simple thread about emissions is this divisive.
2020 Mac Mini – Putting Apple Silicon M1 To The Test
The author says that the problem is:

> I have some changes. I wanna share it with Jon and Johnny so they can tell me what they think. And then maybe they can add their ideas. And then we can have a merging of our ideas, and eventually test out if it works, and have it out there and ship it.

Fundamentally this is the problem. If this is your use case, then git is not for you. But this is not really a use case because people have not thought through the complexity of what a "merging of ideas" means.

If you want the simplest version of this, just use a google doc -- you get history, collaboration, all of that. It's a fine tool for what it does. You don't have to worry about backing up checkpoints or anything, or sending around multiple drafts for revision and comment -- all of that is directly included.

For people who need to manage versions, in order to use git you have to acknowledge that you can no longer treat your version control as an annoying little checkpointing thing that magically shares stuff, because that model ALWAYS breaks in reality; anyone who has used CVS knows this. Anyone who has had to do branching in Perforce or SVN knows this. You have to understand how it is implemented under the covers.

Fortunately, git is really really simple under the covers -- there's no deltas or change records, just an efficiently stored snapshot of the entire tree, and when you commit a change, it stores an efficient snapshot of the entire tree. The previous snapshot is still there, as are all previous snapshots.

Then it's just a matter of learning how each of git's commands map to changes to the underlying data model.
I get frequent questions from other developers (not all junior) on how to fix weird messes in git they've made which is fine if you're just learning but at some point it's like seeing a developer who can't type properly, just kinda why subject yourself to so much extra work to avoid learning to use something. Yeah it's kinda hard and not very exciting but it's powerful, a part of pretty much every software related dicipline and we don't have an easier modern alternative right now. I don't get the stubborness around it.
Yep. I'll also add that "books" are typically used for higher-level, more narrative pieces of documentation, vs the API-level `rustdoc`-generated documentation.
I guess not globally adopted but Qt to me is a pretty workable cross platform solution, nicely performant and reasonably easy to work with with great community support and problem googleability as well as pretty damn nice docs.
Well, yes, but a few working power plants would make the situation a bit better for as long as we can still maintain them, wouldn't they?

What's your contingency plan, everyone commits suicide the day the volcano erupts?
High speed trains are a good alternative (for domestic travel)
Passenger aircraft also carry freight, and there are also various freight airlines, but it's strange that there is no mention of that in the article.

In truth, we may be also responsible for aviation emissions even if we are not flying; simply by clicking the "Order" buttom on some faraway e-commerce site, or posting something via airmail...
The issue is there is a non-trivial portion of even industry insiders who buy into the "nothing to hide" rhetoric. I can't count the number of team outings I've had these conversations and get stonewalled on "Well, just be a Luddite then." I figured it's some sort of Upton Sinclairism, but most of them weren't even relying on it for a paycheck, and saw someone complaining about (for example) someone being nervous about the use of voice assistants like Google Home, Siri, Cortana, or Alexa around them, and wishing to have those devices turned off burdensome, or unreasonable even if broached politely.

Do not seem to have that issue with people historically targeted by governments though.
> I wish they would focus more on email

I'm a fairly new user and I feel the same way. For me the product would be much better if they would put more effort in the email client itself and keep these addons in the background (development-wise).

Still, I like the fact that I'm paying for the product and that Google is not reading those emails.
Covid-19: Why Isn't Ivermectin Being Widely Researched and Utilized?
Well, the idea between "major OSes" is that they try/do/offer different things. And the UI is large part of that. If they all have adopted the same, we might as well use a single OS.

That said, there should have been one, good, cross platform GUI toolking, and Qt, for various reasons, isn't it. The best we have is Electron...
Why refs are not versioned themselves? Sometimes I miss an option to "checkout" state local git env of my somebody else I am trying to help with git.

This would also keep history of branch changes on the server side, making force pushes trivially revertable.
Yes, which is why my VPNs are available on port 443 and 53, including a TLS based VPN.

Now port 53 can and often is intercepted (but sometimes it gets through when 443 doesnt)
I was that kind of consultant for 5 years. At least two flights each week. Sometimes 4 if doing a connecting flight. Sounds crazy now but then main thing i was concerned was how to get more Hilton or frequent flyer points.
There is a minimum bar for programmers I'd want to work with. Fully understanding git, for me, is part of that bar. The problem is that many programmers don't know how fundamental git is:

1) It's like understanding the basics of databases, network protocols, or compilers. It gives a lot of insight to how things work in a pretty deep and generalizable way. How do you organize data, and why are DAGs, Merkle trees, and hashes awesome? It's a beautiful case study in data engineering.

2) It's like knowing the shortcuts in your editor. It makes you more productive. If a programmer is hunt-and-pecking to type, and gets confused by shortcut keys, they'll be less productive.

Yes, I understand not all programmers will know how important it is to know this stuff, and I won't disadvantage someone who hasn't done this YET in hiring. But I would never hire the type of programmer who says "I don't need to know this." You do.

I'm sorry, but it takes a couple weekends of work to write yourself a git end-to-end from scratch. That's 0.5% of the time you put into a CS degree. If you don't have the interest, discipline, or drive to do that, there are plenty of jobs out there.

git internals are simple, but hard. Like Go. If you don't understand them, the userspace is a near-infinite pile or arcane complexity, incantations, half of which break something in counter-intuitive ways. If you do, it's a matter looking up the right command in the docs in a few minutes.

Yes, compilers, database, and other tools abstract away a lot of stuff. But if you don't understand the internals, you're likely to hurt yourself and my system in very bad ways. I don't want that on my team. My experience is good programmers are fluent one or two abstractions up and down, to not e.g. make a database query that does a full table walk, run out of stack space with a compiler that doesn't do tail recursion (and conversely, know they can use tail recursion with ones that do), etc. A tool you use every day definitely falls into the category of Stuff You Ought to Know, in a way that understanding how quantum tunneling is used in an SSD is in the category of Stuff You Don't Need to Know.

If you're hurting yourself with git, that's a good signal it's in the Stuff to Know category. And if you've wasted more than a few hours fighting git, as it sounds you have, it sounds like making a focused effort to learn it will save you time in the long term. Probably in a few months, even.
I use an x86 CPU every day for work and I have no idea how it works in detail, and thanks to the magic of separation of concerns I don't have to (perhaps apart from a few specific things like vecorizing instead of loops that I really do need to know about).

Git demanding a large chuck of user mindspace isn't an advantage for git, it's a signal that git is bad and needs replacing.
OP here. So, here was my big problem. I write endless hierarchical notes for endless meetings that I live through. They go like this:

- New Client

- Referred by John

- Looking for a quote on X

- Would like to chat next week to hear options?

- *** Ryan (me) to create 3 slide presentation to highlight options and cost

See that last one!? Yeah, that's a task/todo for me buried in notes. So, now I have little tasks that sit within my massive note taking document. It's not great for prioritizing or quickly trying to see what's urgent for today/this week. And then I hate copying that information to a separate todo list (computer science nerds just hate redundancy :). All these approaches break down fairly quickly.

I believe that any note can also be a task but we shouldn't copy them to a separate list ("pass by reference" instead of "pass by value" for the computer geeks out there). These seems intuitive but haven't really seen this implemented anywhere.

Does anyone else have this problem too? I spent the last weeks building this prototype. I think it achieves my goal but I'm still tweaking and building. I'd love for some feedback and to hear your thoughts on this problem/solution.
Is this the same case for your script? Or is there some easier trick?

FIFA is a simplistic game at the trading level, so the answer is yes, it's lots of rule based clicking (based on things that do or don't appear on screen) but there's little nuance required. The main mechanism is just searching for underpriced cards over and over and buying them before someone else does.

I only do it for fun, I barely play the game, it's more a "because I can" side hobby to learn and play with technologies I want to try out.
tig is way more UI friendly though.
Top Data Analysis Tools for B2B Marketing
> In consumer facing apps much more. Especially younger people, used to shiny websites/html point out quickly, how ugly something looks. And then not use it.

As far as I can tell, this is a narrative that only exists in the heads of people who never have to use the thing they are insisting "look good". Sales people, managers, developers, etc.

I will accept that I'm wrong when I either experience it in the real world for myself or see some actual evidence.
The conversion of formulae to Gödel numbers is basically an implementation detail, the fact it can be done allows us to define theorems on the natural numbers that describe properties of the logical system. Encoding an invalid formula is of course possible, but I don't see why that would be a problem, it doesn't inherently 'prove' anything.
Yes, it's not that every flight you don't take across the Atlantic saves 2 tons of CO2. It's that it has a 99.9% chance of saving almost none and a .1% chance of being the straw that breaks the camel's back in causing a reduction in flights on that route and saving 2000 tons of CO2. But they're the same in expectation.
Hands-on with the Apple M1–a seriously fast x86 competitor
Show HN: Inlets as an IPv6 Proxy
ISPs in the US have been doing it for years: https://www.infoworld.com/article/2925839/code-injection-new...
> An additional desktop will be created.

For those not familiar with Windows internals here's the documentation for the desktop[1] object.

In particular note the following:

"Window messages can be sent only between processes that are on the same desktop. In addition, the hook procedure of a process running on a particular desktop can only receive messages intended for windows created in the same desktop.

...

During the user's session, the system switches to the Winlogon desktop when the user presses the CTRL+ALT+DEL key sequence, or when the User Account Control (UAC) dialog box is open.

The Winlogon desktop's security descriptor allows access to a very restricted set of accounts, including the LocalSystem account. Applications generally do not carry any of these accounts' SIDs in their tokens and therefore cannot access the Winlogon desktop or switch to a different desktop while the Winlogon desktop is active."

Thus the exploit program shouldn't be able to press "Yes" on the UAC dialog. It seems the paper mentions this as well, but I didn't have time to study the rest of the paper to see how they overcome this to do interesting stuff.

[1]: https://docs.microsoft.com/en-us/windows/win32/winstation/de...
"Education is what is left after you have forgotten all you have learned."

-- someone or someone else. I forgot.
The problem isn't just HTTPS, it's the ever-expanding array of various APIs and technologies that "must" be implemented to be a "real" or "complete" browser. Even Firefox, that's been around for a long time and has a fairly large mind share, is at best an afterthought in many web projects.

The amount of APIs that need to be implemented to be considered even a basic web browser is so huge that it's not an approachable project for just about any organization, and as an individual it's just not possible.
'Don't shoot yourself in the foot with a gun - how hard can that be to understand'?

And yet people do it all the time.

The 'rule' is easy enough to understand.

But it's not always clear 'why' that is (in many cases, it won't matter), or when exactly it applies.

In the lowest common denominator cases, the rule is not so hard to follow, but it can get messy quickly and there are many ways to break the rule.
Saving is destructive. Why would you want to trigger this automatically?
Companies that big should not be allowed to operate. They will have too much personal data and incredible unfair competitive advantage on the market. It's when capitalism doesn't work and where it needs to have emergency stops. Amazon needs to be split into independent companies. Now that Amazon will also know your medical history, know what you are talking about at home, all your preferences, who you meet, what are your problems, probably they know even more that Google. This should be stopped. We shouldn't be trading freedom for a notion of convenience.
Yes, you are right to be skeptical. It is an extraordinary claim that goes against all of what we know from covid-19 genome sequence studies so far. The burden of proof is very high for follow up evidence, otherwise it is just a hypothesis. Here is some commentary about this from the director at UCL Genetics Institute - https://twitter.com/BallouxFrancois/status/13280583985171906... if anyone is interested in following along
Bitcoin crosses $17,000, the highest price since January 2018
Vanilla TypeScript (Gts)
To me it read as though the author cleverly worded it as 'he could do something like this' to separate Frege's idea (theory of sets) from the specific example.
Not true. The first sentence of the first paragraph make mention that the EFF is representing the youtube-dl developers. An attorney-client relationship.

> The Electronic Frontier Foundation represents the current maintainers of the youtube-dl software utility, a free software project that uses GitHub as a home for development.
I tried this but I ran into a lot of issues so I just turned it off again.

For example: Twitter would periodically refuse to load. You'd have to force refresh Twitter for it to load once again.
Yeah, or people flying on business trips. Some people fly and then stay in a hotel, instead of driving back and forth each day.
Layer 1, 2 and 3 – Nanotransactions in distributed networks
Yes but filter-branch is horrendous and could very easily result in unintended side-effects, as well as potentially being very slow. I think this command is a great example of the problem; what a user really wants is an undo button but what git gives them is this thing.
The mentioned technique leads to an arbitrary code execution as trusted system user. The Windows Explorer process executes the malicious actions instead of the malware process. By default actions of this trusted system process will NOT be blocked or classified as malware.
I'm afraid I don't see your point here, please elaborate.
It's evident that you think requiring basic competence is toxic, but you don't really compel me to feel differently. You have told me what I think is the case is toxic, wrong, disgusting and harmful. I now know you feel strongly about this.

I don't hugely feel like seeing things from your point of view because the only thing you've really told me that might change my mind is that you lose people when you require a basic amount of capability. I'm sorry to hear that this grievously wounds you on an emotional level, but I don't see that as a loss.
As a percentage of emissions of CO2 what does the airline industry contribute?
Our Top Tips for Career Networking
edit: I amended above slightly to more accurately describe the ennui.
This is such a good comment.

I was in China for a friend's wedding and his fiance's family was adding another floor to their house. I asked what kind of permission they needed. They said they didn't need anything. They just went ahead and did it.

Contrast that to the US and, depending on the place, you could spend months arranging to get the proper paperwork and inspections to be able to do something like that.

So while the Chinese person may not have the freedom to strongly criticize their government, in this case they did have more freedom to make an individual improvement to the quality of their immediate life.

I think it's a huge issue when someone brings up "freedom". What does that even mean? In a society you're never truly free. There's always some form of constraint. You could go live as a hermit and be free but then you're constrained by the physical limitations of the environment.

While walking to work (pre-covid) I'd see homeless people and wonder "Are they freer than me?" They can wake up and do whatever they want for the day. I'm the one that has to stick to a fairly regular schedule.
Funny - I used P4 for about 7 years before switching to Git 2 years ago, and Change Lists are what I miss most from P4. For me it is extremely common to work on multiple changes in parallel, on the same branch or different branches, and organizing my changes in different change lists was the best way to handle it.

I also find git's default of rewriting your worktree when you switch to a different branch extremely annoying compared to simply having each branch be a different directory in the FS. Fortunately, digging around I recently discovered git worktree and I'm much happier on this front at least.

The file locking was always a relatively obscure workflow, so I'm surprised that you even had to see it if you didn't use P4 a lot. I've only seen it in 3 occasions: working with binary files, the error message when I didn't actually have write access, and when someone intentionally locked some files to make sure they don't have any merge conflicts while they finish up a huge commit.
This sounds like a terrible way to test the vaccine’s efficacy.

A better test would be to have all the participants walk through a minefield of people with the virus. Breath in all that infected air.

Then run the numbers and see who got infected.
How Spotify Codes Work
Hah, I mean...what can go wrong here really? :D
Yes, I get that. The reason I brought that up is to point out that the comparison to market-based systems working better is not a valid comparison. And a system that allows people to pay more to "jump the line" is wholly against the social aims of this pricing mechanism.

If you raffle off these tickets to the luckiest fraction of people who want them, many prospective purchasers will end up disappointed. You can shift the mix of how many of them are disappointed by technical glitches versus how many are disappointed by the tickets going to other people, but you're still going to disappoint most of the people who want them.
Apple MacBook Air with M1 Review: New Chip, No Problem
PyInfra is probably the closest to Pulumi in the configuration management area (no YAML, can be used as a library).

https://pyinfra.com/

https://github.com/Fizzadar/pyinfra

HN discussion: https://news.ycombinator.com/item?id=23487178
> Thus the exploit program shouldn't be able to press "Yes" on the UAC dialog.

This is correct!
>And now, with COVID, we're watching our economy cleave into the starkest case of haves and have-nots in my lifetime.

I am really sad about this. It's going to be a literal depression for a significant portion of American society.
Am I the only one to consider "var" as a pointless way to declare a typed variable in Java? Especially in very classical cases like interface/implementation:

AnInterface<String, String> foo = new AnImplementation<>();
By that logic, playing Netflix on your browser is breaking DRM. That’s not how that works.
I don't understand this criticism at all; could you clarify what the issue is?

None of this - DoH, nor HTTPS-only - is required. It's not even on by default (yet). If you have some specific wishes; it's trivial to pick a different DNS system, or leave https-only off.

Additionally, DoH and https-only aren't really closed or locked in in any way. There's a cloudflare-base DoH option that's used by default, but just as you can pick your own DNS servers, you can also pick your own DoH servers. Sure, it's new (and thus not on by default), so selection is still fairly limited. But even ISPs are starting to offer DoH, and surely others will too. There's no reason to assume that you won't soon be able to pick from several choices for your DoH setup, including local or LAN options.

You mention pihole; and though I've never used it, they do have a page on DoH, and a superficial skim doesn't have any huge issues: https://docs.pi-hole.net/guides/dns-over-https/ - and looks like it's based on code described here https://developers.cloudflare.com/1.1.1.1/dns-over-https/clo... - and that supports upstream and downstream DoH, by the looks of it.

In other words: all change has some friction, but if you want local control: you still have it. The only thing you really lose is the ability for networks to hijack DNS of devices that don't trust it. And that's a feature, right? If you trust the network; sure, use that DNS if you want. But if you don't: better that its easier to avoid control by that network.

What downsides does DoH have?
Spanish satellite Ingenio has been lost due to a failure of Vega rocket
Apple’s M1 MacBook Pro is powerful, but the battery life will blow you away
This a probably a symptom of a much deeper problem. In theory tickets are non-transferable, but it is not enforced at all. A passenger train carries more than 500 people and if someone gets caught they just bribe out of the problem. Since the ground level problems are hard to solve, a solution at the top gave IRCTC some power to control and lower the available black market tickets. When the problem with identity and transferable tickets is solved then I think technical problems will be resolved.

Keep in mind Identity is hard to check and for rural passengers. There were very few such documents before AADHAAR etc.
GitOps – DevOps for Infrastructure Automation
Tax carbon, and you’ll influence all industries broadly and fairly, rather than taking on the venal task of searching out who doesn’t deserve or make good use of their emissions, according to us.
https://citizensclimatelobby.org/