skysight-inc/HackerNews huggingface dataset:
I think he's wrong here: requiring that folks preprocess some CSS-variant-with-constants into CSS-without-constants just multiplies the number of entities (by however many CSS variants are then introduced). CSS's lack of constants is a glaring design error.

If we want to reduce the total number of entities, then we should examine unifying HTML, CSS & scripting. As I've indicated elsewhere, I think that something like this would be awesome:

;; adapted from https://www.w3schools.com/howto/howto_css_modals.asp

(html
(head
(title "modal-box-example")
(style
;; The Modal (background)
(.modal
;; Hidden by default
(display none)
;; Stay in place
(position fixed)
;; Sit on top
(z-index 1)
(left 0)
(top 0)
;; Full width
(width "100%")
;; Full height
(height "100%")
;; Enable scroll if needed
(overflow: auto)
;; Fallback color
(background-color (rgb 0 0 0))
;; Black w/ opacity
(background-color (rgba 0 0 0 0.4)))

;; Modal Content/Box
(.modal-content
(background-color #x"fefefe")
;; 15% from the top and centered
(margin "15%" auto)
(padding 20px)
(border 1px solid #x"888")
;; Could be more or less, depending on screen size
(width "80%"))

;; The Close Button
(.close
(color #aaa)
(float right)
(font-size 28px)
(font-weight bold))

((.close:hover .close:focus)
(color black)
(text-decoration none)
(cursor pointer)))

(script
(with-elements-by-id
((modal "myModal") (btn "myBtn")) document
(let ((span (aref (get-elements-by-class-name document "close") 0)))
(setf (on-click btn) (lambda () (setf (display (style modal)) "block"))
(on-click span) (lambda () (setf (display (style modal)) "none"))
(on-click window) (lambda (event)
(declare (ignorable event))
(setf (display (style modal)) "none")))))))
(body
;; Trigger/Open The Modal
((button id "myBtn") "Open Modal")

;; The Modal
((div id "myModal" class "modal")

;; Modal content
((div class "modal-content")
((span class "close") ×)
(p "Some text in the Modal..")))))
Lighthouse AI, Inc. | Palo Alto, CA | ONSITE, VISA, FULLTIME | Relocation available

Lighthouse exists to improve human life by endowing physical spaces with useful and accessible intelligence. We’re starting with the home: tell it what you care about, and it tells you when those things happen.

"Let me know if the kids don't get home by 4pm."
"Tell me if you see someone waving hello while I’m out."
"Did you see anyone new over the weekend?"

It’s made possible by the combination of cutting edge computer vision, natural language understanding, and 3D sensing like you’d find in an iPhone X or a self-driving car. Check us out at our site [0] or in the news [1].

We're hiring across the board:

Senior Web Developer
Deep Learning Engineer
Senior Deep Learning Engineer
Distributed Vision Systems Engineer
Software Engineer (C++)
Manager Quality / SQE / Reliability Engineering
Manufacturing Engineer

See our jobs page [2] or drop us a line at jobs@light.house

[0] https://light.house

[1] https://qz.com/981081/the-smart-home-might-finally-get-some-...

[2] https://jobs.lever.co/light.house
So far, North Korea is failing to live up to 2018 predictions
The arguments here don't really make sense.

The author says that a constant lookup table is extra implementation complexity while also saying it's simple and something every programmer should have done as an educational exercise. Considering the density of browser specifications, talking about symbolic constants as feature bloat is some serious windmill-tilting.

They then say that named constants make code harder to understand -- which is obviously an opinion, but one that goes against almost all standard practice. The benefits of naming constants and avoiding magic numbers are well documented, I think. Yes people can go overboard with this, but the solution isn't to not have named constants as an option at all.

The kicker I think is the sheer popularity of CSS preprocessors. When people are compiling to something you designed as an end-user interface, you've failed.

The problem with CSS variables isn't the concept, its that --this-syntax is ugly and unreadable af (admittedly bikeshedding here).
This is from early 2017 so I'm sure it's circulated around.

If anyone is looking for a solution, I have high regards for the guy running treaty.io. No relation, I'm simply a very happy customer: I drop in his library (effortless installation) for my clients fighting transaction card fraud.
Isn't every (edit: contended) mutex/etc. wait operation a syscall? That's gotta hurt for any program that waits for frequent events that don't take too long to process.
It's a double edged sword. Less capital would flow into creating new technologies if there was no way to protect that investment. On the other hand onerous copyright protections slow the pace of innovation.
> As an India I find India far worse than slavery in USA that is why I am in USA in first place.

Tone the hyperbole down a bit, please. This just shows off your disrespect for those that were forced into slavery.
Ah, yes, that does look like an earlier public clue. Thanks.
This is actually good thing. I don't know about you, I would rather Google keep more money and invest with it than handed the money to any government. What would the government do with your money? They most likely wasted it with 0 accountability.

At least when Google failed, they go bully up. When government failed, they get rewarded with more money and resources.
I have basically the same complaint about most of the mergetools I've used; they tend to just do more than I want. I'm sure that's largely a PEBKAC problem, but..... ¯\_(ツ)_/¯

Definitely going to take a look at this; you screenshots look promising.
That's really a separate issue. You can make native calls if you want to, but then you lose the benefits of writing high-level cross-platform code. Trade offs.
...and Lars Ulrich is cheering from his grave.
The article certainly wants to paint the women as naive rather than empowered sexual beings.
There is a product from Mapzen that I have never seen anywhere else : Isochrones (https://mapzen.com/documentation/mobility/isochrone/api-refe...).
Been interested in this for years (https://stackoverflow.com/questions/9403699/map-of-all-point...) They were the only ones to provide a solution.

I am super sad to see this go and still haven't seen any alternative.

Happy to hear about anything in this direction :s.
This is an interesting read:

http://transition.fcc.gov/Daily_Releases/Daily_Business/2017...

Specifically, I think it makes much more sense from a technical and consumer perspective for an internet connection to be classified as a Title II common carrier than a Title I information service.

Technically, it's a network connection that can carry data. Information services, classified as "making available information via telecommunications," sounds much more like a broadcast service than a bidirectional network connection.

From a consumer perspective, and in my experience, we are always better off with unfettered access to a connection, whether it be electricity, water, or internet connectivity, rather than the programming on that connection, for example cable television.

Also:

> I, for one, see great value in the prioritization of
telemedicine and autonomous car technology over cat videos, benefits I anticipate the House Hearing will
highlight.

Again, that's not really how the internet has traditionally worked, and I'm not sure we really want content-based prioritization, outside of existing QoS standards that aren't guaranteed across public internet connections. There's no reason QoS definitions couldn't be reviewed to re-prioritize specific IoT or autonomy protocols, but I don't see how the FCC should be making content decisions for consumers of internet bandwidth.
Two things:

1) There is no case to argue. Obviously, I am stating the obvious. The fact that you believe otherwise proves my point. This is, half-assed hacking reporting is not journalism. Maybe you're confused because what you've been told, and you've been buying into the hacks' spin that they're doing journalism

2) "NBC News announces Hoda Kotb..." That leaves me speechless. Laughing, but otherwise words cannot express how perfect this is for this discussion.
I'm pretty sure that's just the absurd inefficiency of today's trendy software.

I've also long shunned the spotify "deskop apps" and stuck to the website because firefox can contain the damage a bit, and ublock origin can make a surprising difference in the cpu usage of spotify! The ads are crazy javascript sometimes, and I'm guessing the same crap is loaded into the desktop electron apps.
Sounds like you didn't read the article.
Spotify cleaned up a lot in 2014.

They used to be peer-to-peer, and they'd give "free" service to employees of certain big tech companies because they could take advantage of the upload bandwidth of the big tech offices.

They culled the P2P tech in 2014 and went to a standard server-client model.

https://techcrunch.com/2014/04/17/spotify-removes-peer-to-pe...
This is really bad news for Russia. Fracking is now profitable at $60 a barrel, so the price of oil can never go above that. And fracking technology is new, so we can expect to improve further and make production profitable at a lower cost, so prices will gradually get even lower still.

It is also bad news for Saudi Arabia. But that country realizes it and is working hard to expand its economy into other areas, whereas Russia remains focused on oil.

Any Putin fans out there who want to argue that he really knows what he is doing on energy?
Short answer: Disney

In the US, money = speech.

Huge media corporations like Disney have deep pockets, and therefore have deep influence.

Increasing copyright length only benefits these corporations.
And the internet doesn't "go down" merely your connection to the internet isn't working.

It's already a popular term and it's not going to stop no matter how much it doesn't make sense. If enough people believe something, it becomes the standard.
Literally your anecdotal evidence is irrelevant
I'm not a fan of the h1b program, after what happened in Disney.

https://www.nytimes.com/2015/06/04/us/last-task-after-layoff...

It really soured me on the whole program.

If employers stop using it to undercut and fire american workers while claiming there aren't enough american workers to fill the jobs. I'd feel different.

edit:fixed link
Self care/meditation chatbot needs beta testers
We're looking for testers to go through the flow of the chatbot and provide feedback. Here is the link to the bot. https://m.me/912103618953713?ref=Welcome%20message
While solar is starting to represent a significant share of new generating capacity, it's not really material to the oil market, because they don't much directly compete for the same uses over the short term.
That's not how damages work though. A factory worth $1 million can create hundreds of millions of dollars of damages with a spill or accident.
Looks nice! Would be great if it could show a 3-way diff with the common parent.
That's exactly what I'm trying to point out here: Please invest some engineering time into native apps instead of cross-platform code.
Haven't tested this yet but for now my preferred solution is to edit the conflict markers directly in vs code then stage.
I didn't read the book, just the TOC, but it seems like this book is only about programming, not so much about theory (automata, discrete math, calculus, linear algebra, etc), and not even so much about the engineering side of it (automated testing, algorithms, DevOps, etc).

Anyway, there are various websites which list an "online curriculum" for Computer Science, e.g. https://mindweb.network/board/computer-science-a-full-bachel...
Eh, I wouldn't put Harry Potter or a lot of other Juvi Fic in the "total disaster" category, certainly. Hell, I thought The Hunger Games was occasionally pretty good, and in a few cases almost managed to be very good (she kept managing to belabor the point on something that could've been left sublimely understated—cutting just a couple dozen sentences from the first book, at least, would've done absolute wonders) and I was pleasantly surprised that its particular themes and story arc, through the last book, were so popular with its target audience, though I remain confused by the "Katniss is a badass hero with a bow! Yay girl power!" form in which the work entered the popular imagination—did I accidentally read different books? See my previous post's theory that perhaps some readers heavily rewrite things they read, as they read them, without realizing it.

However, having participated in read-alouds from Fifty Shades for the LULZ, I'd dispute its being good for any purpose other than comedy. No, not even that purpose. Those scenes are some of the worst of an already hilariously bad lot, reading as if they were written by someone with a weak vocabulary describing LEGO set instruction manuals. They'd be unacceptable as free Internet writing of the sort (ahem, one supposes). They're damn funny though.

> The only NYT bestseller in recent years that comes close to your Titanic analogy is Pride and Prejudice and Zombies, a book that sold on its title alone and which I would not be surprised to learn not a single person has read, including the author.

A friend of mine read and enjoyed it, in fact, though he likes (some) bad fiction in a haha-I-can't-believe-this-got-published sort of way. He's also the one who got us in to the reading-aloud-from-Fifty-Shades activity.
Best performing Cryptocurrencies 2017 +1M% return
It astounds me that they wouldn't already have used the best equipment on the market? I mean, it's the most prominent underwater search of recent decades, funded by three sovereign states.

My gut feeling is that some people in power do not want this plane found.
I don't think companies like Disney lobby to extend copyright endlessly because they can't make money in the first 20 years, but because they can continue making money after 20 years and would prefer to do that than not. Especially with things like Disney cycling availability of older films and stuff, I'm sure they make loads of money on their older material and just want to keep doing that even if it was successful when first released.
The link is busted by the double quote at the end of it.
Incorrect.

Loopholes are the side effect crappily written laws. And in many cases, loopholes are unearthed by an army of high-paid law firms. Unintentionally created, but very intentionally exploited.

As these loopholes are closed(again, because they're unintentional), these mega corporations are moving around their money from tax haven to tax haven; they're actively exploiting these loopholes in various countries.

It is depriving these countries of very real income. Ya know to pay for the roads, emergency systems, mental health clinics, etc. of ordinary people.

So, sure, it's legal in the same way the many multitudes of immoral things of history were legal.
Real estate company CEOs selling their own stock was a canary for the 2007 crisis. Insider selling their own stock is often a tell-tale sign of the top of the market.
Παιχνίδι τετράδας Άρσεναλ – Τσέλσι στην Αγγλία
I'm seeing several comments here that assume the lawsuit to be over recordings, but Wixen manages "mechanical licenses" (rights to melody and lyrics), not recordings.

Mechanical licenses are governed very differently from recordings. For one, they are subject to compulsory licensing, which allows you pay a statutory rate to license them, as opposed to directly licensing them from the rightsholder. The suit alleges that Spotify did neither in this case.
I understand what the future you and others envision is (it comes up on HN all the time). What I was asking is if you have any references to someone who has actually thought very deeply about this to see if it is even feasible.

It's easy to just say machines will take care of everything. That is a long stretch from it actually happening and I think there are many fundamental problems you'd encounter trying to achieve that. Just looking for books, novels, whatever that might explore the idea a lot further.
This. It's the worst. WORST. Especially for remote teams. It never works..It's always crazy and when there are delays or cancellations...

My favorite..is that when it adds my middle name (because it always adds your first name, middle name, last name...It also sometimes shortens it on the ticket. I've gotten stopped more than once.
Another reason to be deeply afraid to see Disney acquire everybody else.
I don't. I think that execution should be the default punishment for murder and other forms of intentional homicide, barring exceptional circumstances which I don't see here.
Hence the emphasis on "possible". But yes, an exceedingly unlikely confederation of dunces.
Similar project: https://github.com/SpinalHDL/SpinalHDL/blob/master/README.md
At first, this looked like a bad idea but now can see the value but also see the ugly and less-friendly to newcomers angle.

Trouble is, coming from a Vue background (where computed props do not have to rely on a state item), the pre-requisite in Svelte to do so seemed at first a major PITA (then I saw the light/benefits and was actually easily able to re-work the Vue versions to Svelte).

Unless this is the only place Svelte goes slightly 'off-piste' in terms of JS then personally I'd leave as is, otherwise make the change
Isn't this just another grab by middlemen trying to take a bigger cut of streaming revenue because CD sales are dying?

When Spotify was in a spat with Taylor Swift's former label, the two companies couldn't even agree on how much in royalties she was making a year. https://www.theverge.com/2014/11/13/7213775/taylor-swift-spo...
Power dynamics radically changes that. That's why you can't have teacher meddling with their students, or a psychologists in a relationship with their patients.
Typos in the API names is a severe mistake. They were talking about the ipv6 interface but wrote the ipv4 name.
That’s the one!
This article reads like a press release from the plantiff (Wixen) and took a little googling to unwind. Long story short, it sounds like there's disagreement about what type of license Spotify needs. Spotify has previously claimed that streaming is not "reproduction" and is more akin to "performance"... and they (may) have those licenses. What they do not have (in some cases?) is a "mechanical" license[1], which carries requirements for notification and payment that Spotify claims are onerous.[2]

Thus, I'd re-write the lede of this story to:

Music streaming company Spotify was sued by Wixen Music
Publishing Inc last week for allegedly using thousands of
songs... without [the right kind of] license and
[associated kind of notification and] compensation to the
music publisher.

[1] https://www.harryfox.com/license_music/what_is_mechanical_li... - Incidentally, this is HFM, the same firm Spotify uses for "third-party" licensing. They define a mechanical license to include the right to "reproduce and distribute copyrighted musical compositions (songs) on ... interactive streams and other digital configurations." Seems a little damning for Spotify.

[2] https://www.hollywoodreporter.com/thr-esq/spotify-dont-compa...
> The data breach was the Stephen Teal Data Center, which houses payroll for state employees, including legislators and staff

Sounds comparable to the June 2015 OPM breach [1], which leaked 4 million federal background check records. The root of the problem is in something other than connecting the powerful to the problem. (The Equifax breach almost certainly inconvenienced powerful people at least as much as most average Joes.)

[1] https://en.wikipedia.org/wiki/Office_of_Personnel_Management...
If you like blurry old candid photos of people about town, you might be interested in the work of Miroslav Tichý, who from the '60s to the '80s made his own cameras, that were so rubbish they didn't look real, so people didn't behave as if they were being photographed [1]:

https://fstoppers.com/natural-light/photographer-snaps-nearl...

http://uk.phaidon.com/agenda/photography/articles/2013/febru...

https://en.wikipedia.org/wiki/Miroslav_Tich%C3%BD

[1] maybe
I generally keep my eyes open for climate change news and didn't see this. Do you have any reasonable references that explain that ClimateGate was a smear campaign? I thought it was a small number of committed researchers making some mistakes and straying from strict scientific protocols; I never saw that it was a smear campaign.
How about we try this? Watch the BBC World News. Watch the French sponsored news. Heck you can even watch RT.

Then watch the non-local news of any of the major USA networks. Pay attention not only to how the work is done, but also the stories and topics covered or not. Notice too the substance vs fluff/noise ratio.
You cannot downvote articles on HN, as far as I'm informed.
>Our in person interview is generally focused on debugging a python script or javascript on a laptop, with full access to google/docs/tools you prefer. We want you to succeed. We're interested in how you get there. If you've got any specific questions about our team or process I'll be happy to answer below.

To me, this sounds like a great approach to do the interviews - kudos!
Continuum and the bootstrap paradox
It should be less than 1:1. The police officer should be asked to take on more risk than the general public if they are to claim that they are "brave."
I mean.. those growth rates are insane. It feels surreal. But on the other hand, I can't personally complain, having profited from it. What a time to be alive.
I think for most people that hurdle of understanding is immense, and isn't likely to get any better. ML/DL infrastructure will continue to improve and deploying AI systems will become more accessible as time goes on. But I don't see familiarity with (non) convex optimization, statistical learning, topology, etc. becoming mainstream. Without these its hard to see a reasonable path forward for AI.

For me this year in DL was a lot narrower. it mostly revolved around systems becoming more human in capability. I think most of this is in the article already:

We can now hopefully say that ImageNet has been solved.

AlphaZero tackled structured games with a single algorithm [1].

Tacotron2 produced completely passible TTS [2]

GANs improved dramatically and saw some good theory to back it up [3] [4].

We also started to care more about how well our models do in general, which to me shows maturity:

Adversarial examples showed their teeth, and hopefully convinced everyone to care about robust models [5] [6].
Reinforcement learning algorithms were shown to have poor transferability [7].

In 2018 I hope to see a new kind of CNN. Residual style networks are the norm now, since they mostly solve problems with gradient flow. But take away all the skip connections and we're mostly left with a vgg-style linear net with box filters. I'd be really excited to see a network with image-sized conv filters that could adapt their shape (and therefore representational power) to a given feature or signal.

Hopefully 2018 is the year where people stop calling AI a one-trick-pony. I don't hear it as often these days, but I think its time to put that phrase to rest.

[1] https://arxiv.org/abs/1712.01815

[2] https://research.googleblog.com/2017/12/tacotron-2-generatin...

[3] https://arxiv.org/abs/1710.10196

[4] https://arxiv.org/abs/1701.04862

[5] https://arxiv.org/abs/1707.07397

[6] https://arxiv.org/abs/1710.06081

[7] https://arxiv.org/abs/1709.06560
That's a bit of an exaggeration. Here are the areas overlaid: https://imgur.com/a/s9pq7

It's more like the area from New York to Boston
#1) Don't moralize the situation. The woman may have been raped, her partner may have lied to her. She may just have wanted to get off and the condom broke. She may be a prostitute, willingly or unwillingly.. Doesn't matter. The only reason any of these are an issue is the unremunerated responsibility of the woman to raise the child.

#2) Yes, your prison comment overwhelmingly impacts the poor, particularly minorities.

#3) The burden is on the woman, if the woman is poor she may not have the resources to force the father to pay.
Why would he do that? He's not dead.