skysight-inc/HackerNews huggingface dataset:
I'm on Void Linux right now running Nim 0.19 compiling the following code:

when isMainModule:
echo "Hello World"

nim c hello.nim:

Before strip: 113k

After strip: 92k

nim c -d:release hello.nim:

Before strip: 79k

After strip: 63k

nim c -d:release --opt:size hello.nim:

Before strip: 46k

After strip: 30k

Kind of a toy example but it illustrates my point. An unstripped version of the Nim program with full debug symbols is still 78k smaller than the stripped, release version of the Rust equivalent. But it's great that they're trying to work on this problem.
This 15-Year-Old Just Free-Climbed the Nose
So you want to detect flute notes from a YouTube video? That's what Chordify does for a guitar i think.

I actually tried it here on a flute video:
https://chordify.net/chords/the-last-of-the-mohicans-the-bes...

But it only managed to detect background guitar not flute!

The chords are C, F and D minor.
Join Kotlin 1.3 Webinars
> “There’s an unmistakable energy in all the designs that [Roger Excoffon] does,” said Tobias Frere-Jones, a Brooklyn-based typeface designer. “They project their personality so clearly. And it’s very obviously not Helvetica or not Times or any other generic thing that might be on the awning next door.” Excoffon’s most popular typeface is probably Mistral, which was modeled after his own handwriting.

Both this passage and Exofon's fonts remind me of Henry van der Horst, a Dutch graphic designer who basically has a monopoly on Dutch market signs. His work has become so ubiquitous that a market stall without it feels less "authentic", so there is a lot of demand for his work.

It's crazy: everyone here knows his handwriting, without knowing it was one man doing all of those signs for decades, and when I say "all those signs" I mean that at a national level (altough the Netherlands is small of course). He's like a weird kind of anonymous household name ("anonyfamous?"). Well, until a newspaper wrote an article about him down a few years ago, that is.

[0] http://www.willemverweijen.nl/henry-van-de-horst/

[1] https://www.volkskrant.nl/mensen/-op-de-markt-doet-niemand-a...
That interaction is not at all obvious. I've used the 2017 since they came out and have been tapping then lifting my finger every time to drag the slider.
Sia Furler. She works on songs for other artists and also does 'demo performances' to help singers develop a song. She's written songs for Rhianna, Adele, Carly Rae Jepson, Katy Perry, etc.
If anything, I'd imagine participating in an intelligence operation that failed terribly would make one more of a trustworthy authority than not, unless no new lessons were learned.

I expect authorities in most (actively practiced) subjects to have experienced a major failure or few, let alone a subject as involved as IA can be.
I was going to get rid of that feature until I learned that a certain founder of this site really likes it.
What year model is your MBP 13? The biggest problem with mine is that the keyboard has been a nightmare. Nonstop issue for the past 2 years. My right shift key hasn't worked since early 2017.
>Changing the addressing schema completely solved the issue.

Can you elaborate at all? Do you mean you changing the FPGA to not write to exactly the same spots over and over? And just set up something up similar to wear leveling?
How I format my C++ papers
Try using spotlight search on iOS. Every single time I search for an app, without fail, I click on a web link that suddenly appeared in place.
Oh no... now I will not be able to unsee.
This. Some companies proceed directly to the "build us something" or "take a quiz" portion of the interview process. I always insist on a phone interview (preferably with the hiring manager) before doing anything else. 5 minutes of frank conversation can save you hours of wasted time.

Also, you'd be surprised at how different the role they want to fill is from the one they posted.
I went to college and took a sum total of two math classes but have learned enough to reason out the many papers that don't have (pseudo) code but 'complex mathematical notation' -- which seems like almost all of them.

https://github.com/Jam3/math-as-code was helpful...
Yeah but overall it's existed for 8~ years.
The touchpad problem is because the battery is expanding. It is very important that you replace it ASAP. I had mine replaced as part of the warranty.
the other aspect is that many compromises in WP come from writeable file systems.

/wp-content/foobar.php wouldn't have a hash because it's not a plugin file, but a file that was a file that written to the filesystem by some other exploited plugin. You'd need to be on the lookout for any files that shouldn't be there, but when you're dealing with media folders where anyone can write anything, you're left guessing as to what 'might' be wrong (although executable PHP in an /images folder is probably suspect from the start).
Jeez, I think this specific comment chain illustrates one reason why the OP decided to make a new text editor. And this is why I don't use vim anymore. You have 4 people, all somewhat experienced vim users (guessing based on prior posts), who all have conflicting ideas about how to do a simple move operation.

This goes beyond "counterintuitive-ness"... After a few years working with vim, I find myself unable to easily recall how to do some basic operations. Vim is counter-retentive for me as well. Thanks OP, I'm gonna start playing with Amp now!
I think the keyboard is down to preference, I prefer the new one.

It does seem silly not to include a dongle in the box though. I mean, I’m buying apple because I want my tech to just work, and now my mouse or magic keyboard can’t connect and charge?

The only real port annoyance I have though, is the damn headphone jack. :p I mean, I can’t connect my iPhone XS headphones to my MacBook Pro...
And Conky for Linux (and others?).
I bought a magsafe USB-C cable and it solved the problem.
I am still flamoxed by the decision to discontinue GTalk... The build Hangout and later Allo/Duo

Talk was lightweight, history backups and usable in every platform.

Any startups would love to have Talk
No, that would still suck - but at least I guess you could disable it.

I thought the worst thing about touchbar would be "no feedback on the ESC key". That's bad, but boy was I wrong. Turns out that the far worse thing for me is that I rest my left hand slightly above the number row. With touchbar, any touch, no matter how light, will trigger random stuff (very often, repeated "esc" keypresses, with the predictable disrupting effects)
Does anyone use the new MacBook Air for iOS app development? How does it hold up?
I’ve also tried switching from a MBP 2017 15” to the new air and it’s a really good laptop. Love the weight, battery life, CPU is not as good but enoughly, typing is back to good. My main grip and the reason I’ve returned it was the screen. I don’t mind the brightness, but colors were faded away and the gap is big between a MBP screen. Final blow was no True Tone making the pick even less attrative.
Where else can I find smart people online?(Discussion)
Connecting the world!
While I totally agree, it also seems to me that this sort of thinking is almost always used as an excuse not to care about anything, rather than a call to care more about the bigger stuff too.
Good thing "logic" isn't a concern and separating view code from view code doesn't make sense ;)
ShopifyList.com – Curated list of shopify stores that sell things you can buy
What Makes a World-Class Engineer?
Best article I've read in a long time.
4chan :)
My 2017 13-inch nTB MBP is running 4k@60Hz just fine.
I know, but the point is social networking sites are ephemeral, owning the social graph of older social groups does not ensure dominance of younger social groups.
Aardvark was the coolest Q&A system ever, it's loss is a real tragedy, it's infuriating how Google bought it just to close it. Also Google+ was the best social network ever.
”You implied you weren’t aware the solution was available with a Google search. But it was solved, first by Simon Plouffe, and then by others, so now you know.”

Where did I imply it? The site being discussed uses “anyone” in the sense “any person”. I questioned that, but didn’t realize that I used the word in the second meaning the second time I used it.

”The way to code the spigot algorithm for pi is to lookup the formula, understand it, figure out how to deal with precision and numeric base conversion, and write the code. Pretty much anyone can do that.”

That, we disagree about. We live in a world where “Fizz-Buzz” is a thing, so I’m not that optimistic that anybody can do what you describe.
This reaction is well understood by the media. When they want to humanize an issue they will go to great lengths to dig and find relatable and shocking ways to tell a story. That they do not is more telling about the interests of the people that fund them, all billionaires that profit from mass suffering and the exploitation of labor and vulnerable populations.
JSX isn't JavaScript. It's JSX.
Not only macOS itself, but also many applications. OmniGraffle, Little Snitch, the Affinity apps, Alfred/Launchbar, Arq, Tweetbot, Paprika, Deckset, etc.

(I use both macOS and Linux on the desktop.)
I came to write... this.

Sure, stringly typed programming is sometimes a quick and dirty solution - and that's fine, even permanently, if you just don't want to invest much in whatever you're doing - which too, is fine.

But it's not a good thing. It's cheap and easy, which is sometimes something you need to settle for.
To clarify, are you saying that your 3 year old 2015 laptop has, today, better battery life than your new 2018 laptop? That's mad...
I'm considering getting a Dell XPS or Lenovo Ideapad instead and install macos (hackintosh laptop).
Better cooling, definitely. My machine gets quite hot on my lap unless I have it turn on the fans earlier using Macs Fan Control. I'm using it as a pro machine, so it's running a bunch of docker containers, Slack, VS Code, a million tabs across Firefox and Chrome. It's a busy machine and it doesn't need to be silent if that means it's hot enough to be uncomfortable on my legs and hands.
Just because something is named atom doesn't mean it's small.

It's a clever marketing.

Downvotes for pointing out the flaw in marketing vs reality.
My biggest issue with list comprehensions is that while it's a useful and fairly readable format for a single list comprehension, either little attention was given to how it would function when taking a comprehension of of comprehension, or they thought the syntax would be so cumbersome people wouldn't do so (ha!).

When compared to a set of functional style mapping and filtering functions, it quickly becomes much less readable as your needs become anything more than trivial. My main issue is that focus for the important aspect of what is being accomplished swings back and forth from the front to the back of the statement multiple times, especially if nested and with conditionals. e.g.

[(x,y) for x in range(10) for y in range(10) if y > 5 if x < 6]

or, in a similar formatting to what you show:

[
(x,y)
for x in range(10)
for y in range(10)
if y > 5
if x < 6
]

In both cases, the accurate reading requires scanning back and forth from beginning to end of statement (whether vertically or horizontally) because the conditionals always postfix the rest of it (and this example is not as complex as it could be). For loops would likely have the conditionals preceding everything, making it obvious, and a set of filtering statements. The functional style also allows for a fairly straightforward reading of what's going on:

toTen.filter(y=>y>5).flatMap(y=> toTen.filter(x=>x<6).map(x=>[x,y]) );

or:

toTen.filter(y=>y>5).flatMap(y =>
toTen.filter(x=>x<6).map(x=>
[x,y]
)
);

Of course the functional style does require at least some minimal knowledge of some concepts often extraneous to novice programmers, so I understand why that wasn't chosen in Python's case. I just wish they had put conditionals in the same positional flow as the rest of the statement.
Mercury mean temperature 340 K
Venus mean temperature 737 K
Pretty weak correlation if you ask me
This is a pragmatic and astute observation. This scenario has played out several times in the past.
Yeah, and not just in the more visual elements either. Gmail is a perfect example of them ignoring 'if it's not broke, don't fix it', but I think the main problem is how they're so obsessed with trying to 'guess' what you want rather than let you decide yourself.

This is especially notable in Google Search, where the results will often be outright irrelevant to your query, remove terms they assume aren't necessary and do absolutely everything on the assumption that a wrong result is better than no result.

So many of Google's UI/UX/design issues would be fixed if they just got out of the user's way and let them do what they intended rather than trying to guess in advance.
Why is it not JavaScript? The Ecmascript spec explicitly allows syntax extensions.
So the Ready at Dawn folks just put this out https://www.youtube.com/watch?v=n-txrCMvdms&feature=youtu.be

... this is one of the most interesting introductions to a Rust package that I've ever seen.
Mark Zuckerberg Is Done Apologizing to You
All these videos:

https://www.youtube.com/user/alisonandmatt
Interesting, I'm in the US and I think of GCP as the best of the three factoring cost and reliability of their features.

For AWS it seems like to get things that "work" you almost always need to do it yourself instead of using Amazon's offerings.

For Google you may not want to get locked in, but the offerings seem to offer some really good benefits and work correctly.

Maybe this is just "grass is greener" thinking, but what is the experience using GCP like?
I thought the 2015 had a force touch and non mechanical touchpad too.
Needs a pithy TLA. Alphabet Business Cloud / ABC?
The 2015 15" had a 100Wh battery, the 2018 has an 83Wh battery. The 2015 gets better battery life because it has 20% more battery capacity.
Today, a random person (actually two people) from some random country saved my career and financial security. I'm thankful for that.
> Most mathematicians also agree that the Langlands Program could help find a proof for the Riemann Hypothesis, probably the most famous unsolved mathematical problem (about the distribution of prime numbers). These problems are just as abstract as Langlands’s own work, however, which means his research program as it was originally conceived has little relevance to everyday life.

I dunno, figuring out the Riemann Hypothesis could have some far reaching consequences for our understanding of prime numbers, and therefore cryptography, no?
The back button worked just fine for me on Chrome.
I liked iGoogle. I thought it was kind of cool. It would've been a great "new tab" page in Chrome tbh
You would have to hash every possible substring in a sentence.
I've been happy being on linux.
Looking at my Dock I can tell you why:

Finder
- Spark
- Safari (iCloud Keychain and iCloud in general)
- Paw
- Postico
- Transmit
- Notes App
- Pages
- Sketch
- Photoshop

There is nothing (for me) that compares to Finder, a proper email client, my favorite browser, Postico, Sketch and Photoshop on Linux.

There is nothing on Linux that I don't have on macOS, and of course: it simply works.
I trained a guy that was a analyst and now he is a great dev in my team. I am working on getting another non-programmer to train to learn Python. I find its much easier to get devs this way. You just have to have a self motivated person willing to learn.
Spotify – now playing
I realize this is horrific for many living in the Western World, but I think it's important to keep it in perspective.

Does anyone really think it wouldn't have happened without Facebook? That it hasn't been happening for thousands of years?

It's not like the invention of Facebook created this.

This is also the epitome of "think of the Children". I realize that in our culture auctioning off children is not acceptable, but who's to say we know what's right? maybe we're OK auctioning off rabbits or religious artifacts but another culture would find that horrific. So should we just say that whatever we deem OK is fine?
It always bothered that Spotify doesn't have an icon on menu bar; so I decided to create one. With "Spotify - now playing" you can, easily from the menu bar, see information about the current track, control the playback (previous track, pause/play, next track) and add the current track to your library or playlist.
The code and app to download it's here https://github.com/davicorreiajr/spotify-now-playing.

In any case of bug, of suggestion, please open an issue in the github repo!

Hope you enjoy it!
IMHO the name choice (htm) is really bad.
Oooh this link should totally go into the bar at the top of the screen.

I am often anxious about missing some important piece of news and it makes me keep reading, feeding my HN "addiction". If I knew I could just come back later and check yesterday's new I would feel a lot less compelled to finish reading the front page before it expires.
But its easier for politicans in that country to blame $FB then to blame their own country people.
This is a GUI and runner around an open source webscanner for each CMS.

FIM approach is very effective if you have the time to review many alerts from plugins, or maintain hash list as brought up in thread.
>>There is no “you” besides the cells.

OK. So if some of my "cells" decide to kill your firstborn, what say you?
(ICYMI) Mastering Data Structures in Ruby – AVL Trees
Joscha Bach [0] has some really interesting CCC talks about the reverse: Computational theories of the mind, really good stuff.

[0] http://bach.ai/
I love these ex cathedra-like pronouncements on HN. Got quite a collection to date.
> only supports 4k@30Hz, which is terrible

Are you using the HDMI port? I'm using a 2015 with Iris and can run 4k@60Hz through the mini-DP.

https://support.apple.com/en-us/HT206587 shows that both 13" and 15" from 2015 should support 4k@60Hz.
Come on. You all know he wants the NASA ones.

Happy thanksgiving HN.
Will look into. I just want help with brainstorming ideas for an inter university collaborative project.
My point is that if through that process I'm made to feel like a number

You are a number as an employee, we are all just disposable pieces of the cog. The business transaction is simple. I’ll stay there as long as they are putting money in my account twice a month that is commensurate with my market value and I know they will keep me employed as long as it is in their best interest.

You are just one of a pile of resumes that they are filtering at any one time.
This is completely wrong. I am a recent graduate who is in stem and took up to calc 3. It is true you do learn notation but only what is necessary for the concepts and math of the calculus classes. I've run into the same problem as the op and most of the notation that acts as a barrier isn't matrix operators or integrals but rather symbols used in proof or niche cases that might be prevalent in a specific field but not in general University math courses.
Nikolas Cruz Cell Phone Content and Internet History
source: https://twitter.com/realRUSTYCAGE/status/1065060837008773120
I recently bought a used 2013 MBP; while Apple specs say it can only do 4k@30, the DisplayPort output is in fact capable of 4k@60.
The focus should be on building environments where those pasts can be discussed and the sounds healed. I can absolutely imagine correctly using the terms master and slave in an environment where some of the people have a darker skin tone than I have.

Correct use of words is important if those words have been misused in the past.
> why aren't more Mac users complaining about the sharp deck edge against their wrists?

Probably the same reason pianists don't complain about the sharp wooden piano edge below the keys: hanging wrists expedite RSI and reduce dexterity.

I definitely know what you're talking about, but it's not the hill I'll die on because it's not the best habit.
i had a 2016 mbp, and it had (IIRC) ~7000mAh battery. My 2015 mbp had ~8800mAh. The battery itself was smaller in the 2016 model, presumably for thin/weight.
Have you tried git bash?
Bad programmers worry about the code. Good programmers worry about data structures and their relationships.

Mildly horse shit. It takes both on a team.
Here’s testimony from Cameron Purdy, he used to work for Kurian at Oracle - https://www.quora.com/Have-you-worked-for-Thomas-Kurian-at-O...
I ran macOS on a Dell netbook for a few years, and funnily enough it just made we want a genuine Mac more. I'm typing this on a MacBook Air.

The incorrect sleep-wake behavior, the average track pads and the inability to easily upgrade macOS were all annoying, but for me the straw that broke the camels back was when a friend tripped over the charging cable, pulling the laptop onto the ground and smashing the screen.

The irony was not lost on me - had it been a genuine Apple laptop macsafe would have saved it.
Paul Boegemann was trained as one such sign painter — he is the proprietor of Paul Signs Inc., in Greenwood Heights, Brooklyn — and has been in business for over 35 years.

“I learned how to hand letter signs and trucks,” Mr. Boegemann said. “We started with a simple pencil and paper. We designed what we wanted and used the styles we wanted and knew how to apply...”

Asked if he’s ever made a sign in Choc, Mr. Boegemann said: “This style is a ‘Bastard’ letter style.”

I like this guy :-D
This is a great idea. Thanks for sharing.
Over the years, I've had an older MacBook Air, pre-touchbar MacBook Pro 13" and 15", and the second generation MacBook.

Order of preference:

MacBook > MacBook Air > MacBook Pro 15" (pre-touch bar) > MacBook Pro 13" (pre-touch bar)

The MacBook is my favorite and I think is the proper evolution of the MacBook Air. I rarely need ports for doing day-to-day stuff like programming, reading and consuming content.

Also, as the OP mentioned, the tapered design makes typing a better experience compared to the hard edged MacBook Pros. The daily ergonomics of the MacBook is something that needs to be experienced and experience with the MacBook Air with respect to ergonomics was a factor in buying the MacBook.
> What you shouldn't do is try to self-study by reading a book.

I say do try self-study first and see if it works. You have absolutely nothing to lose by trying. It doesn't work for everyone, but you will quickly figure out if it works for you. Some people can absorb knowledge from books much more easily than from oral instruction, and for others it's the other way around.
In most countries and companies of the world programmers are not paid any bonuses, and even less so RSUs. It's mostly just a base salary.

And yes, the differences might be normal. In germany it's even less. One might get around 50k€ fresh from university. But there will be far less than 1% of roles which offer a compensation of >= 100k. At least in engineering, management is different.
Here's a list of tagged template literals:

https://github.com/declandewet/common-tags
Sure. Unfortunately, I'm not in Finland.
> Why would anyone care if you had their address, or email address?

It's for the same reason that you don't post your name, address, and email address in a signature of your posts on HN.
Yes, indeed. Thanks for correcting that.
>I don't know any way I'd have learned all the complex topics in math, stats, probability, etc., I did without attending a big 10 engineering school (UIUC in my case)

I feel so behind because I absolutely did not.
You can just tap and slide at once.
(Without releasing your finger)
Its actually faster than with old buttons.
It’s missing Google Inbox which I’m going to miss just as much as Reader
Backpage and SESTA would like to have a word with you.
sounds like a great gig for private security companies and investigators. pretty sure fb is hiring! /s