skysight-inc/HackerNews huggingface dataset:
Imho that's too fine-grained. Usually you determine which variables don't need strict accuracy rather than which code, so that's better controlled through types. Also, it's easy to limit approximations to code blocks by casting to/from approximate types around a code block so you can still have fine grained control.
I am not parent comment's author, but I use TS on the backend and I did look into ReasonML.
I love most of Reason's syntax and FP in general, but unfortunately, reason/bucklescript ecosystem just isn't mature enough for a serious project. I'd recommend against using it unless you are in some megacorp and you can afford to build general-purpose tooling.
The Outer Space Treaty does not ban weapons in space or the militarization of space it banned stationing WMD’s (as defined in the treaty) in space.

It was designed to prevent the nuclear powers form parking their nukes in space because that would reduce the warning time to the point where MAD might break as a first strike without a chance of retaliation could then be possible.
It's primarly a matter of taste, but I suppose that if you use only libraries instead of a framework: you will end up copy/pasting the same boilerplate to tie each library from one another over every project.

You could make a library that standardizes a library format and take care of that boilerplate, then you can focus on what makes your project different, but that's not very different from a framework is it ?
Ignoring call for violence against kids among others, do you really think you'll be able to reach them in their bunkers and islands?
Why do you think writing so many words per minute (170) is a gift?

We have autocomplete for writing code that is likely more of a speed improvement than cramming out "words".

I would think it gets to a point where wpm doesn't matter since you've likely to stop and think about the logic etc.

I can see how it would help for emails and more generally.
AC has the unfortunate side effect of accelerating climate change.
I love how it is normal to threaten death to anyone who doesn't believe in this crazy climate nonsense, but HN bans anyone who points out that the actual raw data shows climate hysteria is entirely unfounded.
New HP 15.6“ HD Touchscreen Laptop Intel Core I3-1005G1 8GB DDR4
Google told me I should try doing some open source projects.

I had about a hundred thousand lines in a major open source project at the time.
PC games are fighting a new surge of cheaters and hackers
Yes, the main issue is not the language its the Revel at which it operates (text vs tokens or ast)
What I wouldn't mind is more widespread adoption of other preprocessing steps, in whatever language, be it scheme or python.
Law and medicine are very competitive fields, with a higher representation of women. And tech/CS has not always been as competitive as it perhaps is today. Hence Damore's argument is somewhat subtler than this, and focuses on diverging interests that lead to having fewer women in the pipeline to begin with. Some people point to the boom in videogames and home computers throughout the 1970s and 1980s as a reason why this divergence was not apparent earlier.
Show HN: Unified Readable Pointers for AVR Microcontrollers
At my previous job GraphQL was considered because the frontend team was poorly served by the API exposed by the backend team. Everything was available, but the frontend needed to join, filter, sort and and adapt it in all kinds of ways for different UI. The backend team was too busy to provide the same data in different shapes, so the frontend had to do this manually. Of course they wrote their own code to do this all the time, but what they would rather have spent their time on was UX and business logic.
Clearview AI Has Promised to Cancel All Relationships with Private Companies
Whenever I read about people's interview experience with Google it sure sounds more stressful than my actual day job. I understand investing the time when youre a new grad, but I have no idea how already employed people find the time to prepare for these interviews …
Scaling an Engineering Team from Zero to Infinity
24/7 availability was mentioned several times.

Does this mean it's possible to have a satellite in geostationary orbit that is never eclipsed by the Earth? Or does it mean you have more than one satellite serving a power receiver?
What raw data?
You might want to look up "Joy's Law".
Thanks for the link. I had never looked into it but had always just assumed it was fiction in the first place.
Researchers engineer photosynthetic bacteria to produce hydrogen
Would be nice to allow it in gcc/clang in a standard way to access the parse tree. In C even maybe ?
You do realize the alternative is megadeath, right?
Almost into passable frame rate territory. Next version could be business card VR:)
Learn how to design and build large scale distributed systems
That is what everyone means when they say "run out of oil". Read it as "run out of oil worth extracting". We're obviously not going to spend 2 TJ of energy to extract oil that contains 1 TJ of energy.
We are terraforming our planet. Into one that's not suitable for us.
I have no doubts that _some_ people working at Google are top of their field. But that hardly applies to all of their workforce...
The preprocessor is fine if you use it as intended: simple text replacement and conditional compilation. Just don't use it for anything where code generation or generic programming is better suited.
>In addition, it could allow satellites to provide reliable power anywhere on the planet or even to spacecraft or other satellites in orbit.

Aka laser ASAT platform. Seems like one of those read between the lines Space Force press releases. References to laser beam UAV kills, original research by Revolutionary Munitions Directorate etc. All the remote power through atmosphere interference sounds pretty fanciful TBH, whereas crippling adversary satellites using beam energy instead of kinetic impactors (=space debris) seems like the most parsimonious application.
Turn the tables on who? The ones threatening death on poor people all the time are the ones threatening death on poor people now.
I guess I should weigh in with my experience in this area, as author of both libraries and frameworks, in a lot of different domains, over a number of years.

I feel that it depends on what needs to be done.

For the most part, I prefer writing fairly atomic libraries. I like to use a “LEGO Block” approach, and [relatively] small, focused, modules are ideal for this.

I like each module to have an independent project identity and lifecycle. Makes for much higher quality and usefulness.

Sometimes, though, I need a really fundamental infrastructure. In that scenario, a framework is the best approach. In a lot of cases, we may have considerable control over the implementation of the framework, so that resolves a number of the downsides (like prediction of how it will be employed).

I’ve written a number of frameworks. It’s a huge PItA, and I avoid it, if at all possible. It is my experience that the biggest pain point is quality. I find that proper testing of a large infrastructure is damn near impossible.

If anyone has ever looked at my library (and framework) projects, they will see that my testing code (often harness, as opposed to unit - https://medium.com/chrismarshallny/testing-harness-vs-unit-4...) tends to dwarf the actual CoT.

I consider writing a framework to be the “nuclear option,” to be only employed when nothing else will do. Even then, my frameworks tend to be layered affairs, with coupling between layers as loose as possible.

Writing any reusable software module is like having a child. I can’t just walk away from it when I get bored.

A framework is a huge responsibility. Once it is written and out there, I need to take care of it, in all its contexts, and for all its life. It is a lot easier to deprecate a small module, than a large infrastructure.

The same goes for libraries, but the scope of a library is a great deal more manageable and flexible than a framework. I find flexibility to be a crucial aspect of long-term software (I have written software that has lasted decades).

When I design software, I am constantly looking to the future. It’s become force of habit, and, as Niels Bohr once said: ”Prediction is very difficult, especially about the future.” The less control I exert on the future, the better.

If I can accomplish the same job as a framework with a set of independent modules, even if it is more work to do the modules, that’s what I do. A framework is a big, fat atomic blob that tends to age badly (in my experience).

However, I am obsessed with quality; which is not always an acceptable posture in today’s fast-paced, competitive workplace.

Engineering, at its most fundamental level, is always about finding the most practical approach.

http://www.solipsys.co.uk/new/TheParableOfTheToaster.html
Well, when you work at Google, at least you must have passed that kind of an interview at one point - which is something I'm fairly certain I wouldn't be able to do.
Over the past ~half year I gradually established a workflow consisting of a simple directory structure, a handful of bash-aliases and chromium profiles. It looks like this:

Each project gets its own directory somewhere in my $home with some subdirs. There might be various others specific to the project-domain, but these are the most common:

• notes/ contains plaintext files of everything i write down. File-name structure is <date-str>:<note-type>, e.g. 2020-05-09:call (:call are the most typical ones). As others have also suggested, I take a lot of notes for record keeping & plannning purposes.

• workspace/ contains all source code repositories, or other files necessary to work. Pretty much anything I might touch while coding.

• auth/ for things like ssh public keys used on the project

• downloads/ Project-specific downloads.

Then I create new entries in my ~/.bash_aliases that "get me" right into the coding-env of a project. Say I work on a python project, I might have an alias that looks sth like:

alias fb='cd ~/fooproject/workspace/foobot && echo "loading virtualenv..." && source .venv/bin/activate';

On of my current side-projects is a full-stack clojure(-script) app with these aliases:

alias foh='cd ~/opendecks/workspace/foh';
alias fohj='cd ~/opendecks/workspace/foh/src/clj/opendecks/foh';
alias fohs='cd ~/opendecks/workspace/foh/src/cljs/opendecks/foh';

First one gets me into the the source-root of the project, the other two into respective sub-paths for back- and front-end. These aliases allow me to immedeiatly "jump into a project" from any open terminal.

Lastly, I started employing chrome/chromium's user-profiles to seperate browsing for each project. This isolates work-related browsing from my personal activity (cookies, logins, passwords etc), and provides a nice cognitive barrier against procrastination. I'm not logged into any social networks on those work-profiles and switching to my private profile to browse facebook is a more concious act than opening a new tab in the current window. Each browser profile is set-up to save all downloads to the project-specific `./downloads` directory, again not to mingle (potentially confidential) resources.

I haven't automated any of the above steps, because it's so simple and takes me at most 10-15 mins to create a new instance. This has worked really well for me so far, because it clearly seperates almost all resources associated to a project, while being friction-less in tooling/switching between workspaces (versus e.g. waiting for a VM or docker instance to start). Another nice side-effect is that I can easily archive or clean-up past projects.
Alphabet’s Sidewalk Labs scraps its ambitious Toronto project
Google employs the very elite of the elite.

I feel a little sorry for Google's developers. They're told they're brilliant but asked to write software to deliver adverts and track people. They could literally be curing cancer and putting people on Mars if they wanted, and yet they sit in Mountain View working out new things to do with the data about what I clicked on today. It's a huge waste of talent.
The latter. This is discussed later in the article.
> The main thing being the meaning of having dependencies for useEffect and other hooks.

This is 100% a result of how react (ab)uses the host language semantics to implement their DSL to describe components and has nothing to do with the conceptual nature of functional components themselves.

It relatively easy to imagine a design that doesn’t require the dependency lists when capturing a callback closing over props or state.

Not saying that design would be better or worse, just that it could exist and still leverage concepts like FCs, hooks, effects etc.
> "Remember that war 50 years ago which had massive cultural & social impact? This is just as big!" - but implying the Vietnam war's impact was based on American bodycount is just wrong at best and appalling at worst.

But the impact of the Vietnam war on the US was primarily due to the number of casualties, wasn't it?

I mean, you wouldn't see many protests if the US government was sending college kids to southeast Asia to chill and soak in the sun, wouldn't you? Their sons arriving dead or maimed had something to do with it.
The data used to compile HadCRUT4.
It's pretty indisputable that the industry has a penchant for interviewing problems/techniques that are deliberately unrealistic.

Whiteboarding interviews aren't about a lack of time in interviews, for instance, theyre an homage to the academic background of many of the initial internet trailblazers (google, et al).
Bencode_rs: Simple and Minimal Bencode Parser
I’m grateful AC are frowned upon in Europe. Putting a band-aid by consuming even more energy is insane in large scale, with the perverse effect of hiding the problem and delaying awareness.
Static Analysis in C++
This would also have a great application for commercial flights. It would be also a bit easier if energy would be sent only above clouds.
"Conlang" for a constructed language (Esperanto, Klingon, Dothraki) has been around for about 30 years.

I think the confusing part here isn't the informal abbreviation, it's the general concept that a programming language made to be intentionally inefficient/confusing/hard is "esoteric".
You're not making any sense. How is people who threaten to kill poor people, continuing to threaten to kill poor people, turning the tables? I don't want to turn the tables, I don't want to threaten climate hysterics, I just want them to stop being evil.
https://climate.nasa.gov/news/2943/study-confirms-climate-mo...

Unless you believe that NASA are in on the whole conspiracy because of, um, some reason I can't even fathom...
Sure, but let's be honest here: nobody cared. I know I didn't care, and my neighbors and friends didn't care. And we are the ones voting for people to govern our country.

Nobody cares until shit hits the fan.

And the above theory complies with practice. If you look at the countries that were able to properly handle Covid19, they had similar cases before. The people over there were already wearing masks. Not because they are smarter, but they were just always closes to the action.

I know myself (=male ;)): I don't learn from somebody telling me something. I learn by hitting my head against the wall, and then say "hey this person was right, let's avoid doing that". The rest of the world seems to have the same strategy.

Just my observation.

But you are right that other people looked into it, but I just have the impression that most of us really didn't care (including myself)
Apologies for the delayed response: your comment did get me athinkin’.

> He does know his weaknesses and it seems like he defers to his VPs

I reckon, if I ever find myself in the unfortunate position of being in charge of anything that might matter to people in a significant way, either financially or personally, that’d probably be a reasonable way to go about things: defer to your advisors and direct reports.

I mean: that is why they are fucking there.

At the extremes there are outliers who happen to have been in the right place at the right time to have either been a visionary, or a massive cunt, and succeeded.

But, on average, the average leader is fairly fucking average, and would, on average, make better decisions by allowing other, more well-informed, people make decisions for them.

Perhaps. Maybe. Some of the time.
This is something this tool can be useful for: a lower bound estimate. But as side businesses bear uncertainties, a risk averse person should probably charge more than the given estimate.
Incredible how we react when we might die in 2 weeks instead of 50 years...

But the lockdown also shows the problems of shutting down the economy; in developing nations day wagers are starving and dying. In developed nations frothing-in-the-mouth idiots are protesting with their semi-auto weapons.
I dont understand the example given for _mm256_add_pd.
In the domino example, it shows some parts where 1+2 gives 4 ? What dont I understand ?

Edit: ok I understand now. Not deleting the comment just in case someone is also wondering : there are 4 values with the total points in the domino being considered. So you must co side the total number of dots in each of the 4 dominos. The choice here is a bit unfortunate, it would have been clearer to say ymm0(2,3,2,5) + ymm1(3,2,5,2) -> ymm2 (5,5,8,8) in a table.
"it will help with your own sanity"

Writing unclosed/out-of-order tag soup is extra work, not less work.

What a weird hill to die on.
This is a great discovery!
Decorators and AOP are very similar concepts in my opinion then, if you prefer.
If you are a healthy adult, COVID-19 is barely more lethal than the Flu, so what is the concern here?
Your apologism for your self-appointed master-race would be more credible if you could spell "intellectual".
Anxiety is a rational response to the uncertain times we live in. [video]
I'm not going to defend this style of interviewing, but I think it's useful to have tests which filter out people who cannot program at all. If you do any hiring you'll know that a surprising proportion of interviewees who make it to an on-site interview for software positions simply know nothing about the subject. When I did interviews at my start-up we'd have a Linux machine connected to a projector for interviewees to use (this is for Linux programmer and sysadmin positions), and a small but significant proportion of the candidates had no idea what to type into the terminal to list files, or what an absolutely trivial program (like loop to 10 printing numbers) did.
Ask HN: Why Hiring Is Broken?
We know hiring is broken.

We know recruiters/HR always have unconscious bias on name, typo, keywords, CV format etc. We know recruiters always don'y response to replies.

But fundamentally what creates these problems? Why we are not looking into whether a candidate can create a great product for the company, but whether they can sell themselves with nonsense keywords?
> Given that communism actually won in Vietnam, we don't even have to work with hypotheticals. There were certainly deaths but nothing to the level of the death toll American military power exacted on the populace.

Have you ever heard of the Khmer rouge in Cambodja, and how north Vietnam played a fundamental role establishing it?
StopTheJeff
I don't know if you are running your own business, but it's just so hard to take into account all kinds of possible risks. It's just impossible to work like that. Most of the time you gamble which resources to put where. Else you end up in analysis paralysis.
As far as I've seen, this is only routine in the USA. Everywhere else, people would go to their GP for this sort of thing.
It's already possible by viewing your Twitch chat via an IRC client with certain IRCv3 capabilities requested. It's not actually that useful, though; sometimes users can be chatting away but there's no record of their presence either via a JOIN message or their name in the user list because these are cached rather than shown in real time.
Use Makefile, Readme and .env files more effectively (mainly to avoid WTF moments when you don’t remember why you did something when you did it).

I am not good at remembering commands particularly when you have to deal 10 different technologies (Kubernetes, Docker, Framework specific stuff) so create some standard wrapper functions as make shortcuts and document them in Readme.
Agent-Based Model for Covid-19 Masking
If you want the name of a variable in eg. an assert you need the # operator unless you require the programmer to manually write the name as a string.
The requirement was the other way around, that the source can be grepped for an error message and the result be meaningful.
Agree with you
> This story [school boys stranded on Island] never happened. An English schoolmaster, William Golding, made up this story in 1951 – his novel Lord of the Flies would sell tens of millions of copies, be translated into more than 30 languages and hailed as one of the classics of the 20th century. In hindsight, the secret to the book’s success is clear. Golding had a masterful ability to portray the darkest depths of mankind. Of course, he had the zeitgeist of the 1960s on his side, when a new generation was questioning its parents about the atrocities of the second world war. Had Auschwitz been an anomaly, they wanted to know, or is there a Nazi hiding in each of us?

> Media historians even credit [Golding] as being the unwitting originator of one of the most popular entertainment genres on television today: reality TV. “I read and reread Lord of the Flies ,” divulged the creator of hit series Survivor in an interview.

Fascinating insights. Basically it's just a projection of our fears, but the consequences of this are far-reaching to this day.
My interview process for SRE in Dublin in 2012 went pretty much exactly the same (procedure-wise - content was different though), and passing the on-site interview felt hard enough that I'm kinda proud of it to this day... But I also had to agree to not ever talk about the questions presented, in case I ever wanted to work for them.

Now I wonder if that provision was alreay in place when that article was written initially, and the author just doesn't and didn't care - or if it had to be installed after such articles started popping up, and Google engineers and recruiters felt like running out of questions people couldn't prepare for :)
If you're using the Creator Dashboard, click on the numbers and they change to -- symbols.
Consider also the scenario where A reports symptoms on day n. They have logged contacts with 10 people on day n-2, 10 people on day n-3, etc.

With the NHSX design, you might warn back to n-6 but might be able to determine that the riskiest cohorts are n-3 onwards. Since symptom onset distribution can be modeled, if by day n+3, not a single person in the n-6 and n-5 cohorts have developed symptoms (and maybe you've managed to get a -ve PCR from two n-5s - the fact that you have the contact graph means that you can use that data to adjust your risk score for all the others) you've now got a really good case for letting the n-5 and n-6 cohorts out. These models will be refined over time as well with new data. The presence of a central system which has some of this information lets you extrapolate from limited information.

If you have infinite PCR tests and can logistically get them to potentially infected people very quickly, get them back to a lab, and get them tested then maybe this doesn't matter but not even South Korea's capabilities are infinite and there is no way the UK would be able to test all those people rapidly.
How do you imagine that working in practice? I mean I'm not saying the current structure is perfect, but if everyone had equal claim to land it seems like land usage disputes would just end up being resolved through violence
Have a user account just for streaming. Then you can block any sites that you don't want shown.