skysight-inc/HackerNews huggingface dataset:
Xamarin Forms already supports those platforms and you can use them today. The main stumbling block is that the tooling doesn't have project templates for those platforms yet. So you need to manually create the MacOS or WPF projects. Also, this new System.Maui looks like it will make everything in one unified project with platform specific code conditionally compiled in - at the moment Xamarin Forms is a bit more messy than that, requiring a project for each platform that share a common library to make the UI work on all platforms. The new stuff looks nice, so hopefully it'll be here on the schedule they mentioned (circa 2021)
Well at least with vim you get to see the whole buffer you are editing. With ed all you see is... ?
https://youtu.be/x-tgoXncKh4
Why do Go articles so often have no syntax highlighting?
I see, that does sound tough.
I'm thinking this might have interesting applications as a range extender of EVs, like e.g. available for the BMW i30. A vehicle with 150-200km electric range and an optional extender could be quite compelling for lots of usecases.
But you do realise that most of the products you use are probably Chinese manufactured?
It depends on what you want to do. If that's sending data into the kernel right now – like procfs or a socket – then write() is what you need. fprintf() will provide more throughput by buffering the data and sending a batched write() later, but sometimes you need to send stuff right now and be sure that it's in the kernel when you get control back.
There is nothing that forces companies to fix the amount of stock ahead of time-- they do so for the retention benefit of triggering loss aversion. If that benefit wasn't worth the cost, they could drop it.
Between this, camless motors, motors that can switch between different combustion cycles and variable compression ratios there is technically still a lot of improvement to be had. Whether or not the political climate will allow those improvements to come forth is unfortunately uncertain
My work from home and work on the road setup is a yoga mat. I found that my shoulder and back health were severely degrading after years of sitting and despite daily physical exercise, and this was the only solution that reversed that pattern for me.
> enacts new standards to address harassment and promote inclusivity across projects

Well done. I like how Wikimedia works with many languages and helps to share human knowledge. It is a great institution and a good example on how humans can collaborate to create something great. Inclusivity is at the roots of humanity at its best.

It is sad to see the unconstructive cynical comments in this post. We need more people to build a better world. Cynicism is a good tool agains tyranny, used agains a foundation that has done so much good is just a cheap shot. Be civilized, be constructive.
You conveniently omit that mastodon.social operates from Germany and thus simply cannot legally federate with many of the Japanese instances.
One of the nice things about the project I work on is that things like eslint, stylelint, and the unit tests all work locally inside of Docker, so I can be sure I'm pushing code to the repo that won't be rejected by CI for code hygiene reasons. CI runs all that stuff as a check, but it's really there for the integration and end-to-end tests, and the build and deployment processes. If you can get your project to work that way it's really nice to have.
Advanced Caching and Scaling Django – Part II
Not sure I get this; who is this "counter party" you are referring to? My understanding was that the company doesn't actually buy shares on the open market when an employee vests RSUs or exercises options, but instead they either have a pool of shares waiting around (which they've never sold before), or they just mint new shares (and dilute existing investors).

For the pool structure, sure, there's an opportunity cost (the company could instead sell those shares on the public market). But in neither case does the company have to go out and spend money to buy up shares.
> Why do Go articles so often have no syntax highlighting?

Rob Pike, one of the 3 original Go architects, has stated in the past he doesn’t like syntax highlighting [1].

> Syntax highlighting is juvenile. When I was a child, I was taught arithmetic using colored rods (http://en.wikipedia.org/wiki/Cuisenaire_rods). I grew up and today I use monochromatic numerals. — Rob Pike

Maybe Sergey Kamardin, the author of this article, is following Rob Pike’s philosophy. That being said, the website has references to a Go library called Chroma [2] which purpose is to colorize source code. The library borrows ideas from a popular JavaScript library called “highlight.js” [3] and that is why you can also see “highlight” CSS classes. The website downloads this CSS file [4] which contains a couple of instructions to make the code look the way it looks.

The official Go Blog has popularized this type of design [5] and many Go programmers has adopted it in their own websites.

[1] https://groups.google.com/d/msg/golang-nuts/hJHCAaiL0so/kG3B...

[2] https://github.com/alecthomas/chroma

[3] https://highlightjs.org/

[4] https://gbws.io/scss/syntax.min.css

[5] https://blog.golang.org/go-fonts
A life well-lived. Very inspirational and extremely, beautifully geeky. Hats off.
I am most thankful for all the bombs that were dropped on the territory of my country during the Nazi occupation, and I am thoroughly sad the USA didn't drop any during the Soviet occupation - the effects of that 40 years are prominent even today, maybe more so than in the 90's; the old communist elite had 30 years to rebuild their wealth and influence and they're trying very hard to get back in power, this time as "centrists".
Then what is the point of federation? You just described a centralized forum/microblogging server.
> Why is all communication done in a wiki page editor?

Dogfooding, essentially. This guarantees that all participants eventually become broadly competent at using it.

There are newer tools to streamline common interactions, though personally I think they make the learning curve steeper in exchange for making it start off a little easier.

Plus, wiki is often an exceptionally good way to hold discussions. The fact that other contributors can, e.g. fix broken links and that freeform layout can be used... that multiple contributors can seamlessly collaborate on a single comment. It's very powerful.

Wiki for discussion also builds community and trust, because people could screw up your comments but they don't. (and if they do, it'll get fixed promptly and they'll have helpfully identified themselves as someone either totally clueless or having difficulty with self control)
The worst node module import issue I’ve encountered is with bootstrap react Navbar component. It runs fine locally but wouldn’t build in ci, and after an hour of troubleshooting it turns out that the B is capitalized (NavBar)... so WTF it works locally?...
>I mean, sure, this apology could be heartfelt. But that doesn’t mean it wasn’t a shady as hell thing to do, and a shady as hell way to do it.

just a classical SV startup - "it's better to ask forgiveness than permission" . This time though we, SV tech, did it to ourselves and thus there are such loud and so many screams of pain - because it is our own pain.
SpaceX Set for Human Spaceflight
Ah, but the Nazi's escaped and turned the CIA into what it is today.

You should show some of that moral concern for the 4 million INNOCENT people that have been murdered in the Wests' illegal wars since 2003.

Clearly, if this means nothing to you today, it wasn't worth our grandparents "defeating the Nazi's". They clearly didn't.
"Note the consistent user interface and error reportage. Ed is generous enough to flag errors, yet prudent enough not to overwhelm the novice with verbosity." - Ed, man! !man ed [0]

[0] https://www.gnu.org/fun/jokes/ed-msg.en.html
I never got this criticism either. If investors are too inept to look at both numbers and do their due diligence to figure out why there are differences (and whether or not those differences are in some way legitimate), then that's on them.

And I also just don't agree that SBC is an "expense" that materially impacts a business to the degree the article implies it does. I think there are a lot of other numbers that change between GAAP and non-GAAP that are much more relevant and interesting to look at. It seems like missing the forest for the trees to pick on SBC like this.
Robert Koch-Institut: Covid-19-Dashboard
I don't know "the reason", but I find "knitting pattern" to be pretty hard to write a lot about in an encyclopedic context while limiting it to exactly that term. The article as is gives a general outline of what a knitting pattern is. I'm afraid that might trigger you, but I do believe that explaining what a programming pattern is is actually much harder than explaining what a knitting pattern is, as it's much more abstract.

And, of course, remember that the article isn't about "knitting", it's about "knitting patterns", so you'd need sources that concern themselves with knitting patterns _as a subject_ and not with individual knitting patterns.

There are very detailed articles about knitting, there's an article about common knitting abbreviations (which I don't believe fits into an encyclopedia, but whatever), there's plenty of other stuff about knitting.

What did you want to see on an article about knitting patterns? And, as a follow-up, why haven't you added that to the article about knitting patterns?
The last ~10 years, i have had rarely any real hardware issues.

My current server is hardware from 2012.

Someone said that just a few weeks ago 'Cars you buy today are all good enough. You will not buy a car today and it will rust tomorrow.'

The only reason why i migrated my desktop pc to become my server, was the new DSLR which made Lightroom unusable due to the raw image size.

I might even think, that Computer Hardware in general is very very reliable. Besides the capacitor plague issue https://en.wikipedia.org/wiki/Capacitor_plague that gave systems a bad lifetime.

And i have plenty of systems here which are running for years and have seen plenty of ubuntu upgrades as well.
Email based PGP encrypted chat
> My bet is always-on broadband. Virtual worlds, digital entertainment, gaming …. None of it would be possible without broadband. Today, we have about 100-250 Mbps in most modern homes.

I’m literally sat in a bank right now opening a bank account for my new ISP company
[1], so this is nice to hear!

I’m hoping to deliver speeds of around 100Mbit to the rather rural area of Portugal I live in.

[1]: https://gardunha.net
Yeah: Domains Protected Marks List, e.g Donuts:
https://donuts.domains/what-we-do/brand-protection

afaik there's nothing that requires registries to use a DPML and it doesn't really make sense unless they manage lots of TLDs, since the cost of adding your trademark to the DPML is usually a lot more than the cost of a single registration.
How to Use Air Purifier Safely?
UK government advisor caught out by Wayback machine
There's so much potential there, Malaysia has a lot going for it from a startup perspective it's just getting the talent, not just in tech either. Energy, rent, taxes are all incredibly low. I guess the same applies to startups but it all comes at a cost.

Homegrown success stories like grab eventually move to Singapore because it's just easier in a lot of ways.

I find it sad, been in and out of the country for nearly a decade and there's some real opportunities to lure in foreign remote workers or startups but there's little political will to do so. The concept that a foreigner could work for a US company from KL will just upset locals who would demand they do the work instead.

Know plenty of expats and nomad types from over the years and even basic things like accommodation is a nightmare. Monthly rentals are rare to come by apart from airbnb and that is banned in many apartments. Everywhere else in SEA you can walk up to an apartment and have a monthly lease signed in under an hour.

When I first moved in for the first week every security guard in the complex demanded to see my lease and accused me of using airbnb, was quite a shock.
Why is this not a welcome change even considering the supply chain difficulties ? The thing is combustion engine fumes make up for a tiny fraction of carbon emissions. The major part is from industrial production (like cement factories, steel plants etc.) In fact, electric vehicles will only help if the electricity powering it was generated from renewable sources which is a significant fraction in certain countries but not most. Considering these facts I guess good combustion is still a welcome change.
Did this when I was 19. Lived in my car and wrote code and got paid for it. That's how I ended up in SV from the east coast. Amazing trip!
As a complete vim beginner this is what I did and still do. I have never opened it fresh as I don't know how to then open a file :D
PyInstaller
Nuitka
PyOxidizer
To name a few.
My experience is from 2015 but from a language-perspective the only things I personally saw lacking for prime-time use would be performance and the compiler/type-checker not always giving accurate error messages - but overall, nothing considerable when comparing to Haskell. I don't know how much those areas have been improving since. Overall I was very excited about Idris and found the syntax a lot more approachable than Haskell.

If the meager library of third-party and community packages is an important factor or not depends a lot on the domain.

I really wish some powerful corp would pick up Idris and put contributions and/or funding to it.
Believe it or not back in the 90s there was arguably even more hatred towards Gates than there is now. There was an entire subculture devoted to figuring out how "Microsoft" meant "666" using some sort of numerology.
The biggest WTF for me is you want to solve problem X. Great someone has written some code in a library to solve X. You want to understand it. Cool, let's look at the source. It uses source transpiler #2 of the big 4, bundler #1 of the big 5, ui library #33 of the big 50, and oh yeah it uses proxies to make everything return a promise so g'luck debugging that.
Sure. The square (or more generally the product) of two segments is the area of the corresponding square (or rectangle). Given a unit measure you can also put the product as the length of a new segment built by triangle similarity.
I understood it the same way until I saw his limited implementation, and then revised my understanding. It seems pretty obvious to me that he isn't writing a sscanf clone.
it should be:

to Exit:
type <ESC>
type :q!<Enter>
In the same vein there's also PyInstaller and PyOxidizer, not to mention platform-specific binaries generators (Py2app, ...)
That is very bizarre
Totally agree. react starter is awesome, never need to look back how to do that require import again :)
The idea of preemptive banning of federating with other instances is extremely common in Mastodon-land. This means that unilateral actions by admins, invisible to their userbase, restrict what their users can read, or who can read their users.

It would be fine if the users opted into this, but it happens silently and arbitrarily by admins, oftentimes based on speculation or gossip, not even real abuse. It’s all of the worst of tribalism, polarization, guilt by association, and preemptive censorship (regardless of whether or not admins are “in the right” by censoring messages between x and y flowing through their own machines).

It’s also not easy or reliable to migrate your account between instances without losing your followers, and none of the server implementations yet support virtual hosting, so you can’t migrate hosts while keeping your own domain/handle.

There are real problems there, and casually dismissing the major censorship issues in the ecosystem doesn’t begin to solve any of them.
Or you could just adopt https://opentelemetry.io/ and then everyone can benefit from all OT enabled libraries without having to write extra code, and you won't have to rewrite in order to change implementations since it's just an API.

The go implementation of OT makes extensive use of the Context [1] object to support tracing, logging, and metrics. You write once, and then the user only needs to decide which exporter to use, and possibly filters to apply.

[1] https://golang.org/pkg/context/
Maybe, but when someone replies to the example of a Nobel prize winner being deleted as non-notable with "[wikipedia is] not a bag of personal anecdotes and life experiences", I have a hard time supposing them to have a well argued position.
You are using Linux at this point, if you cannot figure this out, then good luck with anything else ;p
> When you are at the point when you are patching tools you rely on, you already know a lot.

I think you misunderstood. I am talking about making patches/enhancements to tools written in languages I do not regularly use. So I didn't "know a lot" about the language or environment or toolchain involved, I generally knew nothing (from a dev POV) about it. The small exceptions there would be a Java project (StanfordNLP) and a C project (the PHP language/runtime), where I had use the language in question to write 'hello world' type programs as a student, as part of my Network Engineering diploma, close to 20 years ago.

> The situation in article is equivalent of trying to add maven dependency to raw java project without maven, because you dont know maven exists and then wonder why other dependencies are missing or project is not imported correctly to eclipse.

The first command "John" runs in the article is: `npm install packageName --save`, as recommended by the package’s README.
If you need 4-6 devops people to run infra from the ground up you're doing it wrong. I've seen 4 man devops/ops teams run thousands of machines at scale.

Unless you're talking about a huge magnitude of infra (which you'd have a budget for) then I think your 4-6 number is a little off.
Latest Update on Java EE to Jarkata EE from the Eclipse Foundation
And deep in the text is the explanation how it really spread:

"A Facebook spokesperson told BuzzFeed News" ...
"we are working to remove these types of groups from the recommendations we show people."

That means to me, Facebook algorithms recommended that material to other users for years and especially during the last months! And they are still "working to remove." Damn.

Where clicks and "user engagement" are the most important metrics, who cares about the negative impact to the society.
I'd agree there won't be a revolution as we've seen in other countries in the past decade or so. But I wouldn't put away some points so lightly. We're seeing signs of foreign interference in US politics that fit the Russian playbook, e.g. the domain registrations of those presidentially retweeted reopen-campaigns came at least partly from outside the US. Also there is an increasing divide internally, especially between rural and urban America.
Another kid got PC for Christmas wow.

(The article started fairly reasonable laughing off some cliches about mac and mouse and whatnot, but when I got to the part of "I don't like planning" or "What is server" or lots of other _super_basic_ stuff it became clear that it is just a celebration of ignorance: she doesn't know some stuff and she is proud of it. "I don't like reading" - after these words I decided that either she is a murky troll or just sadly proud-to-be-dumb person.)
The last edit to the Knitting article at the time of writing is 24 September 2019‎, and the page doesn't seem to have any sort of edit protection enabled. I'm confident Wikipedia's policies aren't the major issue holding back a flood of knitting-oriented contributors. The people involved in knitting probably just aren't heavy internet users.

As for the lurking culture war and worrying about the word 'inclusivity' it is hard to imagine a less important issue. Wikipedia is one of the most structurally democratic organisations on the entire planet, and possibly the knowledge accumulating enterprise most resistant to social pigeonholing of its members. Even I could literally copy their software and content and rehost the whole thing if I don't like how the project is run. The Wikimedia Foundation can do whatever it thinks is best; good luck to them. There is no reasonable problem here, even for the paranoid.
ah, gotcha! Very good :)
Oh my! But at least it was a forming experience. Thirty-two years later and I still can't make up my mind as to which editor to use...
Even with the increased electrification of transport, there's still a very strong case for liquid fuel - it just offers an energy density so much higher than batteries, especially in off-grid or remote situations.

Electric drivetrains open up an interesting potential for range-extenders which charge the batteries. The constraints are different than conventional engines - lower peak power, more-or-less continuous power output operation, no sudden torque changes. Different constraints generally mean a different optimal solution.
> you don't know which type you will actually get ahead of time

Sounds like it's statically kinded, and dynamically typed.
Or is it a place between kinds and types at which Idris operates?
Not if you're innocently browsing a file in less, accidentally hit `v` instead of `ctrl v`, and suddenly find yourself in Vi, possibly now in some weird mode due to the other keys you just pressed under the assumption you're still in less.
Designing Database Storage and Retrieval
I meant how imports work within a package, since that is what was being discussed in the article.

Nested `mod`s with sometimes `pub` and then `use` for other stuff certainly seems more complex to me than `import X from P`.

Package/crate management is fairly trivial in both cases, yes. `npm i [package]` isn't exactly a difficult process either.
That's really insightful, thanks for taking the time of sharing it.

That being said, without considering our own opinions on a given topic, you can easily reproduce the experience of visiting random HN threads and finding a well written dismissive post on top of the thread, no matter what the subject is, and almost systematically (and thus, when someone is interested in the topic, that's the first thing they see). This is hardly explained by the "monster neighbors shock" effect. If you agree with this observation, how would you explain it?
Can't you still spread it though, or no?
Yes that’s how gcc implements a switch. But what’s they got to do with irreducibility?
Couple of weeks ago had a customer cross compile a project written in C. That was last compiled 8 years ago. Compiled perfectly with gcc 9.2
Ask HN: What interests you to work at a FAANG
I think there are several reasons to get a job at FAANG such as good compensation and interesting problems. But if we look at other companies interesting problems exists every where
You could take this one step further by using the __COUNTER__ macro to generate unique numbers in the preprocessor.

Alas, this isn't a part of the standard (iirc), so you need to depend on compiler-specific features.
You're right in principle, but I think you're overestimating both the cost of discovery and the value of a 20% improvement: A 20% improvement on a microbenchmark (say float to string conversion) when only 0.01% of your application run-time was spent converting floats to strings nets you fuck all. It might also take weeks-to-months to identify some improvement and get it integrated into each libc implementation.

It's so much easier, and the gains are so much bigger to just change the application, and given people's dependency on stdio is usually quite low, that's what most people do.