skysight-inc/HackerNews huggingface dataset:
My greatest affliction with music players is the UI inefficiency. They are so anxious to sell me their online services, that have bad searches, bad browsing, almost no information about the music (who's this voice singing together?), and slow to start.

Can anyone here recommend a good player for Windows?
Read the manual front to back and install shellcheck. Doing both things has paid off for me a thousand times over. The rest is practice. Complete the bash exercises on Hackerrank. Bash is fantastic in it's domain but it does require serious study in my experience
Firstly the linked source is paywalled so that's ignored.

Secondly, we are talking about post-war USA, so very generally '45 -> circa '70, not 2016 and the modern globalised world that are not representative of the world back then where even the internet didn't exist.
Anytime I'm stuck with a script I usually end up on https://bash.cyberciti.biz

Vivek (founder) has been writing these tutorials for 17+ years, he knows his stuff.
To your second point. The large issue here has more to do with moving to the areas with more economic opportunity instead of creating economic opportunity where you currently reside. The culture of moving on a whim, not creating a stable network of family and friends in your neighborhoods, and other factors are contributing to our social problems.
The initial password is only used for authentication, isn't it? Someone could (unless more details are provided) snoop on the connection or even inject packets.
Got any suggestion to have ipset(s) persistent over reboots?
Show HN: An open-source and real-time Reddit alternative, currently in beta
While it's laudable that people can afford detached housing in the extended metro area, I think calling the special wards "central Tokyo" is a bit of a stretch. (Especially given that they reach the border of Tokyo prefecture to the north and east.)

But in any case, as far as I can see your vision doesn't even conflict with the urbanists. They want the dense urban cores and excellent public transport that allows Tokyo's suburbs to exist. Where they are hostile to suburbs, it's where they are enforced by zoning and are getting in the way of density in places where it makes sense and making single family dwellings more expensive in the process.

Indeed many would argue that the success of cities in Japan can be largely attributed to their laxer zoning laws, which is one of the primary things urbanists argue for.
Putting "power back in the hands if companies where it belongs" requires no change at all. Just don't take VC money. It's that simple. Most companies are not best served by raising money from VC firms (and I say this as someone that has been an institutional VC for almost 20 years). But if your take on a business model that requires capital, the expectations of return of those investors are going to be commensurate with the risk. As soon as you raise outside capital whether from a VC or borrowed from your local bank, you have committed yourself to new obligations that will put constraints on how you run the business. Those constraints can be explicit ("pay us X interest every month") or implicit ("the risk associated with the startups we invest in is so great that we have to swing for the fences with every investment, so we are going to push you to a billion or bust strategy."). It is important to understand them before you take outside capital (topic for a longer post...). But if you want to stay in control, it's always best just not to take any outside capital at all.
Why are you assuming that Pavel is the only possible exploit that could be used to own Telegram?
(shame smiley) I could've tested the query, but I wrote it on mobile.
AMP with Chrome on Android also breaks the back button on many (all) sites? If you pass through several links within a site, then hit back, Google will forget all that and dump you back to search results. Disable AMP and the problem goes away.
How is Akamai optional for a user? If you're saying that it's optional for publishers, then your argument doesn't make sense since AMP is optional for publishers as well (I mean, the author disabled it and all).
Yes, and we can point that out to our business owners until we're blue in the face, but until they see the benefit they won't pay us to do that work. It can be surprisingly difficult to get this point across.
Reverse engineering mysterious 500M-year-old fossils
You make good points on the size of pages and load speed. How about instead of AMP we have something that's hosted on the server instead? Something like RSS but with built in single-article views and a standard (or at least lightweight) framework?

On the other hand you say AMP aims to fix this - anyone doing that for the ad views etc would simply not enable AMP on their site. AMP does not fix this.
I think there's a miscommunication here. By "write some efficient code" GP presumably meant the "pull" approach, in which you identify the code that's causing you performance problems and then try to make it faster, learning everything you need on the way. Rinse and repeat. It's a very efficient way to learn, and also good at teaching you those intutions that are hard to put down in writing.

That said, if anyone knows some kind of collected guide to writing efficient software, I'd be happy to learn about it, 'cause I haven't seen anything like this published.
They slow trickle out games and franchise reboots to drive console sales based on Nostalgia. That tactic seems to be working for the time being...
No it's part of the standard. The STL guys can't implement it differently.

Here are a few alternatives:

MCT closed_hash_map

Sparsehash's sparse_hash_map or dense_hash_map

loki::assocvector

boost::flat_hash_map
BTW, here is the source code:

https://github.com/voten-co/voten
I learned long ago that -any- placeholders confuse people. Image placeholders? "Why is it showing me just an image of some random person with the word 'placeholder' over it?! I would have images of Y!" It's frustrating, but that's reality. Figure out the sort of thing users will actually have in there, and try to put something similar. Preface lorem ipsum with "Your text goes here. Fake text follows: Lorem ipsum dolor sit amet..." or similar.
Welcome to parenthood. You even sound like the parents of the 80s and 90s now.

Before that it was too much TV.

Before that it was too much radio.

In Victorian times it was reading too many books.

Kids of today will always be kids of today, doing the things that they do instead of the things that you nostalgically remember doing. Even Socrates noted that.
Yes, on retina plain SqueakJS uses half the resolution, and by default the canvas interpolates. It looks sharper if you force pixel doubling: https://squeak.js.org/run/#url=https://freudenbergs.de/bert/... (by appending the pixelated flag to the url) but this looks worse when scaled, e.g. on iPad, so it's not the default. Caffeine, however, does support an HTML canvas - just try the included example which opens a workspace in HTML.
I just hope this won't be weaponized to attack emulation. Many big publishers and platform owners are unhappy with proliferation of ROMs and emulators. With things like these (and according to other commenters the ads are obnoxious and emulation quality not that high) the argument can change from "emulation is SATAN, these old games for old platforms must DIE OFF" to "there is a legal way to play our games, this is piracy".
I'd recommend Slack, JIRA, and daily stand-up calls. Slack is good for general news and messaging people on your team. Daily stand-ups and JIRA are nice for issue tracking, planning, and making sure everyone is on track.
cool, but is it worldwide?
KMail Bug Sent Encrypted Emails in Plain-Text – For 4 Years
I could, if I determined there's an insane amount money to be made. Sorry, I'm not helping the rich get richer out of a good heart.
VR is getting mystical with experiencing death before death, treating depression, time travel, and lucid dreaming.

What else can VR show us once the doors of perception have been cleansed?
Indeed, you're right.
In my field, if you get a TT position and play nice, you usually get tenure. But yeah - it's basically all about money. You can't do good research if you don't have solid funding, you don't get solid funding unless you have good research in high impact journals.
In my mind I actually separate it into three (from Google):

- The specs/docs for building AMP pages, which can be found on www.ampproject.org - note that, a lot of these are non-free, like standardized components for specific media/social sites, and requires you to include script tags for cdn.ampproject.org component implementations. This all tells you how to add an AMP version of your page to your site, and how to link it to the original content.

- The "Google AMP Cache" CDN that hosts cached versions of AMP pages under .cdn.ampproject.org - it seems that anyone can use this...? Note these are in a separate context than the google search result page (that people think of as "AMP pages") which means a generic XSS on AMP isn't an XSS on google.com.

- The integration into Google Search. On the frontend this looks like some javascript that preloads iframes to the .cdn.ampproject.org page for results, and also uses History.pushState() to give you the google.com/amp/foo.com/ urls. If you go to those URLs directly you'll get redirected (that's the server-side implementation of them and why you don't ). There's also some crawler (and ranking?) implementation too, presumably.

A lot of discussion about AMP seems to muddy all three of these things together, which is a bit unsurprising considering Google's messaging muddles them together, but I think it's important to distinguish between them. In the "Twitter AMP redirect" case of the article, only the first portion is coming into play.

As an aside - if you're interested in seeing how AMP works under the hood I highly recommend the Chrome Android USB debugging - I hadn't played with this before trying to figure out how AMP worked and it was really a godsend to be able to "Inspect Element" on my phone, especially because anything AMP-related is very aggressive about only AMPing to phones on cell networks.
We needed better transit and affordable housing ten years ago too. Florida just didn't care at the time. That's what I think is missing -- a mea culpa for ignoring crucial urban issues and promoting the kind of growth that would muscle out the non-"creative" people a city needs to function. Big scare quotes for "creative", by the way. My other pet peeve with Florida is that he thinks creativity is the exclusive province of the affluent.
Write and distribute tutorials targeting a wide audience with varied amounts of experience.
Mine is a OnePlus 2 device.
I'de say it was rather large, since looking around, it's believed that it was very big pre-WWiII, but a quick look for numbers isn't revealing any good sources. I suppose it'll just have to float around as a "general belief" that the Japanese automotive industry was "rather big" pre-WWII.

WWII definitely effected the US less than a lot of countries though that is for sure. But I think certain industries benefited more from USA's post-war advantage than others (automotive maybe being an example).
That's an over-simplification:

1. Users have no control: if you want real URLs or the full experience, you have to work around AMP or stop using Google.

2. It's technically true that publishers can choose whether to use AMP but Google rank is a make-or-break issue for many publishers and that means the decisions is made under the threat of losing out to competitors who use AMP even if your site is already just as fast using non-proprietary tooling.

It would be much better for the open web and innovation in general if Google maintained a separation between the two and only used the real user experience when deciding ranking or placement in the special top results carousel.
No Frills, No Crowds, No Money: The Lonely Road to Tennis Glory
Thus you consider options like Bacon Ipsum or Simpson Ipsum (among others on http://www.designsmix.com/web-design/15-lorem-ipsum-alternat... )
Why is this not available outside the US and Canada?
> It does not seem that there is any significant correlation between memory size and allocation cost. Nor should there be - it's just bookkeeping, after all.

I guess this explains your lack of concern about memory pooling. I am going to have to do some research to see if OpenCL does pooling natively, but I can assure you that this is not the behavior on Cuda devices. I can't really get your example to compile right now, but I'll look into it later.

Also you are right that is strange that allocations are so slow on Cuda.

But if it turns out that OpenCL is doing pooling behind the scenes, this is going to be an issue for you when you decide to do a Cuda backend because the performance profile will start to get dominated by allocations.

> This would have the same effect as embedding assembly into C code, i.e. it basically makes everything nearby off-limits for optimisation.

This is true, but that would also be the case if you were using an FFI. Being able to embed C code would shorten that path a bit by not requiring the user to compile a code fragment to a .dll before invoking it.

> In fact, Futhark is a bit of a counter-reaction to the run-time-code-generating embedded languages that were popular in the FP community some years ago.

Hmmm...I never heard about this. But Then again, relatively speaking I haven't been programming that long.

> Have you considered looking at something like Obsidian[2]? It is a much lower level functional language that directly exposes GPU concepts. While Obsidian is Haskell-specific, there is a successor called FCL[3] that is standalone. Unlike Futhark, these languages do not depend on aggressive and expensive compiler transformations, and therefore may be a better fit for embedding.

I can't find any documentation for Obsidian, but there is a paper for FCL in the Github, so I'll look at that.
Prestige, Resume and Career. We have system in place for this. You don't get hired without credentials. In academia it is publications and only big publishers like Elsevier, Springer, Wiley etc are acknowledged. Kinda like Microsoft, Google, Apple in software.
Well, creating economic opportunity can be a chicken-and-egg problem. For instance, there are extra challenges to starting a tech startup in a location without a large existing pool of software developers.
When I was teaching guitar, the overarching trend I saw again and again, from the South the Midwest (so not a complete profile, but one large enough) was an interest in playing guitar but no real influences to latch onto.

My first question to a prospective student was "who are some of your favorite bands?". With enough blank stares I changed it to "what is some of your favorite music" with equal stares.

Kids (and adults) want to play guitar, but the initial excitement and rush comes and goes fast as they have no real guitar music to get into anymore.

Pop music has changed, and that's fine. It gets hard to find a memorable or "cool" guitar part in pop music. The last one I can think of is "Party in the USA", and that, of course, is subjective (and quite old now).
Yeah, really interested in hearing their take on this. It's not often you see a Musk-sponsored enterprise cast a major project aside without public comment.
But when you own equity, you own a tangible piece of a company. I could say I believe in Amazon's core products and create an Amazon coin, but why should the value of my Amazon coin be correlated to the market cap of Amazon when it has no link to Amazon shares?
[caveat: I am not an astronaut]

Over significant distances, it is probably worth considering the curvature of space time and not relying solely on a Euclidean model.
The Android App is not available in Germany. :(
So it's illegal to do an ICO and offer something of actual potential value, namely shares?

Seems like a serious unintended consequence of regulation.
It's not so much they were late to the party; they weren't invited.
> For me a directory tree with well-named directories and files is still the least-worst solution and also has been, over time, the most dependable one.

This. My Music is very meticulously organized on the file-system level. Every single folder (sans Soundtracks and Videogame music) is organized like so:

My Music -> Artist -> Year - Name -> Track # - Title
e.g.
My Music -> Black Sabbath -> 1971 - Paranoid -> 01 - War Pigs.mp3

That's it. That's all I need. I've had it this way since 1998, and it still works, across myriad computers, file systems, and operating systems. One of the reasons I stayed with Winamp so long is that I could simply right-click on a folder and click "Play in Winamp", and I was all set.

All of these other apps that try to organize my music for me inevitably fail, because the tags are rarely complete or consistent. Trying to backup all my music to Google Play Music has shown that, time and time again.

These days I'm happy that I was finally able to get that functionality back with Audacious.
If a regular page doesn't load on a 2G connection and an AMP page doesn't load on a 2G connection.. what's the point of AMP?
After the tens of millions dead in the twentieth century, it is hubris of the highest order to even hint at another communist revolution. Our economies are so unbelievably complicated. Like our bodies, they have evolved as a result of billions of interactions between individuals and the environment. To suggest we can sweep them all aside and replace them with a designed system is not even wrong, it's completely in the realm of fantasy at this point.

Yet people continue to clamour for it. They fly the hammer and sickle. It's just so stupid and incredibly dangerous.

Like I said before, it's fine to criticize society. Wealth inequality is a big problem, for one. I don't think the Soviets solved it though, do you?
Meta:

Downvoting is an accepted method of disagreement on HN. It's a problematic stance IMO since downvotes grey out the text, making dissenting opinions impossible to make out if they're unpopular enough.

Back on topic, 4GB laptops are incredibly common, especially in retail stores. Getting a laptop with 8 GB of memory frequently requires looking online (most folks still buy their computers from retail stores) and customizing your order.

For example, I just visited both Dell and System76, and except for the gaming laptops, all of them default to 4GB of ram, and adding more (while not terribly expensive) requires thought and action on the consumer's part.
Place I part time at the card terminal isn't even hooked into the cash register. I have to manually enter the amount from the register screen into the card terminal. But I have to do that for mag stripe and contactless as well.
Too much TV was and is a real problem.

I wasn't around for "too much radio". Sounds suspect. There wasn't that much programming available.

Too many books? Pfft.
I hope publisher's drop it and take with them a few lessons about showing a little respect for the audience.
It makes me kind of sad that we're moving to a world where a 500 KB program gets installed in a 80 MB container :(

EDIT: Wait, now it's downloading a second 80 MB container :(
Yes but was the decrease in demand greater in magnitude than the increase in sales due to less competition? I'de disagree, but getting numbers on these things is very difficult since it's a long time ago. Most of what you'll get is "general ideas" that the industry was "fairly big/small".
I think i miscommunicated my message I'd also like to invest in EU i just thought that US is a bit more advanced in this
The early versions of String.hashCode in java only looked at the first 16 characters of the string - when used for things like URLs this led to rather poor performance!

https://en.wikipedia.org/wiki/Java_hashCode()#The_java.lang....
Yeah, that was a strange remark. Winamp's website looks like it does because development on the program is kind of in a state of flux / suspension, with nothing happening since a few years ago when AOL sold Nullsoft and the latest version (5.666) was released. I find Winamp to be pretty efficient these days to be honest.
It's not when the technology gives you an advantage in search ranking through the AMP green square in the search results and the quick answer tiles.
Even if the typical bucket has 100 members, as long as this number is constant and does not go up with the size of the hash table, the performance is still O(1). And the same applies for cache misses. All these things don't really matter except if you are using hash tables with not very many elements in them.
Looks interesting! I've always used https://github.com/aasm/aasm, but this looks pretty good.

More generally I get worried about my ActiveRecord objects getting too bulky and business logic getting all wound up in post-transition callbacks and such. But that's something that can be managed with service objects and being disciplined about triggering state changes.
What about the phone app? I sometimes play google music on my laptop but there's usually no particular reason not to play it on my phone.
This man is being called Trollvalds for a reason
Ok, so what this tells me is that you're not aware of what
modern verification techniques look like.

Well, techniques are not tools. I am asserting that it is quite probable that no practically useful tool exists to non-exhaustively verify the state space laydn wants to cover.

Notwithstanding your example that it's possible to non-exhaustively verify some functions on strings. There is a quite some distance between that to verifying just any function.

Because I've done this,

Sure, but how does that make it obvious to laydn that his state space is coverable? And what makes it so obvious to you that his state space is coverable? After all, the 'largeness' can have different sources, including those that make non-exhaustive methods infeasible.

I think this may be an example of the disconnect between research and the industry. Researchers say things are solved when they have shown something is possible and published about it. They feel it's then up to the industry to extrapolate, while research moves on to exciting new and greener pastures. Meanwhile the industry thinks the results are too meager, thinks the extrapolation involves a lot of technical difficulties and generally is not willing to spend enough money on what they cannot see as anything but a longshot.

If you do any model checking at all, with tools like SPIN or TLA+, you are already in the state-of-the-art minority in industry.
I don't know what you think SV salaries are. 1/3 of typical engineering salaries here would be about $40k year. In the midwest that is going to buy a very modest lower-middle class lifestyle if one doesn't have debts.

Also, cheap is relative. $120k/year sounds like a lot, and it is a lot. But relative to the value provided it's pretty small. Also, these companies work together to suppress wages. It helps that so many willingly play the "work for free" game by contributing to these companies' open source code with no compensation. Workers in SV are cheaper than their salaries make it appear.
Consulting pays the bills when software can't. It's all about the mix and getting to what you want -- not everyone is destined to be a product owner.

Your advice is spot-on, although I would likely CAPITALIZE the words "build something better". Not so easy a proposition.
OP values Dylan over Tay-Tay. That's okay. My daughter thinks the opposite. That's also okay, and evolution of popular music.
Strncpy doesn't do what you think
In the UK OSCP can be used for CRT equivalency and I know that many/most pentesting companies care about CRT/CCT qualifications in the UK, if only because they're a requirement for doing work for some government departments, and also some financial services companies will use CREST certification as a check for testers doing work for them.

So in that sense, they do care about OSCP.