skysight-inc/HackerNews huggingface dataset:
> Do you class your sass like `.fooco-app-area-feature-component

No, that’s the whole point of modules, use whatever class names you want, when compiled the actual class name has a small randomly generated string appended to it to prevent clashes with styles for other components.

> I will say that having to mix selectors and strings is slightly harder than writing direct CSS

I just use interpolation, e.g.: className={‘btn-sm ${styles.whateverClass}’}
Well, you can also quit for any reason, at any time. Sure, I know that in most cases the employer has more power than the employee, but what's the reasonable alternative?

If I run a business and I can't afford you, then I have to continue employing you to the detriment of the rest of the business? One of the guys who reports to me just turned in his 2 weeks notice completely out of the blue. It puts me in a bind because we have more work than people to do it, but I don't harbor any ill will towards him.

I can understand your concern (somewhat), but at the same time, being an at will employee simply isn't something that's even on my radar.
Jail time for bugs that should have been preventible and caused harm to users. Mistakes and bugs happen, but we also have methods of mitigating them. Standards, quality controls, tests, analysis, and other care. I specifically said jail time for gross negligence because that means not taking care and allowing harm to users.

If you had an error that leaked private information, it's worth an investigation. If it made it through despite controls, that's understandable. If they find you failed to do analysis on the risk to users privacy, if you failed to have controls in place, if you didn't code review or test the code, then you have made specific choices that harmed users. That should be criminal.

We need to take software engineering seriously as a discipline. We have the potential to do more wide scale aggregate harm than any structural engineering collapse. We need to start acting like it.
BURN THEM TO THE GROUND
That's very restrictive in terms of general purpose computing. It makes a lot of sense in some other cases though.
The link was very helpful to learn about making use of FTS in Postgres. Thanks!

I still could not figure out how to expose a filter as a user modifiable dynamic search box/text field with Metabase. I could not find such a facility in their documentation, nor in their forums. I'm giving up on Metabase for this need.
It'll be shut down in two years...
What a joke. Now they have pulled the marketing page -- possibly because of how hard we are laughing at them.

https://imgur.com/a/xsF1ZX3

Every new storage product offered by Google serves mostly to remind people to get their stuff off of Google.
What do you mean, lashes for theft? How about if they were public? I hope I won't live to see that in the western world.
Oh, I had no idea it was open source. Thanks!
Someone needs to go Mr. Robot and 5/9 Facebook's servers. This is getting ridiculous.
The punishment should be mass loss of users due to loss of trust, but for some reason people still use it.
Tesla CEO Elon Musk: The 60 Minutes Interview
The kind of company culture that doesn't have an opinion on spending $30 for fast food... can eventually have a real impact on profitability eventually.
Edited: Iceland isn't a member of the EU, so my comment didn't make any sense.
It's not quite the same... styling conventions can still be followed, inherited style structures can also be passed from a global theme, or higher order components. You get the added advantages of a more flexible configuration that more easily integrates with the rest of the application as a whole.

When developing a website with mostly static or cms type content, it's fine to establish a common layout structure that targets css output like sass, less, pre/postcss etc.

When developing an application with components, it's generally best for component styling to stay closer to the component. CIJ is simply an option that works very well with all the advantages of per-component styling. But over separate .scss files has the added advantage of easily injected runtime/configuration values. It's much harder to generate different global values for $primaryColor and related in scss for different deployment targets. More so if you want to swap out themes, or certain options via application configuration in the application.
I am reminded of what i believe is the same thing constantly and can never find it. I always thought it was called something like Sodaracer but searches have been unsuccessful. I remember evolution algorithms to make the fastest amoeba wheels.

EDIT: soda constructor by sodaplay.

http://maciejmatyka.blogspot.com/2018/02/soda-constructor-re...

EDIT2: from that link, here is a playable open source recreation linked at the bottom

https://peterfidelman.github.io/constructor/
Well, there's two big differences... Planes have far fewer unknown unknowns than software: the specter bug in Intel chips is a great example of a place where the standard operating procedure was wrong, but no one ever knew it. It wasn't a case of negligence, though it had real world impact.

The other big difference is that (for the most part) keeping a passenger plane in the air isn't an adversarial task. Actual breaches are the result of active bad actors, which is completely different from the problems you encounter in designing a plane.

So criminal action seems crazy to me, though I can definitely see a great case for changing the incentives around storing user data. Could definitely see a good case for fines (and even an ongoing per-user tax, to make it an up front cost) for storing PII.
They have now completely removed the landing page because of how hard we are laughing at them:

https://imgur.com/a/xsF1ZX3
You're breaking the guidelines a whole lot, and we ban accounts that keep on like this. Could you please stop, read, and start following them?

https://news.ycombinator.com/newsguidelines.html
Re: #3, it is important to remember that slope difficulty is primarily rated for skiers. The two sports are very significantly different, even though both can get you down the hill. Ask other snowboarders which runs are the best for beginners.
Not a defense for his actions, but meant as a way to illustrate how disproportionate the response was for what he actually did. I'm working off memory here, so maybe I'm wrong, but from what he was really be pursued for should have been a civil matter at worst.
Well anecdotally in your small social group that may be true. But Facebook has 2.27 Billion active users...
I don't remember because i don't use MS stack anymore for a long time. Just an alert to fix past issues for everyone that needs it.
Factually correct, but missing the point entirely. Classic Robot.

It's ok Google, I'm not angry, I'm just disappointed.

You can go back to relentlessly optimizing the max($) function, but everyone is wising up to you.

I'm actually more worried about Amazon, Amazon are an aggressive weed with reaching tendrils, you are more like an aging billionaire, wealthy, unable to innovate, jaded, your spark has gone.

Your questionable activity means you no longer command the respect you once did. The greats are ambivalent about working for you, and the ones you hold - you only hold with money. When you have to pay all the time, it's not love (that's a joke, stand down the database queries)

Incidentally, don't you sometimes wonder why your founders are gone? Why Schmidt is gone? The greats have left, because of who you have become.
I did. My D+Enter is draw.io...
I think it's because SPA web development is like using a hammer made of chewing gum to build a house, and the ridiculous toolchains necessary to build a solid hammer always look complicated and unnecessary.

EDIT: What I mean here is that the foundations of the web weren't designed for application development and are missing some crucial bits and pieces like encapsulation. The tooling necessary to encapsulate CSS in a way that works with every browser is complicated, and if you've only worked on small to medium projects it can be hard to see the need for such complication.
Because platforms are businesses and it’s sometimes cheaper to just ban the groups that are bad for business.
What's Working in Location-Based VR?
Posting paywalled articles here is just advertisement for a subscription service. Anyone who already subscribed doesn’t need discovery and anyone who doesn’t can’t read the article.
Depends on how well off normal folks are and how long they have been doing it.

I started at £120 a month and it was ten years before I started now my minimum buy is £2000 and I only do the occasional single stock even now 20+ years later.
Other than the pure ideal of software freedom, what practically is bad about this kind of dual licensing? And how is this in any way tantamount to calling the GPL "cancer" (which, in all fairness, does spread somewhat like cancer throughout a codebase, regardless of whether you think that's a good or bad thing).
For credit unions, Alliant and Lake Michigan Max Checking are both great. If you're outside of the Midwest, you can become eligible to join either with a donation.
yeah i had a 4% account from HSBC around that time. This immediately brought up an uneasy feeling for me, like this is the "pump" side of a pump and dump or the books are so ugly they need cash deposits at any cost to make it look sane.
I'm not going to waste my time reading anything from this garbage publication. After "The Big Hack" I realized that life was too short to read articles by sources that just make stuff up. If you want to waste your time, be my guest, but I'd rather not.
I wouldn't be so sure that they won't cut it off.

For example, they have already removed the marketing page that people here are making fun of: https://imgur.com/a/xsF1ZX3
If that were the only issue, all these new licenses could just write a clarified version of AGPL that stays within the OSI definition.
We've asked you a number of times to please post civilly and substantive, but since we're still getting troll comments like this we've banned the account. If you'd like to use the site as intended please email hn@ycombinator.com.
I left FB when they made reverted a policy that let you opt to confirm all tags before they showed up in searches for you.

This means anyone in the world can upload an image, tag you in it, and it will show up in searches for you. It still won’t show up on your profile if you have confirmations for that enabled, but still.
It doesn't. But what it can encourage you to do is to stop writing CSS that has effects outside of the component it's attached to.

Devs doing front-end have this tendency to treat styling a page as some unsavory thing that they want off their plate as soon as possible. So they don't do any refactoring, and don't take any time to try to figure out the underlying concepts behind CSS. So you get these giant, append-only stylesheets that have no real rhyme or reason behind them.

Putting CSS in your JS has the side effect of hopefully forcing you to think more carefully about what rules go where. It's no magic bullet of course, but localizing all the code to one component in one file can make everything just a slight bit more maintainable.

There are real tradeoffs, of course. CSS in JS just isn't as mature as existing template solutions, and they don't yet let you do anything you want with them. Maybe it's a good thing.
That's exactly why I joined Facebook in the first place...
that's my point, normal people value social interaction over an absolutist position of "well at least my data is secure!". normal people view never seeing their lil' cousin again as punishment, not the correct position to adopt bc it prevents being caught in a data breach
Short answer - no functional difference between encrypted APFS and FileVault. https://www.blackbagtech.com/blog/2018/04/02/ask-expert-apfs...
You act as though "invading Iraq" is the only thing the US military has ever done. That's a little myopic, don't you think?

Again, your numbers don't really have any meaning on the healthcare thing. It's a far more complex discussion than you are attempting to make it.
I've had pretty good luck with apps like songshift to migrate between services. It's never %100, but pretty decent.
Radius Bank offers 2.05% interest on a savings account as long as you have $25,000 balance, or 1.5% for balances over $2,500. It seems to be the best option I've found. (see note for fine print).

They also offer a checking account that pays 1.2% with zero fees and even waives ATM fees worldwide. These are all FDIC insured. I've been banking with them for about 6 months now and they're pretty awesome, outside of having a rather janky web and mobile app.

https://radiusbank.com/personal/high-yield-savings/

Radius High-Yield Savings is a free savings account with no monthly maintenance fee, no minimum balance requirement after $100.00 to open the account, and is FDIC-insured up to the maximum allowed. Annual Percentage Yield (APY) accurate as of 12/14/2018. Minimum amount to open account is $100.00. Rate tiers are as follows, 0.00% APY applies to balances of $0.01—$9.99, 0.05% APY applies to the entire balance on balances of $10.00—$2,499.99, 1.50% APY applies to the entire balance on balances of $2,500-$24,999.99, and 2.05% APY applies to the entire balance on balances of $25,000 or more. Rates may change after account is opened. Fees may reduce earnings.
This is exactly what we do, and suffer zero issues. You have the globals (color scheme, typographical rules), and then you have the component-based, scoped SASS.

I don't see any reason to do it any other way, and it scales just fine for the systems we build.
The rules around breaking the buck were significantly changed after 08. Funds can suspend transactions instead now.
It doesn't take millions to make that kind of aggression politically unpalatable.
I see many many non-technical teams that use Slack. Slack's made inroads in the business messaging market that used to be the sole domain of enterprise vendors like Microsoft, Cisco, and Oracle.
The way it was mentioned in the title was misleading, but mentioning Kafka at all was useful. How about `License Changes for Confluent Platform (Kafka distribution)`?
> 112.6 trillion won, or 30 times the market capitalization of the company

For those as confused as I was - Samsung Securities is a small company within Samsung which has a market cap about 1% the size of Samsung's.
Why gitlab ?
Trying to ‘Save’ the Rural Economy
CenturyLink is blocking customer internet, saying Utah legislators told them to
It's a socio-economic shift, the growing imbalance of renting vs. owning. It mainly has to do with wealth accruing faster than income grows. Wealth is heritable, it transcends a human lifespan. Income (which partly ends up being wealth) is most often not. This trend has lead to the well known .01% debate and it is in fact, to the society as a whole, unhealthy in the long run.

It's not our ownerless future, it's the highly skewed owning society that rents out its property. It's in a sense a modern feudal system, where the few own a lot and in exchange to utilise those goods, you pay. You cannot afford to buy, although legally you could. You are, if even, able to pay the rent.

There is this narrative of "sharing is caring", which may have some truths to it, but it also plays into the hands of the ones who own.
Then please don't waste your time commenting with sweeping general statements on all their submissions either. It's not like it's news for HN readers.
One of my pet peeves is that certain internet based companies are reported as "tech" and others aren't.

What's "tech" about Uber or AirBnb?
I love pseudocode
You see it a lot on the internet: offer something for free, millions of people sign up, money runs out, scramble to monetize, users flee to the next free service.
1. Having cats instead of kids
2. Going for the startup and equity promise
3. Burying my law practice to return to the more pleasant world of embedded RF product dev
That kind of depends on your definition of "free will". If the same person in the same situation will always make the same choice, then they cannot choose differently. Then they aren't free to choose differently, for at least some definitions of "free".
This concern for "free riders" doesn't seem appropriate to me. Who cares as long as you get your waste treatment plant (or whatever) for the stated price?
In January 2017, NetApp had a reply-all storm. One would think that sysadms would know better than to participate, but one would not be wholly correct.
> Sounds like you're suggesting that we criminalize software bugs.

When there is irreparable damage I believe it should be criminalized. You cannot regain privacy after an incident such as this, it is irrevocably taken from you against your will.
No fusion reactor has reached breakeven.
> An ordinary drive with a bit of speeding here and there everyday goes from perhaps a ticket or two every decade, to 6 tickets every trip.

Can it be that the best way of avoiding that is avoiding speeding? It's interesting that you are lumping together objectively dangerous, even if prevalent in the US, public behaviour (deliberate speeding) with honest mistakes (making a wrong turn).
Affinity Designer isn‘t really comparable, it‘s more a general vector tool for artist and creating from scratch, not a design/prototyping environment for designers with a rich ecosystem and integrations.
That wasn't an unreasonable rate at that time[1], I don't recall the exact timing, but my credit union was at 4% on savings for a while, before fed set interest rates to near zero for many years.

[1] https://www.depositaccounts.com/blog/archive/2005.html
Predict.sh host your AI models and make them available through a scalable API :) Happy to answer any question!
The mobile neural network lottery
That is more of a failure of the imagination then. It's not like programming would cease to exist if fines were introduced.
> The incumbents I was referring to are clearly hotels and taxis.

Sure, but you're forgetting about another party in the transaction: everyone else. You don't have to remember about them most of the time, because unlike Uber and AirBnB, most businesses aren't dumping externalities on non-customers.

> I think it's also important to point out that I wouldn't presume to tell you who to rent to or for what duration since you own the home and it's your property. AirBnB is merely a facilitator of that transaction.

That works well if you're the only one with a property within shouting range. Most people live (and most AirBnB activity happens) in large, organized groups. In a civilized society, you're not free to do anything you like without regard to the freedoms of others.
I find it very strange that I’ve never seen a single article like this about SpaceX. Doesn’t it stand to reason that if musk runs both companies, there would also be a juicy scoop about SpaceX employees and their hardship? I suppose it has nothing to do with the fact that Tesla is publicly traded and SpaceX is not.

Elon musk was totally rational during the Thai submarine thing. He posted a series of very logical and straightforward suggestions, was then asked by the divers to implement the submarine, and was consequently called a fraud by some random person who had associated himself with the rescue. It was quite rude. Elon responses in kind and in my opinion he was very measured in his reply considering he had just received a very unfair and mean molestation of his character. But all this wired article says is that he called someone a pedo, as if he had lost his mind. A lack of essential context is conspicuously absent.
The usefulness of useless knowledge
Should a clothing store be held liable because some people wear its clothes as gang signs? It’s simply not a workable standard to demand that companies make it impossible in principle for third parties to do shady things with their stuff.
I don't know. It seems like mental gymnastics to say that zero fees hurts someone without a lot of money. It sounds more like you believe that people with access to limited capital can't understand the markets as well as people with access to large amounts of capital. If you didn't believe that I think you would conclude lowering the fees for trading opens up the possibility for less wealthy people to participate in methods previously only afforded the rich.
> Sounds like you're suggesting that we criminalize software bugs.

When my dad went to college, a very old and bitter professor (this was Civil Engineering, communist Eastern Europe) told the students on the first day in class something along the lines of: "If you know you're stupid or don't give a shit about your work, just go home and save everyone the trouble of dealing with your future fuckups. Mistakes here can cause deaths or losses of huge amounts of money".

I believe we've reached the point in which negligence in the software world can cause loss of lives, even when the software is not operating a crane or an airplane (think Grindr leaking account data over http in Saudi Arabia).

So you're minimizing the issue by asking if we should criminalize software bugs. We should and currently do criminalize negligence. If bugs are a result of negligence (you know, 'move fast and break things', 'better to ask for forgiveness than for permission') then fines, jailtime and criminal records should be a'coming. This is no longer child-play, this is the new world which runs on software.
Since Facebook is walking away all the time without any consequences, this will happen again and again.

The long-term solution to this mess should come from users abandoning it which is happening gradually based on recent reports.
ESPN had way better last I checked
Adversarial attacks: How to trick computer vision
Theranos level fraud is much easier in a pseudoscience like finance.
This. Basically people have been running businesses with models that rely on the, willingly given and cheap, labour provided by paedophiles:
https://www.independent.co.uk/news/world/americas/us-politic...
>or negligence

Right. Companies like FB are entrusted with the private information of hundreds of millions of people. There should be investigations as there would be in a plane crash. If negligence is found, there should be appropriate punishment doled out.
Any chance to put this in a web worker ?
Their pricing is way too high as developer tools just because they have near monopoly.

Top of the line programming tools like Jetbrains give you their entire list of about 10 apps for $12 or so a month from 3rd year (Starting from about $20 a month for the 1st year) and of course individual apps are even cheaper.

Heck, even MS gives you the entire office suit for $10 a month with 1TB of cloud storage which I think is a good deal.

We need more competitors to drag Adobe's monopoly down. Their apps are built on ancient code, the performance is so bad compared to apps like Affinity Photo and they put folders and icons all over the Application folder on Mac I can't believe its annoyance.
JSS (react-jss) has a couple plugins to handle this very well, and allows for nesting similar to scss/less.

const styles = theme => ({
main: {
padding: theme.spacing.unit * 2,
fontFamily: theme.fonts.primary,
...
'&:hover': ...
'@media (max-width: 600px)': ...
},
inactive: {},
});

You get the benefit of the nested structure per class... but the added options of easily establishing the classNames, which are computed to be unique, so no conflicts in practice.

const FooComponent = ({ classes, inactive }) => (
<div
className={classnames(
classes.main,
{
[classes.inactive]: inactive
}
)}
>
...
</div>
)

In this way, you can bring in shared values from your theme. I can now inject different values into the theme from a central point in the application, via release, runtime, from an api/backend. I still have the option for psuedo selectors and media queries. There are more advantages with FAR less bugs than using CSS, even with SCSS/Less or other tooling.

Stylesheets are then generated with dynamic selectors, and the selectors are applied to the component, and the stylesheet is injected dynamically.