skysight-inc/HackerNews huggingface dataset:
Ask HN: Productive after-hours? How do you collaborate and work during the day?
I am a software developer and I get insanely productive / focused just as everyone is knocking off, around 4-5pm and can work until the wee hours of the morning.

Even though I work remotely and have daily standups in the afternoon, I actually get work done when everyone else is finished. This sometimes affects me at that I have to work during the day so I can collaborate but it will be a bit difficult as I won't be at my peak. How does this affect collaboration for you and is this something you have communicated with co-workers? I am curious to know how people have managed this kind of work routine.
The more time I spend with strongly typed languages the more I am convinced it is the right way to go. For modern languages with good type inference, and good tools for protocols/interfaces not tied to an inheritance hierarchy, it is a at worst minor inconvenience for a huge benefit.
It's both undemocratic (small-d) and un-American, but it doesn't fit the rubric of "providing aid or comfort to the enemy" for treasonous behavior.
Just for clarity, is that energy measured at the source, or at a certain distance?
Lee Smolin is not a well-respected physicist.

"I don't believe that there exists a competent physicist who doesn't agree that Lee Smolin is a hardcore crackpot"

https://motls.blogspot.com/2013/04/lee-smolin-time-reborn.ht...
My biggest mistake at the beginning of freelancing was that I sold more or less 8 hours a day of work. That's too much because as a freelancer you do not have vacations or paid sick days, and contract. So I corrected it to 120 hours a month, that means that:

* I can recover sick days if needed.

* I can work a little bit extra for 1 or two months to get a 1 week vacation.

* I can use the extra hours a day to do some marketing/networking/sales.

* It's easy to take half a day off and recover it in 2 or three days.

* I needed to charge more per hour to make it work, but now I'm pretty happy with it.

(Edited: Formatting)
No, at this time, given the wide usage and absence of evidence of negative health effects despite wide deployment and study of the technology by a large number of otherwise unrelated entities, I have no concerns about about a negative impact to my health as a result of using permitted and certified mobile phone transceivers on and/or around my person.

However, per my arc lamp analogy above, I would certainly not like to find myself in an industrial microwave oven while it is on. Even if it's non-ionising, being cooked while alive is likely to be quite harmful to my health. But then again, if that microwave had the same power my mobile has - it'd be rather a rubbish microwave and I'd be perfectly fine.
Maybe while they are at it they can make some additional $$ improving NYC MTAs sensor network so MTA can know where the trains are!
Easy type safe state in React with hooks and TypeScript
Not a lot, though. Edge, Chrome, Firefox, Safari, Opera, iOS and Android all support it. Nobody cares about Opera Mini and Blackberry, and the sooner we cut IE11, the better. It's never going to support most of the modern standards.
ox_n's last theorem
Web development is such a pain because the standard is sub-par (decided by committee, so no surprises there) and the implementation is even worse (full of inter-vendor inconsistencies and missing features).

Frankly, last time I did web development, I felt tempted to just make the entire page one screen sized canvas and implement my own UI toolkit on it. That's bound to be more reliable (and probably faster) that the current state of affairs.
Why do people insist on comparing the initial frontload of a SPA to the page load of every page in their SSR web app?

Once a SPA is loaded you can send tiny crumbs of data faster than any significant SSR.
I know, but it's being exhibited as an example of how back-of-the-envelope type of approximations by physicists can be just as good as rigid mathematical thinking. And I don't find this to be a convincing example of how loose physicist arguments can work.

Schwartz distributions, infintesimals; okay, fine, those turned out to be a weird trick that can be formalised. But sometimes their tricks are just plain wrong and this is one example of a trick that just is wrong and can't be formalised.
> reimplement all of it myself

Including accessibility? For that reason alone I think it makes sense to use the most high-level built-in features available.
That’s interesting thanks - I didn’t know this. And thanks for the example site too! Definitely feels snappier than I anticipated.
> The same trick works for higher powers.

can you demonstrate?
STEM Education: Killing People and Breaking Things
No need to count out the females of SV being lured by that scenario either. Lets not be sexist, when both sexes sex.
An insurance policy would suffice.
5:30 AM? What is your daily routine?
I love being a freelancer/contractor.
I will probably not work full-time ever again, unless I have a direct interest in the company.
Its important in life to be able to make your own decisions and not feel pressured by work. Lets face it, full-time work sucks, you cannot take a holiday when you want without approval, you feel bad when you are sick and you feel the hierarchical pressure and you yield less money because you get perks and a social safety net.

But I dont want any of that. I'll pay my sick leave, my computer and my phone. Just give me the cash.

I've been a contractor now for 3 years, essentially providing a service and issuing invoices to clients. Luckily for me, I've only had 2 clients in this period of time, because both contracts were ongoing on large scale projects.

I have no rights, my contracts don't pay holiday, or sick leave, but I charge a very high fee per day, more than every developer I know who works as a standard full-time employee.

The result is a much higher income, and I have saved more money in 3 years than most people I know.

Additionally, I'm not actually managing these projects, they have in-house product designers and owners for this, so basically I'm just there to build and maintain the thing, have meeting with other developers, and give a demo of updates.

My advice to you is:
- To try to find ongoing work/projects rather than lots of smaller ones. It saves the headache of negotiating and finding clients.
- Stay away from freelancing websites. You will be taken advantage of and get crumbs for jobs.
- Under all circumstances, do not take upon any Wordpress websites, unless you are happy being at the bottom of the barrel for your services.
- Don't work for friends, unless you both are very established in your professions.
- If you are a web developer, specialize and only use the latest tech that you actually want to use. Don't take on legacy crap projects.
- Unless you are given the task of managing the project, do not quote. Charge per day.
- If they offer you a desk space to work on-site, be aware that you will be pulled into a standard working office culture, maybe you like this, maybe you don't.

Enjoy the freedom!
how isn't Google or Dropbox or Instagram not completely funding you
Machine Learning for Detecting Code Bugs
Softpedia ironically proves their story doesn't make any sense.

Microsoft’s Security Response Center revealed that most of the cyber-attacks aimed at Windows computers aren’t based on patched exploits, but on zero days.

Apparently it's hard to base your attack on an exploit which no longer works because relevant vulnerability is addressed by an installed patch. Journo behind the story believes it means patches are useless. This is, to put mildly, a very unorthodox logic.
Painless MERN Stack Project Setup
most importantly, it creates regulations.
So work with the pizza place to get a special 95% discount then hand them cash "not related to the order". For something that's obviously a good faith contribution everyone involved will err toward the side of rubber stamping it as ok.

The rules are just a rule of thumb that we can apply evenly at scale to avoid corruption. When there's legitimately no corruption happening the rules get more flexible. If it ever becomes an issue HR will frown (because rules) but legal will apply the duck test and conclude that ~$10 pizza/person paid for by someone who doesn't need/want/isn't in a position to benefit from preferential treatment is not corruption.
A phone and a microwave aren't comparable. A microwave contains an extremely focused emitter.

It's the difference between staring at an LED light and a Class 3B or Class 4 laser.

That laser will burn right through your cornea but you could affix the LED directly to the surface of your eye without any measurable ill effect.
> Why do people insist on comparing the initial frontload of a SPA to the page load of every page in their SSR web app?

Because a user doesn't care if it's the initial frontload or not.
In Trump’s Census Plans, Hints of a Citizenship Registry
As the economy moves away from traditional salaried jobs and toward contract gigs, more and more people are starting to feel like I did. Other studies found that billing by the hour — no matter how much people charged — compounded the tendency to view time and money as one and the same. Those who did so were less likely to take pleasure in leisure activities, because they were too preoccupied by the opportunity cost of their time. Again, these trends were similar across income levels.

Blah, blah, blah, the article continues. Look, freelancers have transparency. FTEs get paid that paycheck twice a month, or once in some places, but when they sign the offer letter, it never -- in the US and the UK -- really matters how many hours you work. In both places, you'll simply be expected to be suddenly put on an on-call rotation a few months after you start, you discover that the shoddy release happens Tuesday nights from 11p to 2a, despite asking three times in interviews, etc. In some places, you get 'PTO', which means if you get sick, you need to cancel your vacation which comes out of the same pool. In one place I worked, a retail brokerage with a vicious on call week, you had 15 days of PTO, which included sick time. Got the flu? Oops, no Caribbean vacation for you, sucker. We had to work weekends and holidays, due to releases and on call, with no comp time.

Even more importantly, my 40 hrs is transparent as a freelancer while your 45,50+ because you want that promotion or bonus isn't paid. But you're "passionate about technology", right? That's what you tell yourself.

That's not isolated. I have a long career of observing that, and my sucker friends who say, it's part of the job, this that and the other.

As a freelancer I make 30 pct to 50 pct more than FTE, I KNOW they want me there because they'd get rid of me if they didn't, and I'm hedged against 'oh we need you to be available, that should be obvious when you joined' entitlement.

I freelance if I can, do FT when I must.
In your example it worked: a volunteer pointed it out. The volunteer probably would not have been able to with e-vote.

Who has the skill to be able to assess such a system ? And among those, who has the time ?

I've been a programmer for 15 years and I'm pretty sure I would not be able to look at such a system and feel confident there is no error. And definitly not in the reasonable time period required for voting.
Make it opt-in (vs opt-out)? As best I can tell, there is only the blacklist functionality (via a markup attribute). I can imagine many use cases where it would be far easier to only activate where a link has .instant-page.
Maybe one should read more before downgrading other people’ comment as nonsense.
Excerpts from Wikipedia (text in square brackets are my):
Dark matter is a hypothetical form of matter that is thought to account for approximately 85% of the matter in the universe...[speaks the existence of dark matter existence is not proven, is not even part of the standard model!]

[...]

Its presence is implied in a variety of astrophysical observations, including gravitational effects that cannot be explained unless more matter is present than can be seen.

[…]

The primary evidence for dark matter is that calculations show that many galaxies would fly apart instead of rotating, or would not have formed or move as they do, if they did not contain a large amount of unseen matter.[2] Other lines of evidence include observations in gravitational lensing,[3] from the cosmic microwave background, from astronomical observations of the observable universe's current structure, from the formation and evolution of galaxies, from mass location during galactic collisions,[4] and from the motion of galaxies within galaxy clusters.
[so mismatch in gravitational effect with Einstein General Relativity is the only reason why people think there “must” be dark matter out there. Imagining dark matter would help to keep Einstein General Relativity correct in its current form, in other words it’s a HACK!]

[…]

Although the existence of dark matter is generally accepted by the scientific community, some astrophysicists, intrigued by certain observations that do not fit the dark matter theory, argue for various modifications of the standard laws of general relativity, such as modified Newtonian dynamics, tensor–vector–scalar gravity, or entropic gravity. These models attempt to account for all observations without invoking supplemental non-baryonic matter.
[means without the need for the hypothetical, non-observable dark matter. And because the standard model can not explain gravity, dark matter or modified gravity theory has nothing to do with the standard model as stated in my original comment]
The reason why I love JS is that you do not need any frameworks, only the runtime. All you need is a text editor and an API reference (Node.JS, Web browser). All JS code is open source, so you can look at the code of the libraries you are using to see how it does stuff and learn a lot from it.
Bringing the wonder of old-school survey maps into three dimensions
If you can't convince your manager that it's in their interest for you to have a custom schedule just stick to the mandatory schedule and call it a day. If they don't care about your productivity certainly you shouldn't care either (that's obviously different if you're self employed)

Tech workers are the new factory workers, don't make it more complex than it already is, do your job, go home, enjoy life.
Prerender the initial page and they won't notice any difference.
There are two kinds of "Productive".

There's my personal productivity, and there's the team/company productivity.

When working on a team, you have to figure out what produces the best output for the team as a whole, not yourself.

I function best when I get up at about 8am in the morning, and get to work at about 10am.

Doing that, when others leave in the evening I get several hours of high productivity.

My personal productivity soars when following this.

However, it means I'm much less available for the team, and depending on the project my being available has more impact on the team output than my direct personal productivity.
I want to second this.

Reading high scalability and watching talks about how Netflix, Google, Spotify and friends deal with their massive loads can be entertaining, but for the vast vast majority of us it is only that: entertainment.

Google's solution is almost certainly not right for you. Netflix's solution is almost certainly not right for you.

I've never had the distinction to work on a project that large, but I imagine that even if you are this scale their solutions are still not useful, because at that scale and complexity everyone's needs are different.
It's difficult to believe much about China from Western media due to their track record of only reporting what suits them.

Ever wonder why there is there no coverage on much more severe rights abuses in Indian controlled Kashmir or Palestine? Such as the time they tied a man as a human shield to an army keep in India?

I didn't think so.
It's pretty great. My income rose about 600% when I started freelancing. Part of this is the effect that working as an employee in Finland is very tax inefficient.
Vast majority as in, %99.99. Designing for scale is nice up to a point, and then it becomes an expensive waste of time.
“Recent-ish versions of Chrome, Firefox, Safari, Opera, iOS and Android all support it”. According to my stats, there's a load of old Chrome & Safari versions using my site that would be tripped up by its use, sadly.

I'm keeping a beady eye on my stats, awaiting the day and can make a site entirely with CSS Grid.
I am neither Chinese or American - The US targeting Huawei seems unfair. It is like suspecting a person of theft and then applying all sorts of punishments, without any strong proof. This is not justice. If I were Chinese, you bet I won't buy any American product.
> The opacity/transparency of rgb colors can be adjusted by using RGBA colors. Ex: rgba(255,255,255,0.8) is black that is 80% opaque (20% transparent).

That's white, no?
>Could be as simple as having a really long and strong wire between two habitation modules

I.e. "the crane cable you would use to lift the module under normal, 1g, earthly circumstances"
A good way to look at this is as a risk-adjusted return. Anybody can get rich by putting their life savings into crypto or some YOLO far-OTM options play, but that doesn't mean it's a good investment.
On a related note, i find most of the humor that does not get down voted really funny. I enjoy that. But I also u joy that every child comment is not trying to be a joke like on reddit.
You are absolutely correct. We have absolutely no way to produce these fantasies without even further widespread environmental devastation. Think of all the metals that would need to be mined and carbon emitted to get this stuff in orbit. Even if we mine asteroids a colossal amount of resources will need to be spent on spacecraft and machinery to make that possible on a world already facing ecological collapse:

Insects may disappear by 2100: https://www.theguardian.com/environment/2019/feb/10/why-are-...

Phytoplankton has nearly halved in the oceans since 1950: https://www.scientificamerican.com/article/phytoplankton-pop...

Wildlife is becoming paralyzed and diving because of vitamin deficiencies: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6196476/

We have already knocked out the base of the food chains we depend on- we cannot consume our way out of this hole. The future of this species is already in question, we can't afford these fantasies.
> I like to think of python as a language that’s great for responsible adults.

Not a disagreement, but an observation : verbatim the exact same thing has been said about Ruby, and - I imagine - every other widely used dynamically typed language on the planet.

IMO, maintainability is a well understood weakness of dynamic typing - hence every responsible Ruby/Python/JS/Perl codebase including a mountain of unit tests that do nothing but cover typing (in addition to the rest of the tests that would be present irrespective of implementation language)

At the end of the day there's no silver bullet : either we let the compiler handle type checking, or we cover it ourselves with unit tests. Doing neither isn't really much of an option, but it is probably where a lot of these type-related bugs come from.
So one thing I am not really sure is how I can build a network where I can find regular contracts? Especially just starting out?
First of all, great news! I live in Switzerland, and this is really good to hear.

To those who think that 150’000 Fr. compensation is too low — think of the prestige! Hacking the Swiss voting system, the only direct democracy in the world! No amount of money is equal to that.
New Version of Simple Quality UI for Angular Released
Thanks guys.

I had actually never seen that written solely as SPA even though I've worked as a react dev for 2 years now in Canada.
I guess the acronym really is going obsolete.
Have you tried putting outline.com/ before the address?

Maybe like
outline.com/www.ft.com/content/c8da1c8a-2a19-11e9-88a4-c32129756dd8
It's completely arrogant to assume that because it hasn't been solved by "better" people that I couldn't solve it.
I'm a freelancer, I eat very well, and I compete for the highest bidder. I'm free, and recruiters hunt for me, not the other way around.

Good freelancers tend to be well paid. Even mediocre freelancers seem to make more money than employees.

Of course it depends on the kind of industry you work in. In art and writing, things seem to be pretty bad. In software development, however, the market is great. In Amsterdam for people with my experience, at least.
I agree. Freelancing has started to mean "I work for cheap rates and you can swindle me by not paying" for the last few years.
Literally not what they do, but sure, keep up the absurd lie.
I, too, have fond memories of ca 1998 web development.
By Feynman's argument, you can prove that square numbers almost certainly keep on existing.

Roughly, it goes as such:

1) the probability of N being a perfect square is proportional to 1/sqrt(N).

2) For any N_0 arbitrarily high, if you integrate from N_0 to infinity the expression (1/sqrt(N) dN), you get infinity.

3) The expression in 2) is the "Feynman equivalent" of the expected number of square numbers above N_0.

So Feynman's nonproof actually turns out to be true, despite it not being a proof in this case as well.
yeah there are a few ways to reduce the initial load time, but my point is it's valid to compare the initial load to every page in an SSR (for most use cases).
Dating apps face questions over age checks after report exposes child abuse
From the article: "Languages are often considered to supply the very framework on which our thoughts coalesce—a framework that is completely distinct in each language and gives rise to distinctive modes of thinking and expression" (emphasis mine).

It never ceases to amaze me how addicted the media is to the so-called "Sapir-Whorf hypothesis." Follow the link, and you discover that there is actually fairly narrow evidence for this claim (at least the strong version of it). Look into actual experiments on linguistic relativity, and it becomes even weaker.

That phrase "often considered" makes it sound like it's a majority view among linguists, when it's actually a quite fraught contention. It would be like saying, "panpsychism is often considered an explanation of the relationship between mind and matter." Some hold that view, but "often considered" makes it sound more like a widely held position, or even a consensus position. Which it certainly is not.
Why they require login for tutorial pages in the first place?
My understanding is that people object to this as it is a means of defining them rather than describing them. In fact, I know people who would be insulted with the use of "autistic people" as opposed to "people with autism"
So everybody here is focusing on the health angle. But what I want to know is: is this a list of the phones that will always get the best reception?
Beating the bookies with machine learning: use a custom loss function
What other mindset do you see working better?
Yes.

x and y will be a multiple of the base number.
Accessibility is a second-class citizen for a lot of clients, therefore a lot of web agencies. In my two years working in one, only once was I tasked with a fully accessibility compliant site, and that was because it was government subsidized. Clients will gladly pay to move buttons and complain about a particular shade of blue or opacity transition speed, but god forbid we deliberately put any hours towards making the site accessible. We could try all we want to talk them in, they were the ones who paid in the end, and most of them just don't give a crap.

Most of our devs were pretty thorough about doing the most they could in the given time frames anyway, but it pretty much never was made a priority.