skysight-inc/HackerNews huggingface dataset:
Very true.

Part of the reason is probably that you need the proprietary drivers to use CUDA efficiently and as they are not in the (upstream) kernel you have to use some other tools, like unofficial repositories or the native installer (which doesn't always play well with the OS package manager, system upgrades, etc.). It's a real PITA.
> Visual programming seems to unlock a ton of value.

It gives some value, and sacrifies other values.
So far tooling has not reched the point where the sacrified values are small enouhg to justifie the added values.

> Programming becomes more approachable to first-timers.

How is that relevant? In no industry should first-timers get any responsability. And textual code is easy enough to be grokh after a short while. The problems people have with textual code after that would still remain with visual code. So no value added.
>> It would be nice to have an AI that could [write unit tests, or] look over your code and understand and explain where you might have bugs.

What you're describing (outside of the square braces) is algorithmic debugging:

https://en.wikipedia.org/wiki/Algorithmic_program_debugging

It was introduced in the PhD thesis of Ehud Shapiro. There's been a steady trickle of research work since then but it's never formed into a strong current, if I may. One reason for that is of course that Shapiro's thesis was published in 1983. So it's one of the research directions that was cut short by the last AI winter. Lessons to be learned.

Shapiro's thesis is one of two doctoral theses that became the precursors to Inductive Logic Programming, a field at the intersection of logic programming and machine learning. ILP algorithms learn programs from examples and "background knowledge" (i.e. a library of existing programs used as building blocks for new, learned programs).

The way that algorithmic debugging works is that it finds differences between the intended "model" (in logical terms: the consequences) of a program and its actual model. An algorithm that can do that can also walk back up the AST of a program the other way and produce a correct program from examples of its intended inputs and outputs.

That's the kind of stuff I study. Hence my comment above about lack of innovation etc. It's possible to automatically create novel programs with complex structures (recursion and invented sub-programs) and even discover new algorithms in the process and so on -and we know ways to do that right now. But the way to do it is not with a language model trained to predict the next character in a sequence.

As to writing unit tests, the way that most ILP algorithms work is that you give them a set of examples of the inputs and outputs of the program you want to write (e.g. "droplast([alice,and,bob,sitting,on,the,tree], [alice,and,bob,sitting,on,the])") and they write the program for you. I like to think of it as a kind of automatic TDD.
Regarding the point on writing—I've been struggling with depression for some time so I built a writing tool which helps me to refocus every day. It has helped me immensely in the past few months, so maybe some of you will find it useful:

https://ulysses.sonnet.io

You can install the app as a PWA and it works offline ootb, there is NO tracking/analytics, etc... I don't even know how many people are using it.

More context: https://sonnet.io/posts/ulysses/
Pretty much. Though it is a very international thing, I think chinese websites in general look more "kawaii" if we use the world like the author(?). For eg. take look at www.ui.cn
isn't this is a very simplistic view on having children? There are much more obvious reasons to have some. also, .. most of use have enough mouths to tell them what they wanna hear, including you and me and our supposed echo chambers all over the internet (yes, having children is egoistical and naive! you're right aSplash0fDerp man! .. yes, we will overcome those problems, children are our duty, you're right alehander42 ! )
You might like to explore the Luna language: https://luna-lang.org/
Evolution Brought a Flightless Bird Back from Extinction
Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
You need to look at people dieing as well. Most of the population in those countries with high growth is really young and won't die for many decades. If they have an amount of kids below the stasis limit these kids will be alive at the same time and if the kids are more than the grandparents during the total population will go up to a while.
As another resident (Milano), I think corruption is endemic in the regional health system. This is, of course, not to deny Lombardy healthcare compares well relative to that of most other Italian and European regions. Still, it was clearly overwhelmed and mismanaged. In my opinion, this and the timing of the first response account for the many deaths. And those in charge of both need to be held accountable.

That said, I do think the numbers of the Policlinico study might well be representative, at least regarding Milano. It is just anecdotal, but I know a lot of people there that got sick, but where unable to get tested, or waited weeks before receiving any treatment.
> It's difficult for academic labs to keep up, actually.

That's probably more an intrinsic problem with academia (lower wages, limited career opportunities, limited resources compared to companies).
> I wish there was a good standard alternative to bash (sh in this case) for shell programming.

There is perl! :)
>That would have saved the NJ Governor from putting out a request for “Cobalt“ programmers in the middle of a pandemic.

The difference is this framework still runs on a modern platform (assuming it uses JS and other Web standards). So, it's dated only WRT other frameworks, which come and go anyway.

So, unlike with COBOL (and "Cobalt"), it's supported by the platform of the day with standards many current devs know.
> It's not a paradigm's fault that tools like git were built around the idea that code must be text.

FWIW you can have custom diff and merge drivers in git. One could probably hook up LabVIEW's diff tool as a git diff driver, I don't know about merge.
> by building Patreon with [...] a non-4GB-memory-eating SPA

Twitter is the last company I would trust to deliver a product that's not a 4GB-memory-eating SPA. Their current web UI is a disaster in that regard.
Frameworks give a good knee up but not enough to make programmers interchangeable with no investment in learning

A 2-decade old project probably would take such a long time to re-write into a modern framework that the time would be better spent investing in devs willing to work with your system

Particularly in JS, you may find after the re-write your framework of choice moves on without you and you're back to square one (though this is slowly stabilizing)

Obviously, there are exceptions, maybe the new language has persistent data structures or strong concurrency primitives that would be difficult to home grow that should move the needle of your decision making, in which case you may want to use new tech at the edges of your system, but you'll need to make peace with the fact you'll likely never finish the full migration and it will complicate onboarding, ultimately this should align with the personality of your team I think
The What-If Tool: Code-Free Probing of Machine Learning Models (2018)
Ask HN: Next 5 years in web development?
Hey, what's going to change in web development in the next 5 years? What innovations, ideas will come?

The timeline 5Y is specific don't dream about faraway future.
Show HN: Ulysses–a writing tool I built to refocus when my mind is too loud
> Thats precisely why news businesses exist in the first place.

Nah. My view is that news exist for entertainment. That might not be their stated goal, but it's why people consume them.
mention swiss design too maybe? https://creativemarket.com/blog/swiss-design-history-example...

It's just less soft and round
Unfortunately this year the flu, for those who got it, was quite strong as far as I can tell, so it's a real confounding factor.
For me, personally, I think in boxes and lines and when I program, I spend a lot of times scribbling on paper to map relationships between data, to show the data flow between modules or concepts, to show the pipeline stages, that kind of thing. I do it mainly as a way to organise or solidify my thoughts, less to document them.

When I used Max/MSP some years ago, I had the interesting experience that I found I didn't need to do this on paper because doing it in Max code was enough. I've wished for a Max-like language more geared towards general purpose programming[1] ever since, but alas, I've yet to find one.

[1] Richer data structures (I think it may have got these since actually), tools for unit testing, stuff like that.
What are new fertile soils for such labs to reoccur ?
At a certain point you can question the suitability of the traditional twin engine piston IFR types for true commercial level FIKI. Not least because most of the examples are well into their middle age, most types are somewhat marginal on one engine, and single engine mishandling is rarely survivable.

In reality most people who can afford to run a piston twin are moving down to a Cirrus or moving up to a turbine single.
Ibadat Ka Asal Maqsad – Marifah – Sufi E Kamil
100% this! If I expect icing beyond trace/light, waiting or flying around it is my plan on anything with props. (I didn’t buy TKS to fly in ice; I bought TKS because it was already on the airplane that I otherwise wanted and having it was not a deal-breaker.)
> > Credit card accounts are almost always negative

> This is only true if you think of them like a bank account. Every credit card statement I've ever receive has shown the amount I owe as a positive amount.

I just checked my online banking - I bank with Nationwide, a UK building society (a bit like a US credit union but functions like a bank). In the main statement of accounts, which looks like this [1], the credit card balance is shown negative. So is my mortgage, which makes for a depressing overall sum! I won't bore you with more detail but generally they mostly stick to this pattern in other screens. Oddly, in that example screenshot, the credit card balance is shown as positive - I'm not sure if that's because it's just an example and they faked it wrongly or because the way balances are shown have changed since that picture was taken.

I've never had a credit card with anyone else, so that's why I'm surprised that the debt is presented as a positive number. It's interesting to see (from your comment and others) that's it's normally done that way. My initial cynical reaction was that this is a marketing ploy to make you feel a bit less bad about it, and I'm not surprised that Nationwide doesn't follow suit given that it's not run for profit.

[1] https://i0.wp.com/money-watch.co.uk/wp-content/uploads/2011/...

> The "credit card" account is a liability account

Interesting, thank you, I hadn't heard of "liability account" before. So it seems that it is something accountants really do use, not just the cynical marketing plot I initially thought. But it still does seem an unnecessary complication to me compared to just having all accounts working the same way (but some happen to be negative). Maybe it's a just mathematician / computer scientist thing of preferring things that make mathematical sense rather normal intuitive sense, a bit like zero-based indexing or end iterators that point one past the end.
Test pip’s alpha resolver and help us document dependency conflicts
Prior to about the 21st of Feb Italy only reported three cases of coronavirus in the entire country with the most recent case being a Wuhan evacuee at the start of the month: https://uk.reuters.com/article/uk-china-health-italy/first-i... As you say they started to lock down very soon after that. February 24th is very much at the start of the detected outbreak, and it seems safe to conclude that the virus was indeed already circulating widely at that point. They went from basically no reported cases to the most cases in the world outside China and their healthcare system being overwhelmed in days.

While other experts had pointed out that Italy likely had more cases than already reported, the numbers they threw around were more in the hundreds range rather than substantial percentages of the entire population: https://www.nytimes.com/2020/03/21/world/europe/italy-corona... This does explain a lot though, both about what happened in Italy and why containment efforts in other Western countries failed whilst ones closer to China geographically seem to have done much better.
Removal is something I've used checkinstall for in the past. Always worked perfectly.
And here we see why the claim that golang forces users to handle errors is simply not true. Error handling in golang is just badly implemented.
It should. It has the same number of keys as the Ez.
Let me know if you try it and have problems with it.
“Friends”: North Korean Novel Published in the US
You could, but we chose to do QR codes first as it's a bit more intentional and slightly harder to MITM.
Tesla cars could give back to the grid with bidirectional charging feature
You can always move to a more conservative society. I live right on the other side of the globe and look at what's happening in the US with its fifty genders and SJW harassment for using the word "he" as pure lunacy.

There are other, much more serious problems over here, of course.
They do tree-shake. It's mentioned in the demo linked here

https://news.ycombinator.com/item?id=23256048
Indeed, and naturally British and Irish cities have different names in other (European) languages.

In French: Douvres, Londres, Édimbourg.

In German: Edinburg.

In Italian: Edimburgo, Glascovia, Londra, Novocastro, Dublino.

In Chinese: Jiànqiáo (剑桥) (lit. "sword bridge", Cambridge)
JEP 381: Remove the Solaris and Sparc Ports
For quite some time I've been using https://github.com/tarruda/python-ush on personal scripts and it is working very well. If you like python, I recommend giving it a try :)
salsa20 was added in 2012, the warning file was added into the repository in 2016 the earliest (it is not clear when--which is vary bad for security and also shows the move was not advertised.)

Incompetence is a strong word on the wrong target...
I saw this at the bottom of the README:

The package itself is nothing more than a SQLite database with RSS feed endpoints for each website and some basic wrapper of feedparser.
I'm pretty sure the first thing people are told after being diagnosed with type 2 diabetes is to control their carb intake.
is this on Riot or RiotX on Android? All dev in the last year has been on RiotX, which should be an unrecognisably better app and will shortly replace Riot on Android (hopefully end of June).
According to the article, by default Signal will relay all calls from people who aren't contacts. This means if a non-contact calls you or vice versa, they can't see your IP address and you can't see theirs, even if the call is accepted and you're both talking. They also provide an option to enable relaying calls to/from contacts, so that contacts won't see your IP address, either.

Here, regardless of if you have that setting enabled or not, and regardless of if you accept the call, contacts and non-contacts can cause your device to make a DNS request, which will leak your DNS server. And if using a DNS server with EDNS Client Subnets, the first 3 octets of your IP address will also be leaked.

I think there's another issue like what you're describing which can kind of obviate this, though: the vast majority of Signal users probably use Signal on their regular mobile phone and its number, not a burner phone/SIM/number. (Few users probably even own a burner phone/SIM/number or understand what that is or why they might want one or how they'd obtain one.) So... everyone can just see your phone number, which probably has an area code corresponding to your city or close to it, and the other digits can possibly pinpoint it even more precisely than that.

Anyone who isn't tunneling all of their DNS traffic with a VPN or otherwise probably also isn't anonymizing their phone number and just has the app installed on their personal, standard cell phone.

If they aren't traveling and haven't moved recently, you can probably see what city they're in just from that. (This exposure does allow coarse location detection even when someone's traveling, though it's a lot more coarse than the area code, unless the Client Subnet value is being sent.)
hey, there is a sqlite DB that stores the RSS endpoints. Then we use feedparser python package to parse it.
flash, g, redirect, render_template, request, session etc.

Ideally request would be passed to view callables and would not be global. That is completely incompatible change so we will never see that I guess :(
Ask HN: How do you keep code and database synced up?
Hi all,

I am a new developer, and I was wondering what techniques people use to sync their code and databases. For example, say I edit an entity and add another field to it, I will have to run a corresponding query for the database. As code is at different versions on different machines, how is this managed automatically?

Right now, it's a toy application, and I guess I can just move to a schema-on-read db, (or keep on using the bash script I have), but how is this done in a production environment?
that was the worst. Don't get me started on the trend for large line-spacing that makes text as unreadable as the duoble-spaced preprints I just refuse to read.
Reverse engineering and finding a solution for Zelda WW minigame
What inaccuracies are you referring to?

It’s known that people have gotten infected while standing much further than 6 feet apart. If your at 20+ times the risk of death than the general population and retired then long term self quarantine is a serious consideration. That represents a significant quality of life cost, but I would hardly call such people paranoid.
>>> Keep in mind, we run our production MySQL clusters with a pretty aggressive idle timeout (30s)

Number one source of connectivity issue with MySQL. That setting alone is the source to every bug they encountered.

It's marvelous the amount of applications that have a low timeout and wonder why the (idle) connections are dropped all the time.

The timeout works fantastic when software prepare connection to the database, spend maybe 30 seconds initializing and doing other stuff, then send the query. The carefully prepared connection is guaranteed to be broken consistently. But the most impressive use case is with connection pools, whose purpose is to maintain idle connections, that gets butchered every 30 seconds.

MySQL should remove this fatal setting and enable TCP keepalive by default.

At least have mercy on the developers to set a sane default and cap the minimum value to 5 minutes.
This is just sly right-wing mindfucking. I.e. someone with a fundamendalist set of beliefs using sophisms to instill doubts about Wikipedia on people he knows that have fact-based beliefs.

Wikipiedia has its problems, but this is not a serious or unbiased discussion of them.
There is also the potential issue that some of the hot spots are like that because they got seeded by multiple super spreading events.

As in unlucky happenstance means three infected people in a tour group show up and infect two to three dozen people each over a weekend. You go from 3 to 100 cases in two days. R instead of being 2.5 jumped to 30!

After a week just with normal spreading you have close to a 1000 people ill.
Recently discussed, an article with an almost synonymous title: “On Infantilization in Digital Environments (2015)”

https://news.ycombinator.com/item?id=22490089
Loom will have superior context cancellation and deadline handling than golang. https://cr.openjdk.java.net/~rpressler/loom/loom/sol1_part1....
Have you ever wondered why Russians are indifferent to the fact that Moskva is spelled Moscow in English?
Box Model is a living mess
That's like saying you should never collect opinions from more than one person on a topic.

If you read garbage publications, of course you will get garbage arguments and opinions.

US news channels are a horrible example, they pick someone to represent the most extreme views and have them fight on TV to entertain viewers.

But reading two articles on the same topic by two sources on different ends of the political spectrum and with decent quality and can be very enlightening. (emphasis on quality)
I live in Portugal (moved from Spain) and yes, that is true on both counts. I find it difficult to live with people who get upset over everything though. I would would say 'grow a pair' but that would not be correct... My grandfather says 'if you survived through a real war you would not care about this crap', but that would not be correct (and I think that's a bit over the top, but he survived 2 world wars)...
recent? They have been copying since the 1980s...
It's a true wonder but much like the AUR (read: Archlinux User Repo), it's great 80% of the time when projects have reasonable popularity or committed (even 'niche') support.

It's honestly a treat for personal use if you have the mind of a tinkerer, but it's a difficult proposition to sustain in business (you basically end up vendoring yourself if big enough).

Nix has a very different proposition that solves from the "inside" a problem that is currently usually solved from the "outside" using e.g. Ansible in ops/infra, or Vagrant in dev.

In my perspective, the outside/black-box solution is ultimately brute-force, plain and simple. It works because it scales well, because copying data is cheap enough (re. deduplication, delta sync, etc) You hit limits when systems grow older and complexity creeps in no matter what however, it's an approach that requires a blank slate every now and then.

But the inside package approach is elegant in that it's absolute, it's not conjuring a black box that "should just work" if Ubuntu18.04-387lts-32-1.989-2a and my_fav_package.1.1.1.9.3.5-f work fine together, this time around. Sure, there is testing but we're back to the popularity/support limit.

In the end, in a world where some of the stack is basically nailed and can be modularized with clear forever-true expectations of I/O (the content, not the hardware), then Nix eventually prevails— but we really have to evolve "LTS" for what it means (like we'd do in construction, electricity, plumbing...), and not a half-trendy windmill / rat race. But we have to think of those systems that could transfer almost-as-is well from now to 2050 or more, not 2025-2030. It's not impossible, it's what COBOL did, does as we speak.

I think something like Nix could help shift perception in the right direction, but I expect mindsets to take a good part of the decade to change deeply, if it happens.
Just bought it. Can't wait!
Even more concise:

nix run -f channel:nixos-19.03 hello -c hello | nix run -f channel:nixos-20.03 ripgrep -c rg Hello
Bert is a language model. It's trained to predict the next character in a sequence. It does not have any capacity to "understand" programming, or anything at all. It can also not produce outputs that are not similar to the examples it's been trained on. Like all neural net models it can interpolate between its examples, but it can't extrapolate to regions of the sample space it's never seen. This is why I say it lacks the ability to innovate.

I'm not sure how you would combine AutoML-Zero with Bert. How do you mean?
AstraZeneca Gets $1B from U.S. to Make Oxford Vaccine
Web Components are the future! /s
Recession 2020 -7 Highly Effective Ways IT Professionals Can Prepare