skysight-inc/HackerNews huggingface dataset:
Here's a pro-tip: "I don't understand XYZ" this is the humble-brag of academia. And the more basic XYZ is, the more points you win. Try the following: "I don't understand 1+1=2." Sit back and enjoy your collaborators as they stare in wonderment at your sage lack of understanding.
If it was a bug in their software, why did only your personal domain get affected?
I am sorry, but I honestly do not think that PYTHON of all the things would be the solution to a "UI-problem".

To have a good UI system, you need extensibility, you need testing, you need strong types (this one is debatable, but I truly believe this to be true after working with Typescript-based HTML UI-s for the past 6+ months now), and you need performance.

I can understand that a lot of programmers got into the mindset of "no, I wont deal with HTML", and I frequently see devs mentioning that they prefer that apps look "native", which is something that has not been a standard in the mainstream dev world for quite a few years now, but the reality is that that "native" dream is gone. People all around the world interact with mobile apps MORE than their dessktop/mobile system'S native ui, so there is no baseline to go back to, there is no good old days to retrieve.

We can only move forward with what we have learned, imho. And that might be or might not be HTML, but if something comes along, it better learn all the lessons that we collectively are learning with working through HTML-CSS-JS SPA's.
As far as I had assumed (don't have any in-depth knowledge though), all chip systems required a challenge response with a server, so this couldn't be batched I don't think.

I can imagine it being related to internet connection speed if it was a minor delay, but people seem to describe really significant delay, even in major US cities where you'd imagine that shouldn't be a problem.
Why do you call html and css a language? To me it’s a UI framework very much like winform, wpf & al.
Not in my home country. All banks give out Maestro cards. While the country I live in right now gives out Visa Electron cards.
Especially with crypto, one small implementation error could ruin any security value. It's completely reasonable that they don't want their trademark used with code they aren't responsible for.
Correct me if I'm wrong, but I think Xamarin just wraps Cocoa.
> Which is throughly incorrect. Of course you can set the state of an output register that’s set to input, that state will just not appear on the pin.

The context is Rust, where the statement is clearly correct. One can't call a function if the Rust compiler refuses to generate the binary. The author probably should have used a period between the first and second independent clauses and a semicolon between the second and third in order to show the close relations ship between being unable to call the function and it being a compile error.
This is a philosophical difference, not an oversight.

gofmt imposes a single style on the entire go ecosystem, that's unusual as most previous formatters have lots of options, and allow different teams to adopt different styles (e.g. tabs vs spaces). Turns out it doesn't really matter what style you choose as long as everyone uses the same one, and long lines aren't a problem in practice.

Worse is better.
Ask HN: Please share your experience to go from Show HN to signing up customers?
What were the things you did that helped and what do you feel you could have done better?
Thanks for the answers!
As much as HN hates Electron, it's probably one of the best things to happen on desktop, especially on linux desktop ironically.

It works, it's beautiful, it's easy to use, and unlike many people here, I believe the HTML/CSS/TypeScript/React is rock solid and the closest thing to THE solution to the UI problem.
The practices indeed need a major revamp! Good luck with that my friend
UX is not some evil witchcraft, it is an accumulation of best practices that are not based on hunches that solo developers conjured up out of thin air, but resulted from measuring user feedback.
for me, it’s not about when i go to bed. that part’s easy already; it’s about when you’re at a friends house, or work, etc for longer than you expect and your battery starts to go flat. in this case, you think “i should have just charged my phone; i was next to a USB port all day”. it totally eliminates these situations once lightbulbs with charging become common place because you just show up and your phone starts charging without thinking about it
Wait, so, if I used blockchain I wouldn't have to

maintain a queue of.. failed modifications and retry them later when the API goes back up again.

neither would I have to

provide the software that does this to the client so the client doesn't have to do any work for it.

You're literally describing a benefit of blockchain. Its right under your nose.
You don't need a human for captcha. You can put together software pretty easily now that'll solve some captchas some of the time, and with automation even a 5% success rate means you can still get thousands of accounts.
unless AI figures out the way to win life is by figuring out how to survive
Insulation material that strengthens cellular signals indoors
Mam..?
> In large companies...

You could have stopped right there. In large companies the politics have firmly taken their place at the top of everything. And if you don't enjoy politics, they are terrible places to work and you should avoid them like the plague.
You have to actively ignore the web's landscape in the past 5-6 years to state something like this.

Lately, major vendors (with Edge, that includes Microsoft) are agreeing on standards, developing them FAST, and the web moves forward faster than it has ever moved. Long gone are the days where your standards can get stopped for multiple years. And vendor prefixes are less prevalent now as features get implemented properly sooner.
Again, this only applies to US workers. If you’re from another country it’s not straightforward to move to the US and even if you do you’re most likely tied to a employer who isn’t going to pay 200k
From imitation to innovation: How China became a tech superpower
Why would a vendor cheat in a database that contains only a list of legitimate parts from the vendor? It is in their interest to sell those parts and not have any knock-offs sold.

The same goes for quality data, mostly because even if the vendor provides it, basically any industry partner will absolutely insist on doing sample tests on the quality anyway. That also doesn't remove the factor where the quality results are cheated before being put on the blockchain.

A blockchain is not very useful when

A) all participants are trusted or

B) there is no incentive to cheat or

C) if there is incentive to cheat there are already countermeasures available that are more useful (ie, doing samples and having a contract that specifies damage payments in case quality does not match)
This is basically an ad for a horribly invasive app (from a privacy standpoint). Check out the permissions it demands before installing this ridiculous privacy suck. I use the free Sleep Cycle app, but there are many less-invasive options.

(Even all Contacts? Seriously?)
It took a bit of work to understand what was going on here though: "From this proposition it will follow, when arithmetical addition has been defined, that 1 + 1 = 2."
https://en.wikipedia.org/wiki/Principia_Mathematica#/media/F...
Am I the only one here who thinks typing your password to a stranger's website is a risk? How do you know he does not log it? how do you know he was not hacked and someone is not logging all passwords that are not on the list YET.
Help your customer with real time remote co browse
HTML and CSS are languages. Languages do not have one line components. Frameworks like Ant-Design and material-ui (based on react and/or Vue) have components that are nothing more than single line.
I think the point the earlier posters are trying to make is that if a manufacturer is at a point where they need an immutable, decentralised quality record their problems are bigger than the record keeping. As someone buying parts you generally want to trust the manufacturer you're buying from, as someone making them, if you're at the point of making crap and faking records your days are probably numbered anyway.

If you somehow managed to persuade an industry to get on board, for the most part, those with nothing to hide are the ones a decentralised quality database is the least useful for - anyone trying to hide anything (manufacturer / buyer) is going to avoid taking part or cut corners anyway.
Nope. First it is reasonable not to define such a thin slice of violent behavior (mass shootings of 6 or more people it related to another crime and some more criteria I can’t remember) as to have a completely meaningless stat. If you unabashedly cherry pick like that, you can ‘prove’ anything you like.

Fact is: the us has 10x the gun deaths and 4-6x the homicides compared to other modern industrialized democracies.

Regardless of your attempts at spin.
When baby monitors fail to be smart
Aha, thanks! Time to start the countdown to self-driving suitcases so.
They have components, they have tables, datepickers, buttons, etc.
Oh, thank you too, it's really great to hear a feedback.
We are working on it, so watch this space. The power consumption will not increase linearly, because of tier 2 & 3 solutions. The key is that blockchain is automated. With traditional centralised trust systems, you need buildings full of people running everything.
Advertisers Tuning Out TV in Sign of Trouble for Media Companies
From the Reddit thread: https://www.doctorofcredit.com/reports-significant-security-...

Should be a shorter read considering how busy that comment thread got
Tanks and bombers can do genocide, but they can't occupy & control. We saw that throughout the past 100 years, from the RAF's attempts to do 'air policing' in the Middle East in the 1920s to shock-and-awe in Iraq.

To control a population you need boots on the ground.
100% agreed. I'm a strong believer that the 4-6 inch column rule from print media applies equally to text in general and that the 80 character rule is a good approximation for this print rule.
Time to rethink the meaning of work?
Yes, completely agree. I guess I just indicated my US bias but for (competent) developers within the US I'd say it's pretty valid
Thanks, that's very nice and impressive. Zero-cost abstractions are very attractive.
> 1. A cure for the disease of which the RIAA is a symptom.

> Spotify & Apple Music. Pay $10/mo for unlimited access to most music. Took the wind out of music piracy. (TV & film are undergoing a similar transition to subscription models, more slowly.)

The disease that the RIAA is a symptom of is not piracy. Piracy doesn't have a negative impact on music sales. The disease is an industry that makes success (i.e. financial sustainability) inaccessible to most, and excessive (lucrative beyond need) to few. Spotify/Apple Music do precisely nothing to change this.

Beats and Google Play Music are closer to the mark, but still a good bit off.
relevant: http://slatestarcodex.com/2015/04/30/prescriptions-paradoxes...
There are 3 possibilities for repairing:

1. The government makes a law saying companies have to let you repair.

2. No laws, companies can make it hard to repair, and you can try to repair.

3. The government makes it illegal to repair (because of DRM). This is the current situation.

It would be nice to go from 3 to 2.
The blockchain solution can gives more benefits more than "when the manufacturer's API goes down".

So there are 3 actors in supply chain: manufacturers, retailers, and consumers. In your solution (centralized database and API), you rely on the goodwill of the manufacturers which is fine (I guess) in most cases. But retailers and consumers have good reason sometimes not to trust the manufacturers. Vice versa.

Okay, let's consider this case: the manufacturer produces milk packaged in a bottle. So they put QR code in the milk, and put some information in their database. Let's say they put the production date into this database.

QR code: Abbbccc
Information: produced on January 5th 2018

They send the milk to the warehouse A. Warehouse A keeps the milk for a night before sending to the retailers. But alas, there is a storm preventing the warehouse sending the milk to the retailers. So 1 week later, it delivers the milk to the retailers. Warehouse A informs the manufacturer about the incident. But let's say this milk only has 10 days before it hits expiry date after the production. Manufacturer decides to lie to the retailers. They updates the database.

QR code: Abbbccc
Information: produced on January 11th 2018

In blockchain, this corruption can be prevented.
Or just avoiding roads with no sidewalk. This has improved by sometimes Google still wants to send me via roads that are not suitable for pedestrians.

Interestingly it's the opposite for cyclists. There, Google chooses "quiet" routes, sometimes sending me via paths where cycling isn't allowed. Could be a London mapping issue though.
I hate to be the one naysayer, but it seems to me like the benefits of this influx of funding and scope has very few tangible benefits, while predisposing them to a standard failure mode of large and well-funded tech activist organisations where the means (the organisation) are confused for and eventually put ahead of whatever goal they were founded for: see e.g. Mozilla support for EME, the continuing negative news pertaining to Pocket and trying to collect user data. (On the ground, part of the problem may be something of the form: imagine you are the CEO of $foundation, are employing dozens of people and hundreds of volunteers who you have to keep motivated and now you are supposed to tell them they can't do the one thing that might keep their employer going and relevant just because of some philosophical considerations about how compatible it is with the core mission.)
If you don't trust troy hunt / haveibeenpwned.com you can always download the data and analyze your password yourself. But if this is the case you should not trust any website with your password anwhere ever, and should not create accounts anywhere. Troy Hunt has shown himself a responsible security professional, and I trust him more to create a secure password query than some other security organizations.
I agree it works quite alright - not perfect, but nothing's perfect, right?

Of course there are some poor implementations (Slack) and some really good one's (VSCode). Criticism of the platform for the deficiencies of an implementation feels a bit lazy.
> The default for programming should be arbitrary precision rational numbers.

And all is well – until you learn about e and pi and realize, that your arbitrary precision rational numbers are no better than floating-point.
I don't think good mathematicians confuse rigorous understanding with intuitive understanding as you suggest; rather, they are complements of each other

Further reading: https://terrytao.wordpress.com/career-advice/theres-more-to-...
Not even remotely useless, it's often a feature.
But isn't web browser currently is a de-facto cross platform UI toolkit for displaying web pages it is just that we managed to make web pages look and behave more like apps.

So it is definitely possible to make a framework/toolkit although if you look at development history of browsers how many years it took them to get where they are and Opera throwing in the towel and switching to Blink.

Only question is, if they do such a toolkit what is there remaining for OS vendors to do? Kernels? Users will just choose faster one.
American culture seems to be incredibly bad for living a fulfilling life. Intelligent people on hacker news would do good to look at Sweden for a good balance between capitalism and socialism that actually works very well. Of course lately our politicians have allowed millions of immegrants to come in without having any sort of plan to give them jobs, so I expect Sweden to become pretty crap in the next 10 years. :)
When I was 16 I changed sixth form[0] following a house move and I was accidentally put onto a maths course that was basically algorithms without computers. I think the name was something like Decision and Discrete.

This course started with Zeller's congruence as an example of an algorithm and then moved onto some graph theory and then onto Dijkstra's algorithm. I never got to see what the rest of the course contained, but it really looked like a good course. Sadly I was not able to persuade the person who was in charge to let me continue to take the course.

All the people on the course absolutely hated it from the start; thought I was mad to want to do it; would go on to fail it and as a result this was the last year the sixth form would run it.

[0] Sixth form is the 16-18 optional education in the UK.
The Most Dangerous Word in Software Development
I have noticed that more often than not, when I say "I don't understand XYZ" I actually mean "Are you really, really sure that you understand XYZ, because what you say makes no sense whatsoever"
Show HN: Weinabo Service
> if these parallel tasks are also coroutines

I don’t have hands-on experience with golang but based on what I know about it yes, they are.

> there seems to be a call to yield but its unclear what it really does

You mean “await”?

It waits for the completion of whatever is on the right side of “await”. If the result is already available, it just continues. If the result is not yet available (e.g. Task.Delay creates a task that will complete in some moment in the future), the control goes away from the async method to the scheduler. The scheduler can then run some other task on the same OS thread. When the result of that operation becomes available (in the sample code, when 1 second delay passes), the scheduler resumes execution of that async method, on the statement after the await.

> if they yield on any sleeps

No, not any sleep. You can call Thread.Sleep() which will put the whole OS thread to sleep. It’s up to programmers to avoid calling blocking APIs from their async methods, i.e. use await Task.Delay() instead of Thread.Sleep(), await stream.ReadAsync() instead of stream.Read(), and so on.
We used to call that "usability", and it was mostly done on the OS/API level (cf. Tog's work at Apple). In the web space, I see way too many individual practices (as what's "best" in the long run across all domains might not be the "best" at funnelling people through your web app).

Never mind that if it's your sole job, you have to demonstrate value and that often leads away from generic solutions.
I Do Not Like Go
> it's amazing what you can do when you actually have enough neurotransmitters in your brain

Anything except having an orgasm, in my case.
Winner take all is something freakonomics talks about: why do workers for drug dealers work for low pay and high risk knowing there's a higher chance of dying than getting on top? Why do so many high schoolers aspire to become NFL players knowing the chances are so slim?
I've heard of Redbox, but didn't hear about these codes.
Because it's a markup language, and a style definition language respectively, so HTML / CSS lack the high level features and components found in desktop UI frameworks such as Cocoa (standard buttons, lists, file explorers, image grids and such). Building a HTML / CSS UI is done from the ground up with basically nothing more than completely unstyled boxes, in contrast to composing higher level components.

On the web the role of desktop UI frameworks is distributed between third party frameworks such as Bootstrap which is great because those are optional.

I haven't worked with the windows frameworks you mention to compare directly to them.
DevOps as a practice isn't wrong, of course. Sysadmins scripted and programmed since the dawn of the silicon Pleistocene. But if every small company hires someone with that specific job description, well, you have to spend your 80+ startup hours somewhere.
Is there any indication about the expected price?
0. The government makes a law saying companies have to sell spare parts at reasonable prices.
Not hard to get a job in healthcare (at least where I love) so I wonder why you'd rate security so high.
Looking at Redbox's website, it looks like you have to buy a physical thing containing the code and pick it up at the box. I assume directly telling you the code digitally would be more legally troubling.
Oh sorry - to be clear, I was being a little pedantic about he question the parent mentioned - what is his solution to stopping speeding. I agree that reducing Speed limits (particularly on motorways) isn’t the answer. There are other reasons for it however, eg Ireland [0] is attempting to reduce the speed for environmental reasons.

[0] https://www.google.co.uk/amp/s/www.irishtimes.com/news/irela...
> one of the best things to happen on desktop, especially on linux desktop ironically

Not by a long shot. It's one of the worst things to happen on the desktop, because people who would have built a proper desktop application just wrap their web app in Electron instead.

It's particularly bad for the Linux desktop, where people are used to small binaries that use the system-wide Qt or GTK so they load fast, and use little RAM.
How CPU affects on real world PHP websites
I use Nikola and host it on GAE. Works well.

* https://getnikola.com/

* http://ontoblogie.clabaut.net/en/posts/201801/use-nikola-gae...
The problem I see with Electron (and probably one of the reasons HN hates it) is that it leverages the advances in chip making to work as well as an app from 20 years ago, but is multi platform.

It is a huge productivity boost for programmers at the expense of making computers slow. On my work computer I am used to run many apps, and with each Electron app added I feel it slowing down. (latest one to switch was Skype for me). What is the point of having such powerful computers when they feel like slugs crawling through a bog?
Manually record the seed key when you set up 2FA (usually this is contained in a QR code). Keep it somewhere safe and offline. It can be used to recreate your 2FA setup.
spent a minute trying to figure out if this is a meta humble-brag
Yes, it's a challenge to the person you're speaking to.

It's a great way just to learn without losing face if you need to. The alternative sentiment is "I'm lost, please help" which may not be accurate.

There does need to be some way to express, "I am competent enough to understand this, I do not understand this, so something is going wrong and it isnt my stupidity".
Because I have my phone in my hand quite a lot, but I don't have my credit card in my hand at all.

To use my credit card I'd have to get my wallet out, find the right card, drag it out of its slot, etc. To use my phone I reach into my pocket, grab the only phone-shaped thing in there, and while moving it towards the terminal put my thumb on the sensor. Takes far less time.
Mammogram. Radiographic procedure that is painful and potentially life saving.
Eastman Kodak Company (KODK): Gone in a Flash [pdf]
I’ve a particular junction in mind where there’s no street signage on the junction saying you can’t go straight in the left lane until you’re at the junction (which is around a bend), and he only road markings for it are covered by cars queueing to go straight. Google also gets this particular junction wrong.
Northern English
Pa, Pop, Dada, Daddy, Mommy, etc. There's work to be done here, folks!
The Facts and Figures of failing cyber security over the last year
I think the idea is that most developers would not make a proper desktop app, and without electron there would just be not app at all. But I think that Electron is a short term good which will cause a lot of long term "bad".
Well, I think chatbots are good for marketers and online sales companies.
Sorry I’m nt arguing against lane guidance. My issue is that google gets it wrong in many situations (usually when you need it)