skysight-inc/HackerNews huggingface dataset:
Is this bit of code considered kosher javascript?

{[path]: payload}

I don't think I have seen this before... it looks like a short cut to get a dynamic key. I can't decide whether I like it or hate it. It is new to me, and it seems like typescript won't understand it. You will also have a bad time if path === 'constructor'.
I really disagree with this viewpoint. Patterns are just patterns. It doesn't matter if your language is able to express the pattern in a reusable form or not. The whole point of a pattern is that it is a common solution to a class of problems given a set of circumstances. Even if you have a "super awesome pattern" widget that you can use, you still need to know whether or not that pattern is appropriate for the problem you have and the circumstances in which the problem is expressing itself. Even beyond that, most programmers will be dealing with many more than one programming language in their lifetime. Learning well known design patterns is about understanding the abstractions, the problems and the circumstances so that when you are faced with a similar situation in another language you can efficiently see if there are capabilities that will help you out.

Basically, consider the situation where you say, "Here's how I do X in this language. How would I do a similar thing in that language"? A design pattern gives you a name that you can use instead of "X". It also gives you a context where you can realise, this pattern is appropriate in here, but not appropriate there. When you talk to people you can simply say, "Can I easily implement a functor here? If not, how can I get similar utility in the same circumstances? Are there any caveats that are different than the normal ones?" It seriously speeds up the conversation. It also allows one to think about programming more generally rather than thinking of it only in terms of a specific programming language.

Edit: grammar
The hierarchy can get super regimented in a lot of medicine -- university labs, especially hospitals, etc. Think med student / resident / intern / fellow / attendings / chief / etc., and nurses / nurse practitioners running on the side. My wife (md/phd fellow) currently works ~6 days a week, ~7a-7p, and with constant dangers of patients dying, being sued, and over-worked colleagues flipping out. Imagine everyone is on ops: everything is permanently on fire, you spend the morning learning about the latest fires, legal issues surrounding almost every action you take & hand-off, and getting waked up at night to deal with whatever went wrong with the day's plan.

Startups, and especially big tech, are relatively easy. More money etc., but no imminent risk of say death or infection.
Short-term performance, which can often warp long-term incentives
They still support it, it’s just not the default any longer for drives that report the capability.
Actually look at the data. Climate change will cause significant harm, but even in the worst plausible scenarios it's not anywhere close to the end of humanity or of technological civilization. If you're in the first world, you'll almost certainly be fine.
Because the benchmark went up.
I mean, it's literally the replacement population. 2 parents die, 2 children remain.
How would hydrogen make more sense?
What Successful Second-Time Founders Do Differently
Well being a Napoleon is not something most can do. You must have more skill than pretty much any of your superiors and co-workers but that is only the initial bit. You must then have the charisma to prove everyone wrong (and make them have confidence your plans are better) while making them like you for it.
Yup, I haven't checked a bag in a decade and have been consistently baffled by my friends that do; this decade was roughly my 20s, so it excludes a lot of the good reasons for checked bags like physical limitations or young children). Who wants to deal with checkin lines upon boarding (and get to the airport that much earlier), then get off of an international flight and wait an arbitrarily long time for your bags, with an unreasonably high chance of them having been lost?
But you get to choose who to trust and who not to. If you dont trust "3rd party app store" then dont use it. The whole point of monopoly (or monopsoly) powers and why they are bad isnt because of now, its because of tomorrow. You buy a device, fully trusting apple. Its your device, you own it, you trust apple.
Tomorrow, you find out that company-you-dont-trust is a partner with apple, and the entire app store is potentially compromised because of it (according to your values). You now have no option to change you are stuck. Forced into their system which you no longer want. They changed and you dont have another option.
Decent editor does that now. I'm using atom on daily basis and it's helping me with that. VScode and intellij does the same
Here in Hong Kong that’s pretty common too, I’m still super surprised people actually do this without fear. I regularly work in coffee shops, but when I need to use the bathroom I always take all my stuff with me.
Two is slightly below replacement rate so will result in a steadily decreasing population which would solve many environmental issues but itself.
I feel sorry for the person who has to wait with my two year old after I get off.
Sad they for these people, for Mozilla and for the whole web. Hope Mozilla's fortune turns.
I wish their site said more.
It's true that hierarchy is bad, but I don't see why it was necessary to spend 1500 words in saying so.

He also misses something big: your relationship with your boss is more important than the shape of your organization. A good boss can shield you from official weirdness, even in an organization 20 layers deep. A bad boss can turn any working arrangement toxic very quickly, even in a company completely devoid of hierarchy.
Hybrid discs were common back in the CD-ROM era for games and multimedia discs. There'd be an ISO partition for PC executable installer and a Mac partition for the Mac version, and both partitions would have have pointers into a single copy of the large game data/video files that there wouldn't have been space to have 2 copies of on the disc.

https://en.wikipedia.org/wiki/Hybrid_disc
Yes, it creates an object with key as the value of path and value the value of payload. If path=1, payload=2, this call would make the object {‘1’: 2 }
Could be, but it's awfully hard to say. What would have been cut to make room for embedding work, and what would the impact of cutting it have been? Did we know enough at that time to make a good decision about that?

Given that the embedding API would have had to change dramatically due to e10s pretty soon after 2010 (and maybe again due to Fission), I think 2010 was probably a bad time to promote a stable embedding API.

Embedding doesn't rank high on my list of Mozilla's mistakes.
Except the people who checked luggage are going to end up waiting at the luggage pick up anyway.
Attkinsson's complaint against Rob Rosenstein for hacking her computer
I can't remember if it was a Vice or BBC documentary but it was about how basically the poor nobody sees live. I mean the most prominent thing they mentioned was how Kim Jong Un inherited a functionalist government that didn't exist with his predecessors. Also a lot of people stand up to police or even fight back even though the cops could very well throw them in jail. The cops don't because often times a crowd of, essentially peasants, will show up not caring if they go to. So the cop realizes getting beaten up and mugged is not worth this.

I feel like if Kim Jong Un dies in the next 10 years and he doesn't have a designated successor, it'll turn into a Junta like Thailand or possibly even ones like Argentina or Portugal where they end up reuniting with South Korea.
The fact we label those "Robber Baron's", but not today's ones as such, speaks a lot.
Ha, I didn't notice that. But I've heard it before on the K list. I think it is more of a backronym than a serious statement. This is a guy who names his source files a.c, b.c, c.c, ..., z.c.

I'm unsure why Ken Iverson named the J language that though.
Forming Accountability and Advice Group
Looking for 4-8 companies wanting to participate in accountablity sessions weekly.

We will share our metrics/obstacle/one-liner and goal on a google docs or facebook group and everyone has to give each other feedback or suggestions :)

I found with Y combinator it doesn't really help when you don't get advice on how to overcome certain obstacles or if we are moving in the right direction.
Often the "personal item" is another suitcase. If given the position of power, I would decree that if your carry-on or personal item has wheels on it, it's not a carry on and must be checked.
> The likelihood of failure is much lower with an eVTOL than a conventional helicopter.

You're basing this on a myriad of assumptions as eVTOL designs are barely at the prototype stage right now. Helicopters have been in use for decades, so we know how safe they are.

If they truly prove to be safer then that's awesome, but based on everything I've seen I don't believe that to be true.
Igalia are hiring for WebKit and related work:

https://www.igalia.com/jobs/
Doesn't the functionality for that in most editors leverage typescript typings, so that it's not really independent of typescript?
I was at Mozilla for a while and it was a two-class system. The execs flew first class, stayed in fancy hotels, and had very expensive dinners and retreats - sometimes in the high five-figures. This is not even included in comp. One time, the CFO sent out a missive urging everyone to stay in AirBnB to save money and the execs (literally the following week) booked $500/night rooms at a hotel in NYC. I think the moment that made it clear as day was during a trip to Hawaii for the company all hands. The plane was a 737 so you had to walk past first class. These all hands are a huge deal for families - many were struggling down the aisle, carrying booster seats, etc. And they were passing two of the C-levels sitting in giant first-class seats sipping tropical cocktails. The rule in the military is that men eat first, officers last. Mozilla has always reversed that rule and the result was a pretty toxic culture, all around.
Awesome post! HN has also helped me a tremendous amount over the years. Good luck on your new job!
One of his main points is that value is based on fundamentals and good companies can be bad investments if there is not additional value to be uncovered. This is sound advice but I think the definition of sound fundamentals is changing. The lens through which we value companies probably always needs to evolve as the global market evolves and I think this makes identifying “good bets” more challenging.
I don't have links, but I have some advice that may be contrary to what a CS major might say. I recommend against a CS-first approach. Focus on theoretical fundamentals. Take "DFT" and "FFT" out of your lexicon -- those are not important right now. Forget about the the D and the P in DSP. Focus on the S: signals. Signals are just waves. Understand the mathematical basics of waves -- bonus points if you study differential equations whose solutions are waves.

Once you're pretty confident with your understanding of wave math, next focus on linear algebra. Linear algebra sounds like a strange requirement for understanding signals, but it actually is fundamental. Fourier series should then just "click" for you -- a Fourier transform is basically a change of basis in a vector space.

Bonus points if you learn about infinite-dimensional vector spaces, what Dirac delta functions are and what they mean. For example, why is it that a delta function has infinite spectral energy? Either you have no idea, or you find the answer obvious. There is no in between. Good DSP folks can answer theoretical questions like this without thinking. Once you understand how to think about waves in the time basis and the frequency basis, you will be well equipped to understand pretty much everything in DSP.
Android is open source in the same way that Chrome is. That is to say, not.
All of this would raise more alarm if the climate had been steady for millions of years before this. As it stands, the Earth's climate has always been changing: geologically speaking, the last Ice Age wasn't that long ago, so of course the temperatures are going to get higher...
I used to always fly southwest out of Burbank, and they exit from the front and back. I would always board late and go to the back, and be the first one out. I got pissed when they started telling people during boarding about how they exit at our destination, and more people sat in back.
According to this article the common shares were worth ~$120 in 2019. Preferred will be different from common, but this would mean the investors saw no gains from 2015 to 2019.

Either some info is incorrect somewhere, or there was some split or valuation indeed didn't change much in 4 years.

https://www.vox.com/2019/3/19/18272274/airbnb-valuation-comm...
> While passengers all have reserved seats

Southwest doesn't resemble that, heh.

I mentioned that to an Indonesian person (you know, where all the airliner accidents happen), and they puzzled over that for a minutes and said, "So ... like a bus?" :)
Solving Climate Change with a Loan
Surveys are very scientific.
It's Signal.
Shot me an email at julien at serpapi.com.
Honestly I think the same way about that too, but there is just far too much video evidence against North Korea to suggest that these people are lying. Being well off in North Korea does have it's perks, but being essentially what is their middle class equivalent still is terrible. These people usually end up in Millgram experiments basically where they HAVE to do things they morally do not want to but cannot refuse because they'll lose their financial status and be stripped of their position or thrown in a camp.

Anything said about NK is not an exaggeration. So much so that South Korea has a television station dedicated to defectors who make shows themselves and produce loads of content exclusively for helping defectors acclimate to the culture as well as smuggling efforts to let them know it's better on the other side. Many of them as well are volunteers.
> If I see this $10,000 watch and then look at my watch, which I probably paid about $150 for, I might think, “Maybe there’s something wrong with me.”

That entire paragraph made me really sad and the quote is probably the saddest part. People actually think like this, and it’s unclear what, if anything, can be done to help.
Is that a common practice recently (or maybe a practice I missed entirely)? Las time I used webpack (for example), we were still creating a minified css file that was meant to be linked in index.html, but I haven't done frontend in a while.
If an aircraft can’t glide or autorotate then I don’t understand how it can be safe at low altitudes. Because whole plane parachutes (BRS) have a minimum altitude required to open successfully, and that altitude is a lot higher than anyone would care to drop.

Airplanes have energy from their forward motion. Helicopters have energy in their rotor blades. This energy can be used to soften a crash landing. Without this available energy, and without a parachute, then how do you soften a crash and survive?

People say that electric motors are so reliable... But batteries can spontaneously combust.

I would like to know how these aircraft are safe enough to be treated the same as a taxi ride.
>a massive and painful collapse in standard of living

If it's a single-minded focus that fails to look at the issue holistically, I agree. As in, if the approach is simply 'everything that produces CO2 is now verboten', that will likely bring us to the result you describe.

But I'm not convinced that's the only feasible approach - As you allude to there are many alternative viewpoints on how our existing political, economic and social norms might be modified to reduce consumption and waste, without throwing out the baby with the bath water. But, they require shifts away from the current track and that’s not likely until the crisis intensifies. By which time, it may be too late to make meaningful change with the benefit of stability.

But therein lies the crux of the challenge - with a 30-year lag between emissions and effects, How do you secure the buy-in for meaningful wide-reaching change ahead of those impacts being felt?
> is typescript simply popular as it's kinda statically typed?

Isn't that the overt main point of TS, hence the name?
> adicity(?) of operators

You will often hear it referred to as the valence of the operator or function from APL people (don't forget niladic too).

Other CS people will call it the arity.
> In the functional programming paradigm what is the quantify-able metric that makes it definitively better?

It seems extremely unlikely that you'll ever find a satisfactory answer to this, because any advantage a programming language paradigm gives you is either going to be in terms of programming language theory (which you rejected up-thread), or in terms of developer experience and productivity (whatever _that_ means). However, any rigorous study of those latter categories is likely going to be seriously confounded by their variability due to things which are _not_ related to language paradigm, such as organizational concerns, the language's tooling and ecosystem, the problem domain, the skill and experience of individual developers, &c &c. None of these things is straightforward to control for, and I'd be extremely skeptical of any quantifiable metric someone shows me that purports to show clear wins in real-world software development based on language paradigm of all things.
The doctors they're probably working in the interests of are no longer residents. It'd be altruism to make prospective life better for prospective doctors.
Saving it for later
https://en.wikipedia.org/wiki/Therac-25

Wow..
Or you know..... just be a parent.
A 1U cubesat at 100km will burn up in a few hours.
Post-It Notes: YouTube Annotations, 1 Year Later
Do they truly operate at a loss, or do they operate at a loss in the same way Hollywood films never make money?

That's absolutely fascinating if so.
Correct, I am unable to find anything claiming she helped author foundational pieces of the internet.

She has really done anything for the internet besides working for Mozilla.
> If you actually want to measure the memory allocation in C++, then you need to ask the system to give you s bytes of allocated and initialized memory. You can achieve the desired result in C++ by adding parentheses after the call to the new operator

Is this an actual thing? You can force reification of overcommitted memory just by calling operator() on it?
No, they're not original equipment but an add-on. Search "parking aid radar distance sensor DIY" at the usual online stores. Really helps with getting a full-sized car squeezed into tight parking spots, and general maneuvering in cramped spaces.
I was an early enthusiast of Elm.

Sadly, Elm was never able to build a true core development team outside of Evan. Or at lest it didn’t do it fast enough.

Evan is a smart programmer but not a strategic organizer or a communicator.

As a result, one of the most exciting and promising approaches to front end development was relegated to a nice-toy project status.

If you want to take the risk of building something using Elm’s approach, you’ll do it with Reason.
Maybe not 100% as nice as Elm, but you’ll feel confident you’re not risking your code base and company on the whims of one person.

I still think Elm is a nice educational language for getting people (and kids) into FP.
Month. Rent prices in the US are always per month.
Many corporate leaders are Peters at work [1]

[1] https://en.wikipedia.org/wiki/Peter_principle
Perhaps we could borrow ideas from bicycle helmets and airbags to create an emergency mechanism which absorbs most of the impact?
A toolkit for building web applications with React, Redux and React-router
Hawaii. Huh. Families haven't been invited to our company Christmas party for the past 7 years.
It seems faster than average. There are aspects to their service that are horrible; their website, a la carte pricing and "buy your bags" terminology are incomprehensible if you aren't already accustomed to it. But they're cheap, quick and never even ordered any 737 Maxes.
That is what I thought, and if path = ['foo','bar'] and payload = 2, it makes {'foo,bar',2}.

It is for sure making max use of dynamic programming. Typescript accepts it as {[path as any]: payload} which is pulling ejection lever on typescript.

Glad I learned something new from this.
Cuba Notes
I think it's a little unscientific to see literally every change in ecological and weather patterns blamed automatically on climate change.

Climate change itself is well-established scientifically. It is indeed hard to determine exactly which changes in the earth's ecology are a direct product of climate change. But it is important avoid a jump from this to "well, not such an emergency after all". This is because a wide of ecological and local climate conditions are driven by temperature.
I work in the financial industry and code in K3 (among a number of other languages).

Things I like: highly orthogonal & minimalistic design (basically vectors and functions acting on vectors), easy C FFI, well documented, satisfying to minify production code, my inflated salary (+job security for some).

Things I dislike: proprietary, impossible to skim, APL/J/K "culture", over-marketed, functions/operators overloaded in very unintuitive ways, lack of lexical scoping, interpreted languages falling out of vogue.

Overall, I recommend every coder to try K (or J or APL) at least once. They compare favorably to NumPy/R in many respects.
Are you on the mailing list? It's a bit slow, but seriously cool to see random people bring up strange bugs and Arthur going "thanks! fixed in the next release." over and over again like clockwork.
I think it's just that it's unpleasant time in comparison to all those other things, so it's more ripe for optimization. When I fly, I read or relax or run errands on the train or Uber, breeze through checkin due to not checking luggage, stroll through security and customs due to Global Entry, relax at the gate and do whatever I'd like, and am generally well-prepared to get some reading done or relax on the plane. The only parts of the process where I can't focus (or get lost in my thoughts) are checkin and security, which are already pretty tightly optimized.

By contrast, boarding and deplaning is a particularly uncomfortable form of hurry-up-and-wait, where your mind isn't your own because you need to keep one eye/ear on your surroundings, and you're standing with your luggage and shuffling forward at random intervals.

It's no surprise that people don't consider time spent boarding/deplaning the same as time (eg) at the gate, and that obvious inefficiencies are particularly rankling.

I tried to paint a vivid picture of the differences, but the truth is I don't personally mind boarding/deplaning too much, for some reason. I just understand where the focus comes from.
Compact GEO.. GEOO..... (sigh) good point. So they're not in unregulated space (does that even exist?) and have to have a de-orbit or park policy and understand how to effect it, and are governed by the economy they launch from and the territory they fly over, and the risk of litigation from other GEO owners affected by their policy.
Any C++ programmer could write code that “allocates” 500MB in a few instructions if the pages already exist.

If the pages don’t already exist (as indicated by the given timings), this is a test of the OS and has little to do with the language.

It’s a poorly posed question. C++ runs on many environments.
Hello
I am new here :)