skysight-inc/HackerNews huggingface dataset:
In this example, author implements custom UI layer as it is described in readme "WebAssembly frontend for Vim is implemented as a new GUI frontend".
Input and output is handled in JS side but core functionality resides on WebAssembly part.
I am not familiar with Vim but probably I/O is well seperated from logic code so it might be easier to modify it to work on browser but I actually don't know how it is working for other applications.
> But markdown is for writing natural language, isn't it a nightmare then to keep all lines 80 characters if you edit previous sentences or insert a word somewhere?

No, press M-q, done. But it is nightmare, if the lines are long, or additionally cut in the middle of the word.
Anecdotally I found my performance to - both in the gym and in the office - increase not decrease. From athletes and academics I follow on social media, they also say the same. I've read a few hypothesis as to why this may happen. In an evolutionary sense, when in a fasting state we would require more energy to go out and hunt/gather food to take us back out of that state. IIRC, metabolism increases while fasting. It wouldn't make sense for our body to reduce performance because that just makes starvation an even more likely possibility, as it suddenly becomes much harder to go out find a food source due to said >"major performance decrease".

There are a few studies knocking around about regarding it, but I've only got a minute so this is the best I could do for the moment-

"Findings indicated that pre-exercise feeding enhanced prolonged (P = .012), but not shorter duration aerobic exercise performance (P = .687). Fasted exercise increased post-exercise circulating FFAs (P = .023) compared to fed exercise."[1]

[1]https://www.ncbi.nlm.nih.gov/pubmed/29315892
@ben509 thanks for amazing suggestions. I plan to add multiple features in next few days.
In many terminals (especially old ones), Ctrl-3 also commonly gives ESC.
Ask HN: How does your team run the kanban backlog/board?
I'm looking for clear examples of how backlogs and boards are run with a mixed "full-stack" developers.

We're trying a new process where the backlog contains every ticket from every project we're working on plus bugs from all other services we ownr and the dev just pulls the top ticket regardless. In practice this could mean in a single day I could pull a frontend task in project 1, backend task in project 2 and a bug in a completely different service. To me, this constant context switching gives me nightmares but everyone else says this is normally how kanban is run but I can't find any real world examples of such a process. How does your team handle kanban and do you mix unrelated projects in a single backlog/board?
> The catastrophe occurred in 2016 in Antarctica's Weddell Sea.
Well with retained mode one still has to handle a bunch of application state, and handle keeping that state synchronised with the view. Immediate mode typically forces you to manage the view state too but it’s typically easier to keep it synchronised with the application state that way.

I think the following is an interesting example here: your application state is some type, Config which would correspond to some boring components, e.g. text boxes and radio buttons, but the interface you want to present looks like:

[X] default settings

Or

[ ] default settings
...

Now the type of data you want by the end of the form looks like (eg Haskell)

Maybe Config

Where Nothing means “do the default thing”.
But the state of the view has to look more like:

Bool * Config

Because you want to remember what options the user had changed in case they change their mind a few times about using the default state. And now maybe you want a state like

(mutable) Bool * Config * (mutable) Config

Because the default state is not static and you want to make fields bold if they are not default. And so now you still have to do the complicated conversion from view to application state (but at least you don’t have to go back).

I suppose this is like the very early web dev style of having no direct state and directly reading values from controls, but at least in this world one has control over how the view state is managed and represented so it can be easier to avoid getting into invalid states.
Sure Tesla can make good cars, but not if it has to sell them at a profit. Over the lifetime of Tesla, each car has been subsidized by like 10k from shareholders and 7.5k from government. Both subsidies are going away as we speak.
No, for many people "washing" is a euphemism for gathering clothing from various rooms, sorting it into different loads (hot wash, cool wash, whites and colours), loading the machine with clothing, loading detergent (and buying the detergent), pressing the button (while selecting a program that doesn't destroy the clothing), taking the clothing out of the machine and putting it in the dryer or hanging it on the clothes line, taking it from the dryer / line and ironing it if needed, then folding it if needed, then distributing it back around the various rooms to include hanging if needed.

The fact that we dismiss this work mostly done by women by saying it's just pushing a button is probably sexism.
put an authentication/reminder banner in your website to check website URL and warn against any other similar URL, even directly warn against the other website that they do not belong to you.
>"The computer decides where the text goes, not me - I want to be in command."

Is that possible for any program to do it in plaintext? The only things I know that can fully control character positions are something like inDesign, I don't see anyone would like to write a paper in it.
I agree with you both. Developers hate documentation but I would add plethora of documentations and examples in next few days.
The working vacuum in your house is a significantly better ad than whatever amazon shoves down your throat.
A friend was let go from a teaching job at a prestigious college in my city because she was - in the words of the administration - harsh and hostile to students who had blatantly plagiarised their papers.

I guess when education becomes a business, you have to place the customers - the students - satisfaction over, you know, the education
Whats the difference between Mead and the more typical Ale home brewing people do?
The Civic is indeed renown for needing few repairs. The stuff I listed still has decent odds of breaking for most cars - while many/most of these parts are not present for BEVs.

The 100k claim is of course utter BS for a modern car (or US built quality is as inferior as some people claim - which I doubt), but it comes at a cost.
Russiagate Was Journalist QAnon
Something else to try is Ctrl-3. This commonly gives the ESC code.
How do you explain a 30% quarter-over-quarter drop in a company that is rapidly growing?

Pointing at year-over-year for a company like this is deceiving. They just introduced their "mass produced" car with 2 years worth of demand. But, I guess you have until next year to keep telling this particular story.
I see many comments on broken key combinations. Obviously, we need to somehow overcome a UI/UX limitations of the applications that run inside a browser if we're moving into browsers with the consumer apps. I wrote a dedicated article on this: https://database.blog/trello-hot-keys/
These sorts of things only happen at elite universities because they can drive headlines. As a graduate of a mid tier university over a decade ago, I assure you they were suppressing faculty speech even more and with a whole lot less fanfare.
Ask HN: How do you bill your freelance consultation services?
I am a freelance consultant mainly consulting startups over Skype. I do provide software development services for startups but that's an less frequent affair than daily consultations over voice/skype.

The problem is I am unable to bill these voice consultations efficiently.. though I have a hourly billing model, most of the times it's unclear where the consultation starts and ends.
which makes it hard for me to turn an on going conversation into a billable conversation.

The second problem I face is the actual billing. Skype is a great platform but there's no way I can bill a conversation over Skype. then there's the whole cycle of send invoice-> follow up -> get paid or die.

How do you deal with such issues? (also, mention your domain of consultation, since I feel each domain would have it's own set of challenges)
Death and Delusions in Yemen: The Grisly Sanaa Ripper
Just like with SaaS, when things go boom, you’re screwed.

With Tesla, i would assume that in car features like autopilot would go poof, along with the proprietary chargers and spare part availability. Also, who knows what over the air maintenance is happening.

With a lease, your liability is capped to the lease payments. With ownership, you can ride it down to zero.
Types of Thank You Emails (With Examples)
Video of a Chimpanzee Using Instagram
There is still a synchronization of how many seconds you watched the ads. I really doubt that these ads will not be directed to users, depending on their preferences. The same thing facebook and google does. If a company comes and will offer millions of dollars to track users, like what kind of ads a specific user / target group is watching, will brave say no ?
I think the German definition of insider trading is more loose and could potentially include someone profiting from spreading fake news.
it depends if you're scheduled to be on call or not.
Both are possible, i.e. deploying a new system to production will usually require a scheduled watch, where a service crashing in the middle of the night is an unscheduled call.

schedules are rewarded by a fixed amount ($10'ish) per hour for as long as the watch goes on, with 2-3 hours of 150-200% hourly wages per call, depending on the time of the call.

Unscheduled calls are in the 3-3.5 hours of 150-200% hourly wages per call.

calls during vacation days are rewarded with the above, and a replacement vacation day.

The rules are specified in article 19 in the following : https://www.fanet.dk/system/files/publication_files/standard...
It's a multi year study and they just published the results.
How comes I never even noticed this 30 years ago?
Super Mario Maker 2 limited edition includes year's Switch Online subscription
> Better chip than Nvidia.

That's arguably false. Nvidia has a more powerful FSD chip. But performance/watt might be better for Teslas chip.
Every healthy person should be able to fulfill their basic needs. Have a job so they can afford to have a roof over their head and buy food, cook so they can feed themselves, and operate basic household equipments.

Gender roles splits those so that only one gender is responsible for any given need. It might have been a useful optimization method in the past but not now in modern society.
That paper says nothing of the sort. Did you even read it ?

The numbers actually show pseudo-LiDAR being worse in general and significantly worse at longer distances.
Elon's vision is to take over the world automobile market quickly. It's impressively how close he's come. From zero to #1 since 2012 in premium cars is an almost unbelievable achievement. Originally the plan was announced that the model Y would be produced in new assembly lines in Reno, then later the lower end model Ys would be produced in China.

However since then the model 3, S, and X demand had dropped significantly, at least in the USA. They are developing markets in the EU, but delivery logistics, safety certifications, dealer networks, and related have delayed things. Reduced tax incentives in the USA have also hurt demand locally.

My speculation is that Elon wanted all 4 model 3 assembly model 3 lines in Fremont to stay producing the model 3. But now after Q1 they are considering converting a model 3 line in Fremont to the model Y. This will save significant money since with 75% of the same parts, but of course will reduce model 3 production capacity.

How much this makes sense depends on if Panasonic keep up with the battery demand and how much can the new EU model 3 demand make up for the decreasing USA model 3 demand. I suspect there will be related announcements in the next quarter or so.

As for desperation. They made $3.7B with a 20% margin and just paid off $920M in convertible bonds. They have $2.2B on hand and sold 63,000 model 3s this quarter. Where's the desperation? They promised a model Y (mostly a model 3 with a bit more ground clearance and a slightly taller chassis) in late 2020. I don't really see a problem. Given that they have set up 4 model 3 lines so far, at least one model Y line in 1.5 years seems pretty reasonable.
Show HN: Fyipe – Status Page, PagerDuty, Pingdom All in One
I teach coding. Here are some of my insights:

— Remove the instrumental barriers first. I start with teaching the basics of UNIX shell, navigating the file system, processes, editing files etc. Students will move much faster if they do not stumble on basics.

— Continue with the notion of system libraries, dependencies and teach how to use system package managers to install stuff.

— Explain what APIs are and teach how to call them manually for some useful results. E.g. use curl and Twilio API to make phone calls.

— Write simple scripts: call multiple API endpoints, use variables to store intermediate results, use simple loops. I hate bash, though, so any other language will do.

— The lowest-level API is machine code / CPU instructions. Write simple assembler code to calculate something, translate it to ASCII string (explain how symbols are encoded in ASCII and Unicode/UTF-8), and package it to the boot sector / boot it via QEMU.

— Move to C, learn about data types, arrays, pointers, etc. Use some fancy GUI library for additional immediate gratification.
Only the BBC's deliberately emotive headline to this story suggests that 'penguin chicks have died'. The facts behind it are that BAS scientists have reported that one colony site has been abandoned and that another nearby has increased in size. The probability is that the abandoned site had become vulnerable to storm damage and the colony moved to a less risky location. No panic, no disaster.
In Xilinx case some chips are also involved. It’s not simple case with software only.
The unfortunate consequence is that there seems to be no sign of further breeding after this point, despite the adult penguins surviving. I think they're insinuating that the catastrophe is on-going.
Pipable Functions in C++14 (2014)
Given the other applications you chose to look at, I'm surprised you didn't also look at Audacity. It uses wxWidgets, which is a nice C++ cross-platform GUI framework. It wraps native controls on each platform it supports, and also has a "Generic" variant where it draws its own. It's not very heavy as these things go, and has a nice python binding called wxPython.

I'd check it out before rolling my own :)
Martyr Complex, Motherhood, Covert Narcissism
My grandmother was born in 1912 and live to 97.

She:

- was born in a time with no antibiotics

- lived on a farm with all of it's inherent risks

- lived through World War 1 (granted in the United States)

- survived the "Spanish Flu" (although as someone under 10 whereas hardest hit were adults)

- lived through the Depression

- started having children post World War 2 (now with antibiotics available).

I've often thought, just making it to age 10 showed that she had a strong immune system. When she started having children, she benefited from having access to antibiotics at a time when there was no drug resistance.

Looking at my parents generation (the baby boomers) and suddenly you have a generation of children where infant mortality etc goes way down (again thanks to antibiotics). In other words, children that wouldn't have survived in 1912 are now living into adulthood. We applied selection pressure to have children (and then in turn adults) with weaker immune systems. (Not saying this is a bad thing).

Because of the above, I wonder how much of the life expectancy increase has to do with a kind of winning the demographic lottery of: "When I was little, my immune system kept me alive. When I was an adult, medicine took care of what my immune system couldn't."
I did a few years back and it seemed fine for cutting clips together, but not doing much else like titles.
I actually think step (1) isn't a good way to start unless the pupil has some prior knowledge.

Many (most?) people don't have know how to take a big problem and turn it into something they can make progress on.

You give them the lego bricks and say 'make me a windmill' and they don't have the first clue where to start. They may not even understand that programming is lego.

So, you either have to teach that first. Or, if you want to teach it later, start with a sequence of problems that have one obvious step each.

Some good approaches to attacking a problem too big to be obvious:

1. Break it into smaller and smaller pieces, then implement those pieces.

2. Bite off a small piece that you think you can do, then grow that.

3. Write down everything about it then think very hard about what are the essential characteristics of a solution.
Yes, I ignored that one. The $39,500 model with autopilot is right on the website. It's not the promised $35k model, but it does include autopilot.
>An NSView has a drawRect:: method that draws that particular view in "immediate mode", with drawing commands of the underlying procedural graphics API (essentially Quartz/CoreGraphics).

Yes, but that's the case for almost all retained mode GUI toolkits (they provide something akin to that), and it's used as a last resort (when you need a custom look or to implement your own widget, or complicated UI for something like plotting or a piano keyboard, etc).

Regular use of the APIs in Cocoa (and what all books advice) is retained mode style, using pre-made widgets with the Interface Builder and so on. Not "drawRect".
This really shouldn't be news to anyone.

Alexa Team also know when you are home, your work hours and when you are on vacation just by the time stamps of you using Alexa.
Bias types and how to eliminate them in your Machine Learning project
I'd be interested in seeing that assignment, if you can lay your hands on it. I teach university maths.
Unfinished Clockwork Orange sequel found.

https://www.theguardian.com/books/2019/apr/25/the-clockwork-...
What I find really interesting is that Alibaba inside China has already solved this problem in Tmall and Taobao (it doesn't really work for international sellers).

Once you've built up a buying history and reach the level of VIP you get a guaranteed refund policy while claims are being investigated. If you request a refund you get the refund while they investigate.

Also refunds for counterfeit are triple on Tmall (optional on Taobao) which makes it fairly easy to figure out if something will be real or not. The seller also has to have a bond of different amounts which is public so you know how much they trust their own products.

I thought that this would be interesting since Amazon just pulled out of China. This is probably one of the main reasons they struggled here. (I live in Shanghai as an expat)
Top Challenges in Building a Successful Marketplace
SlateStarCodex April Links
Your SaaS MVP Pre-Development Build Checklist
I've always wanted to own a gold bar, holding something that's both valuable and visually pleasant to look at would be quite satisfying I presume.
It seems that a faulty immune system is the cause in MS, and inflammation is the symptom... can you clarify your example?
Read an article where people were coming to people's houses demanding their phone etc. because the location for that "region" was mapped to their backyard.
Depends on how the group is defined. I've found myself in the group of people defined as "with IQ score below 140" and you can say, with high degree of certainty, that I'm less intelligent than group of people "with IQ score at or above 140", but I don't lose much sleep about it.

Also, what exactly "intrinsically less intelligent" means? For example, I'm statistically more likely to be less intelligent than people of some ethnic background, but this effect is slight enough so that every time I'm compared to a person from this group (and he has to be randomly chosen, and I have to have no other information about him/her other than his ethnicity for this whole premise to work, btw), it's like 55%/45% in his favour, not 100%/0% - not a reason to drop out either.
I think it’s important to separate what one ought to do with what the law ought to force one to do. To the extent that universities are truly privately-funded institutions (they’re not, but in my opinion should be), I think the law should have very little to say about who they hire and fire.

But they are still failing in their self-proclaimed mission as cathedrals of knowledge and discourse if they engage in ideological purges. And really, anyone who makes hiring and firing decisions out of resentment and spite should really think about who they are and who they want to be.
This is something that you do while editing, not while you're writing the initial draft.

(Here's hoping that everyone actually edits their blog post before posting.)
That report does not measure what consumers care about. It simply measures what Tesla owners think. And those owners tend to come from a very narrow demographic which is unrepresentative of the general public.

And yes people are worried about the difference in range given it's a new technology. But no evidence it significantly influences purchasing decisions especially given that most people aren't driving hundreds of miles in a day.
The linked article, and presumably the person I'm replying to, are specifically talking about the maximum age a human can attain. Granted, chriselles was specifically referring to the rich extending life 5 to 10 years, but the rich are generally already living pretty long lives and I'm not sure how much more quality of life can be wrung out in the last 5 to 10 years, especially if you're having to pay a considerable amount (which would indicate you have many or complicated problems).
My understanding is that the doubling in life expectancy over the last 150-200 years was primarily due to the drastic reduction in infant mortality and elimination of most infectious diseases. If you only look at life expectancy from the point of reaching adulthood, the change hasn't been nearly as dramatic.
DRM and non-DRM are effectively polar opposites of each other.

DRM is a problem for free speech.
The murkiness is that the tool shields the harasser from any sort of consequences that would occur if the exchange happened in the physical world.
I think you have it exactly backwards. Most ImGUI use cases are extremely complex UIs and that's where they excel.

One of the most complex apps out there, Unity, is entirely ImGUI based for the app itself and often has 1000s of controls visible. Going though the screenshots of typical ImGUI usage most of them are on the complex side.

https://cloud.githubusercontent.com/assets/8225057/20628927/...

https://raw.githubusercontent.com/wiki/ocornut/imgui/web/v16...

https://user-images.githubusercontent.com/16171743/50757906-...

https://user-images.githubusercontent.com/8225057/51042368-6...

https://user-images.githubusercontent.com/870320/51073482-ba...

See https://github.com/ocornut/imgui#Gallery for more
Crowdcube have acknowledged they're experiencing issues.

https://twitter.com/Crowdcube/status/1121366289057030144
Do you have any info about VW's batteries? If they are building up MEB for the next 2-3 years, they should have some idea of what they are going to do about batteries by now right?

So far, it appears that batteries and drive train efficiency are the secret to Tesla's dominance in efficiency. VW would be a dumb competitor if it comes out in 2-3 years with a car that costs as much or more than a Tesla with only 60% of its range.... there is risk for VW as well here..
People have always wanted à la carte cable channel choice instead of the typical bundles. This is what it looks like.