skysight-inc/HackerNews huggingface dataset:
You can do this with CSS Modules using BEM Classnames and a function to generate BEM classnames given a Component Name and State/Props.

The function can then pick the generated classes out of the CSS Module's JSON import. If the classname doesn't exist, it can warn to the console.

It's farely straight forward in React. You just need to make sure you always use the function to provide values to the className prop instead of manual strings.
It's the same way with ARM. A fair amount of CPUs simply don't do out-of-order or speculative execution to the point where they could be vulnerable. And of course, if they can't do that then there's no way they could be vulnerable to Spectre or Meltdown.
They speak too slow
Impressive how many of the buildings are still there and recognisable. Nice to see most of the 30+ year old apartment blocks still standing and well looked after.

Must have been so weird to look out from a high-up apartment on one side of the wall all the way over no-man's-land towards the windows of another block on the other side.
For a very good reason - if you look at the old pictures, you'll often see the pre-1961 sidewalk embedded in the street. The Wall was often build in the middle of streets that had been used as demarcation lines between Soviet and other zones. When the wall came back down, those streets were rebuilt, and so car parking went down exactly along the route of the wall.

You can see this by looking at the ground; modern Berlin marks the route of the wall with a line of bricks in the middle of the pavement. In many of the current pictures, that line runs just between the traffic lanes and the parked cars.
Just because it's not a programming language doesn't mean it "shouldn't" have variables.

It just makes sense to be able to, for example, declare all the colors you're going to use multiple times in your document ahead of time so you can say "highlighted-area" instead of "#ADD8E6," same as saying "black" instead of #000, it's just "black" is built into CSS itself. It just gives things a semantic and reusable meaning.

For a non-text example, it's similar to how you can create a theme in MS Office and it shows you "theme colors" first in the color selection tool.
This is just peak hacker news right here
Indeed, the target market especially is the type of market that will especially appreciate and pay for the type of work that goes into making this book. Someone tweet at that man.
The problem is that the "mass" in the direction of the movement is different than the "mass" in the perpendicular direction. So most modern books try to avoid the relativistic mass "m" and use only the rest mass of the particle "m0".

(Still, the "relativistic mass" can be useful to make a few back of the envelope calculations, but you must be careful.)

More details: https://en.wikipedia.org/wiki/Mass_in_special_relativity#The...
I second that.

Native English/Spanish speaker... having one paragraph in English and one in Spanish is very confusing.

It's an interesting format for a Podcast, but the written version really messes with your brain. Specially given that sometimes the following sentence translates part of the previous paragraph, but then sometimes adds additional context or continues the story.
They (Spotify) also have some kind of awesome new playlist feature that mixes the songs together automatically. The "Trap Vibes" (don't judge) playlist uses that feature, I'd say try it! Play at least 2-3 songs and notice how gapless they transition into eachother. It really works great. I hope it's automated and not based on cuepoints (it probably is, though).
ISHIR Offers DevOps as a Service, DevOps Consulting and Outsourcing Services
I can ask, but they won't agree to them or send me any rides.

Is that so different from, say, an unskilled landscaper asking for $50/h and being passed over for the long line of other landscapers willing to work for $10/h? I don't think the definition of being self-employed or being a contractor includes pricing power.
Precisely! This has been pretty extensively tested - https://en.wikipedia.org/wiki/Bell_test_experiments - and is true even at distances and within timescales where a photon couldn't travel between the two entangled particles (i.e. to send that information)
Always wondered how does this toy work. Great video
Is it really that noticeable? I don't remember ever watching a 24 fps film thinking 'this is jerky'. Is it more about the lag between input and response than any jerking?
>A 16 year old can waste his or her life by this age if he or she does really badly in school or smokes weed and gets caught.

I agree with the vast majority of your post, but I would say this part isn't super fair. Maybe I'm reading too much into this part, but outside of exceptional cases, we do give minors the chance to recover. I know people who had high school GPAs in the low 2s, that went to community college for 2 years, transferred to a solid university, and have a good career.

At least where I live, your records are sealed at 18 unless you have been tried as an adult (which is exceedingly rare). You can definitely recover from an offense, but it is going to make things harder.

Yes, a 16 year old doing some (alleged) unethical behavior should face some consequences, but no 16 year old should have their life ruined. Intelligence and maturity are not coupled.
This man built a hydro generator with a group of friends, and charges just $5 per month for electricity. Hero.
It's actually been used as a way to preserve food in the past, often as a kind of watertight plug or seal to keep food from going bad.

Here's a great example: https://www.youtube.com/watch?v=SdKzWQOVET4
you can see more examples in the linked repo:

https://github.com/Erkaman/poisson_blend
Just a quick skim shows an incredible amount of work and dedication. Great job and sincere thanks - memories flooding back.

(Print copy - yes!)
Ink to code, one part of a small agriculture solution?
Can Your Brain Testify Against You?
The OP used swear words against a political party, specifically calling out the Democrats and saying they are shit. I am not the one that did the political battle. Also I did not make a national swipe. Russia, as a country, is taking actions and has for a long time that undermine democracy. My post is a response to violent hatred of a political party and group of people.
Bootstrap 4 I believe has switched to Flexbox entirely, but the naming conventions have stayed the same for the most part.
I'm happy to see it covers Legend, a game of which I have many fond memories, it was the first RPG I played and sadly highlighted the difference between my (parents') 386 with PC speaker beeping out the music in off-colour cga and my friend's 486 full music and good looking VGA.

The game itself is was fun, more than tricky (almost impossible for the 9 or 10 we were at the time) and there aren't many games which combine all it's best elements. As the book says, the custom spell rune system was a treat. Creating a spell which shot a missle which exploded and also fired other missles around it was really fun.
Literally just found this feature this morning. It was awesome that it also adds the fade effect even if you skip a song. Gapless playback used to be a feature that was only active when the track came its end naturally.
>"from failing sites."

Again, I wasn't talking about "failing _websites_". I was talking about ad serving _domains_.

You've lost track of what the conversation was about and the substance of what I was responding to. Please re-read the previous post to reset.[1]

That post by d2wa was claiming a direct cause-&-effect blocking based purely on entries in EasyList.

I replied that the article makes no such irrefutable claim and that he was over-reading something that wasn't there.

You, on the other hand, are talking about "Better Ad Standards"[2] which is orthogonal to my reply to d2wa. Your repeated citation of it actually muddles the topic because the Google's longstanding approved rules for the correct layout of AdSense already adheres to "Better Ad Standards".

To restate the different conversations in pseudo-code...

Argument by d2wa:

if (EasyList_entry_exists("AdSense"))
block();

Argument by you (ec109685):

BetterAdStandardsViolation = popup || autoplaysound || prestitialcountdown || largesticky;
if (BetterAdStandardsViolation)
block();

Also see comment subtree[3] from Raymond Hill (uBlock maintainer that uses EasyList). Based on that, the pseudo-code would be:

if (BetterAdStandardsViolation) {
if (EasyList_entry_exists)
block(); // this line of code unreachable by correct use of AdSense
}

In summary...

EasyList is not the final authority on blocking AdSense. Since Google's existing guidelines for proper AdSense layout already complies with "Coalition for Better Ads", the existence of AdSense in EasyList is not relevant because the EasyList filter is selectively applied to failing websites. In other words, Chrome's ad blocker will not block AdSense the same way as uBlock.

[1] https://news.ycombinator.com/item?id=16297718

[2] https://www.betterads.org/standards/

[3] https://news.ycombinator.com/item?id=16298182
Well, check it, then! You never bothered to check but you're already waiting for 7 hours now... ;p
It's not resolved until Walter Day removes Billy's score and admits that he propped him up with some shady officiating.
So they hired these two psychologists, William Cannon and Dallis Perry, to come up with a personality test to screen for good programmers

Who is “they”? I have been programming as a hobby since the 80s and professionally since the 90s and have never heard of them - and I have been sent on several courses on interviewing by several companies, and interviewed hundreds of candidates.
Show HN: Algebraic Number Theory in Python 3
I find their unpaid for application annoying, then(yes I know that's the point).
> the first person responds with calling them jobless, disturbed and a harasser then the gloves are off

Well that reaction seems to have come after they were harrassed, called a dumb kid, and a lying piece of shit[1]. This is a 16 year old, they're going to make mistakes. This level of hate for something very minor is really out of proportion.

They did after all contribute at least partly towards the app, so it's more of an exaggeration than an all out lie.

[1] https://imgur.com/a/jFbQR
Artificial Intelligence Isn't Killing Jobs; It's Killing Business Models
This seems to be the part that upset a lot of people including the OP.
If you're a beginner, I'd listen to "Deutsch – Warum Nicht?" from DW. It's narrated in English but the main character speaks in German. Radio D is another podcast from DW at about the same level.

From there I like Coffee Break German because it has a language expert and a native speaker discussing German words and grammar in a classroom/conversational setting. Again, this one is narrated in English but they're talking about the German language.

DaZPod is also great for short little clips, completely in German. Once you're ready for the full-on German stuff, Langsam Gesprochene Nachrichten has a new podcast every day where they read world news, slowly and clearly articulated, completely in German.

Of course most of these come with transcripts you can read along with to improve your German reading comprehension as well.

-edit: check out DW.com and look for their German courses... they have a ton of podcasts for all levels, and they're really good.
https://slowgerman.com/
Who should write the tests? Certification vs. Improvement QA
Yes, but the time displaced version is more like cause and effect. Non local correlations between variables separated in time is a generic feature of classical mechanics. Frankly I think this paper exploits hype and naivete but what do I know I only have a pnas paper on quantum Dynamics.
How Much Is Virtual Reality?
> CSS Components - how we realized everything we did in the past was wrong

Not really. This was born out of necessity - deeply nesting components within other components doesn’t work so well when styling with broadly defined CSS selectors. So, we generate class names (or inline styles) directly in our application.

It comes with its own trade offs. I don’t know that adding a build step and tightly coupling your styling with your DOM counts as “fixing” css, but I suppose it all depends on your perspective.

It’s more like we kind of threw away one of the main principles of CSS and forced a completely new philosophy upon it.
I would expect a native to think language learning courses are spoken too slowly for their liking. The most common complaint among language learners is that natives speak too quickly, so of course learning material will be slowed down so students can hear every word being said.
Early Facebook and Google employees form coalition to fight what they built
Sure, it's child-friendly. How many children do you think I can have in my studio apartment?

Park Slope has a median real estate price of close to $2 million, and average family incomes well into the six figures.
There's also markets for gaming gear that has lower latency and modified gaming gear like console controllers with extra buttons or scriptable buttons.

I think the gear would give more of an advantage over drugs since it would be more consistent.
British bank's Bitcoin ban misses the mark
Heh, I'm still remembering this line: "[...]but if all goes well we're talking of a colored 480-page paperback for about $25-30. And that's printed on-demand via Amazon." ^^

But really, it is as mathgeek says. You are underestimating how much people are willing to pay for this. Though, as you said in the blog post, it's all future-talk at this point.
This is very interesting.

One could take this further and claim that even the most rudimentary mathematical construct, the integer, is in the eye of the beholder. Counting relies on certain perceive regularities: "boundaries" that allow us determine where a the "identity" of an object, and "similarities" that allow us to group together objects into counts.

The concept of an integer seems to presuppose the concepts of identity (or distinctness) and regularity (for want of a better word). Whether all types of neurologies will have the same ideas of identity and regularities (or objects and classes?) and therefore the same concept of integers, is something that we probably could not imagine because we can't step out of our own neurologies...
This is part of the reason why I still feel constrained when using systems where the type system is bolted on after the fact, like Typescript, Flow, or Dialyzer. You can gain so much leverage from the type system being able to generate code like this for you.

ML can do this, but you have to mention the module explicitly. OCaml's upcoming modular implicits will allow this with less boilerplate though.
You can't compare a gaggle of kids in one particular part of Park Slope to the greater New York City metropolitan area and draw a ratio from that.

I might as well say that the ratio of rats to people in the city is one-to-eight-million because I saw one rat this morning.
For the First Time Planets Beyond Milky Way Galaxy Found
As far as I can tell, however, the article gives no examples of this. All the functions that are written are based on "read" and "mempty" and similar. I'm having issues understanding how to write these functions "from scratch".
Being against reunification. Being reminded of the failed experiment across the just deleted border. Being reminded that that failed experiment should have given them some doubts about their doctrines. Being reminded that in the most remarkable story of human progress in contemporary history [1], not only were they not part of the heroes - they were complicit agents in defending the status quo of an unfree Eastern Germany.

Which is why the SPD (with a few exceptions) and the Greens have never set foot in the East as did the conservative CDU.

[1] that remarkable story of course includes the whole of Eastern Europe and that human progress may only be equated to the rise of China (although not politically).
For a moment, I though this was Asimov's Last Question...

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

Warning, Spoilers if you haven't read it.
E-commerce Landing Page Showdown – Which Footwear Advertiser Comes Out on Top?
Oh yeah, that swipe gesture looks so natural...

Now in addition to people talking out loud alone on the streets, people checking their notifications on their watch and phones at dinner, we'll have people looking at your teeth doing weird eye and head motions when you talk to them...
> if someone has a legitimate use for a stimulant then they are barred from competition nevertheless.

Not entirely true - you might have a "therapeutic use exemption" (TUE).

See http://theconversation.com/athletes-need-performance-enhanci... for a good discussion
That only strengthens the argument.

People die from heart disease, cancer, respiratory failure, Alzheimer's, strokes etc. in old age. Reducing one of those factors would give few additional high-quality person-years of life. Auto accidents bring death to younger people who, in the absence of that catastrophe, would be expected to live many more years.
Yes, the term was borrowed from typography and is used in most professional DTP software.
Are they actually preventing couples from having children, or are couples simply moving away from those areas in order to have their children elsewhere?

I once posited that there are so many gay couples in San Francisco in part because people who might, oops, end up pregnant just can't afford it. Homosexual couples who want kids have to arrange it. It doesn't happen accidentally because your birth control failed.
> Surely the pool of potential child-care workers is approximately all of humanity, and one worker can care for several children.

Speaking as a parent, I don't consider every Tom, Dick and Henrietta off the street as equivalent caretakers for my child. The pool of potential child care workers is much, much lower than "all of humanity".
How do you ask or set the price you want to charge in the Uber app?
Almost-classics: sf concepts and settings that deserve better execution
Classic, SC2K and SC3K were Will Wright games and didn't stress too much on the city micromanaging gameplay. They were plain and simple city builders. Things changed with SC4. Weirdly SCS and the last failed SimCity are probably closer in gameplay design and feel to the older titles than SC4 but the community hated them.
Former Intel president launches new chip company with backing from Carlyle Group
not to spoil your day but:

https://www.washingtonpost.com/news/post-nation/wp/2018/02/0...
Not free or open source but you should check out Jan Zelenys Mashinky on Steam if you want a more modern OpenTTD.
The History of Computer RPGs | https://news.ycombinator.com/item?id=14145252 (Apr 2017)

>podiki: There's also albums on Flickr with 18,000+ images from the games: https://www.flickr.com/photos/crpgbook/albums
An ‘Iceberg’ of Unseen Crimes: Many Cyber Offenses Go Unreported
The best I've found is Slow German: https://slowgerman.com

The presenter speaks slowly (as the name suggests) and clearly, and there are over 100 episodes on a variety of topics, so there's probably something to suit your interests and level.

Deutsche Welle also have podcasts and videos at various levels and you can download a slowly-read news broadcast ("Langsam gesprochene Nachrichten") every day: http://www.dw.com/en/learn-german/s-2469

Or for a normal speed news broadcast for native speakers, you can subscribe to ZDF's "Tagesschau" or "Tagesthemen" podcast, or watch a video of "news in 100 seconds": https://www.tagesschau.de

I'm also interested to hear more recommendations!
"is it the last question?"

"yes, and this is the last answer"
It's interesting, but can you tell us whether Trump's followers are real people (e.g. grassroots) or whether they're just all phony, purchased followers as is commonly true?

I keep waiting for Facebook and Twitter to one day implode because 90% of the user base are bots. The world is simply not what we think it is. I would then go on to suggest that the valuations of these companies are also inaccurate. But it's only a hunch.
5) People who have unplanned pregnancies, which can then be subtyped into 5.1) people who keep them, and 5.2) people who don't.
Interesting content but also second the spellcheck point when you are posting about natural language. Also, pie charts are horrible for things with a ton of data points-the second graph kind of pulls it off because "en" is so large but can't make much out of the first graph. Third, while Five Thirty Eight is certainly well known, they definitely make mistakes, as was seen in their complete miss in prediction of his presidency. They are no better than Rasmussen who currently holds Trump at a split 49% approval rate, may want to add them as another source to better balance your fact statements.

http://www.rasmussenreports.com/public_content/politics/poli...
Billy Mitchell's current Donkey Kong score removed due to suspected emulator use
You've still got to deal with the fact that some browsers support some aspects of CSS Grid, some you have to fall back to Flexbox which doesn't work in the same way and you'll still use some grid system based around floats or display:table to capture everyone. More choice of ways to do the same thing, some very useful media queries, but most of the rest of it could have been done equally hackily in the late 90s.

If IE6 was bad, the fact that we're on the third or fourth generation of different implementations of CSS layout aiming to reproduce common layout styles achieved with HTML tables in the 90s and still need javascript polyfills to use them on non-autoupdating browsers still in widespread use is ridiculous
Intel Poland is looking for a Full Stack (Python/Angular/MsSql/NoSql) Developer in the Data Reporting Team

https://intel.wd1.myworkdayjobs.com/External/job/Poland-Gdan...
Product Development Rules (+ When to Break Them)
Sometimes I feel flexbox was created in order to get back some cool features of table-based layouts without using tables. Technology tends to run in circles.
Note that the score was removed from the Donkey Kong Forum High Score List, not Twin Galaxies.
I'm not sure whether it's a language/culture thing but Poppy's voice seems really unpleasant to me. It reminds me of Japanese anime characters, more age-play than feminine.

The jarringly meditative background music aside, her videos also seem reminiscent of the naive child-like alien/clone/orphan trope often found in anime. It seems like she's more of a Western adaption of the Japanese idol/vocaloid trends than a genuinely novel phenomenon.
Monitoring Dropbox with StatsD/Circonus
>> StarCraft Remastered collects game telemetry (including map information, etc.)

> Yes. Of course it does.

> Fuck the Internet era.

Well, to be honest, everything played on Battle.net is visible to Blizzard already and especially now that they support hosting games even when not reachable directly from the internet, there's even more data available (AFAIK map files were only transferred P2P in the old times, and the Battle.net servers didn't care about those at all).
okay your google-fu seems to be stronger than mine. At least all elements mentioned in the original comment are there even the stasi-IM.
Show HN: Curated CSV list of available domains
Make me an offer I can't refuse – Writing an abstract for a CFP
Also, they could just split the book in half at whatever is the most logical breaking point, and print two approximately 264 page volumes. It would probably make physically handling it easier too...

Edit: Just finished downloading and took a look at it. Splitting it into a "1975-2000" volume, and a "2000-2014" volume seems to make the most sense. That splits it almost exactly in half by page count, as well.
“Today, we're using hollow-point bullets”

I'm full of anticipation for what's on the agenda tomorrow.
Life-Commit – Life as a git. Commit on your life