skysight-inc/HackerNews huggingface dataset:
> Because sometimes the situation is bad for your boss too, the company is in financial straits, miscommunication, {insert other extenuating circumstances}.

So? That's the boss's problem to deal with. You owe the company absolutely nothing beyond your contracted hours in exchange for your contracted salary.

I say this as an employer.
Swedish optimizes that and leave out the "stuff", so we have "syre" and "kväve".
Why? Why do you want a degree?

Is it purely a personal satisfaction thing, prove to yourself that you can do it? If so then you probably suck it up and do the full thing.

Is it the nag that you missed something or may not be percieved as good as others in your job? Moocs are a very good way of leveling the field here, get the paid cert, get it on your linkedin, do some hard ones challenge yourself. They are literally badges of merit, but don't do the simple trendy ones, do the compilers one or some other advanced foundation CS ones (not be a data scientist in 24 hours type rubbish).
There's an interesting exchange Milton Friedman has about the inheritance of social capital https://youtu.be/hoFdVuqrMZw?t=3928
The video cuts off an interesting follow up exchange

"""FRIEDMAN: Well, the major source of inheritance is the inheritance of human qualities not of physical assets."""
https://miltonfriedman.hoover.org/friedman_images/Collection...

He talks about the inheritance of talent here
https://youtu.be/YRLAKD-Vuvk?t=650

I think in all the exchanges he makes a point about how none of it is fair, just as much as an inheritance of a negative hindrance of some kind also isn't fair. I think another person would play as, "there's no cosmic justice"
>Magic, in the unfavorable sense

This is a common first criticism. There isn’t much magic going on implementation-wise (you could probably implement a simple version of Hooks yourself in <200 lines).

The static call order is controversial. But I strongly encourage you to play with it before forming a final opinion. Pretty much everyone who loves it now hated it at first. (I’m not an exception to that.)

It’s not even as much a technical limitation (we could make arbitrary order work) as confusing semantics if you remove it (how can state be conditional?).

So static call order seems like something you’d enforce with a linter anyway. At that point the cost of allowing dynamic call order becomes not worth it. (Both in API and runtime overhead.) I wrote about it here: https://overreacted.io/react-as-a-ui-runtime/#static-use-ord...

Magic is bad when it’s confusing to use or debug. There are some challenging aspects in using Hooks (like in any programming model, there are cases made easier and cases made harder) but the static call order is not one of them in practice.

>Scope creep: if anything, I wish React focused on reducing its size and API surface.

Regarding file size, ironically, Hooks can decrease the overall app file size because function calls minify better (more things can be mangled). The implementation itself makes up for less than 4% of React.

We’re working on making it smaller — but there’s a balance between size, runtime performance and providing abstractions that help remove application and other library code (usually much more impactful). Numerous libraries that migrated to Hooks reported savings in size.

>the goals of hooks would have been better served with a separate, tiny library that doesn't need to know anything about React, and usable anywhere else, with plain functions that can be tested or reused independently.

Regarding API surface and the notion of what should and shouldn’t be in React, you might think about it differently if you think about React API from first principles.

Here’s a longread you might find interesting that talks through 90% of React on one page, including Hooks. https://overreacted.io/react-as-a-ui-runtime/

Cheers.
Ask HN: Humanitarian Programming Jobs?
Hello everyone!

Lately I have felt that I need to be doing more to "give back" to the world. I would like to see if there are software development jobs that have a more direct impact on truly helping people. There is of course volunteer work, but I would like to try pursue this in my day-to-day work.

Some examples of the kind of work I am thinking about:

- Software-controlled hydroponics and "food computers".

- Projects like freerice.com that require technical assistance.

- Creating, extending and maintaining the software systems that enable humanitarian efforts.

- Working on biology simulation to accelerate drug discovery.

Is anyone aware of any openings of this kind?
We're Done (2012)
Then the confusion was "reuse state" and "share state". Hooks in themselves do neither. Provide primitives to build reusable behaviors. Yes. Solve issues classically considered the domain of Redux. Not on their own.
Which of course makes a big difference. We are all adults. We can weight pros and cons and then make an informed decision. Not so if we don’t know all the details. This is what you’re betting on when leaving “details” like this out.
Like so many of us, I miss the days of the BBS. But I think I know precisely why I do. BBS systems and Usenet were plain-text communications which were fast and open. There wasn't much space for user tracking, analytics, etc. There just wasn't much corporate space. Yes, there were corporate BBSes and public FTPs; but by and large they couldn't pull your call log and see what you'd been up to. There was a sense of privacy - even if there was less anonymity. There was also a sense of control. This massive TCP/IP, ECMAScript/PHP, CSS+HTML Web leaves a user with no feeling of control over how they browse, what they browse, etc.

It's even worse when you know even a little about Web marketing and SEO. The manipulations employed which influence not just computers, but also users, have gotten wildly out of control. Back then, you the user had to make a deliberate choice to call into one BBS or another. You chose to interact with that specific group. Now it's all algorithmic.
I remember playing xtron in the office maybe 20 years ago.

https://screenshots.debian.net/package/xtron
I have empathy. I also have a brain, which I used to come to the conclusion that you either have self-agency and therefore you are liable to the consequences of your actions or you do not have self-agency. If a person chose to not do research, then he is liable to the consequences of his ignorance.
If you work for Alphabet, please quit or at least just sit on your hands while collecting a paycheck.
What do you define as a neighboring industry?

What Color is Your Parachute has a lot to say for job seekers looking to move into a different industry and may be worth a read.
The entry for company called "Peltarion" has UTF8 rendering issues. The description reads "... AI applications â€“ at scale and at speed â€“ with the ..."
I'm mostly surprised at finding some very well established companies here. Should Paradox really be in the scope of "startup"? They have existed for 20 years by now...
Quantum, Analog, and Fuzzy Logic - are different terms that I believe some bright person in the future will prove as describing exactly the same underlying phenomenon.

(Also, if this could be accomplished, the next step in human evolution might be proving that the entire universe is a giant Analog computer, but that's Sci-Fi at this point in time...)
Show HN: GitNews Web – Trending Repositories from GitHub, HackerNews and Reddit
Protecting Basecamp from Breached Passwords
The neurological field has grappled, over the last few decades, with an increasing understanding of the interconnectedness and pliability of the brain and the rest of the body. We've gone from categorical localization of function to neuroplasticity for example, and likewise we've seen how distinct disorders can involve a number of different physiological differences and deficits (comorbidites are rife, e.g. see atopy + neurological sensitivities). The brain is especially complex. Our grappling with the terminology around its disorders is entirely ok IMHO. It's important to not get tied down in dogmatic categorical thinking. It's also important to let people explore different treatment paths, and find what works for them. There is never going to be a canonical "cure" for depression, just as there won't be for IBS.
This is one of the few times when a Considered Harmful article deserves the title. Did you see the RISC-V assembly code? Holy shit! It's so much nicer than every other SIMD ISA I've ever used! So much easier to program, so much easier to write compilers for -- and it should also be easier for CPU designers to handle efficiently. What's not to like?
https://abaditya.com/
Started the blog in 2006 to share how-tos, interesting links, movie reviews and the like. Haven't posted there for a while though.
Sorry to hear about your friend. I swear psychiatrists are exempt from observing the Hippocratic oath.

"I need help. My life is falling apart. I'm struggling with work and school. I might have a learning disability."

"You sound depressed. Here's a prescription for some obscure variant of an SSRI not covered by your insurance."

"These meds you put me on make me feel sick."

"Let's increase your dose."

"I want to hurt other people. I want to die."

"It takes 4-6 weeks for it to take full effect."

"This just isn't working."

"Let's add another variable to the equation. Here's a second prescription. Take both and see what happens."

The experiment must continue. It always ends the same way.

I know psychiatry helps some people (especially where sedatives are involved), but for the rest of us who slip through the cracks it's just the new Nazi science.
I worked retail, later I worked in factories. I almost had my hand torn off in a machine once. I dislocated my shoulder keeping a pallet from landing on a coworker. I passed out due to exhaustion and heat unloading trucks. I had customers punch me and spit on me working at a gas station. I mopped up piss and blood and tamped down dumpsters with my own feet.

Blue collar work is brutal beyond belief and I don’t plan to go back if I can do anything to keep from doing so.
Financial interests, publish or perish, p value abuse, reproducibility crisis...you're right to be skeptical of any soft, non experimental science.
Nice list but the information and presentation seems a bit lacking.

First: it says funded not founded in 2018. I was surprised by the amounts of money and employee numbers until I noticed that I had misread that.

It would be nice to know in how many rounds the amount of money was collected, assuming that it is the total amount of funding and not valuation or revenue.
Tips to Acquire Accurate Customer Data for Your Business
Blake2 is a cryptographic hash though and for updates it's also fairly fast on most systems, comparable with SHA2, so it shouldn't be a problem.
No. When you are flying high (at the route flight level), air becomes less dense and the stall speed increases a lot (expressed in true air speed). When a flight is at its highest available flight level, the range of available speeds is very narrow.
I seriously did not know that Stockholm had so many well funded great startups. This is impressive.
I think the `useDarkMode` example is awful. Disregard it. And probably disregard this as well since I most likely don't capture what makes hooks so nice from a development perspective:

I'm currently rewriting my product's rich text editor in SlateJS and hooks and they're making customizing the editor much easier that was possible with class based components.

SlateJS has a concept of plugins that you can pass to the base editor to customize behavior. For example, I can write my own "AutoCapitalize" plugin that will auto-capitalize the first word of each sentence. Or maybe a "Highlighter" plugin that highlights certain key phrases in the text.

Some of these plugins need to read data from my store and/or call actions, and some don't. For the ones that do, I can instantiate the plugin with a hook (e.g. useHighlighterPlugin()), which nicely hides the fact that the plugin is hooked up to my data store / actions.

Why is this useful?

I have about 10 different text editors in the product, and each has a different set of plugins associated with each... I need to be able to mix and match them, reusing some the same plugins over and over.

Maybe one editor has a list of plugins: [autoCapitalizePlugin, highlightPlugin, spellcheckPlugin]

Another might have: [highlightPlugin, readOnlyPlugin].

Without hooks, to hook up these state and action dependent plugins, I would have to have higher order components wrapping each of these editors, each of these HoCs grabbing the different specific data / actions needed to make these plugins work properly, and passing this data explicitly to construct these plugins via props. Very difficult to reuse code this way.

I suppose I could write an HoC for each plugin, but then suddenly I'm wrapping my component in 10 HoCs for 10 plugins. Plus there'd be possibility for props naming collision.

It would have been impossible to both have reusability _and_ brevity without hooks.

Instead, I can just create the plugins I want declaratively using hooks:

const highlighterPlugin = useHighlighterPlugin();

const spellcheckPlugin = useSpellcheckPlugin();
Have a look at Prolog, that might expand your mind a little.
So really this isn’t a discussion about the design of Go (of which Ken Thompson was a part of) but just a chance to trash on someone you don’t like.
Ah, I also read it as founded. Lots of the companies have been around for some time now. Kry, iZettle, MatHem, Natural Cycles and Lifesum are examples many people have known or used for years now.

And wasn't Tibber Norwegian? Hmm
Is there a video of the talk? Would love to watch it. Congrats on the work, it looks great! I'm just missing more detail, since having just the slides is a bit on the dry side.
Two Years of Home Heating Data
Historically, NIST had provided transition guidance to Federal agencies circa March 2006 to begin migrating to SHA-2[1], officially deprecated SHA-1 for digital signature generation use between 2011 and 2013[2], and outright disallowed it with exception for the same circa November 2015[3].

FWIW, the memo from the horse's mouth[4]:

> To protect your security, Windows operating system updates are dual-signed using both the SHA-1 and SHA-2 hash algorithms to authenticate that updates come directly from Microsoft and were not tampered with during delivery. Due to weaknesses in the SHA-1 algorithm and to align to industry standards Microsoft will only sign Windows updates using the more secure SHA-2 algorithm exclusively.

I'd imagine orchestrating this push is a real cluster. Would be interesting hear perspective from the inside.

[1] https://csrc.nist.gov/projects/hash-functions/nist-policy-on...

[2] https://doi.org/10.6028/NIST.SP.800-131A

[3] https://doi.org/10.6028/NIST.SP.800-131Ar1

[4] https://support.microsoft.com/en-us/help/4472027/2019-sha-2-...
Who knows, maybe we’d go back to valuing face-to-face communication.
Either he's a higher up or the "engineer who installed the red button", to make a xkcd reference (I've been in that position myself - not at Amazon).
That’s incorrect. It is easy to write a program that can prove any mathematical theorem that has a finite proof. The only limitations will be speed (very, very much so) and running out of memory. The latter will always happen when the to be proven theorem is false or undecidable.

To see why that works, consider that any mathematical proof can be written in a fixed alphabet, and will be of finite length, in a proving language in which proofs can be machine-checked in finite time.

Assuming that, to prove a theorem T, loop over all strings (possible because there are countable infinite of them. An implementation will do this by increasing length of the strings), and check for each of them whether it’s a valid proof for T (an extension can check whether it’s a proof for not-T, and exit if it is)

Alternatively, to find _all_ valid theorems, loop over all strings, and check for each of them whether it’s a valid proof (that will find many, many extremely dull theorems, but assuming such theorems exist, it will find beautiful ones humans haven’t thought of, too)
VS Code – The Language Server Index Format (LSIF)
How to Start the Business of Your Dreams with This Most Innovative System
How to Make $1800 per Day Working Online Using One Ancient Marketing Secret?
I hardly think "not being pure functional" is what the op means by "magic"
Entrepreneur First “Talent Investor” Raises 115m
I've often read that Stockholm, and Sweden in general, has great work-life balance. This list seems super cool for folks who may be interested in (what I've heard is) a more relaxed lifestyle while keeping some work excitement in their lives from a startup environment. It's really interesting to see how successful Sweden has been in pushing itself as a good home for startups.

Also, is the logo on this site messed up? It just says SEEDTAB for me without the LE, like this: https://i.imgur.com/oEN7R2Q.png. Kind of an odd bug; even the actual .svg file it links to appears like that for me (https://www.seedtable.com/img/logo.svg). I would've thought it was intentional if not for the sliver of what appears to be an L at the right end.
The dollar value seem to have been generated by random
How I Took the Decision to Dropout of College
Sorry to hear this, I never know what to say in these situations but I wish you and your family the best.
> with clever use of nesting

I don't think CSS Nesting Level 3 is implemented anywhere (it only really got added last year [1]). And there are still ongoing discussions around it (e.g. media-queries [2]).

> But maybe I should check out SCSS?

Definitely, yes. There are quite a few things that would be wonderful to see in CSS:

- better, less verbose syntax for variables

- mixins and extends

- nesting

... I forget what else, as I haven't done frontend work in a while :)

[1] https://github.com/w3c/csswg-drafts/issues/2701#issuecomment...

[2] https://github.com/tabatkins/specs/issues/56
Cancer treatment outcome is unpredictable, some patients with a good prognosis die from the disease or treatment complications and some patients with extremely bad prognosis eventually get cured. The science is unable to track exact reasons so we may suppose that certain brain activity may produce hormones or mediators that play a role in success or failure of treatment. So staying strong and in a fighting mood and perceiving your treatment as a fight may be important. Or may not. But still it is so much important from the existential point of view, to not go quietly.
Is there a way to filter or find out which support remote work without manually going through them all?
The first year I was able to access the Internet was 1989. Before that it was BBS only. But one BBS I accessed was connected to a university network and provided access to Usenet newsgroups that way.
That's getting close to conspiracy territory
I was initially resistant to a lot of react, for example, jsx. However as a backend dev (functional) I was very pleased when I could dive into react code and reliably implement features as needed.
I started playing maybe 2 weeks after launch on pc, there weren't that many players. And I'd be running around looking for a titan and some solo pilot would be flying through the air parkouring and one shot no scope me. I wouldn't even see them. After about 30 minutes of getting murdered like that I just stopped playing. Luckily I didn't pay for the game. So yeah no real onboarding, people were way too good.
It's funny that you write are if they're separate companies.
It was more a "oh, this is a cool idea [to me, at this instant]".

Particularly I like that it sent me in to thinking of an alien life form that could, maybe like ants, construct a large scale "artefact" - like a solar sail - that we would recognise as being wrought by intelligent life but would actually be the result of some sub-intelligent life form.

I like Fritjof Capra's rendition of Gaia hypothesis (as an idea), but had never really extended the idea of self-ordering, or complex-ordering, to how we might interact with alien constructions.

>In picking this semantic nit, you've completely ignored ...//

Just my reaction to it.
Agreed, of course we need definition to discuss, and indeed we should be fluent about them. This is difficult to explain to a child or indeed to some adults.
I am lucky enough to have lived and worked in tech in Stockholm for a little more than six years now. I originally moved here specifically for the game development industry and it is so nice to see it (along with tech companies in general) continue to grow and evolve here. As an employee there is a vast array of employer options and coupled with the work-life balance for me it's pretty much the perfect place to live and work (if one can handle the winter, of course).
I remember working at a contract years ago where I was completely superfluous. I think I'd been brought on to use up budget. I remember cornering co-workers and pleading for work. The pay was good, but I could feel my brain rotting. I stayed for a few months but left as soon as I could.

I think you should map out a departure plan, unless you can launch your startup on the side. In my experience, if you have a certain amount of money, then a sense of purpose becomes very valuable for personal satisfaction (whereas if you don't have much money, getting money can provide that sense).
>given FB doesn't use promises in their internal apps for the most part, I don't see them likely to put in much work solving these problems unfortunately.

This is inaccurate.

The first problem has an issue tracking it (https://github.com/facebook/react/issues/14769) and even a pull request (https://github.com/facebook/react/pull/14853). It’s barely been two weeks since the first release and we’ve been focusing on fixing actual bugs as soon as possible. As I hope you can understand, warnings in tests are a bit less critical and can wait behind production bugs. But we’ll get back to fixing the warnings as soon as possible — maybe even this week.

As for isMounted-like flag. This has nothing to do with Hooks. Classes need exactly the same thing. If you forget it, you’ll likely have both the same kind of warning, and possible race conditions from requests arriving out of order. In longer term we’ll offer a much simpler data fetching integration (read about Suspense) which doesn’t involve effects or lifecycles at all. I think you’ll like it.
And there I was feeling weird having to manage 2 time trackers at work.
JIJO - jihad in, jihad out?
It is tempting to stare at the map when the territory is obscured by the fog of war. The rigor of the SCID very much hides the fact that several places on the territory have similar features but are miles apart. And then every observer loves certain places and hates working in others.

As bad as the state of diagnosis is (some say >50% for certain conditions) there is no way around a diagnosis for treatment as one needs to make decisions and these need to be based in whatever tenuous grasp one has on reality. At this point imho. we can only try to make sure all sources of bias, tendency to defend previous decisions, treatment capacity and financial considerations (diagnosis is key to insurance payments) are as far isolated from decision making as possible. There is lots to be done. SCID is only the symptom.
I apologize for this self-serving comment, but I consider it at least potentially relevant for anyone who reads this thread:

I'm publishing a weekly curated newsletter about the Swedish tech scene:
http://swedishtechweekly.com

Brief and straight to the point. Spend 3 minutes a week and you know everything that's going on in tech Sweden.
http://www.mooreds.com/wordpress/

Been blogging for over 15 years.