skysight-inc/HackerNews huggingface dataset:
> I'm not saying low allocation code can't be done in C# or Java.

With modern tools and APIs it should even be possible to write alloc-free work loops in C# (though you're probably writing pretty alien C# at this point). AFAIK it'll remain impossible in Java until the "value types" effort bears fruits.

A few months back a study of sort made the rounds implementing a network driver in multiple languages (Ixy), C# did extremely well in it (better throughput than Go and near competitive with C and Rust at higher batch size though it was way behind on latency) while Java was pretty much in the dumps.

In one of the reaction threads (don't remember if it was on HN or Reddit) one of the people involved explained the discrepancy between Java and C# by not being able to go under ~20 bytes of allocation per packet forwarded in Java.

There were other odd / interesting results from the effort e.g. Rust was slightly slower than C, in investigating that they found out Rust executed way more instructions (especially significantly more stores) but had significantly higher IPC and much higher cache hit rates.

ixy also tried just converting the C code to Rust (using C2Rust) then compiling it and that turned out to be very slightly faster than the C code, which was funny: https://github.com/ixy-languages/ixy-languages/blob/master/R...
> There were no recommendation engines of course so I went through everything, itching to consume experiences left behind by humanity. Sounds like an addiction, right? Well, it kinda was.

Well, there kind of were. I doubt you would end up reading The Hobbit, The Three Musketeers and Sherlock Holmes purely by accident. The idea that the best content bubbling to the top of the popular consciousness is merely a product of modern ML recommendation engines is for the birds.
Are you suggesting isp’s are more trustworthy in America?

Because you’ve got to get your email over someone’s pipes eventually.

Fastmail is excellent. If you want secure/private/not easily spoofable by a 5 year old and you’re using email.... then you’re doing it all wrong.
Like another comenter, I'd say mine was "not starting". More specifically writing. I often get ideas about articles I'd like to write but I just end up talking myself out of it.

This past Sunday morning - like countless others - I woke up with an idea comparing JavaScript ES5/ES6 to vanilla ice of various quality and decided to just post it in all its shitty glory on Twitter. It didn't go viral and I didn't gain any fame from it... but I wasn't the only one that found it funny (my biggest fear crushed) so it's a start, I guess.
Start a blog, like in 2000!

If there is one thing the past 20 years have told us, it's that nothing persists but the thing you actually own.

- Medium rised but now partially closes it's platform
- Facebook started as the universal platform for everyone on the internet but ultimately failed to become an open platform for discussion
- MySpace once almost *was* the internet, until it was replaced by shinier new things (facebook, ...)
- And today the end of tumblr and many more foreseeable...

So start a blog, use your own domain and you'll be able to create something that lasts!
No you can't make a perpetual motion machine with it ;)
I agree. Sadly not every manager got that memo.

My brief time at $megacorp taught me to recognize when a meeting turns into unproductive bullshitting, at which point I just walk away and go back to work. YMMV.
That's a complete opposite of how it is in The Netherlands. I don't think it's the experience though, it highly likely it's the implementation. In any other country they often completely mess up all of the bike infrastructure, including separated bike lanes only in name (loads of steps not done).

E.g. the width of the bike lane should be based on the amount of bikes they've estimated to ride on there. Bike traffic here is measured often. If needed the bike lane is expanded. Then height differences, consistent colouring, marking, etc. It should be obvious without thinking, something that's often not the case.
Compare (one of the best) chess games that isn't even a chess game: https://www.reddit.com/r/chess/comments/e2n3df/kramnik_propo...
Interesting maybe try a fresh contact import on your macs? I know about 20+ people who use IMacs iPhones and MacBooks with fastmail and have no syncing issues.
I use Restyaboard to integrate the kanban board, probably the best looking and working kanban out there.
An upvote doesn’t quite convey what a delight I’m finding that first article. HN at its best- thanks.
Patent-Free Authenticated-Encryption As Fast as OCB (2007) [pdf]
>> prohibiting drivers from driving in wet conditions

I will not consider this. Because it sounds ridiculous. Prohibiting whom and how exactly, from driving how/what?, and how wet? And how do you measure that? And at the cost of what?
> All my types (and `#define`s) have some semantic meaning only I and non of my tools understand.

If it is not semantics essential to the correct operation of your program then this is a different matter. I really am not sure what the contention here or misunderstanding is.

When I write C++ I write it for a C pre-processor and C++ compiler to read in order to obtain a output program which does something specific and in line with the C++ standard.

This is not some high minded purism - this is just pragmatic reality.

If I write something in my source which I expect to result in specific output but the specific output cannot be obtained if I use a standard compliant C Preprosessor and C++ Compiler then either my expectation is wrong or I'm writing something which is not C++.

So if you don't rely on the behaviour that results from MOC being part of the toolchain then sure - you are writing C++ - if you do - it is not C++.

If the semantics (in a sense where it actually affects output) is part of a language, which it is, then changing the semantics of the language makes it a different language.

> So I can see the argument from a puristic view, but in practice, once my built is setup to run it (cmake automoc or something), it simply works.

This does not make it C++.
It would be interesting to see AlphaZero trained to play very aggressive romantic style. AlphaImmortal's goal should be beating Magnus Carlsen 51% of the time with the most amazing games ever played.

I think you could do this by changing the value function:

- reward short game over long games,

- draw reward closer to loss reward,

- reward capture more.

In fact, I would like to play against AlphaImmortal specially trained to play against my Elo-rating level opponents with 51% win rate. That would be fun!
It is poor etiquette to not include a disclosure of your relationship to the link provided.
> I think you'd be better served by doing a lot of courses from the same institution. If you choose courses that were designed to fit together, you'll have a lot less wasted time from overlapping material or holes from missing material.

I agree regarding choosing materials from a singular institution. Thing is, not all the institutions have all the courses and materials online. This in turn results in choosing specific courses from specific institutions which are available online. But the caveat here is that when I intermix the courses from different institutions, I find the prerequisites to be different since different institutions cover same/similar courses in different depths/breadths. For example, Databases in CMU are at a much higher standard than that of Stanford's.

> What is your goal exactly?

Goal is to learn since my undergrad is not in CS. I would not be able to afford a masters for the next 2-3 years so I am trying to use the intermediate time to get myself the undergrad curriculum knowledge I never had. I hope this would help me with enhancing my day to day job and also help me prepare when I apply for my masters/PhD.
Provide GtkEmojiChooser as Public API
> It honestly amazes / pisses me off that I can't buy something like this off the shelf.

My Huawei P20 Pro does it off the shelf.

It seems to be a bit picky about which monitors it's willing to speak to, but with the 'right' ones it's just a matter of plugging it in via USB-C and attaching a bluetooth keyboard. It has a windows-mimicking desktop mode and the phone screen becomes a trackpad.

I've never really found a use for it myself, but it is there.
How amazing it is that he managed that, and how?!
It's pretty hard to ignore that extra information though.

You run a screening company. You take people at high risk of lung cancer -- people who smoke a lot and have smoked a lot for many years -- and you provide low dose CT scans of their lungs.

Bob comes in. You scan his lungs and you find spots.

What do you do now?

You're probably going to start providing treatment to Bob. Will this help Bob live longer? Will it improve his quality of life? It might not.

https://blogs.bmj.com/bmjebmspotlight/2019/02/15/understandi...
But could you produce a cooling system that this could power?

Or at least recycle some of the heat fridge/freezers produce back into electricity.
Likes are supposed/believed/intended to be a form of social proof by most people. Buying likes destroys that. So harm is done.
> No manufacturers would release any devices with this OS for the following reasons:

But some have already released phones with a similar desktop mode.
AI is not "interpret"ing. It is merely using a fitted distribution. Just because there are many degrees of freedom fitted does not make it magic.
CAS = close air support?
Can these remotes be spoofed by neighbours to turn lights on/off, play music, etc? Or are they paired and use encryptiom?
“The children now love luxury; they have bad manners, contempt for authority; they show disrespect for elders and love chatter in place of exercise. Children are now tyrants, not the servants of their households. They no longer rise when elders enter the room. They contradict their parents, chatter before company, gobble up dainties at the table, cross their legs, and tyrannize their teachers.”

~ Socrates
> A fast SSD can easily hit a gigabyte per second sequential read speed, far faster than your typical network.

Nit: 1GB/s is ok, not even solid let alone fast.

A fast SSD pretty much saturates 4x3.0 links (which explains why they universally tend to cap out at 3.5GB/s). In fact there are now a few PCIe4 SSDs (e.g. Corsair's MP600) which close in on 5GB/s.
And this is THE WAY to go I think.

We need something like social networking, payment and communication as layers of our networks with open protocols to just use this service without bothering creating an account on FB and other malicious services.

Sometimes I'd wish our internet would be more like the network the computers in Star Trek use.
What are the ergonomics-first languages of the functional world?
It's mildly amusing in a frustrating way how we just assume that ads provide no value these days because ads and marketing in general have become synonymous with hostile psychological manipulation.

In theory (and ancient, pre-internet historical practice), ads can provide genuine value by informing people about the availability and properties of products.
React is component based, this allows for a level of encapsulation and reusability that cannot be achieved with Razor. You might not truly appreciate this until you try out React.

If you don't want to dig too deep though, compare how to add a datepicker to a view in both systems. With React it is just another component, with Razor it is a bit more finicky.
This comment misses the point.

The point is to make a webpage that lasts. So people can link to it and get the page. That means making a maintainable webpage and a url that does not change.

It is great that you can archive every page you visit for yourself, but that is not the same as making a lasting web.

Lets make something that others can use too.
And your problem is here ?

If the meeting attendees where not driving after the meeting, I don't see the problem with social drinking and bonding.
Isn't Nexedi the guys who make a really nice ERP on top of the Zope platform?
I used to think this kind of thing too. It’s the most direct and obvious interpretation of what goes on in the world. But the reality is that such a system wouldn’t make any difference. In fact, that feedback loop already exists. The reason why it wouldn’t and doesn’t work, the reason why such corporations exist in the first place and the reason for almost all of our problems are all the same: people are not up to the task of running a society in which these problems are absent. No matter how many tools you give people, they will never fix anything. If you could figure out a way to make people smarter and have less emotional baggage and not be petty, a lot of big, seemingly unrelated problems would disappear.
In my country I cannot go for a second bachelors since it is age restricted. The ones which I can attend are extremely expensive for which the ROI is not worth it. My undergrad is in EE.

If it's not too much to ask, would you mind being my mentor online in some way? I would really like to learn from someone with some direction and hold myself with some accountability too.
JavaScript is a LISP due to following properties:

1. Minimal core modeled on Scheme

2. Everything is a dictionary (globals, locals, objects, prototypes). This is a direct result of relying on LISP notion of an 'env'

3. Functions are first-class citizens

4. JavaScript is a dynamic language

LISPs are fairly easy to spot. Their cores are minimal Scheme-like implementations with everything on top being a syntatic sugar over a few basic concepts.

This approach makes the implementations surprisingly concise and powerful.
What would it have to do with Objective-C?
In some years they do differentiate so some color is only available on the expensive models.
I had a rather enjoyable experience with home grown torch cacti. Only mild nausea with about 12 hours of colorful visuals and the easiest ride of any psychedelic I've tried (LSD, psilocybin, and a LSD lookalike on blotter). I do feel like I was a bit filled by the experience, so I wonder if mescaline, or something else in the cactus, possesses neurotoxic effects like high dose MDMA. Also, watch the spines. I got poked and felt like I had arthritis in my thumb joint for about 4 months afterwards.
> You can always ignore irrelevant data

Everything we know about human psychology says you can't.
All that can be implemented as separate services. Doing that also enables graceful degradation, as a failure of, say, voting doesn't prevent me from reading the question.
Didn’t this come out a couple of years ago? Is there a reason we are seeing it again now?
Exactly and if you need to quickly optimise some background JPEG to save 400Kb , because the designers / developers haven't optimised the flipping images.
Yeah the sponsor ads are great. They're hyper focused on my interest while they know nothing about me when I visit the website. Golly I wish how they would do it! Sometimes I get to know iOS development related products that I didn't know about but should have. Think they had about the same click-through rate as all of the other banners I've seen last year combined.

On the other hand Google seems to think I need a Foreverspin after carefully analyzing all of my click behavior over thousands of websites.
More discussion on https://news.ycombinator.com/item?id=21919347
Yeah, that's correct, my question was about costs.
If the student knows almost nothing, these are really good as they cover the most simple things.

If you already programming, they may be too basic.
C compiled with compilers and standard library written in C++.

My world runs on top of C++.

C is only relevant on constrained embedded hardware and FOSS UNIX clones.
>Or at least recycle some of the heat fridge/freezers produce back into electricity

This was already possible. Now you could just do it more efficiently.
Get paid while you're learning, working at a startup
I would suggest to take a look at owncloud (https://owncloud.com/).
They have clients for every device, are largely open source and have quite a few configuration options.

You can set them up on a server on the hosting provider of your trust or even on your raspberry pi.
Even so weak ciphers would be much more beneficial for Mass espionage than other loopholes which don't work on everybody and are usually relatively temporary. It's why the NSA pushed for 40-bit export encryption and such in the 90's. It's way more useful to them if everyone uses a weak algorithm, even if it's not too cheap to break it for millions of services today but could be in a decade. As someone else said it can take decades before it would be discovered (unless we get another Snowden) and before -everyone- switches to something else once the weakness is public.
How to Get a Completely Free Website
Country-coder: Convert lat/lon to country code locally
Don't you think though that it would help you?
I see this ML treatment of the images as a resolution improvement. It would help doctors to see better, maybe to not miss the detail that could be missed.
So much this. I'm an advocate of performance metrics being _measured_ and tracked over time, but very careful about setting performance _targets_. It's the latter that tends to cause the dysfunctional behaviour - it's Goodhart's law [0] in action.

When it is required then focusing on user value can help: e.g. "<x> seconds to user login being available" rather than "...page loaded".

There's still the question of absolute numbers rather than statistical distributions, but that's another topic.

[0] https://en.wikipedia.org/wiki/Goodhart%27s_law
Why AR Will Win and Why It Matters How It Will Win
HTTPS: //supplementsworld.org/krill-oil-plus/
Krill Oil Plus
As a confirmed B-Corporation®, Vital Plan is focused on supportability in the entirety of our items and choices. This dedication is the reason we picked Superba™ Krill Oil as our omega-3 item. Our provider pursues carefully controlled angling rehearses.
https://supplementsworld.org/krill-oil-plus
https://sites.google.com/site/supplementsworldofficial/krill-oil-plus
https://youtu.be/u44xSFQG2hs
The end of the conference era (2018)
A personal note from a startup founder
I don't understand. Email isn't encrypted is it?

And what can the Australian government do that the US government can't these days?
Most neighbours are decent folks, so security may not be necessary. For example, I had an open Wifi for years, so the neighbours could share it if they wanted. I also had passwordless Airplay speakers, and only once soneone tried to play music on them. (Was fun)

At some point I unfortunately had to add a password because someone else used all the bandwidth...
Google does mine email but does not sell the data.
Pretty cool with the editor interaction.

Also worth bearing in mind most shells can do this sort of thing easily enough too.

The example from your video with zsh's zmv (bundled: https://github.com/zsh-users/zsh/blob/master/Functions/Misc/... )

> touch btn_google_{signin,signup}_dark_normal_web{,@2x}.png # create files
> ls -l
.rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signin_dark_normal_web.png
.rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signin_dark_normal_web@2x.png
.rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signup_dark_normal_web.png
.rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signup_dark_normal_web@2x.png

> zmv -n -W btn_*_sign*_dark_normal_web* *_sign_** # dry run
mv -- btn_google_signin_dark_normal_web.png google_sign_in.png
mv -- btn_google_signin_dark_normal_web@2x.png google_sign_in@2x.png
mv -- btn_google_signup_dark_normal_web.png google_sign_up.png
mv -- btn_google_signup_dark_normal_web@2x.png google_sign_up@2x.png

> zmv -W btn_*_sign*_dark_normal_web* *_sign_** # change files
> ls -l
.rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_in.png
.rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_in@2x.png
.rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_up.png
.rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_up@2x.png
This will be slowly but surely be used everywhere. Reducing heat output while providing electricity is almost always a win-win situation.
2019 was a great year for KDE, thanks to Nate for leading the effort.
It's not meant to really replace GnuPG. It doesn't sign, it does not handle trust - it simply encrypts/decrypts.
Searching for exact/minimum image size in Google Image Search.
Thing is, yes it might cost performance, but does it matter?

It all boils down to, does it deliver what the customer of an application written in Swift is asking for?
This article is actually quite empty, it starts like it is going to be about how to write good technical content, then becomes an auto-biography, then becomes an article on how one can get started blogging, then just end abruptly with some statistics that probably nobody cares.

So if you came here to know how to write, Stephen King wrote a book "On Writing" that is quite interesting and mostly reads like a novel. See it as a "I'll read this and I'll get motivated to write".

If you came here to understand how to get into blogging: just start. Create a wordpress, and just start writing. Focus on content, not on form. After a while, you can think about a domain name, about a custom theme, or about hosting this yourself on github with hugo. But don't start with the technical parts of managing a blog, just write.

If you came here to understand how you can become a good technical writer: keep writing. Consistence over years of writing is what makes you a good writer. The ultimate technique for me is to give an interactive talk to people about your ideas, and see where your audience get stuck, where they ask questions, how different ways of explaining something get the point across.

Malcolm Gladwell does more than this: he explains an idea multiple times in different ways. If you have the page count to do this, do it. Different people need different ways of explaining.

(shameless plug: I'm writing a book on crypto https://www.manning.com/books/real-world-cryptography?a_aid=...)
I was thinking more like CPUs and GPUs
Ask HN: How do you responsibly report security bugs to open-source projects?
I found a DOS vulnerability in an Open Source project whose maintainer seems to be MIA at the moment. I found it in-the-wild, but not as an exploit so I've only made minimal effort to contact said maintainer - no surprise I haven't gotten a response so far.

I don't want to draw any attention to it in a bug report and I'm not sure it's OK to dig up email addresses from commit logs either.

It also got me thinking: why don't we have a Bug Bounty-like program for Open Source projects as a whole. What I mean is somewhere where we can post sensitive bugs (even for no pay) and have someone who knows what they're doing guide the process of reporting it responsibly. I know some big projects have this, but e.g. look at the mountain of dependencies that most projects are built on - many of them barely maintained.
Ask HN: Good solution for storing notes/excerpts from books?
There's been a lot of talk about personal information management on HN of late, which made think of this.

I've been mostly making notes on my kindle and then other random stuff (highlighted pdf files, text files, screenshots, etc).

Is there any "modern" solution for handling book notes/excerpts I'm not aware of?
Whatever the provenance of the content, the license is almost certainly newer than 4-clause BSD, evidenced by +endorse/-advertising clauses.

This has nothing whatsoever to do with GPL.
> why not just leave all the flying stuff to the Air Force or maybe specialized parts of the Navy?

The priorities aka politics of each military branch are different.

Canonical example: At Guadalcanal in WW2, the Navy was supposed to land supplies and support the Marines, but when the Japanese Navy showed up, the US Navy weighed anchor and left - with most supplies still aboard. The Marines are still mad about that 75 years later.

In more recent times, the problem is that the Air Force doesn't want to fly low and risk AF pilots - ie. provide CAS. And the F35 is the worst at CAS - high, fast and expensive with no loiter time.
Cause that "social drinking and bonding" was always binge drinking.