skysight-inc/HackerNews huggingface dataset:
Now is a really good time to learn. This is because CSS has been done spectacularly badly to date and very few people have taken time to learn how to effectively use much of what has arrived in the last couple of years. Therefore you don't have to learn the bad stuff, you can get stuck in with the better ways of doing it.

I have watched the talk that goes with this post and I think that this is useful to better understand where Laura is coming from. She has gone deep reading the code for implementing the 'cascade' and you have to give her credit for getting people talking.

However, in the article there is some idea of solving responsiveness. There is a better starting point and it is this - CSS variables.

In the olden days people would have one chunk of common CSS and then media queries that would have other chunks of CSS in them. The better way is to only have CSS variables in media queries and then to have all the style declarations use the CSS variables. In this way you can have maintainable CSS where it is clear to see what changes.

An example, if you have an image in a figure then you might want it to appear on the right hand side in a desktop layout and full width on mobile. So in the root element of the CSS you can define --my-figure-grid-column as 1 and then in the media query for desktop you can then set the variable to 2. Then in the style rule for the image you can have grid-column: var(--my-figure-grid-column). If you review the code a few months later and decide you want the image on the left you can see what is going on and what you need to change. With old CSS you would probably decide to just bolt yet more style rules to the bottom with !important to hack it good.

CSS Grid is a good place to start, this is the new layout engine and it works in 97% of used browsers. If you start from content with sensible HTML5 elements instead of 'div soup' and make it responsive with CSS Grid and CSS variables then you will have as much fun as a kid with LEGO.

There are a few other things on starting out, one being to forget about pixels and percentages. Go with ems and 'vh/vw/vmin/vmax' instead. Document structure matters too, if you are using CSS Grid then you don't need the div tags or the spans. You also don't need the clutter of many classes added to every div. So maybe strip your webpage back to bare content, burn the existing CSS and any 'reset.css' type of files that are there for Internet Explorer 6 related reasons. Get the page structured with the HTML tags of header, main, footer, article, section, aside, nav, figure and the ones you know already for doing lists. Then get it looking good on all browsers with CSS Grid with layout problems solved with CSS variables. You can then move on to the more decorative things.
I didn't say low standard of evidence has higher odds than high standard of evidence.

Low standard has higher odds than no standard of evidence or no research at all. High > low > zero. By what logic could you claim that low = zero or zero > low?
A Tool for Moving Your Photos from Flickr to WordPress
Info sec industry is a rabbit hole. Just ask Jeff Bezos.
Really? An alternative made in China with cheap plastic? These green washers are everywhere.
disposable anything marketing itself as eco-friendly is a joke. Shame on companies who attempt this.
It seems everyone back then on BBS's were enthusiasts. We all had at least that in common. I remember groups of us would all gather on some random night of the week for drinks just to kind of put a face to the handle. It was great. And after we'd hurry and dial back in to see who else just dialed in.

Social networks today just leave you feeling gross.
I use KeePass (currently version 2.40). The author does claim to use "in-memory protection" of secrets while the program is running, but apparently it is not thorough enough. However I would need to have malware running on my machine (or give physical access) to exfiltrate the in-memory passwords right?
Essential Tips to Get Started with Growth Hacking
It reminds me of the old, tongue-in-cheek piece by Joel Spolsky https://www.joelonsoftware.com/whattimeisit/

The described use scenario was as follows:

"...visitors are very upset if Mike has previously promised to meet with them at a certain time, but when that time comes around, Mike is nowhere to be found. This happens because Mike doesn’t know what time it is. At his secretary’s recommendation, Mike signs up for a WhatTimeIsIt.com account. Now, whenever Mike is wondering about the time, he simply logs onto WhatTimeIsIt.com, enters his username and password, and finds out the current time."

Years have passed and now, if Mike can't think of an eco-friendly alternative to a paper coffee cup, he can go to the ecoalternatives website to find out he could get a stainless steel coffee mug with autoseal and thermalock instead. Eureka! ;)

(I'm honestly not sure if that's really the equivalent of a paper cup - personally I'd think a regular ceramic cup, 10 times cheaper, would be more accurate in reproducing the same functionality, but let's assume Mike is capable of figuring this one out without a website).
Because the domain registration just opened up?
This exists as a startup called Kite: https://kite.com/
Some plastic ice trays can be pretty crappy though. Source: mine broke. I've got a silicon one now, not sure if it'll last longer though.
> Arc is designed for exploratory programming

That is basically the definition of "crime against god," which, by the way, is different from "bad."
The right way for a patient to think?

I don't think they teach that in medical school.
why is this a great job? Can you elaborate? Are you a bot for this amazon affiliate website?
It's virtually equivalent to virtualenv. Virtualenv creation, installation and activation can be scripted. Why shouldn't we use the real thing?
It Seems Cloudflare Is Merging with Akamai – Techzim
Today we had someone fake their entire interview via Skype - Story  (r/devops)
I'm still curious who ever wants to Skype all sweaty during an exercise

Maybe a variation of this old meme might help explain: "The great thing about going to the gym isn't exercising, it's showing everyone online that you did."
People spent more money on them and are eager to show them off.

For a very short period they will be a status symbol for internet companies.
This sucks.

We used .dev domain internally in dev/testing environments and one day we were forced to switch domains because google bought it
This is a familiar and successful way of thinking that we are taught in school and even as scientists. The challenge is that some decisions and domains are simply not amenable to statistics and concepts like correlation break down in the face of infinite payoffs (like patients getting to go to a grandchilds wedding) and infinite penalties (like the death of a child). How does one account for a situation in which 10,000 good decisions are for nothing in the face of one mistake?
In the early days, I had a Miracle Technology WS2000 with manual, rotary knobs to select speeds (all the way from 300 to 1200bps), plus a manual connect/disconnect knob, so making a connection consisted of dialing the BBS number, listening for the tones and putting the modem online.

Unfortunately, my modem had a sticky phone line relay and so to disconnect the call the procedure was: turn knob, listen for click, thump modem a couple of times just in case, lift phone and check for dial tone.

Pic here, although mine was an even earlier model with a brown case:

http://www.computinghistory.org.uk/userdata/images/large/86/...
Disable the USB controller?
US Cities Are Becoming More Dangerous for Cyclists and Pedestrians
Apple to Combine iPhone, iPad, and Mac Apps by 2021, Says Bloomberg
Humor Is Associated with Positive Outcomes in Psychotherapy
>I'm relatively (I think?) well-informed on feminine products for a guy

I think a great step forward for you might be to stop self-identifying this way. Think for a second about what this sentence is adding to the discussion.
Full interview (relevant part starts at 25:30): https://ark-invest.com/research/podcast/elon-musk-podcast
EU Democracy Orgs Hit by Cyberattacks, Microsoft Reveals
Here is the abstract of the original study:

Considerable anecdotal evidence points to the usefulness of humor in the therapeutic process, but empirical evidence is lacking. The purpose of this study, conducted in Belgium, was to search for an association between humor and therapy outcomes in a population of 110 adult psychotherapy clients who attended at least 10 therapy sessions. Clients and their therapist evaluated the frequency and intensity of humorous events, as well as therapy effectiveness, therapeutic alliance, perceived hope, and pleasure in participating in therapy sessions. A strong positive correlation was observed between humor and therapy effectiveness, from both client (rs=0.40; p<0.001) and therapist perspectives (rs=0.37; p<0.001). The link between humor and therapy effectiveness remained significant in subgroups of clients with more severe illness, although these clients reported less humor in their therapy sessions. Further research is needed to determine whether humor enhances outcomes or whether positive outcomes trigger occurrence of humor.
Many seem just an excuse to sell more stuff, but with a greenwashed label. I detect something of a bamboo theme. I guess bamboo is in right now?

A green alternative to steel cutlery is bamboo cutlery? Stainless will last 50 or 100 years, or more. Bamboo isn't going to.

Bamboo dinner napkins? WTF? Linen will last 20 years or more. So lets replace those with single use throwaway.
Is this happening over a dinner?
How easy is it? Except for email and our approved file sharing service, there is practically no way to share files outside of our network.

Dropbox, drive, icloud, you can easily firewall all of that.
Detecting Web Attacks with a Seq2Seq Autoencoder
Jeff Bezos would probably think "info sec" is a unit of time.
Hey folks, I'm the CSO over at DigitalOcean (verification: https://keybase.io/custos). I'm going to look into this so we can figure out what happened here. Garland, I've temporarily set up an email alias which is my HN username [@] digitalocean.com - can you please shoot me some info?
the abstract was mentioned in this post https://news.ycombinator.com/user?id=SubiculumCode

> ...low‐frequency periodic activity (<1 Hz)... propagate with speeds around 0.1 m s−1

so thats a wavelength of ... at least 10cm! not much information density here... this is probably the reason nobody is interested much in these effects. Even if they can chaotically influence the state of the system, it won't contain much useful information...
This is YC's site, which presents their view, which can be as partisan as they want it to be. There's no need for balance. Your opposing view is fine but they don't have to, and shouldn't, promote it if it's not what they believe.
I always knew he was nuts, but not THIS much lol
I was in ORD a week ago and went from my hotel (Hilton, connected to the airport) to my gate in under 15m. I think my time going through security was around 45s, give or take. Anecdata caveats apply.
Because if you don't launch today, people won't see that you were eager to spend as much money on the domain as possible (i.e. for Phase 1)...
Also wonder how Biodegradable Cutlery in bulk is more eco-friendly than stainless steel lasting generations. Maybe it should be an alternative to plastic one-time use.

Don't get me wrong, I love this idea and hope it helps more be aware of what they buy and use. But maybe my hopes are for what is planned in version 3 of this. Good start, hope to see improvements
Having worked at large companies before, I'm almost certain that more than one person working on the product raised the point "this has a microphone, why isn't it documented?" or "this has privacy implications", but was silenced.

(Or it could be that everyone working at Google has been carefully chosen to not have such concerns; I do get that feeling sometimes too.)
Would love to have one too! cynix@cynix.org
That is called a "manel".
Snap Matchmaking: Indian Expats Seek the Perfect Picture to Get a Wife Back Home
That's an old and popular idea, but controversial in modern linguistics. See for example

http://anglisztika.uni-eger.hu/public/uploads/orsi-2015_576c...

which among other things points out that words like "beef" and "mutton" don't appear in English until centuries after the Conquest.
>All I've seen in this thread, and others on the topic, are anecdotes.

Great observation! Statistically, there are more anecdotes in this thread with employees with negative experiences with good ones. I think that's a great starting point.
> danger of this

Essentially zero.
Did anyone suggest they can't "be as partisan as they want it to be"?

This is teddyh's comment, he can say what he wishes.
Slack App for Leave Management – Spock:-)
But chances are you already have a ceramic cup, so that suggestion wouldn't generate any sales.
hope this is just a rumour, I love what Cloudflare did and also it releases open source software and build on open source. I like their 1.1.1.1 service.

Akamai is a Giant from last decade, does not engage with small developers, no self service system only sales people
Interestingly enough, LESS (a similar concept to SASS, though less powerful last time I looked at it) offers a JavaScript component to compile .less files that are included via <link rel="stylesheet/less">, though they do recommend that in production the files be pre-compiled.

http://lesscss.org/usage/
"rtf personual" `person git`
That's your fault for using something that's a valid domain and not a reserved one for exactly that use case decided on 20 years ago:

https://tools.ietf.org/html/rfc2606

.test, .example, .invalid, .localhost
Looks interesting. Can you add D to the list of languages?
There was a brilliant set of local BBSes where I grew up in Nottingham. The local cable company, Diamond Cable (since taken over by NTL/Virgin Media), offered free local calls to other cable customers.

This obviously provided the perfect ecosystem for BBSes to pop up and thrive.

I fondly remember old door games such as LORD [0], and downloading the Quake 1 demo using a 14.4k modem - That took some time!

BBSes themselves used some technology that wasn't mainstream, DESQview being a good example - a nice text UI for multitasking DOS.

[0]: https://www.pcmag.com/feature/340587/the-forgotten-world-of-...
[1]: https://en.wikipedia.org/wiki/DESQview
Ask HN: What do you think a good GraphQL boilerplate needs?
On my last project that involved GraphQL, I spent an inordinate amount of time fixing version/library conflicts, reinventing the wheel for things that should honestly be available out of the box (user groups, access control, auth, etc) and generally wrestling with the whole ecosystem in order to get it working the way I want to.

That's why I've decided to go and write an opinionated full-stack boilerplate generator for GraphQL that comes with batteries included and tries to automate as much of the repetitive work as possible. I'm pretty set on JavaScript for the whole stack, with Postgres as the database and React for the frontend. I can't decide between Prisma and Sequelize for the ORM.

Which do you think is more appropriate?

My chief goal is to have the user only define the most elementary elements of their API (such as the data model) and have the boilerplate generate everything else - all the way from the database to the frontend CRUD UI, with sane defaults that could be modified by the user to suit the project's particular needs.

What do you think a good GraphQL boilerplate generator would need in order to satisfy your needs?
This is the height of absurdity. Google get your shit together.
Cell Conversion Startup Raises $3.7M
Are there any alternatives to nest protect that would: Sense Carbon Monoxyde AND smoke AND fire off some event to mobile phone via wifi/sms/whatever?
In Swedish we also have "-tyg" and "-don" which is similar.

So we have far-tyg for faring-stuff on water, and for-don for faring-stuff on land.

Tyg on itself is fabric, like "stoff" is in German or Danish (in Danish stof is also drugs or matter in general).
And, as usual with self-reporting, accept that folks with experiences on the extreme are more likely to be motivated to speak up.
Oh boy. Here's more "feel good" language change suggestions.

No. Just not. This kind of thing is extremely hypocritical and insulting to all those who are actually fighting cancer. Both the patients, the doctors and research teams.

>Cure seems like a goal that isn't realistic anymore.

Where did you get that from? Both cure and 5 year survival rates are higher than ever and are slowly encroaching advanced stages of cancer.

>And we need to make sure he doesn't think he lost anything. Its not fair and its incorrect.

Except it is. He lost his life. This is a fact. Language won't change it. Pretending that he didn't lose anything is more insulting to him and his family than not. Respecting his choice is different from pretending that he didn't lose everything.

I've seen people give up and accept their low chances of survival. It's very rare. More often than not I see people who want to live and exhaust every option available until the last minute of their lives. This is literally a fight and these people would punch you in the face if your righteousness suggested otherwise in front of them. And it blows my mind that a doctor( are you an actual doctor? In the States the term doctor isn't regulated so a chiro can call themselves doctor) doesn't see that the field is rapidly improving with better and more options all the time. Now more than ever before it's worth fighting to your last minute in case new therapies arrive that have great results for you.
The French Foreign Legion is still an option!
That site only includes submissions where the pilot took a photo of the instrument panel, so yeah, definitely not the true top speed record as I’m sure that not every pilot takes a photo, let alone knows of the site.
Ask HN: Do You Have an On-Call Schedule Calculator?
Tapping the collective brain, to avoid writing custom software for this: have you ever encountered an on-call schedule calculator of sorts: you plug in 20 people’s requested days, scheduling restrictions, and requested days off and it spits out possible schedules that satisfy everyone (or show conflicts if there is no perfect permutation)? Some sub-set variation of the above functionality would help as well - ex: api that does the above sans visuals, or a version that lets people enter schedules to reconcile them instead of one user, etc .
Hi jofe. Without wanting you to comment on specific cases, as a customer paying you $1k per month stories like this terrify me, and it's not the first time I've seen something like this on HN. Can you definitively say whether this kind of thing has ever happened in the past and if it could happen again in the future?
You can just use whois.
The main trick smartphones use to have their battery last long enough, is to power off every piece of hardware that's not in use, for as long as possible. Doing a 24-hour-long recording would require the main CPU to be awake far more often than usual (and in fact, I would suspect it would have to be pretty much constantly awake, unless the phone had a large dedicated hardware buffer for the recorded audio samples).
But can't they dual sign with both SHA1 and SHA2 with no loss of functionality?

Furthermore, wouldn't trying to collide both SHA2 and SHA1 be even more close to impossible than just trying to collide SHA2 (which is already currently regarded as practically impossible)? Perhaps newer clients should verify both hashes?
Almost Differential Privacy
Company Swears by a 4-Day Work Week. Advice on How Employers Can Switch
Leaving aside the fact that different regions of the countries have different levels of comparative living costs and wealth...

The simple fact is that most people ARE middle-class. The bottom income 25-30% of working-age people contribute little to nothing to income-tax receipts. The top 5% in each region have enough assets to live comfortably but carry approximately 70% of the income tax burden. When you get to the top 1%, it's something like 46% of all income-tax receipts IIRC.

So....the folks in the middle carry the burden of the rest of that load.

FWIW, My numbers are approximate but close enough for this discussion. Since tax policy most directly affects people in the middle, it's very important to get it right. Since tax policy for the very rich affects things like investment and business formation, you don't want to tax those income generators to death. For the bottom, you want them to benefit from the programs in place so they can join the ranks of the middle class and pay something back.

But you assertion that nobody (or very few) is middle class anymore I think doesn't align with the facts.
Yeah, I don't think interactive use was actually faster. Noninteractive use however - FidoNet (an early messageboard system with similar properties to UseNet) supported downloading a chunk of posts which you could then read through offline in a native, responsive program.
One if the Twitter updates alluded to it, but they can make a repository for F-Droid and have their users use that to get the latest updates
>However, given an existing file and hence its hash, it is not possible, as far as anyone knows, to generate a second file with that same hash.

Interesting...I thought google did exactly this in 2017. Although, they controlled the PDF prefix.

https://security.googleblog.com/2017/02/announcing-first-sha...
My complaint from the beginning was that you stifled conversation by detaching this thread and because every comment is flagged and downvoted automatically you have allowed those who are afraid of this type of discussion to sabotage any submission they dislike. You caved to the brigade instead of acting as a responsible moderator. The ranking algorithm and the moderation policies are too crude for this type of submission. It would be more responsible to disallow them entirely.
The day a completer can fix a Y situation I'll be damned
I'm actually shocked, though maybe I shouldn't be. I'd always assumed that canvas fingerprinting was some theoretical technique that nobody would be evil enough to use, not one in active use in thousands of top websites.

This is why we can't have nice things. :/
https://periodix.net/
I'm a developer of the service.
We analyze your chances to get freelance projects leveraging AI.
So, you will see only relevant jobs for you.
The "load more" button for one (trending has a 25 limit)
I guess we finally found out who paid early access for the .dev TLD.
I didn't downvote you, but in answer to your question: compiling first means it works without javascript.
I Applied to 13 Top Tech Companies in Silicon Valley
did they in fact physically separate the tissue in 2 halves? or was it a localized cut? even if they separated in 2 halves, how did they measure the electrical activity? with conductors? or optically? even if optically, did they assume light could not cross from one sensor to the other or did they prevent light from the first optical electric field sensor from entering the second optical electric field sensor, say by using different wavelengths and filter for each? even if they excluded optical leaking, you still need to exclude the possibility that there is simply an ambient electric field in the lab whose correlation at 2 points we are measuring. So you need a control setup without brain tissue to compare the correlations.

Otherwise we might be investigating the equivalent of: dot of light moving at twice the speed of light! ... by reflecting a laser beam of a fast rotating mirror on a distant screen... yes the dot can move faster than light, but the dot is not a physical signal, the dots at different times are separate signals with a common cause, and no signal was speeding beyond c...

at some point you realize that there may be more important questions to invest time and effort in...
Am I the only one not comfortable with how much "git" has become synonymous with "GitHub" in the common collective?