skysight-inc/HackerNews huggingface dataset:
> Is it so complicated to work with a duplex-stream?

It's not that duplex-stream is complicated, it's just that request/response semantics are much more suited for most use cases. Where duplex streams make sense, we now have websockets. Even then, on top of that you'll end up implementing stateful request/response semantics because you need some structure unless you're literally dumping binary data into the socket.
Automatic factory on Mars?
Homeschooling is great, with or without vaccinations.

Personally I prefer spreading actual knowledge about vaccines and their advantages (and possible side-effects, too) to calling skeptical people dumb and trying to make them hate "the system" more.
Only a fool thinks that America's participation in WWII was unnecessary.

ETA: You're full of shit. You are saying that participating in WWII was not an act of compassion. What, are you a holocaust denier?

Creating peace in the face of Nazis requires military action, you fool.

ETA2: Of course you want to be done. You don't want to admit our participation in WWII was an act of compassion and that force must be used against the evil.

Nor do you wish to admit that your entire premise of "all power structures were created by the amoral" is ridiculously illogical and that you have moved the goalposts.

It is also compassion to call a fool a fool, especially when they think they're so intelligent. Read up on Dunning & Kruger, my friend.
> Look at all the inconvenience they're causing our poor, hapless customers

Does anyone actually fall for this other than those who are paid to?

I have no expectation that a low paid worker will exist at any time for me. As far as I'm concerned the fact the local supermarket, uber, takeaway, etc keep running is magic. It's thoroughly in the realm of a 'bonus', it's something I don't expect to be able to rely on (even if historically I've always been able to).
With the machine, less workers would be required, so all other things remaining equal, the wages should fall because of supply and demand (assuming the machine doesn't need rare skills to operate).

Of course, as you say, it could work the other way, and working could become more valuable because one worker could generate more returns. But that requires there to be more demand for everything.

Like, say, people eat only potatoes, and all work 8 hours per day to harvest just enough potatoes for everyone. If a machine could do their work, and they couldn't think of anything else to do, there would still be the same amount of potatoes, but less work to do.
TUMI and Chris Pratt
This has an interesting side-effect: Apple is now left out on it's own with a webkit-based browser. (Yes, I'm ignoring Mozilla at the moment.)

It would be nice to see Apple jump in as well, so we'd have a common rendering platform. In my mind, we all have the same network stack (TCP/IP + HTTP + SSL), so why not have this layer too.

Microsoft is proving that you can have a lot of standardization, but still get a custom implementation without having to bet the farm.
I'm far from being an expert at Go, but I will try: goroutines are green threads (very light threads, if you prefer). The main difference between async calls and threads is that threads remove the distinction between synchronous and asynchronous code.

In C# or Python 3, each function is colored as either sync or async. You can quite easily call an async function from a sync context, but doing a blocking sync call from an async context is forbidden (although possible).

In Go there is no such distinction: you just write your functions in a straightforward fashion, as if everything was synchronous, and then wrap whatever you want to run in the background in a goroutine. If you don't need the return value from that function, it is has simple as issuing:

go my_func(param_a, param_b, ...)

Note that goroutines are green threads, not OS threads, so you can easily spawn many tens of thousands of them without bringing your system to a halt.
The UIDVALIDITY is actually a great design. IMAP servers will usually store the UID mapping in some kind of index that is used even across restarts. Therefore in normal operation this is not a problem. When did you encounter problems with this in every day use?

If the UIDs were not allowed to change, you would run into practical problems on edge cases. What if you switched your IMAP server implementation? What if the index files on server side got corrupt and you had to rebuild them? What if you had a fatal disk failure and had to restore an older backup? Mismatching UIDs would be even worse than a way to indicate to the client that the previously retrieved UIDs and associated messages are no longer valid. UIDVALIDITY is basically just a way for cache invalidation.
This is good to know. I would have never figured this out or thought that it was an option
> Windows already tries to track active use times for the user, and is capable of waking a machine up in the middle of the night, install updates, and then go back to sleep. Improvements to session restore makes this almost seamless.

Except for all the work it destroys in the process. Many productive workflows can't just be closed and restarted at random - pretty much anything in a terminal, for example. This new one seems great, but it can't be any different in that regard, as it has to run the same command line tools.
Also, in the early/mid days of coin-up games, a skilled player could win a game with a single coin while having fun in the process and using their skills instead of simply waiting for stuff to happen.
He wasn't quite punished for eternity, just for a very long time until Hercules set him free. Not sure what that means for the company, but if I worked there I wouldn't want to be the company's equivalent of the liver.
Yep, QE seems to have largely limited the deleveraging in 2008 before it went all the way, and the USG took over a lot of the bad debts and socialized the costs. But the govt would have more limited options this time, since rates are so low already. Also, governments around the world have been doing QE since then, so this would be a world-wide thing. I don't know how it's going to play out, I just have some ideas.
The point is that homeschooling is not legal in Germany, so banning vaccinated kids from school would give some parents a way towards what they want (keep their kids out of school) by not vaccinating them, which is exactly the opposite of encouraging vaccination. (If we assume the concept of "ban from school" makes sense if there's a law mandating school attendance)
Anyone know if there will be an on-premises option for this? I'd love to have this but for various reasons we'd have to run it off our own servers.
(android)
Try fish shell [0]. It's not entirely POSIX compatible, but it's close and it provides the best shell experience I've had. It has sensible defaults so everything works well out of the box

[0] https://fishshell.com/
Now that the announcement is official - yes, it's open source!

https://github.com/Microsoft/Terminal
What? They compete today with significantly lower fuel cost. You see 100+ mpge on every electric car I know of today, you're looking at half-1/3 the per mile cost in an electric car. That more than makes up for the higher upfront cost over the lifetime of the vehicle, with cars you can go buy right now, today.
Urban Nature Experiences Reduce Stress in the Context of Daily Life
My guess is we aren't so lucky just yet. UWP has so much Windows 10 device specific functionality, and I think that Xamarin.Forms already satisfies this need.

Instead, what I see them doing is making it easy to share code between UWP and other platforms. There are so many competing options for code re-use, hopefully .NET 5 can consolidate things a bit without sunsetting Mono projects
I don't think that is strictly true. Overall life IS easier for most people, because things are also cheaper to come by. And there still seem to be jobs.

But sure, there are various ways of looking at it. As others have pointed out, with increased productivity, the value of labor could also increase.
Announcing WSL 2
Thanks.

And as much as people complain about Microsoft's messaging with respect to .Net, there isn't really a simple way to explain any of this -- even to people who are deep into the .Net ecosystem. I feel their pain.'
No worries. It's worth clarifying specifically because of how many user-facing software stacks are indeed built on top of Linux.

Still, I feel like the only reason the Year of the Linux Desktop hasn't "arrived" is because we keep moving the goalposts on what "Linux Desktop" means (and/or maintain an unnecessarily strict definition of it), probably because we do mean "GNU Desktop" or "GNOME Desktop" or "KDE Desktop" or "X11 Desktop" or something along those lines when we say "Linux Desktop".

Would you count ChromeOS as a desktop Linux? If not, why?
unaffiliated plug for mintty

https://mintty.github.io/

Also; Cygwin, XWin and a real copy of XTerm/Gnome-Terminal/etc can give you the entire capabilities of a native terminal. Including weird hacks like w3m's image previews.

https://blog.z3bra.org/2014/01/images-in-terminal.html

The "downside" is native windows console apps will have a bad time with these terminal emulators.
What would you define as the third party in cigarettes? Smokers and cigarette manufacturers seem to not have some negative third party by your definition, yet I find it pretty hard to accept that the current legislation against cigarette companies hasn't done a world of good for humanity.
> But its not only about bugs, MS should not mandate new features on me, only security fixes.

Eh, it depends.

Microsoft got seriously dinged in the press, and by customers, for their long release cycles. MacOS and all the mobile OSes, offered seriously cool new features on a regular basis! Windows looked stale by comparison.

And some of the new features are sweet, such as the new terminal! Heck having native OpenSSH support built into the OS is wonderful! Being able to iterate on search so it now actually works! The improvements to OneDrive and the underlying file system. These are all great features that have rolled out with Windows.

(Media controls from the lock screen, improvements to Windows Snap, better BT pairing.)

Meanwhile Android is set to kill file managers, and Google Music can't differentiate between differently named files that have blank ID3 tags, necessitating my using a file manager to play my MP3s. (That one seriously throws me for a loop, just show me the file name as a fallback!)

(I should just get around to manually adding ID3 tags, but how is a regular end user supposed to figure out what is happening?)

Honestly most of the time rolling Windows updates mean my OS just gradually gets better. I don't notice it unless things go wrong, but isn't that how it always is with software?
Satya Nadella has really turned Microsoft around. He & Sundar will achieve wonders & it will be a win-win for all.
Xamarin Forms is that.
From personal experience, I can tell you that $6K/month is not exclusively a Silicon-Valley phenomenon.

Basically you cover it with whatever SS, pension, savings, and other assets they have. When those don't cover it, you make compromises in quality of care, your finances, and your family's life.
Ask HN: What's your favorite ad/popup blocker?
I reached some breaking point today, every site I visited had some annoying "support" bubble in the bottom showing messages and popups trying to get me to sign up for something or other. I have never really used a popup blocker before and would love to hear suggestions.
Yeah, I thought that through after, and revised my thoughts. I wrote it up top-level but I think the best way forward is embracing that this isn't consistent with anything else in Rust and introducing new syntax, specifically '!await' or '@await' postfix operator. The reason there isn't a good answer that's consistent is that the behavior is inconsistent. As such, it needs new syntax.

Either the syntax is inconsistent or the semantics are, and IMO, the former is preferable to the latter.
B.S. I was solo IT for a 50+ppl company, on a three-person team with a CIO/DBA and a data manager. I supported a full Windows/Exchange LAN with heavy printing needs, tape backups, internal/external infrastructural services and webservers with LOB java webapps, remote users, etc. Through all this I learned Perl from scratch, rearchitected the business systems (hardware) and reduced their production time by like 90% (two weeks to two days) with zero downtime (primordial blue-green, as it turns out), and wrote a completely new ETL flow with my new Perl skills. From four servers under a table to four racks, SaaS architecture is exceedingly simple next to all this, and the company spent probably around $10K/mo all told, maybe up to $20k while I was buying hardware.

Maybe you simply haven't seen this kind of operation in action before?
Is it just me, or are all critical comments being downvoted here. It seems like this thread is overrun by PR folks and microsoft employees.

In the techcrunch windows terminal thread, one of the top comments starts with "I've been developing on both MacBook Pro's and Windows laptops for 15+ years now, on a daily basis, and I can confidently say that Windows laptops are superior to MacBook Pro's for development in every way.".

It reads like an infomercial. What is going on? Did the "hacker" community suddenly fall in love with Microsoft?

Another gem: "Satya seems to be the rare visionary CEO of a megacorp, instead of just defaulting to a defensive and reactionary stance like most other leaders."
I'm guessing bloatware? I haven't purchased a non-genuine Windows machine in at least a decade at this point so I've never run into this type of issue.

The best way to get a Windows computer is either building it or buying it directly from Microsoft so you can get the genuine versions that have little to no bloatware.
Well of course it wasn't strictly apples-to-apples because I did leave off the cost of the DCs, the hardware, and the initial license acquisition. But those costs are shared across multiple teams, amortized over long lifespans, etc, and we also get volume discounts. But even taking that all into account - for 24M we can, and have, bought about a PB of storage, multiple blades and enclosures, licensed OS, and acommodate the salaries of the teams we need to run it all. I'd hazard a guess that that 24M is a pretty significant portion of the entire IT budget, in fact.
The essential economic problem is that currently running small retail businesses isn't viable unless you sell through Amazon's distribution (also less centralized ebay). This means far fewer retail jobs, empty storefronts and malls, taxes levied on businesses, gasoline/petrol etc
The centralizing of everything through Amazon is classic monopoly practice. I have a ladder being delivered by them today I ordered on Friday evening. No one can compete on price or efficiencies both on their side and from my perspective. I don't want to drive my truck to buy a ladder. Nothing is stopping this trend form rapidly increasing across the western world
Seeing as Visual Studio Code was created with web technologies, this shouldn't be too difficult for a motivated individual to recreate.
So Microsoft has the chutzpah to create a github repository trying to dupe people into contributing enhancements to components of their for-profit spyware?
How disconcerting.

>If this takes off, it would remove one of the last few holdouts of non-HTTP application specific protocols.

IRC and FTP come to mind, but yes. It's as if email's being attacked at all angles, lately.

>While using HTTP is not necessarily a bad thing, it's certainly an interesting indication of how application developers prefer convention based protocol definitions (JSON over HTTP) instead of having a strictly defined protocol over a duplex stream (IMAP over TCP).

Using HTTP is a bad thing, I think, because it's a complex protocol and it's entirely unnecessary; JSON is a poor, ad-hoc format that isn't optimal for parsing. I don't believe developers ''prefer'' any of this so much as it's being forced on them.

You can really only define things rigidly if you want to make much in the way of guarantees. Any system held together by conventions can have those conventions violated and this is a harrowing sign of things to come.
Doesn't your robot example say exactly what I meant?
First question - each ton of CO2 captured is equivalent to approx. 113 gallons of renewable gasoline. If we replace all fossil gasoline in the US, for example, that's approx. 140 billion gallons, equivalent to approx. 1.2 Gigatons of CO2. You can more than double that for the world. If we include all liquid fuels (including heating), it's larger still. It's a hugely significant CO2 emissions reduction.

Second question - I chose Prometheus because the story is that he gave us fire, and we have a responsibility to use it well. So far, not so good, but now we can do better. I imagine him saying "here's fire, don't screw it up".
Are you asking "how should I word my reply", or are you asking "what should I do to mediate this?".
I will hence be using the logic you have applied to me to any comments I see, because there are some obvious double standards here.
The Brave Browser
Shipping a Linux Kernel with Windows
Could this be a superior method for generating methane on mars?
Same. I run an e-commerce site and waited and waited before I put one up, I just thought they were annoying (even with no sound) and rarely used. God was I wrong. Within the first day I was making sales over people asking questions on the chat and ordering right away.
If you need to optimize to that extent, then do whatever you need to do. In the vast majority of applications it makes no difference.
Unless the stock price declines after the buyback....
Tareq Rajab Museum of Islamic Calligraphy
You are answering my hopes and dreams for a Windows Terminal. The only thing I need after this is split terminals like how iTerm works (so I can have a big one, a small, thing one below it, one on the side, etc). This helps SO MUCH when doing likes like complicated deployments and I need to monitor many systems at once.

Is this open source? Is there a way for me to help contribute back? Thanks for the hard work!
"possible to replace with alternatives" != "useless"
The "quiet hours" auto update is also the default way it always worked in Windows 7 home versions as well. I tend to delay Windows updates, but for patch Tuesday, Windows will override that and restart at 3am.
That's the difference between comparative advantage and absolute advantage.
Solar is already down to $0.065/kWh for industrial applications [1]. That's $3.90/gallon at today's prices, and solar prices continue to fall.

The DOE's 2020 targets came three years ahead of schedule. Their 2030 target is $0.04/kWh [2], which would work out to $2.40/gallon. Mix in the fact that a bunch of countries (and US states) have implemented carbon taxes and you've got yourself a good long term investment.

[1] http://solarcellcentral.com/cost_page.html
[2] https://www.energy.gov/eere/solar/articles/2020-utility-scal...
Extremely interesting analysis. But it would be nice to know their marketing budget.

Without that, we don't really know whether the design or the advertising is the reason for revenue.
Oh wow, the newer model is so much better!

If anyone is interested, I have a repo for using it as a discord bot [0].

I didn't know that openAI released a newer larger version though, good to know!

[0]: https://github.com/itsmehemant123/gpt2-discord-bot
If by "exploratory testing" you mean things like clicking around on a site manually, then sure it can be useful to spend a couple of minutes looking for anything dodgy.

That doesn't mean engineers are paid to go through a list of regressions and edge-cases, look for broken links, double-check calculations with pen-and-paper, etc. All of that can be done across an entire site automatically in seconds; there's no excuse not to.

> a) users do crazy things

Again, thinking we can check such things better than a computer is misguided. Test frameworks like QuickCheck can stress-test a system with far more strange inputs/transitions than I could hope to think of.
I know a lot of people like to claim that the US is like the EU, but this is the first time I've heard someone claim that the US is literally in the EU.

Less sarcastically: the GDPR is not applicable in the US, so hiding behind that does me no good. If your only defense is "but the GDPR doesn't let us do that!", then that's deeply concerning and only proves my point.
IE mode will not make the new Edge kill Chrome in market share.

The relationship is the other way around: the lack of Windows 7 support is what killed Edge in the real world.

Anyway, Microsoft is learning from its mistakes.
I sucked at soccer (still do) but met many of my current friends through it. Local adult rec leagues can be pretty forgiving of bad players, especially if they have multiple divisions (I play in the lowest division).
Show HN: CoRepo, a Company Search Engine
Do you run .Net Core on Windows or Linux?

I have a project in the early design phase that I was thinking of going with .Net Core on Linux. I've thought about going with Java, but with all the recent Java licensing changes don't think I want to go that route anymore.
Microsoft just teased a slick new Minecraft AR game for your phone
Yeah, you can stop calling me a fool. Like I said I'm not making any value judgments. If anything your example disproves your own point. The reality is that humans are not harmonious by nature at scale and the people in charge are always going to be powerful and practical ("amoral" in your terminology). If they weren't, the systems would collapse or be taken over by a competitor who is more effective.

Edit: we're done here. You obviously can't have an intelligent and respectful discussion.
I don't have anything new to add, other than to say - this is a very well written startup pitch. I'm in awe of how clearly you've laid out the opportunity.
> IRC and FTP come to mind

They're niche now, though.

HTTP and email protocols are probably the only open protocols that almost everyone uses.

There's ssh, but it's also arguably niche in comparison.
Well, short of most humans becoming monks? :)
Is your supply chain carbon neutral?
...the general fuel is going to be sold and re-burned means this is at best carbon neutral, so from a cynical environmentalist point of view, what's the point? This can't help anyone unless you pump the synth-gas into the ground and sequester it...

The status quo today is that we are removing carbon from the ground and putting it into the air. This replaces those fuels that currently come out of the ground. It's still a big win, even if it's technically only carbon neutral.

Even electric vehicles aren't carbon neutral, because they're mostly charged by coal power.

Also: you suggest the synth-gas should be pumped into the ground. What would be the point of converting the carbon dioxide to alcohol to gasoline and spending electricity to do it? At a minimum you could just pump at the alcohol stage.
Same thing. Money = flexibility and control. People may feel the environmental anxiety, but feel powerless to do anything about it because they have to spend all their time working (if they can) to make ends meet. Social media stats/clicks are a similar race to the bottom to make money. Overall there's a sense that every part of our lives, environment, social sphere, and future is being over-leveraged, over-risked, and is hanging from a high wire above oblivion.
Yes, I should have a > 3 first, since I was trying to say that the values of a that would trigger a > 5 are caught by a > 3. If a clause is obviously unreachable, that's likely a bug. But it doesn't mean that reversing the clauses is the right fix, either. They continue to overlap; and if that is allowed, this is not a "switch" in any sense.
For a very long time .Net was Windows only. That only changed after Balmer was gone and Satya came in.
Just switch Word to draft (nee Normal) render mode. It was never meant to be performant in print layout mode.