skysight-inc/HackerNews huggingface dataset:
Ask HN: What should a back end software eng learn to build simple UIs for apps?
I am an experienced software engineer, mostly focused on backend infrastructure in the data-engineering and data-science space. I have built distributed applications handling petabytes of data daily, robust APIs, extensive work with NLP algorithms, and including a fair amount of AI/ML work and experience with devops.

However, by the very nature of my work, the interfaces to most of my applications is limited to the CLI. The farthest I've gotten to front-end is Python plotly and bokeh dashboards. I'm looking to change that.

I would love to build tools like https://github.com/mobz/elasticsearch-head or https://github.com/mwielgoszewski/doorman. I've built custom tools to the likes of Airflow, sans the web UI. When it comes to hackathons, I'm the guy with the boring CLI app. The world of front end frameworks is overwhelming, and I'm really not sure what I should start learning. I don't much care about fancy optimized UIs, just the know-how of how to build simple web UIs talking to a REST interface, for example. Another dimension to showcase my work, besides the CLI. I'd appreciate any pointers to resources or advice.

Thanks a lot in advance.
>got us T-boned, and I cracked a rib

did you get compensated for pain and suffering?
Oh, ok. Sorry. Usually it Google employees that call themselves "Googlers"
100% Free VIN Check on Any Vehicle in Seconds
Why HBO Needs to Grow (The Future of HBO, Pt. I)
> Be statically type-checked, but without having to specify the type of variables or method arguments.

My experience with both Go (type annotations always) and Python (type annotations sometimes) has me pretty skeptical about this misfeature (perhaps someone with Crystal or OCaml experience can tell me why I'm wrong).

When implemented properly (i.e., like Go, not like Java), code with annotations is more readable (this isn't controversial), and adding them is a matter of keystrokes. Note that this isn't a static vs dynamic argument; Crystal is still a static language and you still have to deal with type errors, so you don't get the "get the happy path working at the expense of bugs in other paths" rapid-prototyping benefits that dynamic languages boast about; you just hit fewer keys (maybe this is Crystal's workaround for supporting multi-char scope delimiters!).

I'm guessing in practice you have a mediocre editor that will show you the type annotations with some nonzero amount of effort, and when you're doing code review, you're just forced to jump around to figure out what types are? Or depend on docstrings that grow stale? These seem like a lot of costs, not to mention the effort from the dev team to support this "feature", all to save users a few keystrokes?
It's ironic that you accuse FB of banning political minorities after many revelations that they gleefully took lots of money from the US political minority (Republicans) in exchange for tailored marketing services, helping that minority take control of the entire federal govt.
No offense taken! Divorce is a shit sandwich, no matter which end you are on.

If I may ask, were attorneys involved on either side in your case? I suspect that is the main differentiator between my experience and others that I have talked with that were able to settle on a sane number with their ex.

My ex-wife and I did the homemaker thing too. A lot of my peer group did. I don't think it works these days. No offense intended, but just like you never hope to be financially dependent on a man, I hope to never have a woman that is financially dependent on me again.
While I agree that being able to own weapons is a great thing, that alone wouldn't stop all types of crimes. One might be able to protect oneself from some random robber and other opportunistic types, but killing a well-connected or powerful criminal might cause a small army to hunt down the one responsible. No citizen can take on drug lords alone.
"The police view it as a civil matter, but could they look at it differently? Is there an ordinance that could be passed locally?"

This is more an issue with lazy or unmotivated policing rather than need for more and more specific laws. The driver is acting dishonestly to defraud the passenger of money. There are numerous statutes regulating fraudulent criminal conduct ranging from street scams to Bernie Madoff.

The fact there is a private contract between them regulating their commercial transaction does not obviate the need for both parties to comply with criminal law.

I wonder why the reporter did not seek any input from anyone legally trained. Relying on the police, who have no incentive to overly burden themselves with non-revenue generating police work, to inform the public on whether something is criminal or not is half-assed journalism.
I didn't know Portugal was big on censorship. What kinds of sites are blocked?
https://en.wikipedia.org/wiki/Market_segmentation

A prime example is https://en.wikipedia.org/wiki/Intel_80486SX where Intel spent extra money to develop a way of damaging a 486DX so it could be sold as a 486SX at a lower price.
Glad you got that in writing because most founders forget that part and think that even if Facebook's management changes they'll still honor their promise. Good thing you're not that guy.
If a method can handle n different types at runtime, then there are 2n - 1 possible union types that can be passed to the method: A, B, C becomes A, B, C, (A | B), (A | C), (B | C), (A | B | C), and that's without taking into account generics and nested type hierarchies. Not all of these unions will necessarily come up organically in code, but the class hierarchy of AST nodes used within the compiler was large enough that it was causing issues in real life.
Do you think that if courts did not necessarily honor these contracts as binding it would help, or cause more problems than it solves? For example: if there are server logs to show someone 'agreed' to a 5000 word T&C in under 5 seconds from presentation to acceptance, it seems unreasonable to assume they entered into that contract in good faith. In other words, do you think increasing the informed consent burden for the presenter/preparer of a contract in order for a court to veiw it as binding would help?
Honestly, just dispute the transaction with your bank. Why bother dealing with the company directly?
A layer of focused expertise is theoretically a good thing.

When these experts are bought and sold by corporations who write the laws to benefit themselves and hurt the people who voted for said representatives, the system is utterly broken.
I can skim a lot of things, but they're all a lot higher than assembly.
I have no friends or family here and am too socially crippled to make friends I would ever trust. I need a harmless procedure completed and doctors refuse to do it unless I have someone else with me who is willing to drive me home afterwards. Uber/Lyft/Taxi is not allowed either.
Complaining is one thing, acting is another.
I await this paper with eager anticipation.
I doubt that anybody would even consider for a second making him the actual govenor, but going through the process of trying indicates that the kid has initiative and some understanding of how government works in his state.
As a counterpoint, selecting that text and choosing “speak” from the pop up menu doesn’t speak that text on iOS.

VoiceOver on iOS doesn’t speak it, either.
The same arguments could be applied to any child/parent relationship. How many adult children are under the influence of their parents? The ballot is secret, so a child would be free to vote as they wish. Children would have to be treated as any other voter meaning parents should not be allowed to be in the polling booth with their children.
Did you ever that do that? How much time does it take? Any pointers on how to proceed?
Also seems to support the "standard" shortcuts for formatting (Ctrl+I/U/B, perhaps others), but yeah, the introduction might be lacking.
Good for him! I like his position as well that being 14 should come last.
>Public outrage is focused on the exceptional case and ignores the common case.

and? the exceptional case is caused by malice whereas the common case isn't. that's where the outrage is from.
As a HIPAA issue, the Mayo cannot defend itself here - it has no right to disclose any information on this patient’s stay or condition.

Key quote,

>“You’re only hearing one side,” cautioned Dr. Chris Feudtner, a professor of pediatrics, medical ethics and health policy at the University of Pennsylvania Perelman School of Medicine.

They “broke her out” while she still had a feeding tube in place, and had only just “The video shows Duane pushing Alyssa in her wheelchair down the hospital hallway. She has a bandage on her neck where her breathing tube had been removed a few days before.”

If you’re getting a feeding tube and a trache, you’re likely sick as shit. Even if one thinks the Mayo docs were wrong, that course of treatment suggests they earnestly thought she was extremely ill. Which makes their actions less evil than the article implies.
Anyone else learn a new meaning to the word "founder"? Thought it was a typo for "flounder" only to learn that it can also mean "to give way, collapse." Stay weird, English.
Why is it illegal and how do they enforce it?

I know that something similar happens with airplane tickets but they get you with the luggage and with terms & conditions AFAIK.

How is it similar/different with train tickets?
Lithuania has a special banking license for "fintech" with only 1.5M EUR regulatory capital requirement.
You can have a social good corporation or a not-for-profit business and still make tremendous amounts of money. It just means it's not your goal as a business.
I keep all location services turned off on my Android device – unless I have a good use case, e.g., I’m in a strange town/city and I need to know where I am on the map. So, I figured I should be safe from the privacy violation(s) described in this article. Then I got to the section that reported about the tracking of Android users by “collecting the addresses of nearby cellphone towers”. :( Even though “Google changed the practice and insisted it never recorded the data anyway”, it appears that just carrying any Android device comes with the cost of ongoing background location tracking.

I’ve long accepted that carrying any kind of mobile phones allows mobile operators and state actors to track one’s location – but it seems to be a constant battle for citizens to understand how they might minimise the scope and quantity of personal data being harvested by large tech companies. I don’t know enough about the letter of the law but this kind of surreptitious location monitoring (via mis-leading options when Location History is turned off) seems to violate the spirit of the GDPR.
New Linux kernel debuts, adds more suspect NSA-sourced crypto
were attorneys involved?

No, we had a DIY divorce.

I'm actually a rather skilled negotiator in some sense, though I don't usually say so because I think that gives people a completely different idea than what I really mean. I mean more like diplomat or like the guy in the movie The Negotiator. [1]

We kept lawyers out of it and that meant there was more pie to go around because we weren't giving tens of thousands of dollars to lawyers. That made it easier for both of us to give a little here and there.

My divorce was surprisingly amicable, more so than my marriage. We agreed ahead of time that we were not going to leave either party in a shithole of financial mess. (I sometimes joke that if we hated each other and wanted to make each other miserable, we could have just stayed together. :-P)

I have been to his house once post divorce and met his new wife. His life seems to be pretty okay these days.

[1] https://www.imdb.com/title/tt0120768/
One assumes its an extension of their previous work (https://arxiv.org/pdf/1501.01062.pdf), which was only valid for Euclidian and Hamming spaces?

Edit: The author says its https://ilyaraz.org/static/papers/daher.pdf, but he got marked dead by HN.
> For director Jon M. Chu, it was the “different tiers of rich” that interested him most. For the very richest, “it wasn’t about flash,” he says. “It’s about subtlety and class. It’s about how you were raised, and you can’t tell those things by the label.”

I really dislike the pushing of this narrative that rich people are somehow a different breed than the rest of humanity. It's the automatic association of monetary achievement (or inheritance) with human worth or intelligence. And from my experience this divide simply does not exist. There are a lot of trashy rich people and a lot of genius poor people.
I think that's the point: despite these complaints he said nothing about this. Though why anyone would even mention it to him is beyond me.
Its even worse, they replaced 1 camshaft with 4 camshafts, because electric linear actuators are not there yet (and probably never will be).
I think of it as "The ship foundered on the rocks".

Of course I suppose if a fish did the same thing we might have a foundering flounder.
Do you know what “because” in that sentence means?

Edit: Nah, that’s OK. Just downvote and scamper on. Make HN more like Reddit, that’s what this place needs!
>I see workers rights being crushed even further every year, and a new Lochner era is probably about to begin with the Republican majority Supreme Court.

That's vague and doesn't have any specifics so can't really comment on that.

> I haven't seen anything get better economically since I was born. I watched my grandparents lose their home & lose all economic security because their pensions and union payouts were crushed, their social security hasn't seen any reasonable increase in a long time.

So your grandparents had it tough in their retirement years so you and everyone else has to have it tough economically?

> I just see things going downhill and never getting better because that's all I've ever experienced.

So your 27, still early in your adult life and you have given up completely? Sounds like your setting your self up for a tough life. Do you not have plans? A career you want to excel in? Goals? Besides, being a union member or having a pension is not needed to retire comfortably. The S&P 500 index is up over 1000% since you were born if you were to reinvest the dividends. Prudent saving and investing will give you a comfortable retirement. Plus your young enough that even if you started now you could retire well off.
This is the second paper, where we present an actual fast algorithm for general normed spaces: https://ilyaraz.org/static/papers/daher.pdf . Enjoy!
As a passanger, I‘m expecting a ride to my destination. There are chances the driver will run into an accident, speed, drive recklessly etc. The car could be dirty or smelly, broken or old.
As a passanger, I do not expect to be a victim of fraud or any other criminal act committed by the driver towards me.

As a driver, my expectation from the passanger is that he will get in the car, do some small talk and get out of the car as soon as we arrive. There are chances that the passanger is sick, dirty, smelly, unpolite, unfriendly, noisy, drunk. With that comes the risk that he might mess up your car, especially if he is sick or drunk.

So I think, both, the driver and the passanger know exactly what they are getting into. No need for a „oh the poor taxi drivers!!“
Had a Lyft driver that was high as a kite when she started driving. Proceeded to go down the wrong freeway and ignore my directions on how to get back on track. Decided to end the ride in front of a homeless camp.

I called Lyft to complain. The driver claimed that I assaulted her. Despite the GPS records, eyewitnesses, and police report to the contrary, Lyft sided with her.

Switched to Uber immediately, and charged back every ride I'd ever taken with Lyft.
Why do you think Trump is continuously attacking the integrity of the very institutions that are meant to keep democracy intact? (the legislative bodies, the judiciary, and the fourth estate).
Turns out Oracle's complaints do have merits, contrary to normal emotional responses.
People sell stuff at farmer's markets that they don't actually grow themselves. There's very little oversight.

And even if they do sell their own produce, who knows where they're growing it, or if they've had the soil tested for contaminants, or if they're being honest about pesticides and fertilizers.
404 error? (page not found)
Also liked this similar post a while back about optimizing varnish's binary heap for better page/cache use: https://queue.acm.org/detail.cfm?id=1814327
The cleaning fee is already a decent solution for the common case.

It looks like these companies don't yet have a solution for the exceptional case. Relying on passengers to 'prove' the fraud and charging them $50-150 if they can't is a terrible solution.
There's a huge, gigantic, gaping chasm between a hospital patient with no history of mental illness with two parents, neither of which have a history of mental illness, and a schizophrenic homeless person. Saying one has anything to do with the other to justify a hospital kidnapping its own patients is seriously messed up.
I keep thinking it's Crystal Reports every time it shows up on HN.
Give me one example of a criticism of Trump that his supporters feel is "valid on its merits"?

The beginning and end of support for Trump is that we he says, goes, period, and anything that criticizes him is being unscrupulous in some way. There is no way to legitimately criticize Trump in the eyes of his supporters. It is a cult.
Wow, that was a stupid mistake on my part. I don't know why I was convinced it doesn't work with Android. It is indeed really awesome.
Gotcha! That makes sense, thanks.
Then again different healthy humans read texts differently. There's no such thing as a canonical reading and any reading bring in prior semantics.

There was a sign posted in the break room of a lab I used to work at. It read, "<long complex equation> is easy for you to read, but not for everyone. Volunteer to read for the blind." It was a good double whammy.
If you have a huge media collection, maybe. It's just a convenient HTPC like setup that you can hook-up to your TV.
Should be better now. Let me know if it persists!
They just get into the correct lane.
IANAL, but isn't this technically wire fraud? I'm sure a few indictments from the feds will scare them into not committing a felony.
https://news.ycombinator.com/item?id=15607383

Amazing story! I don't know if it's true or if you're delusional, but I'm inclined to believe you as it would explain why Netflix recommendation system went downhill instead of improving.
I would also recommend Borges' Norton Lectures. It provides a lot of unique insights about his creative process.
https://www.amazon.com/Craft-Verse-Charles-Norton-Lectures/d...
True, but not even including these streaming sideloaded plugins, what percentage of Kodi users are playing legitimate content?

And if more than 0%, where in the world are they getting the DRM free digital files?
In 2001, a blogger named Tara Liloia wrote that sarcastic sentences should be ended with a tilde (~)

Oh, how far you have fallen, tilde.
Meh, that's how it is with the direction the money flows. Your complaint is a more specific version of general service industry complaints. Not that it's invalid, just not Lyft-driver specific.
It blows my mind to think that we DO have materials that can withstand such temperatures, even after understanding the part about heat transfer.

I hope that kind of materials can be mass-produced on the short term future to be used as insulation for homes!
I am a backend engineer and I really like working with React.
State of the art is basically 8 bit weights. Anything below that doesn't really work. You will see lots of benchmarks and figures saying that it does, but nearly all of those neglect the absolute accuracy, meaning, they compare deeply quantized models against the _shitty_ variants of full-precision or half-precision models which are not useful in practice. Another trick is to deeply quantize an overly redundant model that's no longer state of the art, and show a few percent degradation in accuracy on top of an already barely acceptable number.

IMO, we need to pay attention to absolute accuracy if any of this is to become actually practical. I.e. I don't care how fast or small your compressed network is if its top5 accuracy on ImageNet is below 80%, or some other such criterion. Now granted, this is not perfect, because such models might still be useful for a smaller number of classes, but then maybe come up with a separate metric for that, too. A pedestrian detector is not very useful if it misses or misplaces 30% of pedestrians.
I'm kind of on a negative streak these days, so forgive me, reader, but...why in god's green earth aren't these the government's hobbies?!
dont you mean 150MHz in 1992-3?
This thread is specifically talking about tax plans from Republicans in the US Congress.
Not eating steak, brisket, bacon, pork, etc....is definitely misery... esp. a good smoked brisket with good marbling...
You're telling me there's no difference between light and the absent of light barring our perception of them as though light isn't a physical phenomenon with measurable effects.

For an inverted color scheme (light information on a black background) on a display where black pixels don't emit light-- the only emissions your eyes have to take in are information.

Your digital logic analogy is sanitized. If the high logic level is at 10kV your equipment is going to have a hard time.

We're talking about staring into a light source, there's a difference in total energy your eyes have to absorb.

Maybe your argument is self-evident to any theorist, but it completely ignores the physical world.

I'd also add that when reading with reflected light (such as reading on paper), your eyes are going to be taking in the same amount of light regardless of where they look in your environment because you're just reading ambient light. Completely different than staring into a light source.

Try programming while looking through an LCD directly at the sun and have it display characters by darkening pixels of direct sunlight aimed at your retinae then tell me there's no difference between a lit pixel and a dark pixel.

Hey, there's no difference between a one bit and a zero bit, here's a great computer interface idea: Transmit binary data to the user with gamma rays. The only difference is in how their far from perfect human body experiences them.
If you're going to get that pedantic, then you have to admit saying, "I hope" is not, in fact, asking.
I encourage ITNews or anyone else to point out what's suspect about Speck. It's so tiny I don't see where you can or would put the compromise.
This is awesome. Question though: how is producing license plate data like this not a disallowed privacy invasion? It seems like you could totally track who's parking where and potentially do nasty stuff, if you know (say) someone well-off whom you don't like and who doesn't seem to mind getting tickets on a regular basis.
If you want to try it, just get a Raspberry Pi and install it yourself.

Or just set it up on your computer.

I gave it a try, and found it clunky and annoying to use, so I've since built a solution that meets my specific needs.
Unless the parents were crazy abusive or actually unfit, Mayo basically stalled to steal their child and charge them more money. Also bad is a recent scam of random average people being involuntarily assigned conservatorship and having their assets stripped.
Why do you think Trump spent so much time attacking Hillary for being "crooked"? It was to muddy the waters so that when Trump's own crooked actions came to light, the average person would just throw up their hands and say "they're all bad".
Idris state machines in JavaScript apps
> The thinking being that the more painful filing your taxes is, the more people will have a negative perception of taxes in general and be opposed to tax increases.

This is exactly the reason I do my taxes by hand on paper every year.
Love this. This, possibly more than account termination, would limit incentive to do this.