skysight-inc/HackerNews huggingface dataset:
Const pointers are not a problem - a pointer is a value, what it points to is a whole different thing altogether, and you can mark either or both as "const" as needed. That part is done right.

As far as changing representation, that's exactly what I meant by "class members" (and why it doesn't say "class methods"). An immutable map should have a different internal representation from a mutable map, for example, to permit for efficient copy-with-update. But logically, they're both maps. C++ punts on this problem - a map is a map, and the only thing that "const" does is make its data immutable, which in practice means that immutable containers aren't used much because there's no way to do copy-with-update (e.g. given a const std::list, you can't efficiently create a new const std::list with an item prepended, like you can in Lisp or ML - you have to create a whole const std::list, copying all items from the original one).

Languages that tried to tackle this basically just came up with a pattern where you just write two completely different classes, that have a common pattern in the name by convention (like Map and ImmutableMap), and implement a common interface/trait. But there's no link between those two classes other than convention, and the common interface has to be authored manually, even though it can be derived entirely from the two classes in practice.

So, what I'm proposing is basically a better way to write Map and ImmutableMap in a way that would 1) make it clear that those are semantically related, even though they're distinct in implementation, and 2) automatically derive the common trait. So when I write a function, I can say "takes a Map", and that's a trait that covers both "mutable Map" and "immutable Map" - automatically!
We've hired multiple people based on potential. A few of them have worked out astoundingly well. More than that have quit or been let go for not being able to handle the job.

It's pretty demoralizing to let someone go. It's pretty annoying to have them quit in the first week. (Or even the first day!)

But it's pretty awesome when they work out and you get to watch their skill grow over time.
Atul Gawande's book mentions a study that showed people who received hospice care lived longer than those who got chemotherapy.
downturn???? they made their last year in six months but ok you re probably right
Holy cow, 1300sqft is huge. That could easily be enough for a family with 2 kids (with one more room maybe).

In my experience, a bigger apartment just means you'll collect more junk over time. The bigger your home, the faster it fills up.
Owned by renowned bastions of quality black and decker now.
7% annual return is high, but not really absurd when including dividends, if managed for the long term and accepting some risk.
Does Yoshiki know about that wiki? He was looking for help for transcriptions of videos on: https://tinlizzie.org/IA/index.php/Talks_by_Alan_Kay
I'm genuinely curious - how did you manage 1500 sq ft with two kids? I've seen various outlets that state most people need roughly 450 sq ft, and we currently have 900 sq ft for me and my wife and that feels right, maybe even slightly big. I wanted an 1750-1800 sq ft home and my wife wants closer to 2200-2250. So I'm shocked you felt comfortable with 1500 sq ft and wonder what made the house so nice. Was it layout? Efficient use of wall space?
^ I knew this would get downvoted, but it would be nice to see some arguments as to why people think the benefits of TS outweigh the costs.
Criticize the government the wrong way in America, you wind up in jail, and aren't allowed to travel anymore. We're talking differences of degree, not kind.
Crowd Counting Through Walls with WiFi
the six are professors, phd candidates and a recent graduate that hasn't started working. it would be much more interesting to hear from women (ideally chosen at random) that graduated with cs degrees 5-10 years ago and talk about their own personal career paths

and do the same with men, and compare

not sure that we have to tools to understand these sorts of questions quantitatively, but i'd like to see at the least some qualitative data instead of opinions (whether reges or this group)
Its confusing. Linus is ok to have the post-meritocratic COC at the same time will not accept the code that is low quality code. So he is saying you can have all the COC but i will not follow it.
This is what we lose when the public domain becomes outlawed by endless copyright extensions.

When that genre-based concept gets locked up for decades under the same corporate masters, we get Star Trek: Discovery, behind a paywall on a shard of the fragmented video streaming market. The fans inspired by the earlier series while they were younger simply do a better job-with fan-art like this and Galaxy Quest and The Orville--than the officially-sanctioned studio can crank out.

It's almost as though we need some "copyleft" seeds for various genres able to support large fandoms, such that anyone can add to them, and submit pull requests to the community-elected maintainers to become canon. Licensing is free (gratis, not libre) and automatic. Rather than going all in on Star Trek, or Star Wars, or Starcraft, or Stargate, or Star Control, or Babylon 5, or Dune, or Asimov-verse, or whatever, all that open-culture fan-fiction can be actually publishable for profit and adding to the common fandom. Like public domain used to be, before they choked it out.

I think it would take an alliance of authors/playwrights who don't individually have great chances at becoming rich and famous to essentially enter into a suicide pact lite, to sacrifice the possibility of more rich to improve the likelihood of more famous. They agree upon the rules for the fiction universe, and divvy it up such that each writes a piece of the canon. Then they publish on a fixed initial release schedule and hope it catches on. Once the fan-fic starts coming in, they actually read it, and declare the best work to also be canon, re-publishing it and paying the authors their cut. If it catches on, do a pilot teleplay with the best community theater actors available. Publish digital models of the signature props for at-home 3D printing. It could eat the lunch of the closed-culture franchises. But it could also fall flat, or fall victim to infighting.

It seems like this idea is not new, and it isn't. Creative Commons has laid the groundwork. The problem is that it only provides the vision and the legal framework, and hasn't tackled the aspect of creating an intentional community to seed a specific fertile plot in the field. There's nothing there yet to tie disparate creators together as being part of the same overall thing. Space Opera and Sci-Fi Adventure-Drama are proven genres. The conventions don't lie; people go and spend.
Has the US Fed Gov bailed out a pension recently?

IIRC There was one in a red state that was left from some private company that the Feds promised to bail out but even when Obama proposed it get bailed out other GOP members refused. I don't know if they can get very far with Sears if politicians are out there won't even help constituents... let alone Sears.

Sorry I forget the name of the company associated with that pension.

Granted the Gov will pay.... just via social services and such.
Wet streets cause rain.
Having started in 2008, I was able to observe this as well actually. As a programmer who does the job because it's somehow in the DNA one needs to change according to that I think. People should probably care less about getting a fancy job or making one success after another at work.

Instead it becomes more useful to be comfortable with the work and maybe not care too much. Eventually people will see how people who breath this stuff are far more comfortable with the work and teams that include them produce far more pleasurable results.

As Programming has become mainstream in some way, far more companies look for coders, even outside of the startup space which creates much more opportunities also for people who know their stuff.
One thing that I always think about with these absurd HGTV house shows is who is going to clean all of these extra bathrooms? When you've got 3-4 bathrooms, and 2000+ square feet, you will have to spend a nontrivial amount of time cleaning every week. Or hire it out.

Oh, and I really, really, really, never want to hear the term "bonus room" used ever again.
How many nights per year is your guest bedroom actually used?
This is definitely the opposite of my experience.
Well, it does pretty much, just not that bit (14 CFR 117). In this Air Canada case it's governed by 14 CFR part 129, which covers operations by foreign air carriers in the USA.

https://www.gpo.gov/fdsys/pkg/CFR-2011-title14-vol3/xml/CFR-...

EDIT - removed erroneous reference to 14 CFR 121.480-> which applies to cargo ops.
Thank you, I didn't know that MATLAB did that. I'm a huge fan of it and hope that someday other matrix programming frameworks like TensorFlow, OpenCL and CUDA move to a similar general-purpose syntax that frees the developer from having to deal with the boilerplate associated with old OpenGL-style buffer representations.
How would you remove them while still being fully compatible with existing JS code? I mean they could do it, it'd just be orthogonal to their goal of TS being easy to bring into existing codebases.
To be fair, you can do that with SASS variables too and is not unique to Tailwind.
The interview process is getting longer than ever. For instance, getting a homework step before the in-person interview never used to be a thing. Now, it seems to have become commonplace.
Join the resistance brother.

http://they.whiteboarded.me/companies-that-dont-whiteboard.h...
Driving is being automated and then the truck-driving profession will be gone.

Not for a 100 years, don't believe the self-driving hype. That's what the rest of the article is about, the long distance highway truck driving jobs will (mostly) disappear but there's going to be a ton of city truck driving jobs that are likely to remain the domain of humans for decades to come.
Just because there are contexts where it wouldn't be bad doesn't mean that the example fits that narrow context.
My two cents about the summary:

1) Lack of IT courses in K-12 affects both genders, why make this a female issue?

2) Completely subjective.

3) Pretty much the opposite. There are tons of events for women only, as well as grants and positions that are available for women only or where they’re more likely to get hired than men (so quota is filled).

4) Most of women (as in 99%) in CS don’t suffer this. Even this being of importance, I believe this happens in all industries.

5) Similar to point 3.

6) Well, empower yourself? What do we tell to male nurses then?

Edit: formatting
Power of nightmare by Adam Curtis.
Tencent and Samsung Anounce PUBG Mobile Star Challenge with $600,000 Prize Pool
It's written by a person that did not give up, survived and analyzed the experience. I read it previously and I highly recommend it, don't worry you won't be depressed after that. On the contrary.
It reminds me of Blockbuster. They had the market, the product, and the startup capital but didn't take the risk to see if it would be worth it to pivot.
Does going to a therapist and discussing about things frankly as they are make one feel better or worse?

Viktor has a very objective tone of voice. He never paints himself as a saint, a martyr or a superman. This creates a certain feeling of detachment that shields from the full emotional impact of what he actually went through.

Overall, however, the book is about survival and the strength of human spirit. Especially since Mr. Frankl personally went through hell, retained his sanity and will to live, and wrote the book.

It's a book that gave me hope and strength in dark times.
Ask HN: Google repeatedly thinks I'm a robot
Is anybody else experience this, asked around in a few slack chats and coworkers and they are all going through this.
New Staging of “She Loves Me” Is a Show Definitely Worth Trying On
Slow boiling the frog. Those who can notice at this point already left.
Vidmate for PC Version
If you're already using JavaScript for the web, I think there's three main options for that domain:

* stick with JS,

* learn a language that's a superset of JS (like TypeScript), or

* learn another language which compiles to JS.

If you're looking for a language that can also replace Python for you, then maybe the 3rd option above is a good bet. Something which has its own VM (or other native target), but which also can be compiled to JS. For example, Haxe, Kotlin, Nim, Go, or Dart.
Facebook is already in decline (people have stopped using it, either completely or drastically reduced their usage of it).

The problem is Facebook is allowed to buy rising competitors on its way down, thus prolonging its monopoly in the social media space.
I can relate, I die a little inside each time I read a post on HN.
I see the downvotes already coming. Cascading is bad, it makes it hard or impossible to restructure things and move markup around. And then you have to fight specificity. An example from my work where someone put a bunch of tags under `.new-style` like `.new-style h1` and applies to every container which needs those new styles. Now if I add my component to that container, it completely breaks encapsulation because `.my-component-title` gets overridden by `.new-style h1`. And then you fight that with something ridiculous like repeating classes `.my-component-title.my-component-title`.
First for scooters in L.A.: a conviction for scooting under the influence
At my last startup in SF, when slack was really starting to takeoff, most of the business/marketing folks who spent the bulk of their time chatting and sharing memes on slack loved it.

They simply didn't know any better, and were enamored with the new level of internal communication vs. previous jobs.

Man it was such a time sink. Between the open office floorplan and slack this was the least productive environment I'd ever seen for an engineering company, and it's largely caused me to walk away from the industry.
1. Think about this: You have to write or customize .profile-card for every project, with "m-5 p-5 text-gray-light bg-gray-darker border border-gray-light" you're writing 0 lines of CSS. Zero. All your CSS will be your utility framework (sizes around 5~15kb) and it will never increase in size. Now, tell me you never seen a two year project where CSS alone reached 2+Mb because at every edit someone added another class to the list...

Also: When you gzip your HTML those repeated classes will compress pretty well.

2. Yes, you're right! Same specifity for the example in question. My point was more in general. Think @extend[0], nested selectors in SCSS. They look less scarier than "m-5 p-5 text-gray-light bg-gray-darker border border-gray-light" but they do not always do good.

And I can tell you'll have no side effects: If you look at the HTML only, what ".profile-card" does? Does it add padding, typography, borders, transitions? How do you extend it? I can't tell. But I know for sure that "m-5" will add margin and margin only. "bg-gray-darker" will add background-color and background-color only. And so on. Every class does only one thing. They don't overlap. Once you memorize the simple naming convention you can't go wrong.

3. Why it looks harder to maintain? Do you all really get scared by a few, readable, classes? Also, classes are no meant to be semantic or content-dependent[1].

At the end, I don't want to defend to death this practice. Maybe it's a concept that is hard to explain (and the OP tried a bit lightly) but I assure you, there are concrete benefits in using this approach. Many may not like it, and it's completely fine, but it's not the hell most of you are shouting here.

Peace! :)

[0]: https://webinista.com/updates/dont-use-extend-sass/
[1]: http://nicolasgallagher.com/about-html-semantics-front-end-a...
Happy People (2010). Focuses on isolated communities living in remote areas of Siberia and their way of life.

Also:

Chef's Table

Wild Wild Country

Tickled

Jiro Dreams of Sushi
I mean, as the leader of the project, he is the one who sets the culture and the norms.
Live tracking TV chyrons during the Kavanaugh-Ford hearing
We've tested salt and know its effects on humans. It would make sense to require new things to be verified as safe before we start putting them in our food, and banned until that's done.
What sort of university did you go to where they don't do econometrics or macroeconomics, or international trade, or... all things where you can not open a textbook without being confronted with real life data?

The large majority of articles in top journals feature both mathematical theory and statistical&causal inference on real data.
You are right-- sorry
I'm curious what is the reason for webassembly here. I mean, there is API which allows to interact with mic and also API to produce sounds. So what API is missing, that must be implemented in WASM. No offence, just curious.
I suspect that too, but am looking for data to support this. We have tiny miracles in our cell phones today, are they really any heavier than what's on that vehicle? (I understand a cell phone camera isn't Space Ready™.) Does it require, perhaps, additional hardware that wouldn't be needed otherwise with today's on-board solution? And what's up with the severe lens distortion?

Cool topic I hope to dig into a bit to get those answers.
"The Orville" has season 2 coming out.

I gotta hand it to MacFarlane, he's carrying the torch forward better than anybody else, IMHO.
https://www.playstation.com/en-us/games/star-trek-bridge-cre...
Craftsman used to be valuable, because they had a strong reputation and a rock-solid replacement policy. That's no longer the case, and you're better off spending less money for Harbor Freight tools that are now good quality and fully warrantied.
Are you a robot?
We couldn't have hoped for a better outcome, I think. This is the perfect outcome.
Not sure what you're getting at. People in this thread are discussing what it's like to use Nim, including its ecosystem, vs. other languages and ecosystems. You don't seem to have anything substantive to add to that other than that Nim is "new" which as I mentioned isn't relevant to the experience of actually using it.
I didn't say it's a monolith, or there's a spidery mastermind. Rather, it's a sort of a swamp where ugly things move around all the time - today he is a mob leader, tomorrow he's an elected member of the parliament (real world example from my hometown) etc. The problem is that they keep their social connections as they move around, so in the end you end up with this weird network of "friends and colleagues" where, say, a high-ranked police official visits a funeral of his old and dear parliamentarian friend, back from the day when they were both mobsters.
There is a big trade-off to consider here.

Previously, Oracle supplied the engineering resources to develop new features and to maintain old releases.

Now, Oracle provides the first but not the second. The community can step in and do the second. If it is forked, then the community needs to step in and do both.

So getting free of Oracle has a cost, the cost of losing engineering resources for new features. Whether it's worth it would depend on how much value you place on those two things.

Clearly Oracle is trying to steer people toward revenue-generating things. I don't see a problem with that in and of itself, especially if the community can provide a free alternative.

It seems like this could push things either direction. On the one hand, many companies may just pay Oracle for support and that may become a common (and expected) practice. So that would shift some control toward Oracle. On the other hand, Oracle is stimulating the community to get involved in maintenance, and that may build some momentum for community contributions, causing the community a larger role in Java development, which would shift some control away from Oracle.
Show HN: Chopsticks.Cash the Anti-Forks API for Bitcoin Cash
I'm by no means an expert on this, but I do follow some trucking vlogs on youtube, but it amazes me how inefficient the loading and unloading process is. Sometimes truckers have to waiting many hours just to get a place at a loading dock and then again many hours just so that a dedicated team can unload the trailer. What a waste of driver, truck, and trailer resources.

The autonomous truck will most likely happen but my prediction is that the real revolution will be automated loading/unloading. And the automated forklifts will unload into fully automated warehouses. And fully automated pickers will pick orders for delivery to your doorstep via fully automated drones. And driven from the doorstep to your fridge by a cargo roomba...
I loved Icarus; it was just amazing how more and more off track the filmmaker's original plan went as he got entangled with this Russian doctor and found himself documenting a much more interesting story than the one he originally set out to do.
I am not fully familiar with the whole story, but given the different paths Acton and Koum have taken (activism vs collecting cars and chilling on a boat) i wouldn't be surprised that they had a disagreement about whether to sell and one of them prefer to back down. who knows, maybe he even preferred to keep Koum's friendship. Their very different backgrounds also point towards different motivations in a situation like this.
I don't know if I'm being silly cos I don't know how these things work, but I'm also surprised nobody has talked about this possibility
This, What I haven't seen before this comment is a scientific approach to discussing and figuring out the problem. There are a bunch of variables in this problem and in order to accurately break down we need to have a study where the results will drive the discussion.

The problem with that is that there is a clear agenda by both sides on this issue. No one wants to be discriminated against. I (male) don't want to be discriminated against in order to force women into CS. I (male) also DO NOT want women to be discriminated against to force men into positions. I assume most (not all) people agree with this even if they flip the gender. But how to execute this is political.

If we can instead approach this scientifically. To determine if there is a predisposition towards a specific career based on gender, societal pressure, discrimination, bias, etc. We can then propose political solutions that can drive society towards equilibrium.
House cleaning makes my life much better and costs less than my cell phone bill.
> Phew! A component just for a button. What a twist! I don't think most people are making components for each html element. In fact, I'd say this is pretty redundant and overengineering things in a bad way.

Welcome to the world of web components. This is actually really common, especially in React with css modules - this way you can use your custom button without even having to think about the CSS (or any extra complexity like tooltips and accessibility), even from a common library used across projects.
and obvious political propaganda!

Yes and no. Consider Dr Who. Loved that show when I was a kid and still love the classic episodes but it’s not made for me now, it’s made for the Twilight/Harry Potter crowd. “Supernatural boyfriend with magic wand”, not the character I remember. And if you’re going do that radical a change you might as well go all in.

Similarly Star Trek and Star Wars, I just don’t watch them now.
In 1950, the average space per person was 259 sq ft. People in the 1950s turned out just fine. The larger and larger homes we are seeing today while witnessing the ever declining family size are the result of unadulterated greed, pure and simple.

Source: https://www.yesmagazine.org/planet/the-righteous-small-house...
When the government begins acting on behalf of the corporations, or they give the power of violence to the corporation (such as happens in private prisons), it does become a major problem. In those cases the corporations should be considered an extension of the government and treat as such.