skysight-inc/HackerNews huggingface dataset:
Seconding the question. More to the point, a language that only needs libc and not a separate runtime.

It's a big boon that existing C projects can migrate one object file at a time to betterC, without needing to pull in extra dependencies. Moreover, embedded dev is where C is still the most entrenched due to its runtime simplicity (simple ctr0, linker script, and you're off).
I'm sorry that the question is not really related to your compilers but I'm curious about your opinion on Zig?
> I can very well assure you in India you cannot hide mass deaths like China.

LOL..

What happens internally in India, is not my concern. But to say this, is disingenuous.

Don’t you have a little Muslim rebellion going on over there? With intense media and Internet blackouts?

https://www.dailymail.co.uk/news/article-8256349/Indias-Musl...

https://www.aljazeera.com/news/2020/03/india-restores-intern...
y'all need to do shabbath
Thanks a lot for the answer!

So no Vulkan at all for Series X? Not even planned? That is sad but expected :(
I would like to point out that even with the existing amount of tests, that are much lower in number than those in the USA and Europe, the COVID19 test positivity rate in India is among the lowest in the world (4-5%).
If anyone who feels that way would like to suggest a neologism for the sort of discourse I describe, I'd be open to using it - I do feel the term 'scientific discourse' has been watered down a fair bit.
> she could have at least start investigations, instead nothing

She's started plenty* of investigations but:

(a) for large cases, the legal resources of the defendant have to be considered and a case has to be viable. Building these cases takes time

(b) even for smaller cases, actual court procedures take (too much) time, so the cases she has taken are largely still in train

* A good portion of those cases appear to be directly against the Irish state, rather than any private corporation
He talks about this here: https://www.tillett.info/2020/04/05/a-solution-to-covid-19/
I know several people like it and use it very much, but I haven't followed their projects. Many were skeptical of the BetterC project, but it has proven its worth.

I've used it myself to easily convert some of my older C programs to D and make them easier to maintain.
Tweeting is (generally speaking) a public performance, not something which is "sent" to someone. The same applies to most open platforms, including Hacker News comments like this one.
When I got my first iPhone (an XR) I remember the first 3 weeks I kept playing around with portrait mode. Now a year in, looking at the photos in my iCloud stream I haven’t used the feature in more than 9 months. I had to read this article to remind myself the feature still existed. Similar story with Touch ID.
It depends on what you are trying to achieve. If you are trying to teach gamedev, then I agree it is a pain. However, if you teach a general graphics course in a CS curriculum, then the slow, spec-like approach is way better.

Regardless I never liked the NeHe tutorials for some reason. I did them when fixed pipeline was a thing and they bore me a lot, yeah... but when I learnt modern GL properly it was way better. Seeing a cube rotate is irrelevant to motivation as long as you understand what you are doing, in my experience.
# For tmux 2.6+
set -s set-clipboard external
Exposing a Django REST-Like API over a WebSocket Connection
Ask HN: What should a college student do in the place of a cancelled internship
I'm finishing my exams in the next couple of days. This means I have 5 months until I likely return to College(assuming some sense of normalcy returns). I have a free schedule for these coming 5 months due to the ongoing pandemic.

Any suggestions on what I could do in that 5 months. I'm a CS and business double major.
I haven't got my config to hand, but essentially I've binded leader-y and leader-p to copy and paste respectively both using the system clipboard. Since doing that tmux has been so much more useful to me.
I know nothing about Zig.
Actually Sussman teaches it to this day (or at least to a couple years ago). I found it one of the most enlightening classes I took.
Marvellous! Another product with non-replaceable batteries. Hostile to both consumers and the environment. Really sad to see that all these big companies don't care even to the smallest degree about all their own environmental pledges.
I moved into an apartment that has a Gree Versati Pump, and it's super neat because I can control it via modbus and raspberry pi. Electricity bill decreased tremendously when I moved.
So that companies that need to use it don't feel stigmatized, and subsequently punished by the market.
The question is, is the battery replaceable? As with Airpods, I won't buy any product that automatically becomes trash after 2 years, and I hope others will too. It is not sustainable and it is time for consumers to refuse this notion. Sure, these little pods won't tip the scale very much, but the practice is sending all the wrong messages.
There are five broad categories of IAC (Infrastructure as a Code) tools:

a)Ad hoc scripts

The most straightforward approach to automating anything is to write an ad hoc script.
You take whatever task you were doing manually, break it down into discrete steps, use your favorite scripting language (e.g., Bash, Ruby, Python) to define each of those steps in code, and execute that script on your server

b) Configuration management tools
Chef, Puppet, Ansible, and SaltStack are all configuration management tools, which means that they are designed to install and manage software on existing servers.

c)Server templating tools
An alternative to configuration management that has been growing in popularity recently are server templating tools such as Docker, Packer, and Vagrant. Instead of launching a bunch of servers and configuring them by running the same code on each one, the idea behind server templating tools is to create an image of a server that captures a fully self-contained “snapshot” of the operating system (OS), the software, the files, and all other relevant details.

d)Orchestration tools
Server templating tools are great for creating VMs and containers, but how do you actually manage them?
Handling these tasks is the realm of orchestration tools such as Kubernetes, Marathon/Mesos, Amazon Elastic Container Service (Amazon ECS), Docker Swarm, and Nomad

e)Provisioning tools
Whereas configuration management, server templating, and orchestration tools define the code that runs on each server, provisioning tools such as Terraform, CloudFormation, and OpenStack Heat are responsible for creating the servers themselves. In fact, you can use provisioning tools to not only create servers, but also databases, caches, load balancers, queues, monitoring, subnet configurations, firewall settings, routing rules, Secure Sockets Layer (SSL) certificates, and almost every other aspect of your infrastructure
Model shows recycling could dramatically slash cities' need for fresh water
>> I'm having a hard time justifying a longer term dividend drop or valuation drop because there's still a housing shortage in the US

Real estate is all about location.

Major cities have a housing shortage and will continue to be able to find some tenants. Rent is likely to go down or stabilize for some time.

Small town will be decimated. All the jobs that are disappearing are not coming back, people will have no money for rent and there are no other tenants immigrating in.
A new explanation for the origins of human fatherhood
Yes, exactly. If the lockdown and the subsequent recession decreases the life expectancy of the average person by 0.5%, then the policy is already a net negative. Add the massive wealth destruction on top of that and the picture becomes even murkier. We, sadly, live in a world where lives can be saved with relatively little effort. Clean water, malaria nets, nutrition. If we wanted to prevent those unnecessary deaths we easily could. And now we're settings trillions on fire without even thinking carefully about the humanitarian consequences.
When to let customers change your roadmap
The site stutters a lot for me on Firefox on my 1+ 7 Pro. I had a hard time trying to read the text in the middle of the first scroll section because it also seems to override the scroll to have tons of acceleration & low friction - which does not combo well with stuttery input.

Meanwhile Apple's scrolling pages work great.
i have no clock in my bedroom, the first thing i do in the morning is looking out of the window to see where the sun is at currently...
We have geothermal HVAC. When we moved in we had that water heating setup, but then changed the water heater (natural gas tank). When we did, we asked about hooking up the desuperheater again and were told the energy savings weren't worth it on newer water heating units because of the efficiency. This is coming from a well respected company in the area that specializes in geothermal and heat pumps, and generally has bent over backwards to suggest improvements to all sorts of things in other ways (I also am pretty sure they installed the original system).

Not sure if they were right or wrong, but my experience with a lots of these heating and cooling things is that the real world efficiencies are often different from theoretical values.
D is pretty exciting. Seems like a perfect choice for those of us looking for an alternative systems programming language and are not completely convinced we'll be happy in Rust.
> It's probably not even possible to expand housing capacity to a significant degree in most locations it'd matters,

This sounds like an excuse. The city of Tokyo alone builds more housing every year than the entire state of California: https://www.thenational.ae/business/property/want-affordable...

Tokyo is an in-demand city in an earthquake prone area, and they've managed to create enough housing to stay ahead of demand.
> It is very easy to complete a proof on the wrong model

That doesn't sound right. Automatic proof assistants/verifiers won't approve your proof unless it really is a proof for the model, right?

> there are always errors in the model, at least initially

Agreed.

> There's always an iterative process of refining the model until you are confident in its being good enough. When are you confident it is good enough?

It's true that bugs in the model are a possibility.

More broadly, it's possible for defects to get through a formal software-development methodology. There was an interesting case study done on this. [0] Vastly fewer than if formal methods are not used, but you're still right that ultimately it's not a completely rock-solid guarantee. (And that's not counting things like bugs in the proof-assistant, or bugs in the non-verified compiler you end up using.)

[0] https://www.adacore.com/tokeneer ('Analysis' section is on page 59 of PDF)

See also https://blog.adacore.com/tokeneer-fully-verified-with-spark-... , https://github.com/AdaCore/spark2014/tree/master/testsuite/g...
The answer is related to Relativity. Read this: https://ocw.mit.edu/courses/materials-science-and-engineerin...
Mine is Zig.
No information on how they found out? Did the service rep tell them?
It's helpful to bring up issues you are encountering in the D forums. This is the first I've heard of this particular one.
Very OT, but I can't wait for this web design fad to go away, where every element is animated and stuff flies around and fades in from every direction. It's like 90's GeoCities, but with more whitespace.

Also, I have a Radeon 5700XT GPU, and scrolling is somehow still choppy.
not an issue as long as there is no tld which ends with 1000 though
>Because the question is obvious. Who doesn't know Knuth? As for Scott Kim, and the rest, I don't know them [...]

Let me get this straight: you were obviously being sarcastic about not knowing Donald Knuth, but you weren't being sarcastic about not knowing the other people you were criticizing. ["I actually (honestly) haven't heard of them." -crimsonlucard] That's some implausibly nuanced retroactively selective sarcasm there!

You make as much sense as Trump claiming he was being sarcastic about injecting bleach, but in the same rambling sentence he wasn't being sarcastic about sticking a UV flashlight where the sun doesn't shine. Do you believe him?

>[...] and could care less.

https://www.youtube.com/watch?v=8Gv0H-vPoDc&t=1m5s

>"I hate these word crimes. Like "I could care less". That means you do care. At least a little. Don't be a moron. You'd better slow down. And use the right pronoun. Show the world you're no clown." -Weird Al
It's true almost by definition. Actions sufficient to mitigate a low-probability, high-impact event will seem like complete overreaction for people who can't do this calculation - which is most of them. After all, lots of effort and sacrifice happened, and there was no damage!
I am living near an airport, but far away that planes did not seem too disturbing. Now that >80% are gone I see how loud they still were.
See for example Decameron - upper class adults telling stories (many of them folktales) to each other for entertainment. No kids in sight. It was a widespread tradition before mass media, among rich and poor. It was the Victorians who turned the folktales into children's literature. (And I think you are mixing a few things up about the child factory workers and chimney sweeps - these were the urban poor after industrialization. Grimm had to go to the countryside to record the folktales because the tradition was lost in industrialized urban society.)

> Life used to be nasty, brutish and short. Attitudes were substantially less delicate as a result.

I don't think you can draw a simple correspondence between brutality in real life and brutality in fiction. For example there is a lot more explicit violence in TV today than 50 years ago, even though by all account there is less violent crime in western society overall. And it is not like Grimms Cinderella is exceedingly brutal compared to say Saw or Game of Thrones. On the other hand we don't consider public executions appropriate entertainment for the whole family anymore.
Was the last android version you used released on a 3rd party device in 2012? Because that's what you're describing.
Print-debug you program before it's even compiled and even have a bug is a bag idea.
Lost it at "Use dongle purse."
I think this is why excess all cause deaths will be the best evaluation. Lots of people who die from Covid in care homes are people who would have died from this years flu anyway. They aren't excess deaths, they are the baseline deaths.
Static or Not?
It's often because these functions have unnamed types. Chain of lazy computations in D often return unnamed types (so called "Voldemort" types) because finding good names for those inner structs is a challenge, they have a single use (which is to have a particular signature).
Doctors have a bad reputation in Pakistan, given one's role in OBL's murder. And perhaps, more generally, among some Muslim populations.

I'm not arguing that it's justified, by the way. Or that it's a majority opinion. Just that it exists.
Something that I have wondered about is the photo quality of film photo enlargements vs. digital (which I guess is just zooming).

A film is continuous right, so no amount of digital encoding would truly encode a strip of film. Of course there is a point after which it doesn't matter, but I am more interested in the technical look and feel of film vs. digital. A few years ago I looked at a film enlargement to A4 in a scrapbook and I have to say it had a different feeling about it. There were also funny artifacts of the kind that make superstitious people believe in invisible spheres that ehm are not invisible on film...?

If you contrast this with a CD recording, the bit rate is limited even if it's an audio CD due to the way they were recorded. Vinyl is supposed to be limited to 48 bits, but perhaps you can engrave in an analog way?
Why?

What is it with pushing religious stuff into peoples faces? I believe it is offensive to people who either have a different religion or none at all.

One could just say: "You should do a day of digital detox every week. Like for example people do on Shabbat. Or in other ways."
What's the best way for an experienced C programmer who doesn't know C++ to learn D?

What's the story in terms of using existing C (or C++) code with BetterC or D in general?
This explanation was so confusing that I had to write a program to get it clear in my head. https://gistpreview.github.io/?9b252f267cd1fdf9754059bb73a18...

More clearly: DI = (y * 320) + x

Multiply by 0xCCCD => (y * 0x1000040) + (x * 0xcccd)

Take top byte is equivalent to divide by 0x1000000. So that gives you Y. The next lower (third) byte is then (x * 0xcccd / 0x10000) == (x * 52429 / 65536) =~ (x * 256/320). And the lower two bytes are noise.
very much this. I had to refuse a lot of code because developers were using these in inconsistent, confusing, and actually incorrect (read buggy) ways.
I had trouble sleeping at the start of the lockdown when I realised my caffeine intake had gone way up, I was drinking 4-5 coffees a day instead of my usual 2. I decided to quit caffeine for a while, I had always thought about quitting just to see how a cup of coffee would work when I wan't drinking so much. I'm off it five weeks now and can't see myself going back to drinking it every day, only as a treat or when really needed as I do enjoy it.
Here have a look https://coronaprogress.com

I made a map where you can move day by day to see the progression. The lockdown has minimal effects, cases have been increasing steadily for a while in every country, seemingly as quick as there are tests.
Google is the only organization with the data to show this happening at scale and they don’t have incentive to connect all the one-off anecdotes.

So while it is risky, not sure how they could be caught. I don’t think they are running click fraud bots, but it’s hard to quantify how hard they work to stop them.

A friend of mine estimated that 1/3 of ad spend is click fraud but it’s just in the wash because it’s hard to stop.
Deep Neural Network from Scratch in Python – FFNN
Foodora to close Canadian operations amid union push by couriers
In the interests of perpetuating this endless flamewar, here's Herb Sutter saying C++ programmers should use auto 'by default'.

(I see my snarky comment there got no reply.)

https://softwareengineering.stackexchange.com/a/180616/
Stay strong.

>My brain chemistry is irreversibly fucked for lack of a better word

Are you sure it's completely irreversible?
$180,

Elation when you hear "my own summer" the first time.

They turn the lights on and off.

When no one is around, a voice whispers in your ear, "miserable failure"
I would think growing up drinking a bottle of sugar water and the habits it causes would have something to do with the overweight, obesity, diabetes, and hypertension statistics all over the world.
https://en.m.wikipedia.org/wiki/Benford%27s_law

Maybe this is what you're looking for?
Governments have a difficult time giving up powers once they have them. So even if it is morally right to give the government extra privacy infringing powers to save lives today, it is not morally right to compromise the privacy that generations of citizens who come after us will need in order to exercise their right to self governance later.

The best of all worlds is where the government says, "look, our responsibility is to look out for your health AND your other fundamental rights, and so we need this, but we want it to respect your privacy too". Which is what governments who choose DP-3T are saying.
I agree that 'excess all cause deaths' is an important metric, but we still have to correct for clear biases in both directions. E.g. fewer traffic deaths because of a lockdown.
Possibly, but if its anything like the current virus then the mortality might still rise by orders of magnitude for older people, and people with reduced resistance to the disease could still die.

Which, if it's even less likely to cause symptoms is almost sure to happen if the virus is spread among the population.
> I don't remember my parents having this problem with their newspaper. They did look at the newspaper before the sky every morning.

This seems to be a pretty common comparison, especially as a reply to older generations remarking on everyone always being on their phones. Kind of a meme at this point[1][2].

It really makes me think that not a lot of thought/concern is given to the major difference between print media and modern technology/social media: print media is a one-way relationship. There is no interaction between the reader and the newspaper - it's a passive information source.

Social media on the other hand is a two-way, highly interactive, highly curated information source/communication tool and that is where the comparison falls flat on it's face. To compare the two in the context of mental health/anti-social behavior/distraction etc. is missing the point.

And for anyone interested in some research on the subjects of technology and social media as it related to kids, I will always plug the non-profit I work for:

https://www.commonsensemedia.org/research

1. https://memeworld.funnyjunk.com/pictures/Kids+these+days+alw...

2. https://miro.medium.com/max/1080/1*U36hBj8i-C7JJJxS4MP2HQ.jp...
You should probably address that. It's a serious competitor to D (as better C). At the very least, you might see some ideas worth stealing!
Said like an ignorant man about a topic they nothing about.
Concerning "sacred": https://kingjamesprogramming.tumblr.com/
I'm sure the author is keeping the language simple and approachable while conveying the idea of "decimal number".
I think it’s really interesting that as dynamically-typed languages increasingly encourage explicit type hints, statically-typed languages are recommending “almost always auto”.
Or we had a wildly incompetent response from the federal government.

https://www.nytimes.com/2020/04/28/opinion/coronavirus-trump...
Which BoD or E-book publisher would you recommend?
I currently have about 15 book titles at Lulu.com, but I am looking for alternatives. In particular, I am looking for a publisher who lets me keep the copyright and distributes PDF and EPUB files as provided by me without and tampering.
BetterC is interesting because it allows you to compile D to WASM. Unfortunately D runtime and GC haven't been ported to WASM yet so they are not fully supported.
Does anyone get intense withdrawal symptoms from coffee?

I ran out of coffee, and two days later, I had the most intensive headache.

I couldn’t seem to pinpoint what could’ve given me such a bad headache, except that I stopped drinking coffee.

I suspect a lot of people are going to have it bad, when the supply chains starts to melt down.
And one can manage configuration with Terraform too, via null-resource blocks and so on.
pizlonator is saying that the overhead of the function call itself (the “call” instruction itself) doesn’t matter relative to the body of that function. The body of the function still matters a lot.
Question for anyone who works in the EV space - why can't EV owners just get an adapter like I do for wall outlets when I'm travelling? Are the currents too high? It seems like an obvious aftermarket gizmo for someone who lives in an area with competing charger designs.
On of the major online shops here, bol.com, has a thing for most of their products "Order before 23:59, in your house tomorrow." Generally the other bigger Dutch online shops do the same. Even during current busy times, I've not had them fall short on that.

With the returns, isn't it an EU requirement that they take a return no-questions within something like 2 weeks?
These days I dropped tmux for vim :term (panel for files/terminals; tabs for workspaces). If I'm in a remote server and want to preserve the session, I just use screen.