skysight-inc/HackerNews huggingface dataset:
CSS is not as difficult as many people think.

I believe part of the reason why developers have trouble with CSS is that they don’t ever try to write it from scratch. A lot of web development tutorials/courses/bootcamps often go in depth on JS and maybe HTML but always just slap in CSS frameworks to make things look nice as an afterthought.

I remember the first project I worked on as a web developer was to update the styles of an existing web app with very complex UI. It was hard as hell. But I was lucky to have worked with a senior developer who was a CSS wizard. He taught me that CSS is not magic although it is magical. If you don't give up, you can bring any designs to life.

Not knowing any better, I spent months playing, tweaking, learning how to style different components from scratch. I mastered selectors and the cascade, block model and floats, display and position types, a few tricks like using negative margin, constructing triangles from borders. I never stopped honing my skills. Before long I started learning about responsive design, transitions, animations, performance, and design systems.

CSS became a playground for me to experiment. It opened up a whole new world to express my imaginations. My advice for anyone aspiring to master CSS is to find some design inspiration that you like and just build it. You'll learn so much along the way if you don't give up. At some point, things will fall into place and you will realize just how wonderful CSS really is.
No way. I regularly have problems with it hanging or just ceasing to respond to “play” command. Ana this in on OS X, not windows.
> Always wish I could go back and re-record this talking about 50% as fast.

I'm listening to this at 1.5x, which is my usual listening speed for non-musical videos. Your speed is fine.

Toastmasters [0] has helped me reduced my use of filler words: ahh, uhm, and, okay, so, you know, like, well, [pregnant pauses], [double clutches]. It's hard for me to listen to politicians anymore, because they're always gumming up their speech with linguistic crutches. I didn't used to notice.

[0] https://www.toastmasters.org/

"When we find ourselves rattled while speaking — whether we’re nervous, distracted, or at a loss for what comes next — it’s easy to lean on filler words. These may give us a moment to collect our thoughts before we press on, and in some cases, they may be useful indicators that the audience should pay special attention to what comes next. But when we start to overuse them, they become crutches — academics call them disfluencies — that diminish our credibility and distract from our message." [1]

[1] https://hbr.org/2018/08/how-to-stop-saying-um-ah-and-you-kno...
I would just be like, "oh you don't have Internet?" I thought you had a connection to the Internet. Then I might lookup the IP using my phone's connection and use that as the URL... And work into my speech the fact that they don't actually have the Internet :)
Just an opinion: Rust and C++ are going on different paths and selecting different subset of features. Rust generally lies in higher layer, while when it comes to tough situations like ABI compatibility, a machine that CHAR_SIZE does not equals to 8, weird platforms that have very weak consistency model, recovering your program when each bit might be flipped by random, dealing with platform-related half-broken OS APIs and manipulating stacks to squash last drop of performance from your program, C++ is still the only choice.

In a word, Rust is becoming "C++ for 80% cases", but the remaining 20% is inherently difficult (much harder than most people's wildest imaginations - just try to implement a file system library, make it work on last two versions of Windows, Mac and major Linux distributions and you'll understand what it means).
Show HN: Apprise – A lightweight all-in-one notification solution
> Revenue * multiple is just a common way of talking about it, especially because companies within the same industry tend to have similar multiples.

This is the common way media talks about it, either because they are (1) uniformed or (2) they only hear of top line revenue.

Companies are typically acquired for EBITDA * Multiple. However when their is a "strategic" acquisition (which this one is) then there is all sorts of weird math that potentially goes on.

Examples: (napkin math)

- Company being acquired has $100M in revenue, and $20M in EBITDA. Post close, they realize $20M in synergies, so they might buy the company at 20x * $40M Adjusted EBIDTA ($20M EBITDA + $20M new EBITDA from synergies)

- Company being acquired has $100M in revenue, and $20M in EBITDA. The acquirer is going to remove 100 engineers post close (100120k/yr = $12M) and therefore the new EBITDA is going to be $32M, and the company gets bought at 20x $32M EBITDA

At the end of the day, the ROI is really what matters.

It's also worth noting - most M&A does not realize the hypothesized deal value. So yes people are right to be critical, but without full details, being precise about what the true value of a company is nigh impossible.
The team might be able to fix it today, but the fix needs to go through testing and then be built alongside the rest of iOS (a multi-hour process). I wouldn’t be surprised if this takes two or three days to roll out.
The ask from the comment I’m responding to was for comparable vulnerabilities to this one, since this comment thread is discussing reputational damage from high-sev vulnerabilities. This vuln gives RCE in iMessage, which is an app that has microphone/camera access, so I’d say it’s clearly comparable.
Interesting co-opted behavior from Facebook itself.

People prepare to watch Netflix/Youtube/Prime in settings where they are more likely able to complete a viewing, whereas Facebook is an boredom filler to the point that most traffic generated from it has a short attention span. I'd be interested in seeing the distribution on the view times.
Not only that, but the references on that wikipedia page about bicycling are extremely poor: neither contains any sort of justification for the claim. I was hoping for a link to a paper, or something.
https://translate.google.com/#view=home&op=translate&sl=auto...

lol
What's happening with Stencila? I only found it recently, and it looks like a potentially fantastic project, but development seems to have slowed right down.
I'd recommend spending some dedicated time learning about layout, not leaning on a framework.

CSS layout is largely about the relationship between elements. Instead of looking at it as "I want this element on the right," try to see the relationships between elements. What's the group of elements, and what causes them to be where they are? (Generally, complex layouts are nothing more than nested groups of elements.)

Once you recognize the patterns, CSS layout becomes straightforward. Not easy, but straightforward. It becomes a matter of defining and expressing the relationship between elements, and the constraints that define their layout. Flexbox is really the thing to focus on here. Don't worry about the words if you mix them up -- justify vs align, etc. Just the idea of a spacial relationship between things with rules that define the constraints.

Often times, the relationship winds up being expressed as "I want this group to consist of items with space between them on the current row they wind up on opposite sides of viewport, and when they wrap, I want everything aligned to the left."

Also, really understanding CSS is not about tricks, but if there's one thing that can help you gain an appreciation, it's learning how to write layouts that can handle arbitrary number of elements without any templating logic to add special case classes, e.g. for the first and last column in a grid. To this end, using equal but opposite positive and negative margins (negative on a container, positive on its children) can provide space between elements and allow for arbitrary numbers of elements within a layout where you don't care which is first or last in a given row. Let the elements flow into the layout.

I think there's a pretty definitive set of exercises any developer could work through to learn about the different types of constraints we need to express, and from there, it's generally a matter of recognizing the pattern in a higher-fidelity format.
This term sheet template is very investor friendly primarily because of the lack of detail.

The Company has very little leverage after a term sheet is signed especially given a standard no-shop provision. You want to reduce the number of items that need to be negotiated later in the process as much as possible.

This not only reduces the likelihood of having to agree to a less than favorable term that was not addressed in the term sheet, but also reduces legal costs (which the Company is paying).

The post does make note of this:

> Some great investors still send longer term sheets, but this has more to do with their preference for going a bit deeper into the details at this stage, rather than deferring this until the definitive documents. The definitive documents are derived from the term sheet and are the much longer (100+ pages) binding contracts that everyone signs and closes on. It’s common to negotiate a few additional points at this stage, though deviation from anything explicitly addressed in the term sheet is definitely re-trading. Also, in a few places, this term sheet refers to certain terms as being “standard.” That may seem vague and circular, but term sheets frequently do describe certain terms that way. What that really means is that there’s an accepted practice of what appears in the docs for these terms among the lawyers who specialize in startups and venture deals, so make sure your lawyer (and the investor’s lawyer) fit that description.
You're welcome to read all my posts and comments, and they are public. I have been reading hacker news for a few years and only recently wanted to sign up. so what's your point?
From Jeff Bezos to Elon Musk: What True Innovators Know About Risk
The difference is that with JavaScript, you can install a linter and happily restrict yourself to the sane subset of the language. It's very realistic to never have to deal with any of the uglier parts of JS, even as a full-time front-end developer.

With CSS, you can't avoid hacks. If you try to design anything non-trivial, you will have to employ tricky non-semantic tricks, run into edge cases, and have to settle on ugly, non-optimal solutions.

I don't think it's a declarative vs imperative thing. It's more that CSS was designed to be easy to use and relatively terse for a specific, outdated use case (20+ years ago when a website page was thought as a 1 dimensional flow of text and pictures).

Nowadays our requirements encompass pretty much the full spectrum of 2D space design, yet we still use a language that builds on high level primitives designed for a narrow usecase.

New features like Flexbox and CSS Grid help with the layout part, but it's not enough.
World's Largest Digital Sky Survey Issues Biggest Astronomical Data Release Ever
Are there any specific Faraday bags that folks recommend?
Fractions of a penny per viewing can only refer to bandwidth costs; it's 1-2 orders of magnitude too small to cover the costs of producing or licensing a show, let alone Netflix' other fixed operating costs.

Everything Netflix talks about is getting users to spend more time watching shows, not less. They certainly want subscriptions because they make more money, but they do it by aggregating a ton of content into one subscription and providing it at effectively no variable delivery cost. The result is that users pay less per hour watched than can be provided by anyone a la carte.
There are dozens of companies collecting and selling information about high school students. You can't take the sat or act and not be sold. Preventing the very people you do want to take note of your interest is cutting your nose off to spite your face. You can either accept it or not, but as an insider (not affiliated with a college) I can assure you that blocking tracking on email from admissions departments is a huge mistake. But hey, you do what you think us best.
> but there very few people where the better y is worth the extra $xx.

You did bring up Rolex, but it isn't that simple. Phones have much more variety and depth of utility than watches. While a watch's quality of function will not really vary between a $15 digital one and a $1000+ one, phones' functionality will. That's part of what makes expensive phones worth it, because they have good software and quality to go along with design.

> The iphone proposition is nice to have, not need to have.

That assumes phones are purely utilitarian.
> but can someone tell me roughly why they might have come up with the $230M number?

M&A guy here. Generally companies are valued at EBITDA * Multiple. However when it's a strategic acquisition (which this is) then they tend to adjust EBITDA around an investment thesis. For tech companies, this adjustment can be fairly drastic and multiples can get crazy (general market is about 9x right now, but 15x+ for software providers). There are too many theses to enumerate here, but some commons examples cost takeout, customer cross-sell, resource consolidation, etc.
This are my thoughts as well. Probably a recent release that exposed this also didn't go through full e2e testing because hey, it passed previously.
Why? Cars and scooters are not mutually exclusive.

Moreso, scooters take up way less space than cars and a properly designed scooter city will have much more room for disabled parking.

Not to mention electric wheelchairs can be surprisingly fast.
I'm Vietnamese too and what he (the author) wrote here in this blog post seems very much the exception rather than the norm.

He most likely visited an Olympiad team, where they solve problems like these to compete. Most other schools, such as the ones I went to, had IT/CS as a side class (meaning they don't get that much attention from both students and teachers alike) rather than a main class (think Math, English, Vietnamese etc).
"Any country whose values contradict those values threatens me if they become the most economically powerful country. With this in mind, it's imperative that we pull up the ladder behind us if we want to maintain the lead that protects our values."

You are funny. Nobody in the rest of the world cares how you live and what values you have. At least until you begin spreading your way of live and values through bombing.
For this? I seriously doubt that this would require binary patching. A simple recompile with the fix should be good enough.
Apple has shipped versions of its Mail program that delete email without warning¹ and versions of the Finder or OS X that delete² files. And much more. Yet their reputation is intact: the masses still believe that they put out quality software. They are truly the Teflon corporation.

¹http://discussions.apple.com/thread.jspa?messageID=12758081&...

²http://tomkarpik.com/articles/massive-data-loss-bug-in-leopa...
I remember turning on my iPhone and briefly seeing a picture of myself from a time when I had not taken any photos of myself. In fact I had not been using the front facing camera at all.

Extra creepy.
FaceTime audio ducking is the worst thing about FaceTime. Impossible to watch something online with another person.

Also, FaceTime never closes after a call cleanly. Camera stays up until you right click + quite the app...
Minor nit: you may wish to use a higher resolution image in the banner. It looks a little blurry on desktop and mars an otherwise very attractive webpage.
CSS is great, but its poorly taught. I've known so many developers of all skill levels who get stuck somewhere between "I can make it red but I have no idea how to apply all these random properties into the layout I want." They'd ask me for resources, and I couldn't find one I thought was very good at that.

So I tried to write one.

https://whatisjasongoldstein.github.io/buildcss/

What's nice about this is I wrote it for real people, tested it on them, applied their feedback... etc. It's a little old now (this was before widespread Flexbox support) but it's specifically aimed at the sorts of problems you described.
They're saying, "for the love of God, feed us some fiber, which is only found in whole plant foods!"

> Less than 3% of Americans get even the recommended minimum adequate intake of fiber. On average, we get only about 15 grams a day. The minimum daily requirement is 31.5, so we get less than half the minimum. Men are particularly deficient. If we break down intake by age and gender, after studying the diets of 12,761 Americans, the percent of men between ages 14 and 50 getting the minimum adequate intake is zero.

https://nutritionfacts.org/2015/09/29/where-do-you-get-your-...
Someone on HN recently recommended a book called Developer Hegemony and I'm a bit over a third of the way through it. If you're starting to approach the age where discrimination will become an issue, and you're of the opinion that you'd better start climbing the corporate ladder as high and fast as you can in order to avoid unemployment, I recommend reading at least the first 1/3 or so of this book. (I don't yet know what the remaining 2/3 is about.)
Most Rarest People on Earth
Not sure his comment deserved a response like that.
Systemd as tragedy
Don’t visit a campus without letting them know you’re there? Could you elaborate on why that’s a bad idea?
They obviously didn't test it the first time out. Why do they need to test it this time?
I can't find the episode, but Planet Money had an episode where they found the US tax department made a deliberate target of celebrities, with the expectation that public prosecution of these people (think Martha Stewart) would result in higher tax compliance. This makes them a better ROI than your local greengrocer.
Well, there's probably a new position on the QA team opening up soon in any case.
Maybe the people complaining and the ones doing the hiring aren't the same.
>The government is desperate for people who can code.

Not desperate enough to teach people to code who want to learn though.

But I bet half the need is from mountains of shit code anyway. The contracting and procurement processes are fucked (source: friend who works in gov't IT contracts -- stay far away from any dev positions involving Dept. of VA).

Demand for good devs is going to be won by companies. We clearly can't even fill private sector roles even at these salary levels. I'm not sure how anyone can look at our really picky labor market with the government's lack of salary and perk offerings and think "yeah we can fill these if we just try a bit harder".

Government really needs a different approach to solve their staffing needs in this regard. They aren't competitive.
Wtf? Running 9 miles in an hour is under 7 minutes per mile. That's a very high level of fitness.
Interesting comparison, given that Firefox was set in the context of the Cold War. The US and China certainly seem to be developing this kind of "frenemy" relationship where they're competitors and at the same time they're commercial partners. How different would the Cold War have been if the U.S.S.R. had done the lion's share of the U.S.'s manufacturing?
The streaming economy has been pretty shit for no-budget artists. This sort of thing keeps happening.

Pay artists $ (ie not much) to fill your platform with cheap content

Attract customers

Dump the artists you used to deal with and polish your brand to get more premium content
Vancouver tech salaries though are terrible by comparison with Seattle or even Toronto.
Why are there no stars in most space images?
> Zero secure coding training, zero push for security reviews, zero push for security QA, zero accountability.

What makes you think this?
I have limited experience by building my own apps for learning purposes. Getting CSS working in multiple browsers exactly the same is always a pain point.
You can mute Stories of individual people 1 at a time but it has helped me. I mute the people who are just overall obnoxious. If they post pictures I still see them.
"illusions-gate"?
Note that there are a variety of adjustable-height footstools for resting your feet at a natural position while your seat is elevated. I mention this because it increases the range of ergonomic possibilities.

Mobility issues may still prevent someone from hoisting themselves up onto a high seat, so your point still stands.
You think they would give you an offer to avoid legal issues.
> it's a disgrace for the rule of law

Agreed

> an independent judiciary.

Not sure I agree, the US is pretty clear that the president has pardon power, that the executive gets to exercise prosecutorial discretion, and so on.
In reference to a sibling comment (https://news.ycombinator.com/item?id=19021837):

> CSS is very much like magazine or print layout IMO. If you're not used to that, it won't gel well. If you think of layout from a design perspective and _not_ a programming perspective, it's really not that bad.

Yes! I went looking for this comment before adding it myself. Although I chose not to reply, since that's only part of what I want to discuss.

Once I realized that CSS is exactly what would make sense for laying out a textbook, it clicked for me. Until a few years ago, web design implementation was hacking this model to realize application and widget layouts.

Nowadays, flexbox and grid are basically universal, and we can use them as we please to do proper 2-D layout, and then use classic CSS for textual flow. It's a wonderful time.

But to go beyond that mismatch of expectations, the other historical problem with CSS is how to organize it in a reasonable way. Typically, you need a number of rules to apply to related elements in order to achieve some specific effect, but these get all jumbled with other effects that need to reference overlapping sets of elements. Combine this with the fact that CSS offers a crap-ton of features that you rarely need, especially in the selector spec. Preprocessors and methodologies like SMACSS and especially BEM helped give us ways to tame the madness. The BEM website (https://en.bem.info/) is a great resource for this.

This is all front-end dev skills that most of us learned by thousands of articles and hard knocks. I wish I could point you to a bible for this, but I don't know of one.

When it comes to design, that's its own skillset, which really may have little to do with CSS. Many of the designers I've worked with don't know how to implement their designs in CSS (although that's not always the case). The principles of good design ultimately come from the goals of the product, mixed with usability concerns and, of course, fashion.
Yes, and I suppose sexual descrimination isn’t a problem in your world either (if you’re a man) but you know what - you aren’t everyone or even most 50 years olds.

I’m 0x39 and I don’t even look for work, it just finds me.

My wife also has 30+ experience and a masters in CS. Her last job was something like 3 years ago hacking/attacking Linux for Darpa for gods sake. She’s a sharp girl just not an outgoing one. No problem getting jobs when she was as young as you are but now, crickets.
Some context around Papin and his boat from wikipedia[1] for those interested:

> In 1705 he developed a second steam engine with the help of Gottfried Leibniz, based on an invention by Thomas Savery, but this used steam pressure rather than atmospheric pressure. Details of the engine were published in 1707.

> Papin returned to London in 1707, leaving his wife in Germany. Several of his papers were put before the Royal Society between 1707 and 1712 without acknowledging or paying him, about which he complained bitterly. Papin's ideas included a description of his 1690 atmospheric steam engine, similar to that built and put into use by Thomas Newcomen in 1712, thought to be the year of Papin's death.

[1] https://en.wikipedia.org/wiki/Denis_Papin