skysight-inc/HackerNews huggingface dataset:
Ask HN: How to Get Good at Algorithm Design?
I have been trying my luck with CLRS, some Skienna, Leetcode and HackerRank. I have gotten a bit better at it, but nowhere near where I could come up with a brand new algorithm. Any pointers what I may be missing? Is it Math? More practice? I really want to get good at it. My real interest is in Scientific Computing, but that's for another day.
"unless Congress gives them the power to"

HAVA is an act of Congress. It does not, to my knowledge, allow the FEC to confiscate voting machines. Maybe it should've been clearer - "no shitty touchscreens!" - but it wasn't.
As I wrote elsewhere that depends on the string type used: https://www.reddit.com/r/haskell/comments/b0l93l/how_we_made...
Product Designer at Dimagi ONSITE|Cambridge, MA|Full Time

Dimagi is looking for our first full-time Product Designer to turn complex problems into intuitive user experiences!
- UX, Interaction, Visual Design skills
- Design software and related tools (Sketch or Figma, Adobe CS, etc.)
- Prototyping skills (using Invision, HTML, CSS, Framer, Principle, etc.)

Dimagi is an award-winning global technology social enterprise with an impact-focused business model. We deliver open source technology to help underserved communities in over 60 countries around the world. Our core product, CommCare, allows organizations in low-resource contexts to build and deploy their own innovative mobile applications to the last mile, impacting the lives of more than 85 million people around the world.

To Apply:
https://grnh.se/8f2052651
> Package management / Extensions

https://packagecontrol.io/

> File icons

https://packagecontrol.io/packages/FileIcons

> Git integration

https://www.sublimetext.com/docs/3/git_integration.html
Curious — why not Firefox and Startpage for work stuff or Firefox and DDG for work stuff? You can always resort to bang commands if DDG results aren’t great for particular searches. You can use the Multi-Account Containers extension (and related container extensions) to have Firefox work for multiple “profiles” of usage.

Or you could even use Chrome and DDG or Chrome and Startpage for work.

Anything where Chrome and/or Google are avoided is a good thing, IMO.
Some sort of Bone disease IIRC. One of the many rare conditions that are pretty much guaranteed to bankrupt you in the US, even with an expensive Cadillac healthcare plan.

Bah: I was trying to check the announcement, but their forum is in lockdown mode again for some reason.

Edit: Lockdown mode off. Link here: https://forums.somethingawful.com/showthread.php?threadid=38...
Dynamic food list sorted based on user like counts
Environment Is Cleaner. Your Immune System Has Never Been So Unprepared
Epic! Thank you
I didn't see any comment that countered the narrative that the 2 planes that crashed had an erratic altitude before crashing.

We have a natural and simple scenario to explain both, and a serious reason to suspect that any left side angle of attack indicator could have a mishap because those things happen and it's normally not a big deal.

Even if the investigation deem that the root causes are different, it is the most natural explanation of those accidents absent more information, and it is even a nominal chain of event that was planned by Boeing.
Chrome Sync is so sweet though. It's probably pretty close to impossible to live w/o Chrome Sync. It's my favorite tech feature. The USP for me is "As a user I want switch devices while I'm browsing, so whatever I was reading prior to having to go to the bath room I can seamlessly continue reading."
> Thankfully, there’s an easy solution, which is normalizing the string into the “canonical form”.

Cool, problem solved!

> There are four standard normalization forms:

(╯°□°）╯︵ ┻━┻
As with communism, or democracy for that matter, faith in humanity looks great on paper but never actually seems to work out in practice.
By the way the last letter of Zoë is e with a diaresis, not An umlaut. Like the second o in coöperate — it’s just an ordinary o with a marker to tell you to pronounce it rather than form a diphthong.
I never said no-one should have "jobs" or do difficult things.

Maybe there are people in the world whose aspiration is to do those unglamorous things that need doing, just to keep the societal wheels properly greased. There are absolutely enough people in the world who are civically-minded enough that they'll take on crap work that needs doing, without obligating everyone else also to do what is, for most of them, also crap work, but which doesn't do those "socially necessary" things, and instead merely shuffles papers from one folder to another.

I fail utterly to see how "there are some things that need to be done" is most appropriately addressed by "Ok, make everyone do something..."

EDIT: Phrasing
which are... none? I don't mean to be cynical sorry, but social benefits are US citizen subject that warrant such high taxes while living abroad?

We live in NL and definitely don't get/need any benefits from the US.
In the middle of a butterfly crisis, California sees a burst of painted ladies
Agreed. https://erldocs.com/ is a godsend. Glad they introduced this feature to the main docs as well.
Are you sure on that timing?

The CC non-profit was set up in 2001 according to Wikipedia, yet people were going things like face detection in the 80s which would have required using images of faces
WhatsApp down and so is outage report itself
Andrew Yang is the only candidate who seems to me to be actually serious about the future. Everyone else, it's either liberals saying that our problems can be solved by more 1960s welfare and 1970s regulation, or conservatives saying our problems can be solved by less 1960s welfare and 1970s regulation. Andrew Yang is the only candidate who isn't working from a 50 year old playbook.
They almost certainly use some sort of version control, like all novice programmers do, right? -- copying files/directories, creating backups, etc. (MyProject02.old.bak.zip).
Opus works in macOS natively in QuickTime, but only if contained in a CoreAudioFormat container (.CAF). Tested on macOS Mojave, it works. They simply never implemented any kind of support for OGG.
Oh, that title.. thought for a moment they were going to start paying more to the musicians.. but I guess it's not yet time to play fair there.
Understanding the 100 Prisoners Problem
I just want to say thanks for asking this. I wanted to ask this myself but could not phrase it as good as you did.
Using Que Instead of Sidekiq
https://cixtor.com/blog/editor-latency
I listened to this interview and it's interesting the way you put it:

Steve Inskeep rephrases a statement that Goelz makes to make it seem like the FAA is short staffed and that airline compliance is on the honor system.

Goelz then says what he means is that there cannot be an independent FAA inspector in every single corner of a manufacturer or maintenance shop, but by then it's too late because the seed has been planted listeners mind.

So here you are saying the "FAA and NTSB just doesn't have the resources to provide adequate inspections" and that the overall compliance model here is "cooperative self regulation" which... I guess barring the FAA having a 1:1 staff for every employee in the airline industry we are indeed going to have "cooperative self regulation".
Or top daily perhaps https://news.nukleosome.com/top/daily
Those are cliffs. The grass is at a lower elevation than the mountain.
What to Do When Hanger Strikes at the Office
Yeah in a bubble. But most establishments that suffer form this aren't going to be able to afford to "go cashless". Doing as such as a concept thrown around by establishments that can afford to do it like Blue Bottle.
rebos.
It makes a little sense. They aren't working with any kind of time limit, so if they break something they just work at it until it is fixed. There's no rolling back to the last good version.

But yeah, this is undoubtedly a factor in the games rather glacial development rate.
That's just platitude. My faith in humanity is grounded in the reality of what we have accomplished, especially over the past century.
It's what Haskell's 'text' type uses internally. This stackoverflow question seems to discuss why that is the case:

https://stackoverflow.com/questions/23765903/why-is-text-utf...
> I thought this was great, easy to understand and thus trust.

When you come to trust these systems, you cease to verify if they're working properly. Unfortunately, the system will eventually fail, you'll have a false negative, and you will have been since trained into not looking into your blind spot the tradition way because 'the machine did it for you.'

You will potentially cause an accident. Same thing with lane assist, same thing with adaptive cruise control. Perhaps not you, specifically, but some less vigilant driver.
I'm willing to bet 100$ that it is true.
Try the Multi-Account Containers extension on Firefox. It helps isolate sites across tabs and helps avoid the normal need to create multiple profiles. There are several other container extensions (the first and most famous one being Facebook container).
Fine for you, but I'm not a black-or-white person.

I would say their credibility stands at "significantly compromised", which is damning enough.
Thanks for the clarification. I basically wanted to know if database systems could make use of existing distributed-memory HPC programming models, and it seems that there is a possibility, however engineering efforts might be significant.
I really have no experience with database engineering, and I am not sure if MPI and Citus will play out well.
I hope you are considering submitting a paper/poster at HPEC'19 for your current work (http://www.ieee-hpec.org/), I think that's a good venue to engage with the GraphBLAS community in person.
Comparing Apple to 90s Microsoft is a bad analogy. Apple has like sub-20% market share of smart phones. Google/Android is the 90s Microsoft in the smartphone market, not Apple.
The movie version of Tony Stark was actually modeled on Elon Musk.

https://www.linkedin.com/pulse/true-story-elon-musk-robert-d...
Funny thing is, it’s actually incredibly reasonable to compare this CEO to an eccentric actor/actress. It’s about all his theatrics have amounted to: entertainment.
Also on the upside, we now have a list of countries that place more value on consumers than the US.
Can you TL;DR it for us, please?

Specifically - does it make Bloomberg's telling of event more or less credible?
Normalization covers more than just combining characters. CJK full width digits and punctuation can be problematic when you want the canonical forms for pattern matching:

s = '１ ２'

print(unicodedata.normalize('NFD', s))
print(unicodedata.normalize('NFC', s))
print(unicodedata.normalize('NFKC', s))

１ ２
１ ２
1 2
I thought that had to do with either trademark (e.g. logo for a competing company) or the method by which a color is manufactured (assuming it is not simple/obvious.) I don't believe you can literally lock down a color with no exceptions.
I've submitted a complaint about this requirement to use specific purchase systems against Play Store and App Store two years ago but they didn't see it as a problem because, apparently, you can switch from GPlay to Apple products or vice-versa.

A sound logic.
So, you notice the door to my shed is open and you wonder whether to tell me about it or to wait until there’s something in it that is of value to you, so that you can nick it?
The autors write that the registers went from 000 to something and back approx. 50% of the time when the random chance of it was really small.

An ideal 386 computer could be thought off as not requiring energy too, right? A looping pseudo random number generator would then be time reversal. It's not saying anything really.
As were, I'm guessing, the Ethiopian pilots.
I've played around with sending html strings via Phoenix channels and using morphdom to change only what needs to be changed. I'm quite happy with the results, even when sending an entire page for every significant change, and can't wait for LiveView to be released (estimated later this month, IIRC).
Facebook Can Make VR Avatars Look and Move Like You
Show HN: Flutter Plug-In for Vim
Obviously I don’t have data to back up my claims but I explain what’s wrong with shape-copying way of drawing.

Then, I go on to explain the litmus test for evaluating whether one has internalized the “3D” aspect of the object they are trying to draw. If someone can draw from a reference but can’t draw the same thing from a different angle - that means they’ve learned to draw based on that book that I linked.

Contrarily, you haven’t put forth a valid criticism of my post except highlighted that it’s a “hot take”. I am happy and willing to engage in a debate without calling/judging.
You can save one keystroke and type !s for Startpage.

I too just type the bang command somewhere, and usually it’s at the end of the search term or phrase.
> Drawing is 2D

It (like painting, where this is taken advantage of far more often) is actually 3D, since it involves applying one or more layers of material of nonzero thickness on a base substrate, though it can be (and often is) treated as 2D ignoring that.

But, yes, the grandparent was focussed (perhaps excessively) on advice about how to do representational drawing of objects existing in 3D space as a prelude to painting, presumably focussed on similarly representational painting.
Have you seen/are you using type hinting (available in python 3.5+)
Most IDEs have support for type hinting.

https://www.python.org/dev/peps/pep-0484/
> Because we use the Text type for strings in Haskell, which is an array of UTF-16 code units in native endianness, the benchmarks would take UTF-16 data as input.
No, a human does not have access to your password.

For the purposes of machine learning we can do something like this: as a request passes through us see if it's a POST to /wp-admin or similar, see if the response is 200 or 302 (which would tell us if the login worked or not). All that's done by code not people. Use that as a label "good login" or "bad login" and then see if there are lots of "bad login" events for certain characteristics and use that to predict what's a bot.
I understand and agree that we don't want knee-jerk reactions on the part of regulators.

I'm only an aviation enthusiast and by no means an expert, and fully admit that I could be wrong, and even with my natural inclination to reserve judgement, to me it seems obvious that grounding is warranted purely from a statistic viewpoint.

Compare the release of the 737 MAX 8 with the release of other recent-ish models like the 777 and 787. It was 14 years before the 777 suffered even a single hull loss, and 20 years before a crash of the magnitude of the 737 MAX 8 (loss of all souls). The 787 is almost a decade old and has zero hull losses or fatalities.

The 737 MAX 8 is less than a few years old and already has two catastrophic crashes? I know that it's hard to draw too much information from just two data points, but that's pretty compelling to me.
Does anyone know if this has any implications for reversible computing? I haven't the expertise to draw links between the two topics.

https://en.wikipedia.org/wiki/Reversible_computing
We should have a 4 day work week, with 1 mandatory day of eduction/training (not about ones work).
I prefer to embark next to volcanos and have the dwarves tap the volcano to make defenses (think magma traps and moats) and power furnaces and forges.

Once, my dwarves built a box structure on top of their underground fortress entrance. Built a wall around that, and filled the in-between space with magma to create a sheath defense. The ingenuity of dwarves is marvelous!
Imagine if the entire web were subject to the arbitrary will of an individual corporation.
Duckduckgo collaborate(d) with Yandex, it's a huge red flag for me.
Untrue. Dart code for example is AOT compiled but untrusted. Various Javascript implementations are also AOT but also supposed to be used for untrusted code.
It's not the autotrim that you can't fight. The plane can be trimmed (elevator surface) in such a way that pilot yoke input (stabilizer surface) cannot fight against. That is common to all 737's, and all pilots know about it. It is not that the autotrim feature can't be fought.

What's new in the MAX is the autotrim doesn't terminate when the pilot gives back pressure on the yoke if MCAS senses high angle of attack, it will do an uncommanded nose down (every I think 10s). This is to compensate for the MAX engine nacelle which provides a meaningful amount of lift to cause a pitch up moment in high angles of attack, unlike previous 737's.

I wonder whether the stall behavior between 737's is slightly dissimilar or very dissimilar without MCAS, between 737NG and 737 MAX? And then quantifying that difference. I also seriously wonder if it's even slightly more likely for a pilot to induce a stall as a result of not knowing about the natural uncorrected stall behavior of the new design compared to previous designs. MCAS is not my concern, it's how the plane flies without it that I wonder about.

Also, WSJ is reporting that the MCAS software update mandated by the FAA in an airworthiness directive was delayed due to the nearly five week government shutdown. I'm already imagining the tweets...
Uhh, I'll do my best.

At its simplest, in the West we have a thing for threes. Three bits of God, three little pigs, three branches of government (in the USA at least), "things come in threes", three books/movies in a series (a trilogy), stories that have a "beginning/middle/end".

Bottom line, the West tends toward organizing and thinking of things in threes. Some might even be superstitious about threes (perhaps a Pythagorean influence).

In China the number 4 plays a similar role. I don't know much about 'numerology' in China, save to say that recently the number 4 (which apparently sounds like 'death' in Chinese) has been considered bad luck. Here's a better explanation than I could give: https://www.quora.com/In-Chinese-culture-why-is-the-number-4...
Tangential:
I looked at other "Hacker News for X" sites and a lot of those links are now dead — https://hn.algolia.com/?query="hacker%20news%20for"&sort=byP...

Only lobsters and Product Hunt made it out alive from what I can tell. Says a lot about HN's moderation team, do the things that don't scale indeed.
No development team, no need for version control.

I meta love DF for it's primitive development practices too.

Guy decides to make a game with a block of stone and a chisel, development community calls him crazy and says games can't be made that way, but he keeps chiseling away.
If you are able to pay, American healthcare can be higher quality and more timely than Canadian care. Especially the hospitals and doctors in and around Seattle. That's why wealthy Canadians come to the US for some treatments.

The hope is that they earn enough from the Steam royalties (which should happen given the popular rumor and storytelling around the game among gamers).

Also, Canada has medical requirements and refuses immigrants whose admission "might cause excessive demand on existing social or health services provided by the government":

https://www.canada.ca/en/immigration-refugees-citizenship/co...

https://www.canadavisa.com/immigration-medical-inadmissibili...
Huh, the last time I tried DDG back in 2014 or so, all the search results came from Yandex, which really put me off of it.
Thanks for your feedback!

I think we totally agree. Our sole goal, as stated here: https://news.nukleosome.com/t/welcome-to-health-news/7 is to evolve this into a community that is as high quality as HN is. But HN wasn't HN on its day one. Speaking of which, here's a legendary post: https://news.ycombinator.com/item?id=1 ;)
Most of the people I know claim to just follow the voting guide in The Stranger. I imagine they'd take a copy with them to the booth too.
I have not! Thank you!
Google Blog: With Lookout, discover your surroundings with the help of AI
I've often wondered if DF will ever get an open source version that tries to recreate the same experience but focuses on consistent interface design, performance and multithreading, and ease of extensibility.

DF has a huge head start, and two of the most incredibly passionate developers out there, but it's also clear they prioritize expanding the model first and foremost rather than trying to tackle any of the user experience issues that have plagued the game forever.

(To be clear, I adore DF. I've put many, many hours into DF. It's a truly amazing game and I continue to wish the developers success.)
I wonder if Warrens discussion of fair platforms had anything to do with this move.
I heard some people recommend Oxygen Not Included, as also being in a similar vein, albeit at a smaller scale(ie, you have only 2 or 3 people in your colony), but with nice visuals (Klei are generally good with the animations, most things are animated, machines have cranks and pinions that move, water and other liquids actually flow with gravity, and visuals match the simulation as far as I have seen). ONI has a somewhat detailed array of systems like electrical wiring, plumbing( separate systems different for liquids and gases, with pumps, sumps, valves, etc), thermal management, people management (food, sleep, breathing air quality, lighting, waste management, morale, etc.)
The case of Raymond Davis[0] is probably the most mind-boggling in recent memory: A private contractor with a cover story as a cultural attache at the US embassy in Pakistan sees he's being followed by a couple guys on motorbikes while driving through Lahore, thinks he's going to get assassinated by Pakistani security forces, and shoots and kills both of them. He's arrested shortly thereafter with IR cameras, magazines full of bullets, and other espionage-related gear.

The US ultimately negotiated a payment to the families of the men Davis killed and secured his release.

0. https://en.wikipedia.org/wiki/Raymond_Allen_Davis_incident
Anecdote: the biggest thing I am learning now is just how much professional painters allow themselves to completely change their minds in the middle of doing a piece. I never thought this before, I thought everybody just knocked things out once they became proficient (and yeah, that can be true but not always), more often when I watch a video of an entire painting session they can decide to completely move things around, change the background, the mood, etc, and they are using physical paint, not photoshop.

Also in drawing, there is MUCH more erasing going on than I ever thought. It's true that some artists just work straight ahead, but I have never allowed myself to rethink things if I don't like where it's going. I make the mistake of abandoning works that I think are not going right, instead of fixing things which is a very, very valuable skill to develop.

Watercolors are pretty unforgiving in my experience as a beginner because they are transparent, and you have to be careful and plan things out in advance. I think there is a lot of technique to master there if you are learning on your own.

So you would want opaque colors, and you can get that with gouache + watercolor but more likely you may like acrylics.

Color theory is important. Take time to work make your own tests and color tables as you get used to a selection of colors.

I would add that watching videos of how different people work has changed how I view my own process. There are a lot of different ways to work and some may resonate with you.
Yep, I found every plugin I ever needed for Sublime. But then the minor conflicts between the plugins start happening.

Of which the only support answers online are "uninstall plugin/test". So I had to choose which plugins to keep for certain features/functions. It was too messy.

Sometimes I couldn't tell if it was the base features of Sublime that were conflicting with a plugin, or two plugins conflicting...

The seemingly unfixable bugs from plugins are what pushed me towards VScode. Where even if there are plugins/extensions, I need fewer of them, so less likely to have conflicts.