skysight-inc/HackerNews huggingface dataset:
It's a couple of years old, but this post on "Why I'm not going to switch to Wayland yet."[1] summarizes some of the concerns I have about switching to Wayland:

"at the moment there are several types of applications that not only don't
work in wayland, but would be very difficult, or impossible to work natively in all major wayland compositors.

Examples (in order of importance to me):

* Programmatic output configuration (xrandr, arandr, etc.)
* CLI clipboard access (xsel, xclip)
* Third party app launcher/window switcher (rofi, dmenu, albert, docky).
* Clipboard managers (parcellite, klipper, Gpaste, clipman, etc.)
* Third party screen shot/capture/share (shutter, OBS, ffmpeg, import, peek, scrot, VNC, etc.)
* Color picker (gpick, gcolor3, kcolorchooser)
* xdotool

Until Wayland has all these (and more) and they are as stable and feature-rich as the existing apps on X, I will not willingly switch to Wayland.

[1] - https://old.reddit.com/r/wayland/comments/85q78y/why_im_not_...
When the last discussion of X being abandon-ware came up one of the things I wanted to say, being the creator of a highly used open source project myself, is that people are ultimately responsible for software. I was going to speculate that the maintainer of X might be burnt out and that none of us have any right to his free labour, and that the people whining should probably step up or shut up.

Open source software is also free (as in beer) software.

There's a word for people who complain about free things.
Wow, I wish mine had. Life would have been much easier if I could have upgraded her, and fixed all the bugs.
There are little air strips all over the place you could land at and then instead of having to figure out a ride to your destination which can be difficult in rural areas you can drive.
> I don't have any real desire to get there while still pretending that the xfree86 hardware-backed server code is a real thing

What does he mean by that? That there isn't really a hardware-accelerated Xorg server?

If that's true, is the post indicating that Adam sees the Xorg code as an interface layer to some other rendering system that had hardware acceleration?

Is that XWayland? I'm guessing at all this.
I think about that email a lot at work (where we have some very long functions). I particularly like this excerpt, which is applicable outside of performance-critical situations:

> Besides awareness of the actual code being executed, inlining functions also has the benefit of not making it possible to call the function from other places. That sounds ridiculous, but there is a point to it. As a codebase grows over years of use, there will be lots of opportunities to take a shortcut and just call a function that does only the work you think needs to be done. There might be a FullUpdate() function that calls PartialUpdateA(), and PartialUpdateB(), but in some particular case you may realize (or think) that you only need to do PartialUpdateB(), and you are being efficient by avoiding the other work. Lots and lots of bugs stem from this. Most bugs are a result of the execution state not being exactly what you think it is.

in general I don't think it's worthwhile to split a long function into several static helpers just to get under an arbitrary maximum function length target. I don't think it leads to a net improvement in readability, since I now have to go back and forth between the helpers and the main function to see in what order the helpers get called (what if someone swaps the order of helperA and helperB but not the order of their definitions?). imo this is only worth doing if you're also willing to think long and hard about what happens if someone uses your helpers in a different context.
It's not explicitly expressed (the functions could still execute sideeffects and e.g. mutate things), but yes, that is pretty much the style that pure functional programming enforces!.
Tesla's term "Autopilot" is misleading and it's gotten people killed. Tesla and Musk deserve opprobrium for giving their driver assist system a name that implies that the car can drive without constant supervision.

But Consumer Report's title isn't entirely clear either. They rank Cadillac ahead of Tesla because Super Cruise makes stronger attempts than Autopilot to make sure the driver is engaged. That isn't a bad thing, but it should be clear in the title that the "performance" they're measuring heavily weighs toward safety. It's like saying that a Volvo station wagon outperforms a Ferrari sports car because your family is safer in the Volvo. Sure, I'd rather my kids ride in a Volvo but that's not what I think of when I read the word "outperforms".
At first I thought SDK was a condition their child had.
>Why do we have all those regulations if we're willing to accept 1000x worse in cars with much more lax regulation?

I think it boils down to "because we can and still have a viable commercial airline industry." (And general aviation is much riskier than commercial airlines.) Whereas were we to vastly increase the training, maintenance schedules, monitoring of driver alertness, and requirements to have all the latest safety features, you're probably effectively eliminating driving for most people who can't just hire a professional driver/car.

For many things, we accept that we could make things safer if we wanted to. But were we to do so, we'd effectively be banning the activity or at least severely restricting it. (Which is probably one reason why we don't really have flying cars.)
Key roles in E2E software development
A thing I couldn’t find in the article: were the population based controls patients who were hospitalized in 2019, or merely members of the local population?
Something I read in the RFC for email message format (or maybe elsewhere, but I have it associated with email for some reason) is: to be strict in output that you produce, and lenient in the input you accept.

I think it makes some sense for data formats, if you want max compatibility of independently developed software that processes the data. Not sure about APIs though. Having them fail fast on unexpected input is pretty valuable.
Yay! Someone got the joke! Though, I'm dead inside now since people took it way too seriously and got into a pissy fit that I insinuated there are no atheists.

Thank you, because for a while there, I thought I was taking crazy pills again.
That. It makes me confused what no-code actually refers to. Sometimes, they call a software service "no-code" tool, well it is!

> IMHO in these fields people care about getting results without all the software dev ceremony

It's just called "software" you buy from someone, it helps you produce result, even produce another software.

You don't want to code, buy a software.
You don't want to code all the things, use library, framework, services that have API.

You just want to hook a bunch of things together with business idea with zero code. Like hooks up all supply chain? You are not programming anyway you are a manager sort of thing.

What's no-code?
How do you then convert a non-user into a user with the least friction?
Well, yes Vitamin D does attenuate immune response. However the science on citokine storms is most probably wrong and not associated with covid, and at this point has become hard to stop the information train on. If there's one thing I've learned about people during covid is that the game of telephone played over a short time period to get something solved is a huge issue.
I thought Li-Ion was roughly 1000 charge-discharge cycles? Once per day, that’s three years, so you I buy the batteries now and when you replace them in a few years the new ones will be even better value?

Or am I making a bad assumption by thinking they’ll have one cycle per day?
Only 5% of the U.S. population of takes transit to work, 2-3 percentage walk and .5% bike. And everyone else drives or works from home. I don't think it's missing the point at all.
So, I need nvidia proprietary drivers, use a window manager that doesn't support wayland (cwm), do I have any options besides using Xorg? I think the answer is no, but I'm not super well versed in these things. Xorg seems to work just great for me, not sure what all the fuss is about. But then again, I'm not an expert, so I'm happy to adopt any other solution, assuming I can get fast graphics/cuda at 144hz and use my favorite window manager, cwm.
That's correct - with the GitLab Enterprise Edition you can self-host GitLab and get access to all of the features - both those from the Core open source version as well as our proprietary features.
And until we're fully transitioned to carbon neutral energy, isn't that energy better spent replacing CO2 emitting energy sources?
oops... accidentally sent to /nev/dull!
Floating spaceport in Japan could bring space travel to the city
A safety feature which improves safety in some but not all cases is a crutch? It doesn't seem a very strong argument.
AMD Radeon RX 6000 Series Graphics Cards Announcement [video]
The imperative shell could be something like

while not is_closed(state) {
(mouse_activity, kbd_activity) := get_mouse_and_kbd() //blocking call
(state, is_modified) := update(state, mouse_activity, kbd_activity)
if (is_modified) {
draw(state)
}
}

There is no reason that `update` and every function it calls cannot be pure. The state will have to include undo and redo histories, an indicator of the active mode, so that you might be in one mode while you're entering text, a different mode while you're dragging out a line or a shape, etc. It will include information about what drawing tool you have selected and what colors you've chosen for your ink and eraser. All that data will be used by the draw procedure to render the correct view of the state.

The one issue here is that once your state gets to a certain level of complexity, as it certainly does in ms paint, it's not going to be performant without immutable "persistent" data structures, which are either not available or not widely used in python/js/ruby/c.

If you're thinking i haven't achieved the goal here because the draw procedure is big and complicated and imperative, then maybe we need to replace

draw(state)

with

view := render(state)
draw(view)

where render is pure and does almost all the work. But I'll leave thinking about what render looks like as an exercise for the reader (or to be described by an HN user who knows more about graphics programming than I do)
> A fetus at least has some of these inputs as the sensory organs are developing,

Deaf-blind individuals still exhibit consciousness. There are people who can't smell, or feel touch, or temperature, or pain. How many senses do you have to remove before consciousness goes away?

If consciousness can exist with the absence of senses (e.g. if you were cut off from your senses for five minutes), then who's to say it can't develop without them? We don't know that consciousness requires sensory input; is it safe to assume that?
It's a half Nintendo Switch without input and outputs. Half the GPU cores, half the RAM, same CPU.
I figured I'd get one of these types of comments. =) Yes, I know it is dangerous to lump C and C++ together. But truly, I appreciate your comment. Unix systems are important to me, and it seems C is probably a good idea to master first.
Startup School for Future Founders
No, Wikimedia is going to be using the Community Edition (CE) of GitLab, which is free and open source under an MIT license. This decision and the reasons for it are described in more detail in the FAQ section of the linked article.
I got this one - https://www.makeblock.com/mbot/ which is programmed using a Scratch fork. It was a little bit tricky to get connect at first in Linux, but seemed to work pretty well once I sorted that. It has got an ultrasound distance sensor and line following sensor.

I saw this recently - https://www.kickstarter.com/projects/petoi/bittle which I thought looked awesome, but a bit pricey for me at the moment. It seems to also have a graphical coding environment.
Ask HN: Is Email Deliverability Still an issue in 2020?
I'm working on my very first hackathon project and am super interested in the problem of whether engineers still find it challenging to get their transactional (event-driven as opposed to marketing) e-mails to arrive in users' inboxes rather than junk folders. I know modern ESPs like Sendgrid and Mailgun are helping to address this sort of thing but I feel they're far from perfect as I personally still find important messages from websites that I use will arrive in the Junk folder sometimes.

Would be incredibly grateful to hear your experiences with deliverability issues in 2020 in your apps.
When (and when not to) reach for Redux
Unfortunately, the numbers do bear out that women are being extremely disproportionately hit by the need to manage children in a distributed manner during COVID.

https://news.un.org/en/story/2020/09/1071502

https://www.npr.org/2020/05/09/853073274/women-bear-the-brun...

In the US at least (and anecdotally), the driving factor appears to be that in a mixed-gender two-adult household, it is basically assumed that if someone has to step back from their job to watch kids, it's the woman---either because she makes less money than her male partner or because businesses are less flexible with granting men off-time for parenting than they are granting women such time. These factors aren't universally true, but I suspect they're on-average true enough to be driving the visible stats.
I don’t know about Wikimedia being super cautious when adopting technologies... I host a MediaWiki instance and there’s been a lot of “not so cautious” tech decisions in the past. Jumping early on the HHVM train (which they eventually had to leave); adopting Lua for wiki modules; developing Parsoid as a Node service (now rewritten in PHP)... None of these was the “safe option”; in some cases it worked out well but in others it didn’t.
it seems weird that you can't easily find the kernel version on any of these release/change notes
This is about rich, often retired Californians moving in to Boise, driving up home prices and bringing their alien culture.

That's pretty different from new high paying jobs becoming available to the local job market.

For one thing it means local engineering talent doesn't have to move away to have a career.
good luck with either of those. i have no desire to even touch language without gc. managing ones own memory is way too 1970s.

maybe check out zig or wait for jai. rust it buttfuck ugly, i would not touch it with 10ft pole, as they say.
Canceled by whom? They are self-hosting their own instance of Gitlab CE. If Gitlab the company disappears tomorrow, they can fork the project and continue using it.
We had this:

https://sphero.com/collections/all/products/sphero-sprk-plus

Good about this: 1. easy to get started 2. kid can really do programming by herself 3. fun so you are likely to get it out more than once 4. programming happens with the phone, so your kid might already have the computer needed 5. feels high quality
What features do you think Gitlab lacks compared to GitHub?

I haven't used the CI/CD features of either, but PR/MR features seem comparable. Is it the advanced workflow stuff and CI/CD integration where GitHub is better? Bots?

I think git in general should copy the approach of Fossil and include issue management and wikis along with the repo, to keep things consistent and avoid vendor lock-in.

But I would be a lot more worried about being locked-in to GitHub than Gitlab.
OK. Those headcount might be high for USA, but if ACT acts globally then perhaps the numbers are in the ballpark.

https://www.pewresearch.org/fact-tank/2020/04/20/u-s-newsroo...

"From 2008 to 2019, overall newsroom employment in the U.S. dropped by 23%, according to the new analysis. In 2008, there were about 114,000 newsroom employees – reporters, editors, photographers and videographers – in five industries that produce news: newspaper, radio, broadcast television, cable and “other information services” (the best match for digital-native news publishers). By 2019, that number had declined to about 88,000, a loss of about 27,000 jobs."
NXC you could use c++ or Java with a little work. Probably the same or easier with the newest generation
I'm not sure I buy it.

When Jack Dorsey was on the Joe Rogan show he was not advocating for an open platform, but rather one where he would get the moderation just "right" to prevent abuse and disinformation.

It's the same naivety and hubris you see from champagne socialists explaining how they are going to make the world fair.

The road to hell is paved with good intentions.
Is this GitLab open source, or is it GitLab enterprise on the free plan?

Because they are different products, even if the GitLab marketing pages make it appear as if they are the same.
I pity the people who navigate java projects.
The whole function is operating on a giant shared buffer representing a texture, though. So you can't break it into pure functions without introducing unacceptable copies of the buffer, right?
GP is talking about server response time for the base HTML request, saying they see 800ms+. Here are the resource timings I'm seeing for the base HTML (pulled from the HAR of our commercial web monitoring product. Running from Virginia on a 20/5 Mbps connection, latest chrome, desktop user agent and 1080p viewport):

"dns": 158.37,
"connect": 328.503,
"send": 0.148,
"wait": 856.465,
"receive": 91.914,
"ssl": 175.243

"Wait" is the time between when the last byte of request is sent, and the first byte of the response comes back. This is measured all after the DNS+TCP+TLS stuff has happened, and is basically measuring the latency to the server, the backend processing time, and the latency coming back.

800ms+ is... not good because this site is supposed to be behind a CDN (lower latency) and with a supposedly optimized backend. I also am still seeing the "cf-cache-status: DYNAMIC" response header, so whatever optimization was made didn't stick.

(Also, That connect time is oddly high. 300+ms of which 175ms is the TLS handshake. Something to look at as well.)

FWIW I'm in the web performance industry as well, and Todd is correct, a 4-6 seconds for window.onload is common for sites (not just web apps, but sites). Of course modern site development practices (lazy loading images, deferring/asyncing scripts, font fallbacks, etc) have made using the "onload" time essentially useless as a good metric.

(PS: Todd I'm a big fan of your videos on building Request Metrics)
I used to be a big fan of 'strict send, lenient accept', but looking at systems built on it -- (html, email), I think being lenient around format deviation just turns everything into a big mess.

Granted those are two of the most successful technologies ever, so perhaps it was the right call =).
Not seeing the Scottish one there...

https://www.space.com/scotland-rocket-launch-spaceport-const...
It changes how dark or light it is at 8am
I'm okay with Vim being slightly harder to learn to use than VS Code. A tougher learning curve in exchange for more powerful tools can be a good tradeoff.
Yeah, I didn't get much into justification, or that deeply into language-specific requirements. For Arabic, a good resource is https://www.w3.org/TR/alreq/ and it goes into considerable detail on kashida among other issues. Maybe I should add a block that has references to these documents, as they're a great resource.
60% of Americans having some idea of the issues he raised is assumably a vast increase in awareness of the topic compared to the time before his leaks became public.
It might be food/hunting related. I only have a sample size of two cats.
Rules changed on Jan 1 of this year, that every small plane needed more instrumentation e.g. GPS. Existing solutions were very expensive. uAvionix has build and qualified a digital instrument at 10% the cost of the big-plane solutions. Which is good, since existing instruments can cost as much as a Cessna.

Most private pilots missed the deadline. So the FAA fast-tracked this digital solution, writing new rules as they went.

Disclaimer: My consulting company worked on the firmware for the AV-30
A genius way to make money online (on the side) today
New system to earn money (Register for free training) Hurry up to take advantage of this golden opportunity before the free offer expires.
Those aren't mutually exclusive though. Even in the most optimistic decarbonization scenarios we would still need to start removing CO2 from the atmosphere to avoid >2 degrees of warming.
> It only becomes a commitment once you start writing real, production code in it.

Very good point. Projects must be maintained, and that's when mastery matters.
Must be tough raising a child that suffers from SDK.
Was at a very fast growing tech company until a couple of months ago on one of the core teams and while we did put engineering managers through coding and design interviews, they were not held to the same standard as a staff or sr staff level engineer.

The main goal was to understand how they approached problem solving and handled things they may not know since that was a key ability we wanted in our managers. Managers still need to be technical, even if they aren't coding on a day to day.

So while the questions may be the same, the way they are graded/evaluated may not have been the same.
iOS 14's Upcoming Anti-Tracking Prompt Sparks Antitrust Complaint in France
Who do I give 1% of my profits to to replace a nearby coal plant?
I will go against the grain and recommend that you learn C++. Yes. It's a complex language, but it is extraordinarily powerful and meant to be used when nothing else will do. It is not a suitable language for novices to write production quality code in. But in the hands of an expert, it can do some amazing things. Rust is nice, but its performance still doesn't come anywhere close to C++ for many tasks. When you need to build extremely high performance systems that are also very complex (think CAD software, simulation etc.,) C++ is simply unbeatable. Also, once you've mastered C++, you will find Rust fairly easy to learn.
> We were far worse in the past

To be fair, we were far worse to humans, too: https://en.wikipedia.org/wiki/Guatemala_syphilis_experiments

> we can focus on improving lab animals' lives too, but the meat consumption is orders of magnitude worse with respect to causing suffering to sentient creatures.

Just like there were orders of magnitude more harm done in just the normal workings of US imperialism on Guatemala than from those horrific experiments. We only notice the interesting suffering, while the mundane day-to-day operations of institutionalized suffering are brushed off as a necessary evil. It's the boring cruelty that lays the groundwork for the creative cruelty.
Giving money is doing something.
I think that's a trick question. If "substring()" has "substring(int start, int end)" semantics, then I prefer the strict version: it must be 0 <= start < len(s), start <= end <= len(s), otherwise it'll throw an exception.

But if the semantics is "substring(int start, int length)", then I prefer the partial forgiveness for the length parameter: if start + length > len(s), then assume length was actually len(s) - start; but if length < 0, still throw an exception.
Community Edition.
Then on mobile it would be Safari. And mobile would be the future growth.
What is project management? a guide for beginners
The EV3 actually supports MicroPython: https://education.lego.com/en-us/support/mindstorms-ev3/pyth...
Ask HN: Which database do you use in production today and why?
I'm fascinated by databases and I'm writing about them. I've collected so much but more input could help to see where I could put more energy.

1) Which database do you use in production? and, why did you choose it?

2) Is it self-managed or managed?

3) What is your biggest complain about it?

4) Which database do you choose if you could migrate at no cost and time?

5) How do you plan for scale? How your cluster looks like? Is your database distributed? How do you handle auto-scaling/sharding/replication/service-discovery?

6) Do you know about your current monthly cost for this database?