skysight-inc/HackerNews huggingface dataset:
One major problem I've run into is that CSS in JS usually lacks support for pseudo-classes and browser breakpoints.

The recommendation from communities in frameworks like React is that you should use JS and extra elements to polyfill that behavior. This is both less performant and less semantic. It really doesn't work particularly well if you're used to leveraging CSS in powerful ways.

Stuff like :first-of-type, sibling selectors, and so on are extremely useful. You give them up when you start manually attaching inline styles, and both JS performance and JS complexity to replicate those features will pretty much always be worse.

Doing animations in JS is usually a step too far even for the React community, so the recommendation I see there is often that you should define normal CSS classes and dynamically apply them. But now you're starting to mix CSS and CSS-in-JS, which is do-able, but can come with own set of subtle consequences. It also significantly lessens the benefit of CSS-in-JS, which is that you get to stop worrying about conflicts. It's not a dealbreaker, but it means you're somewhat back to managing the same name conflicts and typos that you were before.

I started out as much more open to CSS in JS than I am now. I was cautious about it and usually avoided it for personal projects. After doing a little bit more work on projects that use this pattern, I now feel like it's probably a bad idea, and advise other people to be careful about using it, even if I'm not willing to take a hard stance quite yet.

It's not that component-based CSS is a bad idea, I'm much more friendly now towards BEM than I used to be. And it's not even that CSS outside of JS doesn't have problems (the authors point about loading order is a particularly good example, albeit one that really shouldn't be coming up very often in a component based world. Also yeah, testing). I'm just less convinced that CSS in JS is a sufficiently scalable solution to those problems, or that it doesn't have significant problems of its own.
The whole "this can't end well" seems to come at every Robin Hood product announcement.

The somewhat recent addition of crypto is just depressing. They've integrated it with chat and live announcements of transactions, so you see people's names as they buy $1500 or $2500 worth of crypto as the whole market makes an inverted hockey stick nosedive to zero.

But the most absurd thing was seeing the HN comments yesterday as people were saying they were living up to their name of taking from the rich and giving to the poor. They're doing something worse--tricking non-rich people into thinking they'll get rich, while making a ton of money in the process.
Byteconf React Native – free React Native conf streamed on Twitch, live now
Crypto, options, and margin investing for the unwary masses.
He wilfully, deliberately and with substantial premeditation broke the law.

So did Rosa Parks, and so did Edward Snowden. That does not mean they automatically deserve what they got.
On this topic, does anyone know if photo access granted to facebook apps on ios means facebook will upload all photos in the background?

Have never seen an analysis of it.
Yep it creates a direct connection between a cloud service and what you type in Google search box. That... seems strange. It make it sound like a repository for all of your data/activity on all Google services not just, you know, the data you upload to their cloud service.
The only time I have an issue with this sort of setup is when the commercial entity employs, or directly is itself, a primary maintainer of the open source project (not sure how that works for Confluent and Kafka). It creates an incentive structure that is counter to the community at large. e.g. a PR is issued to the open source project that makes a piece of the commercial product irrelevant. For the community that's good, for the maintainer it threatens their livelihood.

Some of these projects wouldn't exist without commercial support, so it's not a clear cut issue, but I get why people are bothered by it.
> every possible bad idea about ____ and put them in an app

this sounds like a lot of silicon valley darlings
Honestly, what the hell are we talking about here?

CSS is one thing and JS another.

It's typically better to use CSS for styling because it's declarative and simple. If your use cases are more complicated then use css preprocessors to resolve issues like variable names (something brought up in that twitter convo). If you want to do things at runtime then you need something procedural like js.

If you decide to forego css even for simple cases and use js because you think it'll be easier to maintain then obviously you'll need some tooling and conventions in place. If you have those, go for it.

If people want to put js in css (again, something brought up in the twitter thread), then that's fine too if various vendors supported it and there was a reason for it over js. There currently isn't, so again, I don't know what the hell we're talking about.

Also:

> The facebook codebase has thousands of !important statements, despite being written by competent engineers with solid engineering practices and deep relationships with design teams.

lol
or trying to poison an existing Open Source license

Yes, kudos to Confluent for at least creating a new license, as opposed to adopting "Commons Clause + Apache" or something.

All of this said, even though I don't particularly like this "you can do everything except build a SaaS of this project" model, if people are going to do this, I hope that eventually things consolidate to where there's one de-facto standard "Shared Source - Non-SaaS" license.
Flickery mobile page. Tap menu bar to scroll up doesn’t work.
What do you mean by homogeneous?
So the IRS makes a 700% return on investment, and you are suggesting that means government is wasteful? Sounds like more of the government needs to run like the IRS.

Also trusting stories published through PR Newswire is unwise if not corroborated by other journals. PR Newswire is a pay for distribution service. Anyone can publish through it.
The interesting part to me was the variations in the emitted instructions, based upon the source. IOW, it would be easy to mistakenly think that you weren't going to get jumps if you only used a few case branches to test things out.
If someone finds out whatever global variable that add on sets I could add it.
No. Unless they didn't report it to the regulators.
It's not true because when you spend somebody else's money on a third party, that third party can pay you back with future favors so there is a huge long term career incentive for you to give out a lot.
"Worth" in this context is strictly financial. As in, that watch is only worth $5, not how much it's worth to you because your grandfather gave it to you. I don't think most people would have read into it as much as you did.
Actually not even that. It is just defined from the other point of view. Open source is free software. Free software is open source.

http://deblanc.net/blog/2018/12/13/the-osd-and-user-freedom/
I do a lot of expedition-style backpacking either alone or in a guided group. The groups are always full of tech people, mostly from SV. It's almost like the only people who can afford fun shit are the techies.
We Might Not Have Enough Materials for the Solar and Wind Energy We Need
“I blame myself”: Retirement remains out of reach for millions of Americans
Not a FE dev, so this may be naive but CSS cascades which means these components may rely on external css state. How is that handled and still qualify as self-contained?
To be fair, very very few engineers are in a position where a mistake would result in sudden unexpected lethality. Usually it's more like "if an engineer makes a mistake, something breaks and a lot of money is wasted, or everything is overengineered and a a lot of money is wasted."
How to Boost Up Your Marketing: Savvy Tips and Tricks
You can also pretty reasonably remove "colorDepth:true", I can not possibly imagine you have many indexed or RGB545 displays going to your site these days.
Of course some of those things might be positively correlated in the general population strongly enough that this Berkson's effect will only make them less positively correlated in the company.
Ask HN: Do you encrypt your laptop's SSD/hard drive?
I'm about to wipe and reinstall the SSD on my mac after replacing its logic board, and I'm wondering if encrypting the drive is worth it. I spent maybe a year with an encrypted APFS drive before the logic board died, and don't think I really noticed much of a difference in performance during daily use (although I admittedly didn't run any benchmarks, nor did I have an equivalent system to compare against).

Is there an advantage/disadvantage to encrypting the drive versus, say, using a strong login password? Should I expect a significant performance hit if I do end up encrypting the drive?

Right now I'm just using the laptop for office work, but I plan on heading back to school in the near term and probably should worry about theft.
100% agreed, 15/30 is wayyyyyyy too much, unless you are racing.
You can read it the browser using the developer tools; 99% of my reading of CSS comes from there. I add/tweak in the browser and then I go to the source and re-apply the changes there.
This discusses the "how" but not the "why." I'm not a SQL expert, so I find it far easier to maintain my code in a language I am familiar with than to maintain (seemingly cryptic) SQL equations, queries, etc. Is there a quantifiable performance gain with moving more operations to SQL rather than implementing it in my language of choice?

The conclusion states:

> Exploit the power of SQL to write less code because “the best code is the code that was never written”. If it is not written there is no need to maintain it.

But they're wrong, since you still need to maintain all of the SQL implementations...

Edit: I previously said "I'm not a DBA", but some folks seem to be getting hung up on that rather than the rest of my comments/questions.
You know there are no private companies that provide border security. And it's nonsensical to even believe that there could be
It's obviously a government function unless you think the right amount of border security is none.
I think it should be clear to everyone at this point that nothing on Facebook is private. Don't put anything there you wouldn't post publicly.
"you are, just from a short quote, are making a call about someone being delududed rather than empathic."

That is not the case. I was not making a call from a short quote. By saying there is a "fine line" I wasn't literally endorsing a dichotomy, but rather expressing the futility of trying to make one. Irrespective of any quote, empathy is always a delusion, in the sense that there is no such thing as direct mind-to-mind contact, but at the same time one can be right or wrong about what someone else is feeling. In that sense, one may "have empathy" or not, but not final authority over someone else's humanity.
AOL still has a healthy subscriber base to dialup so is at least generating revenue for Verizon. Perhaps VZ should spin off Yahoo! as a separate entity to survive on its own. What's Melissa Mayer doing these days?
If you’re feeling frugal and not particularly proud, you can cut to fit one of those foam rubber sleeping pads that folks use for camping when they don’t want to swing for a Thermarest, and tape the cuts into the rear and knees of your snow pants. It doesn’t look great, but it looks a heck of a lot better than bruising.
Yeah, do it. I just use Filevault. You wont notice any performance loss and the gain is huge.
Which basically every book on pricing recommends doing - pricing on value. People always apply Walmart style retail pricing models onto everything - including most entrepreneurs to their own detriment. Which is a terrible idea for software and most other non-retail/non-low-margin businesses.
So we should mitigate the problem by making more of the stuff government does happen at the state level instead of the federal level.

There's no inherent reason something like healthcare or net neutrality needs to be done nationally.
Completely ignores unsustainable soil depletion, groundwater depletion and pollution, carbon emissions to run machines and manufacture chemicals, etc.etc.
a primary maintainer of the open source project (not sure how that works for Confluent and Kafka).

In theory Apache projects are supposed to exist in such a way that one vendor doesn't dominate all the decision making and development. In reality, it's not uncommon for a given vendor to have outsized influence on a given project. See: Ambari and Hortonworks, for example.

I don't follow Kafka development super closely, but I believe Confluent do have significant influence, but I'm not sure if it's to an extent that could be considered dangerous or not.
Then they are preparing for this year/quarter to be a "big bath." They are basically compressing all their bad stuff into a certain time period so that in the quarters/years immediately later, their earnings are higher than they would be otherwise.
could it be they are the only ones that can afford $600 per day guided trips? MDs and tech nerds are well paid.
Yes bond funds do that to even out interest rate changes kindof, but those fund prices can still go up and down in price as a result of interest rate changes and other market dynamics.

If they called this the 'bond fund account' with easy liquidation and buying to make it bank account-ish, then I don't think people would be as upset about this, but it would be a fairly niche financial product.
impulse/app-driven day trading? selling spread as "free"?
The struggle of freelance writers in the media industry
Some of them are super impressive. Well I mean full fledged 3d renderers
Local story for me on how bad the Labor Unions fight was with Police doing the bidding of the companies in 1910.

Bethlehem Steel had a strike, 9,000 workers complaining about the 12 hour work days and the unsafe work conditions. A policeman shot and killed union striker Joseph Szambo while he was drinking a beer and his wife gave birth to their child a few hours later. This caused Congress to get involved and to actually make Bethlehem Steel change their practices and the Labor Union won.
http://bethlehem.thelehighvalleypress.com/2012/09/12/bethleh...

Now fast forward to the 1980s and Bethlehem Steel wasted millions in tax dollars on building a huge corporate office and didn't redo their old steel works and had to go out of business. People like to blame the Union but it was Corporate waste of resources that was the demise of the company. https://www.mcall.com/opinion/white/mc-bw-bethlehem-steel-pl...
Imagine if the hiring manager took the same attitude when it came to discussing your friend's salary.
Is it possible to get vector files of some sort out of these? .SVG, .AI, .PDF, or something similar would be awesome.

Edit: I meant directly from the site. I could do it from my desktop using python.

PS, this is awesome!
Thanks for the information.

US is indeed a presidential system.
Idk why this was downvoted, but I would like to know as well. I feel like a know a decent amount about personal finance, and Robinhood is amazing. Primarily, I can trade stocks with zero fees. The app is easy to use. It's not outwardly pushing me to make bad decisions as far as I can tell. If there are issues on the business side, that's a separate concern(?)
Predict.sh
Will Cisco Be the Next Roadkill for AWS?
Partitioned consensus and its impact on Spanner’s latency
I bet you could flow-chart your entire firm into a process that's mostly automated. Something like wealthfront, maybe?
Single stock trading sold as an investment product to the low-end of the retail market (i.e. people like me who's limited investment dollars should be dumped into passive, diversified funds.)
Are the new Robinhood checking and savings products FDIC or SIPC insured?
It's funny how this area seems to attract titles like this. I used the same for my blog post, "Everything You Ever Wanted to Know About SSL (but Were Afraid to Ask)"

http://www.robinhowlett.com/blog/2016/01/05/everything-you-e...

Disclaimer: I write blog posts to figure out if I understand something correctly and appreciate any and all feedback, negative or positive.
> team members are only concerned with their own tasks and don't want to help each other, which is disastrous on an "agile" team

I think there's a delicate and nuanced balance here. On one side of the spectrum, there's dysfunctional teams where team members constantly interrupt each other and make it impossible for other team members to get anything done, because nobody can reach any level of focus. Team velocity stays a constant low, and incompetent management accepts low velocity because it's perceived as the stable and predictable output of the team in question. But on the other end, you have teams which don't communicate at all, and that's a different kind of dysfunction.

I guess the question is, how much does any tool shape team culture, and how does that compare to management's influence and responsibility in shaping culture. Ultimately it's management's responsibility, but management also chooses the tools which a given team will use. I think that management has much more influence over team culture than any tool.
Unequivocally, no, the reasons are stated in the post you're replying to.

Which private, for profit, company would spend five (5) billion dollars (unadjusted for inflation) to launch GPS satellites into space and then allow their unlimited use free of cost to anyone in the world who has a receiver? That cost doesn't even account for ongoing maintenance.
In so much that they let you delete your account.
Technically, it is Fiat 125. Just with different body.
And Affinity Designer is incredible on the iPad/iPad Pro as well. Amazing vector and raster tools and its pretty much a straight port of the desktop version.
Useless, repeatedly broken promises. It is time to see how much teeth the GDPR really has.
This isn't some side project like Wave that they'll cut off. It sounds like a pretty core business. If anything it will get renamed and take on a different form in a couple yrs, but I doubt they'd ever stop offering a cloud service like Drive.

But still, this is a very valid point. It's hard to trust any Google service and it's risky to make any significant investment of time structuring your life around them. This is why I don't use Google Music anymore. I invest far too much time into my playlists and music collections to trust them.
just learn to ride, then you wont have this problem. As an advanced snowboarder i can go all day without touching but to snow, without problem.
I like Affinity Designer a lot and use it for my design work. Adobe lost me the day they went to a subscription model.
Want to give a talk on scalability, concurrency and the BEAM? More details here
Good advice: Normal folks should put their money in index funds - not individual stocks and certainly not options.
And when the attitude and behavior you just described is scaled throughout an organization you wind up bleeding money everywhere.
As far as I am concerned, I stopped worrying and use direct threaded code (DTC): a VM instruction is just a pointer to the C function implementing it. It's reasonably portable and one can expect stable performance across platforms. Because, when you look at the benchmarks you find out that you are talking about single-digit percent difference between different techniques sometimes, and variations in cache size, branch prediction, even unaligned memory fetch tax on odd targets, all these details can make a different king-of-the-hill on a different processor. Compilers can also deal with a technique better than another.

You can gain far more by working on your instruction set. Making it easily extendable is better, making it easy to transpose interpreted code into native code is better, because you can easily benchmark and optimize as you have a more and more clear idea of what will be idiomatic code. For the DTC technique, a bonus is that there's normally no difference between instructions and library bindings.
>Does it imply some web component framework?

Not particularly. You can use pretty much any modern framework, they are all using a component based architecture for the most part. Vue, React, Polymer, even native web components are usable now. Here's an example of how Ember does it:

https://github.com/ebryn/ember-component-css

It's just about breaking down your pages and views into small components which can be reused and maintained separately. Instead of having one giant stylesheet with a deep inheritance of cascading classes, you just have a a bunch of components that are imported and namespaced by the compiler. That extra layer of abstraction gives you the ability to organize your project in a way that isn't beholden to the specific quirks of CSS, and removes the mental burden of things like SMACSS from the developer.
“Teldar Paper has 33 different vice presidents each earning over 200 thousand dollars a year. Now, I have spent the last two months analyzing what all these guys do, and I still can't figure it out. One thing I do know is that our paper company lost 110 million dollars last year, and I'll bet that half of that was spent in all the paperwork going back and forth between all these vice presidents. The new law of evolution in corporate America seems to be survival of the unfittest... The point is, ladies and gentlemen, that greed, for lack of a better word, is good. Greed is right, greed works. Greed clarifies, cuts through, and captures the essence of the evolutionary spirit. Greed, in all of its forms: greed for life, for money, for love, knowledge, has marked the upward surge of mankind. And greed, you mark my words, will not only save Teldar Paper, but that other malfunctioning corporation called the USA. Thank you very much.”

-Gordon Gekko
Oh sorry, Google shows:

Brightroll

Parent organizations: Yahoo! (2014–2017), Oath (2017–)

I didn't realize Oath was owned by Verizon.
Sketch now runs on Metal—since version 52—and it has greatly improved performance. Your references seems to be very outdated.
As a user of RobinHood I have not felt any specific push for buying single stocks. A lot of people just buy index funds on RobinHood. If RH had made it more difficult to buy those compared to single stocks, your claim might have some weight...
If they aren't actually deleting accounts then they are going to end up with a hefty fine under the GPDR one day...
LF Deep Learning Foundation Brings on Uber's Horovod Deep Learning Framework
The irony of the email header collection is that since this batch of headers is associated with an "al Qaeda" investigation, then since the content of the emails is unknown, suddenly anyone who shows up in the headers appears suspect, especially out of context in a future datamine. Even though presumably hundreds or thousands of email addresses were in this same dump, and maybe one was of interest to the FBI at the time, but they cast the net as widely as they're allowed.
Like the German trains that they reverse engineered.

https://www.rbth.com/blogs/2015/08/11/rise_of_the_clones_chi...
There is a significant difference between being a DBA and knowing SQL

Regarding your question:

> Is there a quantifiable performance gain with moving more operations to SQL rather than implementing it in my language of choice?

It depends, of course, but in my experience the answer is yes for 90% of the cases.
It may be fairly safe, but it's not risk-free (and certainly not guaranteed by the government). Even if companies don't default, their borrowing rates can still increase, reducing the value of the bond and causing you to lose money.

The 3% return is compensation for the added risk. The financial markets are pretty efficient for liquid stuff like this.

Banks also provide services that consumers are willing pay for through lower rates on their checking accounts, and need to cover their administrative costs or have some other way of making money with the deposits.