skysight-inc/HackerNews huggingface dataset:
Flexbox works kinda like this as far as i know:

Your items get distributed along the main axis, using their flex-basis.

When all elements are layed out, flexbox will evaluate how much space is left, or how much overlap there is.

This total remaining space will be distributed among all flex items proportionally to their flex-grow value. A flex-grow value of 2 means "grow twice as much as your siblings if there's spare room" (0 will prevent an element from growing at all, even if there is space left).

So if 3 elements with flex-grow 1--1--2 and 100px basis each where to fill a 400px box, the remaining 100px would be distributed 25--25--50.

Flex-shrink works the other way round. The same 400px-box example with flex-basis 200px and shrink 1--1--2 would result in 150--150--100px wide elements.
suggesting that sexual harassment is an appropriate response to sexual harassment is completely moronic
What's the point of making a beautiful phone that has to be in a case
Let Your iPhone Tell You When to Go to Bed
It seems like a miserable way to enjoy your good fortunes in life. I'm sure many successful people can't get out of their own way, and this is just another case of never being satisfied.
> As recently as Friday, the firm had a bare-bones Web site, with stock photos and generic text passages about asset management and an initiative called Women in Focus

Too bad there’s no Oscar for Best Inadvertent Lampshading of a Covert Smear Campaign.
Percona will take your money and support just about anything. They have an excellent set of DBA's for consulting with customers

That said their bias is clear. I'm sure they are not happy that the innodb plugin has the xtradb patches.

Hard to sell your product when others have brought it into their product I guess
Basics of Copyright for Content Creators
It doesn't have to be in a case. I'm sure Apple will be happy to sell you a new one if you break the one you have.
While I understand that people are frustrated by this outcome, she worked as a federal government contractor. This is akin to being fired for flipping of the chairman of the board of directors in a company. I understand that there are issues of free speech that can certainly be discussed, but the outcome was anything but surprising given her position.
It should be noted that robot-assisted surgery is hugely helpful for partial kidney removal versus the whole thing, as the article states. So the headline on its own doesn't cover the whole picture here and may even be misleading.
there's no real incentive to work on this unless ad revenue takes a hit. When YouTube ads appearing in front of extremist videos caused brand money to get pulled out, solutions started magically appearing.
Seems awesome. Wonder why this wasn't just launched as a regular open source project. I (& people) would contribute the heck out of it.
>That's not how corporation tax works. It's paid on profits and does not affect the competitiveness of the firm.

Corporations often need to raise money from investors, who will rationally only fund corporations that are expected to generate enough profit to produce a good enough return for the risk and so on. If profit is lower in some countries, that reduces the amount of money going to investment in that country as the potential reward has gone down. Therefore such companies are less competitive in fundraising.
Moloch’s Toolbox – Inadequate Equilibria
Such tactics apparently worked for decades.
Simple explanation is that most people don't have principles.
Auctus Demo – Set Up a Smart Contract Powered Retirement Plan
Another idea: traffic.
How other people’s food allergies are changing what you eat
Saudi Money Fuels the Tech Industry. It’s Time to Ask Why
You have the right to free speech. You don't have the right to freedom from the consequences of exercising your right to free speech.
I'd suggest perhaps making a polished portfolio to showcase your skills and give clients a preview of what you are capable of doing. This post I recently came across goes into the intricacies of that: https://www.codementor.io/blog/Software-engineer-resume-2ouy...

If you don't have a lot of freelancing experience at the moment, perhaps consider to set a lower rate to get a few jobs under your belt to help build up your profile and reputation.

Other than that, best of luck!
Hilary Clinton spent more on her wardrobe than the Russians spent on Facebook. It was roughly $160k. Hardly enough to influence an election when campaigns spent close to a billion dollars.
You may also like William Horwood's Duncton Wood:

https://en.wikipedia.org/wiki/Duncton_Wood
I expect there will be no outpouring of sympathy from the “free speech” folks for this person.
6 ways climate change and disease helped topple the Roman Empire
Just did a quick test. It booted up in about 11s vs around 19s for Xen.

I did notice that it took a while for the status check to go green though. There was a warning message saying that it couldn't connect to the instance. I was able to SSH just fine though.
I hate to be the low-life slouch here, but is there no _shorter_ version – one that rather just lists the facts than sets a mood? The information density seems so low. I dove eight paragraphs deep without hitting any solid material at all.

If there is none, maybe I should one day condense it to its essential points myself.
A point is a terrible unit for displays. No point in attempting a solution when ‘px’ is a viable solution already. Use ‘px’ where you can and then use ‘pt’ for your print styles.
My intuition is this seems like futuristic thinking that you might have found from the 60's where everyone thought we would have bases on the moon and flying cars. I'd love if someone could post some well written rebutals.
I think it's more likely going to be your cold empty wallet that prompts the change.

As the shift moves on the insurance pool of manual only drivers is going to get worse and worse and the rates are going to skyrocket.
> If all you had was a genome, could you really use it to engineer the cell required for it to go inside of?

Definitively no if you consider multi-cellular organisms. And that's not just me being pedantic. Consider that every cell in your body, from the white blood cells to skin cells to neurons, has the same DNA. It's entirely non-genetic factors (epi-genetics like methylation of genes, but also hormones and existing intra-cellular structures) that leads to a neuron acting like a neuron instead of a liver cell.
Here’s a point that might be slightly controversial. The main evangelists behind CSS Grid are women not men, and they took advantage of this to push political agenda about empowering women/women in tech. I feel very conflicted about this. On one hand I support more females in this arena and having conversations about women in tech can certainly help, not to mention the women involved here have done an excellent job and deserve recognition. On the other hand I also feel that I want this to be a purely technical discussion without going into politics and political correctness at all. When I’m concentrating on a tech problem I’m not necessarily in the mood for social commentary. Your thoughts?
Right, the argument is that if you want some arbitrary sizes you should get a new unit for it, not inconsistently use an existing unit to mean something that it doesn't.

The current system of pts or inches varying by context would be like if an oven manufacturer said "Well, 60°F is pretty warm, and 90°F is downright hot, so we'll just recontextualize those numbers for our oven gauge. Bake cookies for 10 minutes at 80 degrees.

Unless you're using some other oven that scaled temperatures differently, in which case bake them at some other temperature instead ¯\_(ツ)_/¯

One could argue that you really are using inches, it's just that everything ever displayed on a screen has an implied "not to scale" note with it, but I don't think that's a particularly useful argument.

Heck, if you're editing something in MS Office it'll show you an 8.5x11 page with a scale meter. Set it to 100% and surely that's to scale.

Nope, 100% of some other totally arbitrary scale. That's what you wanted, yeah?
When Apple soured on Irish tax laws, it turned to a tiny English Channel island
This reminds me of the rodeo clown who lost his job after he mocked Obama:

https://www.nbcnews.com/news/other/rodeo-clown-who-mocked-ob...
I was kinda hoping that this would be about how HN uses too small fonts for everything so that I have to zoom to 120% before it becomes comfortable to view on my laptop.
Facebook has existed for just over a decade but a lot of people and institutions have already moved communications there that used to be elsewhere. Other communications that might not have taken place at all because of cost or other factors are now taking place on social media.

It's sometimes the only place people post to let people know they're sick or well, in or out of danger (e.g., in the hurricanes this year), or had a major life event. Sometimes it's impossible to get this information another way without alarming or traumatizing someone, or tying up someone's phone line or draining their battery during an emergency.

I've noticed some small music venues, theaters, etc. use it as their primary place to post events.

About six years ago, I got one very good full-time job that I learned about through a tweet--I wouldn't have thought to even check if that employer had such a job without Twitter. I've since gotten freelance work that I only learned about through Twitter and Facebook. (I've also gotten work through email, Slack, Google Talk, SMS, LinkedIn, physical posters, and word of mouth).

Lots of people use social media to vet potential dates, and see Facebook classifieds (tied to a real identity) as safer than Craigslist, etc.

Facebook, Twitter and all have flaws and things I wish they'd change--so do my phone company, my cable company and the postal service. But using them is a net positive.
Do you know the term for the QA setup/device to test multiple PCBs at once? Or to e.g. write firmware to more then one more at once? What are some search terms for that?
Quality of typesetting. Seriously.
Being on the frontpage is what it's got to do with HN.
Bret Victor had some thoughts on ways P5 could be improved

http://worrydream.com/LearnableProgramming/
(4 years in the industry as a SE)

I don't have any business from an investor point of view, but I'll commit to reading all of these and giving a review from my perspective.
Absolutely this. I've had a couple of Dell Precision laptops running Ubuntu now and the one with a Broadcom WiFi chip was super frustrating. It's been a couple of years since that one but AFAIR, the connection would go down every 1-1.5 hours and you'd need to reload the relevant kernel module to get it working again. The other two have both had Intel WiFi cards and I've not seen similar issues.
Was at a city council meeting where I live for a developer to build 380 apartments. It was a very nice deal, the apartments were mid-range in costs, they were going to include a park, and there was going to be shopping on the 1st floor. It would replace a 40 year old legacy strip-shopping mall.

Jesus Christ the people of Austin, Texas fought this thing like it was a toxic waste dump for disposed of Ebola Virus experiments. Also the city council meeting was just dominated by OLD PEOPLE, I truly never had any idea how much politics was generational until that night.

Ultimately the city council isn’t stupid and voted to allow the developer to rezone, so I guess it worked out, but still such a haunting image of selfishness.
Invalidations are inefficient, and theoretically more expensive. Better to use version prefixes.
Yet Another Fast Go Binary Serializer
But you haven't attempted to refute the well-described basis of that problem statement. Which parts do you think are wrong?
It's basically the story of laying the FLAG cable with heavy digressions. The wikipedia page is enough if you want just the facts (https://en.wikipedia.org/wiki/Fiber-Optic_Link_Around_the_Gl...)
Though to be fair, they also are significantly cheaper than the 1080ti. Well, if you can find one at MSRP at least.
Explosives in high current fuses is interesting, but not new or specific to Tesla. https://youtu.be/yTdngnsyNSE
As a fellow Greek who has occasionally been called "olive skinned" myself, I too find this pretty odd :)
Simpler and probably better explanation: We don't all have principles neatly aligned.

Your principle going out the window may be me expressing a deeply held opinion.
I've tried but it doesn't seem possible. Wine and even DOS Box can't run the 16 bit SDK executables. I'd love to be able to run just the ROM build process in Wine. :)
Well you can't be persecuted, prosecuted or retaliated against necessarily by a state or Federal government (subject to reason.. e.g. don't yell fire in a theater).. even if they employ you.. but with private employers all bets are off... except not sure what happens if you are a government contractor.. my guess is yes* which is why they asked her to resign.

My guess is flipping off the President is free speech.

*http://www.nytimes.com/1996/06/29/us/the-supreme-court-free-...
Relationship Hero Is Hiring Relationship Experts (remote OK)
Luckily, someone did an experiment similar to this one. They wrote the genome (and ONLY the genome) of a unicellular organism synthetically. Then they've removed the genome of an existing cell of a different species. The've then inserted the genome they created from scratch. The genome worked and produced versions of everything it needed, and cell division happened etc. Everything was produced & worked.

So - they bootstrapped that genome using machinery of the empty cell w/o the genome, but from that point on, the new genome produced everything needed for many other cells & itself. (Venter's papers creating synthetic life)

In fact, following that, the same team refactor that genome to create a minimum viable genome, the MVP of genomes if you will, just to see how few genes you can get away with!

Here's an article:
http://www.nature.com/news/minimal-cell-raises-stakes-in-rac...
This approach might work in practice [1]:

(0) From the display, get ≥ 2 of: physical display size, ppi, and resolution. This is the hardest step; the display hardware must accurately report its physical size or physical sizing will not work.

(1) For a glyph of logical size `x` in points, calculate the size `y` in pixels that would render it with physical size `x` on the display.

(2) Scale `y` based on the expected distance from the user's eyes to the display. Specifically, the software chooses a scaling factor such that the glyph has the same apparent size to the user as if it was displayed 18" from the user's eyes with physical size `x`. (18" is about how far away a person would hold a printout when reading it.) The exact reference point doesn't matter much; it just has to be consistent between devices. This step is so a given logical size will look pretty much the same across devices even if they have different form factors.

(3) Apply user preferences on a device, app, and document dependent basis for additional scaling as usual to accommodate user needs and preferences. Hopefully, with steps 0–2 implemented, there will be less need for users to fiddle with per-app and per-document settings.

[1] This is essentially equivalent to "use arcdegrees", just unpacked a little.

Edit: line breaks
I won't speak to Damore's essay except to say that I thought it revealed Damore to be somewhat intellectually immature.

But Eich supported something that actively aimed to rob people of the right to pursue their own happiness through marriage. That's a big step beyond giving the bird to one of the richest and most powerful men in the world because he's doing a shitty job as a public servant.
Yes, definitely both mindshare and piggybacking on Intel's existing product pipelines. Playing sidecar to Intel means getting in and getting the spotlight with every major computer manufacturer, where right now they are struggling to get put into pre-assembled systems.
iPhone bug: People unable to write letter I after update breaks their keyboards
Generated code can really build up quick. And that's not taking into account the transformations from higher level languages down to op codes. I use a lot of code gen and some projects I manage ~50k loc which can balloon to 10x that.

The exploits i'd bet are still in the human written weird stuff and not unfolded loops and boring setters/getters.
> He could be the tech Dan Carlin!

I think Neal Stephenson might be a bit more accomplished than that, no offense to Dan Carlin.
I don't think it's quite that far fetched - the reason we don't have flying cars or moon bases is that neither was actually all that desirable; neither was better than what we have by enough of a margin to make the short-term capital investment worth it.

The same doesn't really hold true for driverless cars. It appears they will be cheaper, traffic and road safety would improve significantly and we're already now used to calling for a car with the push of a button on our mobile phones. Plus, we've already got billions being put into the development of them, by real public companies with a lot of shareholders and boards to answer to.

We never really had that with flying cars or moon-bases.
It seems like a series of unfortunate or possibly rash choices on her part: the first flipping off, the second when she caught up with the motorcade again, deciding to use the picture as her profile pic, and then going to HR to forewarn them. I'd like to think that even if tempted to do the first of these actions I would have stopped there and kept quiet until it had all blown over, not kept upping the ante.
This book was my first introduction to dystopian societies and I've had a fascination with them ever since.
How the rich and powerful use spies and private investigators to track people seems to overlap with topics of interest to HN IMO. Just because it happens to also involve someone in mainstream news headlines doesn't make it less noteworthy.
Free speech doesn't mean freedom from consequence. As this case proves. I feel bad for this woman but it was entirely of her own making.
A classic. This is reprinted in Stephenson's book Some Remarks, which also has some other essays and stories (all quite a bit shorter than this though). Worth checking out if you like Stephenson.
Look, as far as I know, I definitely have an actively inferring predictive-coding central nervous system, so I know I'm in here. But you keep insisting you're a ghost, so I can't really be sure you're not a zombie. After all, I only get access to your behavior, so I can't see that you've got a proper predictive system in there at all.

Whenever I try to cut you open and get at it, you keep yelling about qualia and human-rights violations.
> Techniques like the ones used by the agencies on Weinstein’s behalf are almost always kept secret, and, because such relationships are often run through law firms, the investigations are theoretically protected by attorney-client privilege, which could prevent them from being disclosed in court. The documents and sources reveal the tools and tactics available to powerful individuals to suppress negative stories and, in some cases, forestall criminal investigations.

Reading this makes me think that we need new ethics rules for lawyers and ways to force disclosure of this kind of thing.
I am the Director of UX for a CRM SaaS product. The ignoring of web standards (like autocomplete flags) is misguided and totally obnoxious. Chrome is terrible about stuff like this. It drives me crazy.
The article mention hundreds of thousands of lines of code, where they couldn't even find the entry point to begin debugging. In a single wifi driver (that's not even considering the firmware)

sometimes infosec seems the most dreadful field.
Great book. Named my Manx cat (with a 'bunny tail') Hazel-Rah. She's never forgiven me... ;)
Heh... I stand up for the rights of Nazis to speak freely. Standing up for her isn't even going to get me bitched at.

However, free speech has consequences. This probably isn't a Constitutional matter, but she absolutely has the right to do this. They absolutely have the right (I'm pretty sure) to fire her.

So, I'm sympathetic but not surprised. Freedom of expression should be more than a part of the Constitution, it should be a societal goal. I'd much prefer a world where off-duty expression doesn't risk your employment but that's not up to me.

Err... Who are these 'free speech folks' that you're thinking of? We used to just call those people by the name, 'Americans.' The liberty of free speech applies to all, or none.
I keep seeing this repeated on various forums. My question is: why? If autonomous vehicles supposedly make driving so much safer, that would seem to indicate less accidents overall, which would lower insurance rates; after all, what would you be insuring against?
>Colors, smells, pains, etc. are not part of the mathematical or physical description, so you can't simply dismiss the problem of qualia by labelling it as dualism. Where do the colors, tastes, feels come from? What sort of math would result in those experiences?

Predictive coding in the interoceptive and control networks of the brain, actually. Sure, it doesn't explain everything, but it pretty well dispels the intuition that makes p-zombies conceivable and explains the vast majority of the empirical and phenomenological facts to be explained.
Exactly. If the government arrests you for your speech, that's just the consequences of exercising your free speech.
This is exactly my point, if the company can create a complex web of interactions to the point that it creates a grey area at what point to we as a society throw our hands up, call a spade a spade and instead pursue a determination that they are clearing trying to avoid paying taxes, regardless of what the specific technical interpretation of the scenario they have set up.

For example, what if they said that the taxable location of the entity was a function of the output of a quantum state? This is a grey area, but is even this enough for us to say that they are clearly just trying to pull the wool over the governments eye?
Is the FBI not fulfilling their responsibilities under FOIA?
China’s central bank is developing its own digital currency
I suspect the mindset is a rather typical one: "I don't value what a personal car gives me, therefore no one does (or should)."
“Quark Fusion” Produces Eight Times More Energy Than Nuclear Fusion
Yes, exactly the point. Sorry.
Plus, old versions expire after a certain time due to Apples signing of the files
Since CSS grids are mostly used for the global page layout, the ideal use case is using it to design complex pages that would be very annoying to make with other techniques, and on older browsers fall back to a much simpler design with flexbox or floats.

Since those fallbacks only require a handful of lines of CSS, it only takes a few minutes to get the compatibility to almost-perfect, and you can get a better design in front of most of your users very quickly. To me at least it's a solid mix of design freedom and development speed.
That sounds insane. Is it written somewhere besides a sporadic Linus rant? (e.g. somewhere here https://www.kernel.org/doc/html/latest/ etc.)