skysight-inc/HackerNews huggingface dataset:
My theory has always been, Chinese will start behaving like Americans in protecting their IP once they reach a similar level of reach and sophistication with their products. It's starting...

Then the shoe will be on the other foot. Not that a couple hundred years ago it wasn't the same.
FSMs (and HSMs, the hierarchical version) are very useful for UI design, I am afraid the point that the article is trying to make:

> A simpler approach would be to have a single variable for state, and only allows switching between well known states!

Was not reflected in the code, since it's possible to transition directly from "error" to "success" without going through "submitted".

Which makes me wonder: Does anyone know whether there's existing art for proving UIs using something like TLA+? Sounds like in interesting match, if your UI is following a FSM pattern.
I thought I read about a couple of prophylactic drugs which were introduced recently. Do you have any experience or opinion about those?
Round the Bend
The lack of a visual scroll indicator is a problem with the Apple Music app too.

'Repeat' and 'next up' are below the play/pause button. But the spacing makes it look like there's no possibility to scroll!
I thought when I got older I’d look back at homeschool and think it was a mistake. The older I get and the more I hear about public school the more I’m convinced my parents knew what they were doing.
The Coolest Lego in the Universe
I imagine things are difficult if you already feel lonely outside of the holidays. At that point, having to be alone during them, when you know and see that so many others do have company, it really stings.

Outside the holidays being alone can be 'an accident of circumstance'. During them, being alone can feel like confirmation there is no-one for you.

(Note, not my feelings, no need to worry)
I suspect you can only filter there, but haven't tried just now.
https://news.ycombinator.com/item?id=21859568
As admirable an accomplishment as this is, and as with many other projects where the arenan is highly saturated, I feel the README should start with a quick WHY? section. I'm truly not trying to dismiss the programmer's great deed.
I loved the Fighting Fantasy style books, and used to love making my own D&D style maps of them on grid paper. I do sometimes wonder if these books and players' habit of keeping a thumb in the previous page were part of the impetus for regular autosaves and quicksaves etc, or if that was just an inevitable development in CRPG gaming.
> ...Going Home

OMG not familiar with the person being talked about but "going home" resonates with me. leonard cohen wrote some powerful songs in his old age and "going home" is one of them.
:( all I have for you are internet hugs. Wish I could do more.
Prediction: resurgent Hindutva and global projection of Indian economic and cultural influence will result in a global awakening to the wisdom contained in ancient Vedic traditions. We might even see Sanskrit learning centers outside language departments like Oxford and Chicago.

I think the best place to start is probably with the Ramayana. And the age old question troubling sages for ages: Why does Ram banish Sita?

https://en.wikisource.org/wiki/The_Ramayana
That's pretty cool! This is pretty simple and minimalistic.

I've been working on my own different take on time tracking too (https://maesure.com) which asks you periodically what you're doing and builds a picture of the day from that.
This is the primary reason I subscribe to the Wall Street Journal (while avoiding the opinion section). It focuses on business, usually describing facts without judgement. Also, lacking are the local tragedies and most politics. In general, curating my own content makes a difference in my mood/anxiety levels.
Do you have an email address, or telephone voicemail? If you could get in trouble with the GDPR simply by having the capability of receiving unsolicited personal data, these are legal liabilities, too.
"Yes Minister" covered leading questions in opinion polls, of course, but I don't have the quotation. For anyone too young or not aware of classic BBC series, Yes Minister (and sequel Yes Prime Minister) is an impressively timeless comment on politics and officialdom.
Reduction of theft from the till risk.
Maybe someone is grinding karma for unknowable reasons?
How to make career in gaming industry
Depression Memes for Devops Teens: Self-Care for Server Janitors and Other Humans: https://youtu.be/TcvWEbaOg-Q
> It is fantastic that space is becoming profitable and I very much hope Spacex and the like grow exponentially.

Where to start with this ...

SpaceX has no future, since there aren't enough satellite launch customers to justify 5,000 full-time staff to run it.

Hence their pollution of LEO with thousands of microsatellites.

The worst thing SpaceX ever did from a business standpoint was reusable rockets. When you have limited customers, you need to maximize revenue.

And the sooner that piece of junk ISS is de-orbited, the better. Of course, not much reason for SpaceX to continue staggering along after that.
This year's Cantrill talks include one on Ethical Dilemmas [0] and another on the "Moore's Law" paper [1]. Highly recommend both.

[0] https://www.youtube.com/watch?v=0wtvQZijPzg
[1] https://www.youtube.com/watch?v=TM9h89Vo_Qo
That would have literally made me never look into it in the first place. I would have went with Ruby instead.
Now that’s more like it! That’s the attitude that I wish the original quote took. It is truly about merit, and Twitter (can be) a way to lower the boundaries.
I do annoying things to avoid bad things from happening in the future. If one is very optimistic, then one would not believe the bad things would happen and thus one would not be very motivated to do the annoying things.

For example do you wear a seat belt or brush your teeth? I know the questions may sound a bit offensive but I'm honestly interested in hearing people's motivations.
When you read about Indian holy men, don’t take things literally. Instead, appreciate the message of the story
That's a different issue around default arguments that are mutable, rather than default arguments generally.

The lambda case here is more like a default argument of a constant integer (immutable) than a default that is a list, which can be altered directly by the function it's a default of.
Wow your work laptop is up to 10 already? We've started to plan our migration.
Have you already examined if it’s diet related? I’m thinking about a histamine intolerance.
I'm not sure if the GPU is really the most expensive part of the machine, but if it is possible to save $200-300 there, it should absolutely be an option. Given that Apple has been listening to customer feedback recently, this is something they should address.

All of the Intel CPUs used in the Macbook Pros have built-in graphics anyway, and they are the Iris variants to boot, which are more powerful than the iGPUs used by most other Windows laptop manufacturers.
It’s Putin’s World. We Just Live in It
RXVT sucks, but typing on it feels so good that it is what I use.
I found that company via a gdc talk by the guy who did The First Tree (the talk was called No Time, No Budget or something alike). He used them mostly to get through the hurdles of rules and guidelines. Glad I could inspire good luck with your game!
I agree it sounds silly, but I am interested in what the law actually says.
The impression I got from the Unitarians is that that's what they're trying to go for. I was never a "member" of a UU congregation but I got hauled to their services a couple of times and there was just a whiff of supernatural in what they were doing, certainly nothing like all the kneeling and praying and lamentations of my catholic upbringing :-)

The people I knew who were into it described it as the "social club aspects of church without all that other stuff." I don't know, it might work for you?

The Quakers do something like this too, but with a much heavier lean on the meditative aspects of a religious practice. The few times I've gone to their services it was much more my (someone who is fascinated by spirituality and religious practice but without that bit of their brain that tells them God(s) is/are talking to them) speed.
> So nice to be reminded that there people trying to care for each other and make a positive difference in the lives of those around them

Is there any other kind of person?
Unless I'm shadowbanned with you I can assure you that you're not.
For the Unix history fans, BWK's interview of Ken Thompson: https://www.youtube.com/watch?v=EY6q5dv_B-o
It appears you chose the wrong link.

To try again, return to Page 1.
To achieve Internet points, reply snarking here.
A refurb Thinkpad T5xx or E5xx from the Lenovo outlet should fit the bill.
But see they have to do it this way, because labels and easy-to-understand icons are skeuomorphic.
Spoken like an exemplar of n=1 'I understand it' individual who experienced mild depression and thinks they know everything there is to know, while being completely ignorant of chronic treatment resistant depression which is the real issue.

Exercise, sleep, mindfulness, SSRI, whatever other things might work for you, they don't work for everyone. Don't mistake your experience for describing 100% of the population.

Exercise specifically is a non-solution and has been demonstrated to be a step on the hedonic treadmill. Once fitness goals are achieved, the depression benefit wears off unless ones sets every more difficult fitness goals. No different than reaching for that pay rise, that better car, that bigger house, etc. It's never a solution.
> though I still value skills I was forced to learn

Oh, I’m not saying it was without value, just that it was a very inefficient way of learning, which in turn means I learned a lot less in the time I spent on it than I could have or was otherwise unhappy with my school years when they could have been amazing.

> I often found that my interests were there, but misaligned. I may have been intensely interested in some aspect of history -- but not the anything on the current curriculum.

Yes, absolutely. Or even just that I wasn’t interested at that particular moment. Somebody recently explained to me that Montessori basically lets kids choose what to learn any any particular time (in a self learning way). I feel this would have been extremely suited to me. I was always an intuitive person who had to learn how or why things work, I’m pretty sure that I would have found myself interested in most school things at some point.

> My other gripe was the lack of integration between topics

Yeah I agree with this too. Also just not being very hands on. Other people mentioned the “when will I ever use this” question. School (and even uni) was pretty bad at teaching ways that you might actually want to know this thing aside from general interest. For example, I hated statistics in uni and did bad in that course (didn’t help that the lecturer was ab alcoholic but anyway), until some time later when I needed it for a project I wanted to do and I found that not only is it useful, but also quite interesting. When something is thought purely in the abstract it’s boring and seems not that useful but when you put it into practice it can be really fun and interesting.
Few years ago Romania has introduced a pollution tax for used vehicles imported into the country. The situation is extremely worrying as old cars are imported mainly from Germany, and pollution levels are beyond critical. The EU has chosen to ignore the environmental impact and the context of Romania's economy (people will naturally want to buy whatever they can get their hands on, due to economic hardship). There are so many "Made in Germany" high polluters in the country that I personally can not and will not buy German made cars again. This is an example of where the EU has applied regulation, without proper consideration for the context of a country, and in favor, as usual, of Germany.

Details can be found here:
https://ec.europa.eu/commission/presscorner/detail/en/CJE_11...
Somehow we've unlearned all those lessons about styling links to look like text and making users play Minesweeper on the screen
Maybe they are simply observing the experiment they started 4 billion years ago.
'Clickbait' if you're nice, 'trash-tier journalism' if you're not
I’ll echo what everyone else said - SUPER IMPRESSIVE and awe-inspiring work. Thanks for sharing it with the world.

I have one question: While I can read and understand each individual line of code you wrote (go Crystal!) and what each method does, etc., I’m at a total loss for how you knew what and how to build - big picture wise. Can you share a bit about your process for building the mental model of this? How do you know where to start, what modules to build, what’s needed / what’s already there, etc? What roadmap (if any) are you using?

I’m just amazed at how something like this comes together and would love to learn a bit more about the process a single dev uses to build it.

Thanks in advance!
It’s Almost 2020. Have We Gotten Wiser?
Neutron beam-enabled analysis of foam film structure-stability relationship
Having a package for Debian (and later on Ubuntu) would be really awesome. It's already available for Arch Linux and I expect the list of packages to be growing over the next few weeks.
I exercise as one form to fight depression and it helps a lot, doing something many would consider an extreme sport. If I'm not out there pushing limits every 2-3 days I notice how my mind get's caught up in little stuff.

But once you get injured the hole you fall into is really really deep. There has to be another way.
It's certainly the latest form of clickbaity, but there's some quality that differentiates it from other clickbaity titles like "You wouldn't believe what <celeb>'s <object> is!", etc. It's an odd sort of setup and punchline.
Yeah I've been having that issue.

Along with the email inbox bug they claim to have fixed but is still very much live and well on my iPhone 7 Plus.
Wait a second. How old is the author?
I think the diagrams of the pyramid vs the puzzle was a good one and reflect how I learn, I personally don't get concepts until I have touched them. I was never really good at taking a concept from a book and visualizing it.

This is why I excelled at Chemistry, Computers and real world Physics but never really excelled at basic math (to this day I convert fractions to decimals because my mind does not think it fractions). Anyways what I came her to say is once I get the basic concept from hands on labs, then it is very easy for me to get the math, because I can visualize what the math is doing. I seem to only learn from real world application and by doing it. So I think there is value in learning the how, and then layering the theory on after that fact. It seems to stick for me. Then again we all learn differently.

I personally learned Geometry and Trig from carpentry and 3d modeling.

I learned algebra and statistics from building and modifying internal combustion engines.

I learned business math from building accounting systems.

All of these I learned after hand on apprenticeship and it made it very easy for me to grasp and retain the mathematical concepts.

I have joked before about starting the "Boys School for the Mechanically Inclined" to teach boys that learn like I do. I was fortunate and driven enough to understand my learning disabilities, but I see bright boys flounder and can see it's due to the way they are being taught. It really is a shame.
Launch HN: DueFocus, Time Tracker for Gitlab, Trello, Jira, GitHub, Asana
State governments are weaponizing federal courts to enforce state laws across state borders. The start of the current trend is enforcement of sales tax of all states upon all states but it won't stop there.
If you stress out mice even their grand children will also be stressed even if you remove any stressors from them? Essentially, this area of research is extremely complicated.
Add ADHD to that list. I and a few friends with similar meatware stacks have found it very effective. I don't have hard data, but after one 3 month period I found a significant correlation with micro days and hours worked, number of LOC committed, and quality of that code.

I think anyone neurodivergent stands to benefit, and if they are not, well, sounds like they have a decent handle on life already.

> Breaking this cycle lets you have some relief

+1

Edit: That's not to say people living a content life would not benefit from doses, micro or otherwise. It's just probably much harder to detect in a clinical setting.
Writing perfect laws is close to impossible - there's almost always unintended negative consequences. Legislation is a pretty blunt tool, and for this reason there's long history of governments asking various entities to behave nicely so they don't have to try to write legislation they know will be very hard to get right.

Please note that I'm not supporting the govts position - just supporting their methodology of not rushing to legislate.
Why C++ string class is useless?
> I'm curious how alacritty compares to it. The alacritty devs basically consider another terminal app rendering faster than them to be a bug on their part

Note: Alacritty prides itself on fast rendering speed, but not necessarily on low latency[0]. I'm a happy Alacritty/Linux user, but I'm not sure it would win on this benchmark.

[0]: https://news.ycombinator.com/item?id=18006751
Sleeping, eating, and working out only do so much and are very difficult to do when one is already fighting depression. You simply cannot tell everyone "just do these 3 easy things" and expect that to work or for people to even listen. While those are critical for people, especially the depressed, it truly mocks the struggle and ignores the underlying issue.

Far more important is the issue of work or school utterly dominating our lives, leaving little time to deal with the other stresses in life and even less time to decompress or socialize. Only a massive societal effort to reduce these stresses will make an substantial reduction in these widespread mental struggles.
Leakiness is not referring to "correctness" or any sort of practical shortcoming.

It actually means that the abstraction is not actually abstracting the concept it is representing, and thus requires you to understand lower level concepts in order to grasp it.

An example would be that the C programming language is a leaky abstraction because sometimes you need to understand and write Assembly code.

That doesn't make C bad or incorrect, it just means that at some point, you'll need to break through the abstraction and learn what it was trying to simplify.
Probably both on different tasks
> This is not about stopping the bad people from encrypting their messages, this is about getting access to what everyone else is saying.

Thank you.
RBMK were. They're over 50 year old designs now. Fukushima was just 30 years old also generation 2 (but improved) BWR, not the old GE BWR either. The reactors under way are generation III+, notably safer, and further improvements are being made. And many of the reactors now are PWR.
(copy and paste of my own comment from https://news.ycombinator.com/item?id=21354314)

"
This is certainly not an excuse for the clearly bad UI design the article describes for iOS, but unfortunately Apple is not the only one afflicted with that disease. The situation on Android is not exactly rosy either.

I get particularly aware of the serious UI problems when trying to use GPS navigation (waze, here, google maps) in a car. Buttons with various colours, contours and sizes, non-intuitive interactions where one has to swipe starting from various confined areas, annoying dialogs or confirmation screens appearing one after the other, sometimes even spontaneously. There is not even a modicum of consistency regarding the most basic elements, e.g. a yes-no question or a dismissible message.

I hate to say it, but the first iOS of 2016 was (and probably remains) a champion of elegant and consistent UI design. Today, it's almost as if the iOS and Android ecosystems are competing for who has the most unintuitive and confusing UI.
"
Updating AWS Lambda Function Code When Local Files Change
This is a subtle problem of incentives and information. The designer has the problem that the product will ship with only one of the possible designs. And the feedback process is patchy at best. There's no way to get a good overview of a bunch of forums where some people love it, but others hate this or that function.

What you can get feedback for is how eye popping or outrageous (no F keys!) your suggestions are. People in the office will react, and they are the ones who will decide what actually gets shipped.
The game was extremely well received critically, but sadly less successful commercially. It's one of the very few space combat sims with a fully Newtonian six-degrees-of-freedom flight model. It's still extremely playable due to a togglable "fly-by-wire" system where the computer attempts to make thruster burns to keep the ship's velocity vector as close to where its bow is pointing at as possible, but a totally free flight mode is just a key press away at any time.

Another of the game's distinctive features is that instead of piloting a nimble but vulnerable space fighter, the player assumes the responsibilities of the bridge crew of a 160-meter corvette with a dry mass of almost 20 thousand tons! Even though for playability's sake the ship is capable of several-gee accelerations, there's definitely a tangible feel of inertia in how it responds to the helm controls.

The 16-minute, full-CGI intro video is probably one of the best introductions to any game ever, and definitely worth watching even as a standalone work of fiction: https://youtu.be/ECfKL4oS-6w
The underlying feature that both rely on is that default arguments are set on function declaration instead of function call. Mutable/immutable only affects whether or not you hit the bug.
I don't know TypeScript, but can't you expend a few lines to write a function 'getA : State -> number?'? Paired with the TypeScript equivalent of Swift's / Rust's if-let, it should be just as convenient.
It definitely makes writing the userspace code a lot nicer!

The main issue I've run into so far is that my JSON parser can generate quite heavy in-memory representations of parsed data. It's far from optimized though, and a lot can be done before needing to worry about the limitations of the format itself. :)
There are already plenty of providers (at least in the UK) that offer the APIs YNAB need - yet for some reason they've opted to use two obscure North America only aggregators. Salt Edge and Yodlee are two very heavily used providers that work internationally.
My understanding is that we have been.
it does point to a pattern. Both me and the rest of my real family don't talk to our bio families anymore and this kind of stalking behavior is something I'd expect out of one of one of those boomer assholes! objectively its super weird though, and also not strictly legal.
Risk isn't a single unified, fungible, quantifiable thing. We can't properly consider it or make decisions including it without understanding that.

A one in a million change of killing one million people is fundamentally different to a 100% chance of killing one person, even though the average outcome is the same.

You also can't get an honest assessment of risk without asking people to put their money where their mouth is: everyone considers themselves above average drivers, yet insurance companies won't touch some people (often those most convinced they're the lowest risk).

There are major economic and political concerns around any large project too, those add risks not present in the technology itself, and they don't just add new, clean, quantifiable risks, they also multiple (or reduce) existing risks in ways no one can predict or understand.

Before we can try to talk seriously about nuclear (or any other large project with a complex risk profile), we need a better understanding of risk itself. Any article that doesn't start at that point is (at best) uninformed chatter or (at worst) clickbait designed to start arguments.