skysight-inc/HackerNews huggingface dataset:
The article disregard that most of the time JavaScript is introduced into the fray because the product needs some level of interactivity that cannot achieved without it.

JavaScript right now is the only way a program can run in a page on the browser side.

The article also conflates problems caused by 1.) JavaScript being a hard dependency of an application, a misarchitecture, and 2.) low JavaScript code that is common in the wild

Those are different problems with different solutions. Both can be solved without removing JavaScript.

There are technology which can help reduce the importance of JavaScript in the client side. GatsbyJS is one of them. It allows generating static site and dynamic frontend app depending on what you need. Although GatsbyJS has its own problem that sometimes shoot you in the foot.

What we need is to raise awareness to service and product providers that browsing without JS is a thing! That way the whole industry can move in a more efficient manner. Rather than a struggle between engineering and product team, it will be the provider's struggle to provide for paying customers.

Meanwhile low JavaScript code quality in the wild - I don't really have a solid idea for it. I can be sure that wisdom can be gotten from the days of old where resource are scarce and things have to be super smart in order to work. There are hidden engineering gems and wisdom over there, but I don't know how to propagate it quick enough to match the growing number of devs. Meanwhile devs will keep coming because of the high demand and nowadays low barrier of entry. What we can do is to encourage the culture of rigor, thriftiness, and constant learning to keep code quality high.
> If you're only writing for one architecture (say x86) then you can write the C to just work well there.

> One example is that undefined signed overflow is important when the compiler might need to rearrange a loop index - PPC prefers to count down, x86 doesn't care.

Signed overflow is undefined behaviour regardless of the target hardware architecture. The compiler is permitted to assume the absence of signed overflow and to optimise accordingly. Unless the compiler documentation specifically says its ok, you still have an undefined behaviour problem. It might happen to work fine, sure, but if you're serious about writing correct programs you should be aiming to deliver a program which is correct-by-definition rather than correct-by-coincidence.

> I think undefined behavior + ubsan is better than defining all behavior

It isn't. That's why Rust makes such a big deal of its Safe Rust subset. It's also a major selling point of SPARK Ada for safety-critical software. It's tremendously valuable to be able to categorically close the door on a whole family of potentially serious and difficult to detect bugs.

> If something's undefined you know it's a bug every time you see it.

No, you absolutely don't.

I already mentioned that high-profile projects like Chromium and the Linux kernel continue to face security vulnerabilities arising from unintended invocation of undefined behaviour. Section 7 of the paper discusses undefined behaviour but doesn't really explore its full consequences, so instead I suggest reading [0] and [1].

Undefined behaviour means exactly that: if undefined behaviour has been invoked at runtime, the behaviour of the program is not constrained by the C/C++ standard. The program is not required to explode loudly, it can do anything. It isn't required to behave the same way each time. Hopefully it will explode loudly, but it's possible everything will seem to be fine. In the worst case the undefined behaviour leads to a serious safety issue or security vulnerability.

Undefined behaviour is even permitted to 'time travel'. [0][2]

> If it's defined, how do you know it's wrong?

You use exceptions or some other well-defined means of detecting and handling runtime errors. For example, Java's NullPointerException and Ada's Constraint_Error.

[0] https://blog.regehr.org/archives/213

[1] https://blog.llvm.org/2011/05/what-every-c-programmer-should...

[2] https://devblogs.microsoft.com/oldnewthing/20140627-00/?p=63...
I'm suggesting the Left is using Nazi playbook and promoting totalitarianism in attacking and accusing right-wing white males. The fact that at the same time they claim to be "fighting Nazis" and "standing up to oppression" is a sad irony.
I'm not sure you even know there what being oppressed means, no-one yet is really oppressed in the USA, fortunately.
Change macOS release schedule from yearly to bi-yearly
I wish I had that at work.
We have self serve kiosks in the cafeteria and my muscle memory has made me faster than the display. I pretty much operate it in a constant loading-icon state now. The part I actually wait for is the 2 seconds for the printer.
Zoom is frighteningly above all the rest; the speed is there, the background replacement is miles ahead of Bluejeans - if they weren't worth $infinity I'd expect Microsoft to buy them and shove it into Teams somehow.
There was a single dev response to your bug and it was the above solution.

Your phrasing and tone are quite harsh as others in that bug commented and seemingly agreed by the community judging by the fact you got more thumbs down reactions than thumbs up. Combined with the fact you're not even a paying customer, you really need to evaluate whether your approach was appropriate.
The iPhone is really REALLY fast. Especially if you program it in Swift and Metal, instead of Javascript.
Is there a term for fixing an imaginary problem? Everybody who likes Apple seems to like this feature, but I struggle to think of a time that I actually had a problem due to not being able to charge on both sides. Nothing that couldn't be solved by having a long enough cord.

Now, magsafe on the other hand solved a very common problem. I am not the only person I know to destroy a laptop screen by kicking the cord.
It's pretty hard to measure end-to-end delay, Nvidia is only getting to it now with https://www.nvidia.com/en-us/geforce/news/reflex-low-latency...
Up to 5 Monthly Active Users are included in your subscription. After that you can add additional users at an additional $2 per user per month.

It's worth noting that the Monthly Active bit can be quite important. What this means is that you're not charged for the number of users registered on your server, but the number who are actively using the server. Users are only considered as "active" and counting towards the number that you pay for if they use the account for more than two days in a rolling 30 day period. The aim here is that you're not penalised for occasional or "drive-by" users of the service.

(Disclaimer -- I head up EMS (Element Matrix Services))
My setup gets 20 fps in TF2 on a good day :(.
One set of quotes (double quotes) allows for interpolation of commands/variables. Try:

$ echo ‘pwd’
$ echo “pwd”
Migrating an entire app (including DB) between cloud providers within a click
I have no good theory about why that is except that maybe more and more business people are under the illusion that "software is being increasingly commoditized" which is of course not true.
Its very simple for the other side to push their agenda and cater to their crowd

"See , we told you the other side was crazy"

911 truthers & marxists have always existed, however its only when the "mainstream" of the other side chose to hand the fringe a megaphone, that they came to the fore.

This was not done for debate or charity. It was to score cheap political points in the age of clickbait. Extra Bonus: they got to extrapolate the extreme over 50% of the US population, and by consequence, to expand their potential eyeball audience
Uber is under attack in Europe, will it survive?
Pretty much like that, I tried Atom once (when I found platform.io and wanted to have a look) and it was just wild how slow it felt. On the upside, it made using those crappy Eclipse forks MCU manufacturers release (like CCC, Dave, etc.) fell a lot less painful
Keepass2Android can install it's own keyboard.
This is a specific nickpick but you won’t make me miss Outlook desktop. It’s crazy old and big, and for basic email stuff, its web app counterpart is much faster.

But anyway in the enterprise sector, it doesn’t matter whether an app is web or native, it will be slow regardless lol.
A big part of the problem is definitely systemic.

If the movers and shakers are motivated by building a legacy of good works then they need to be seen to be building such a legacy. Bricks and mortar can be seen. Funding foundations can be seen ("brought to you by the Ford Foundation"). Someone no longer living on the dole can not be seen. Rich people have no motivation to get people out of poverty because there is no credit in it.

The middle class sees everything in terms of money spent. If someone is lifted out of poverty, no more money can be spent on them. The middle class has no motivation to get people out of poverty.

The poor have no motivation to get out of poverty because they're already wealthy.

This is what is termed a 'structural' problem. If someone were really interested in making change, they would try to alter the fundamental structure that shapes the system. I have some interesting anecdotes about such efforts but they're outside the scope if this discussion.
Could be adblocked as well.
> The weakness of CSS is evident by how difficult it has been to properly center something within a container until relatively recently … you can't even really just target raw HTML+CSS+JS if you want to deploy something - you need a tool like webpack

This stuff was fixed at least 5 years ago. If you can drop support for IE11 (released in 2013 and no longer supported by Office 365), you’ll find that framework-free web development has improved massively since React was first released. And if you keep it simple and rely on what browsers support natively, you can achieve great performance.
> by worldwide standards America actually ranges from center-right (Democrats) to far-right (Republicans)

OhBoyHereWeGo.jpg

It's stupid to try and condense the political ideology of the US (or almost any nation) down to one spectrum and then try and map that onto the rest of the world when we (and the rest of the world) have a lot of ideology based on "well party X took position Y because party V had position W back in year Z and they needed to be opposite and it stuck around". What's left and right is mostly a figment of historical coincidence, not any sort of ideological consistency across a party.

Shall we do a survey of immigration and gun control policies across Europe to drive the point home? If you don't like that option we can survey the social safety nets and freedom of expression in Asia.
> What is the definition of a toy language?

A language that doesn't require as much hair-pulling to learn, so you can't feel as smug for knowing it.
I wouldn't recommend it for casual users as there are definitely things that are less polished about the way it works, but for power-users it is great. The SSH key integration is really good.
LogMeIn was bought a few years ago by a private equity company. The standard PE playbook is to buy things that are popular and stable but maybe not growing like this and then milk them for all they can, particularly in things that are hard to move away from (see Travis CI).
Yes, it does, TouchID works fine on my iPad and macOS devices :)
> determined to destroy conservatism by any means possible

Sadly, a couple of websites being scraped and hacked isn't going to destroy conservatism.

It'll take a lot more effort than that to wipe out this scourge of humanity.
Satoshi owns about 5% of all BTC. "he" has never touched them
This is a big reason why I get frustrated with comments about high refresh rate monitors being mostly for gaming, or it not being that important for productivity applications.

There's a reason why it's hard to ever go back, once you've experienced the fluidity of even just your mouse cursor reacting instantly to your movements.

If you've ever used the iPad Pro, there's clearly something special about the experience. It just _feels_ better, and for all the same reasons described in the article.

60hz is far from smooth, and that number is a leftover from days past, not what is actually optimal or good.

Display technologies unfortunately still have ways to go when it comes to high resolution, color accurate panels, with high refresh rates, but the general direction on the market is that high refresh rates are not available in the "productivity" category of monitors, even if sometimes the manufacturer has panels that would fit the bill. You unfortunately always need to look in the gaming category, which usually lack many of the features you'd like in a more productivity centered display. Such as a fully adjustable stand, high color accuracy and viewing angles, virtual display splitting, or just overall design of the enclosure.

I could go on another rant about display enclosure designs... Why isn't there a single company out there (with perhaps the exception of Dell) that's creating nice and minimal display enclosures that aren't covered in cheap plastic and "aesthetic" ornaments? Apple's Cinema Display from 2004 is to this day one of the better looking enclosures out there.

I don't think you can blame this on the consumers really. For the higher end market that I'm talking about in general here, I'd be willing to take a bet on if you build it they will come. I'd certainly be praising any company willing to take this on to high heavens.

I want a great, fast, accurate panel with a nice, minimal, aluminum enclosure. Is that just too much to ask?
Quite literally, throwing money down the sink..
Yeah and the really really bad part that we all remember the nazis for took place after hitler rose to power and all the socialists in the party were murdered.

When people say “the nazis were socialist” they are trying to draw a line from the modern left to genocide. But this is just not a functioning argument.
Solutions such as https://www.contentful.com/ are probably useful for that purpose
Funny thing: voice codecs below 2.4kbps are export controlled by ITAR, right along side military technology and nuclear devices. David Rowe, who made the codec2 open source voice codec, had to get confirmation from his govt that they would not enforce it on his project: https://www.mail-archive.com/freetel-codec2@lists.sourceforg...

I'm not sure exactly why - someone mentioned that it might be because deep submarines have very little bandwidth and need to use them, but I don't have a reference.

Nevertheless, wouldn't be surprised if google didn't want the hassle.
The good news, yes.

The bad news: it depends a lot of what you mean, it may not be the answer you search and i do not have a "perfect" reference, because it is considered mostly obvious in these fields...

But before i get there, a few things.

> (that we are building castles on quick sands with our leaky abstractions that try to fit into constantly changing reality)

Nearly all the references i point to will tell you that this leakiness and this constant changing reality is exactly what makes them work in the real world.

Now onto references. A lot of them can be found at http://resiliencepapers.club/

I particularly advise to start at
https://www.youtube.com/watch?v=Pb_zYs8G6Co

https://www.youtube.com/watch?v=PGLYEDpNu60

For more in depth, i particularly like https://www.ida.liu.se/~729A15/mtrl/CSEnew.pdf

And this is basically a whole meta study of all the research and ideas that came to this field since WW2. Beware it is long https://www.sintef.no/globalassets/upload/teknologi_og_samfu...

For an example of how things go wrong when things are correct but interact well together, i advise these two papers on space systems. (I link to Adrian blog on them because they may be easier to read, but there is a link to the papers in there)

https://blog.acolyer.org/2017/11/30/the-role-of-software-in-...
https://blog.acolyer.org/2017/12/01/analyzing-software-requi...

If these things make you curious for more, there is a lot. Or if you want to talk about/have help navigating what is in the http://resiliencepapers.club/ link, feel free to reach to me on twitter or by email. I will be happy to talk more.
This doesn't seem kind to people with slow (or expensive) network connections. Note that currently we are on the verge of a point in history where almost every person, even in rural communities in developing countries, has an internet enabled mobile device.

In the SPA model yes, they will have to wait a long time to download the initial JS payload, but that can be cached. Thereafter, if UI updates don't need to talk to the server, they can be computed client-side and the UI can update instantaneously. But in the suggested model, a much larger class of client-side actions would trigger (blocking?) network requests.
I've got a modest 32 inch 4K monitor and I can't work on it comfortably without scaling it to 150%. With 5k or 6k I imagine I'd have to scale it more.

4K is sharp but it takes some work getting used to it. You don't gain that much screen real estate if you don't have eyes like a hawk.
A meta note on language: Everyone has a pet language peeve(s) and would like everyone else to adhere to it. But when people need to express an emotion and can't grasp a ready word, they make do with a similar one. Some of these make-dos end up infuriating a small subsection.

My pet-peeve is disclosure vs disclaimer (why would you want to discredit what you're saying when all you want to do is call out potential bias!).

All of this to say I can empathize with the article author's stand, but I don't recall the last time a word went into disuse because someone complained.
SEEKING WORK | Berlin DE, Remote

Mobile and Web engineer, generalist with roughly 10 years experience. UI engineering and data visualisation work preferred but I'm happy to jump on various parts of the stack. A lot of experience working in smaller teams and startups.

Languages: Swift, Kotlin, Javascript, Typescript, Python, Dart.

Frontend: React, Vue, React Native, UIKit, SwiftUI, Flutter.

Backend: Django, FastAPI, Flask, Express, Nodejs

DB: PostgreSQL, Redis, SQLite, Core Data

Contact:

https://www.theo.sh
Loved reading this comment, thanks for sharing.

The demo scene is what got me into programming in my youth - in particular Denthor's BBS tuts, and many late night adventures in mode13h.

Good times!

> That was when Future Crew showed up with 2nd Reality and the double bouncing, transparent balls. I still remember the feeling of amazement and utter loss at seeing that :)

Future Crew's 2nd Reality demo, for those that haven't seen it: https://www.youtube.com/watch?v=iw17c70uJes
> There's no case to be made that "super control" inherently leads to unethical behavior.

You are saying it like it's been proven. What are companies where is gone well? I can't think of many examples whether inside or outside of the market where absolute control has gone well.
I'm in eu and don't have to pay vat for extra eu or even extra country but in eu sales.. it depends on bilateral agreement between countries i suppose..
I don’t have the cold calling experience, but I view phone conversation the same way you do.

No idea why - and it baffles my extrovert spouse.
Black Swan Resilience and the Sovereign Individual
I come from Iceland where union participation is over 90%. We have rules and regulations in regards to unions including that you can join any union that doesn't have specific requirements for entry (medical doctors and such).

I've also lived in Canada for 7 years so I have seen and heard most sides.

Can unions be bad and corrupt sure. That is true of any organization that's why we have laws.

Do some unions have weird rules including not allowing anyone that doesn't know someone within unions ( in Canada ), sure again that is why we have laws.

Have I seen companies that specialize in breaking up unions ( again in Canada ). You bet I have.

Unions aren't a solution for every problem. But it's a solid foundation to build on. They are good at making sure that their members have some basic rights, which is lacking in most Canadian companies.

The anti union rhetoric is kinds of laughable because it's so obviously manufactured by special interest. Unions don't have anything to do with political leanings.

I'm really sad that a lot of people haven't experiences the potential of unions because they can be really helpful for people and it's really annoying that countries that pioneered unions like USA and Canada have left the intimidation tactics work. There have been many people killed so I do understand people hesitancy during that time. But the tactics are usually now bad brochures and videos.

I have not benefited as much from unions as other people but that doesn't mean that I don't understand people's basic rights to unionize.
Anyone who is genuinely left wing will easily recognize that neither party in the US represents their interests.
One thing I really like about python is module naming

import foo

foo.function(a)
foo.bar = b

I think a lot of naming problems in other languages are really workarounds for the lack of modularity.
I wonder if two party system is really so different from one party system since it's the systems of bureaucracy is what dictates lives of people and those pretty much stay the same and evolve very gradually in the direction of profit for the wealthy.

Maybe it's more stable because it gives each half of the population their own enemy to hate, and periodical "wins" over that enemy?

Maybe China will learn this trick eventually and split into two fractions that will periodically swap the highest positions between themselves?
I think it took me a year of online goofing to figure out what's it and what isn't in the world of guitar pedals. My pedalboard is only now fixed after so much trial and error and shipping return costs.
Do you have any neck pain :). Seriously, I used to have a 24 inch display in landscape mode right next to a 32 inch monitor and I had terrible neck pain. I couldn't turn my head to the other side where I had no monitor.

I switched back to a single 32 inch and increased the scaling. Neck pain went away.
Is it progress?
I thought the accepted solution to entrenched incubents was "disrupt!".
Nifty. What’s the best place to find old amigas, which aren’t going to cost me my arm? I’d be willing to buy one of the PowerPC based alternatives as well but the x1000 is very expensive.
e.g. I do wonder if, say, slavery is an inevitability of completely unrelated markets; or perhaps exactly the opposite

That was supposed to read "e.g. I do wonder if, say, slavery is an inevitability of completely *unregulated* markets; or perhaps exactly the opposite"
So... not Javascript then?
How about Bittorrent?
Yes! "Developer experience drives velocity and innovation. For enterprise-developers, what tech their code runs on should be an implementation detail the Ops team takes care of."
This is pretty dope. Can you briefly elaborate how this is done? Is the database in AWS for instance still "RDS" or an Aiven DB? Maintenance-wise, that solves a lot of overhead problems damn!
I initially flagged this comment, but then I realized it's a great demonstration of the parent comment's claims. So I unflagged it.
IMHO you don't have to be obsessive to use godbolt.org in your daily work, neither should it be a "tool of last resort".

It really does help a lot to understand what the compiler will actually turn your high level code into, because quite often the results are very surprising (or if only to be shocked about the amount of assembly code that's generated from a few lines of C++ template code). Comparing the differences in output between different compilers and optimization levels is also very useful.
In case you missed Gab's CEO responding to this: https://web.archive.org/web/20210228203106/https://twitter.c...