skysight-inc/HackerNews huggingface dataset:
We complain about the media then upvote this junk.

Maybe we are the problem.
White Guyde to the Galaxy
Black and brown people are protesting for their survival, and you're a white dude who isn't sure how to help. What now? Look at this guide.
- Solid editor: I've used a few editors and IDEs in the past. I think a learning to use a programmable editor is a better investment than learning to work with an IDE. IDEs are generally single purpose: working very good for a limited selection of languages, platforms, etc. Having a good editor at your disposal allows you to manipulate any text oriented (and sometimes binary) format. When your editor is programmable and has an active community, you can probably find a plugin to solve your problem more effectively or write something yourself, with your editor! With all your customizations in code, you can manage your editor in the same way as you manage your products: source control! This gives you the possibility to improve your daily working environment reliably and iteratively. IMO, Vim and Emacs are both very good options. Both were created decades ago and still have very active communities. Personally prefer Emacs and use vim on occasion for remote work.

- Learn basic vim and emacs keybinds: most interactive shells use readline (or similar) library. These shells often have emacs keybindings by default. Vim is often the alternative option. This was an eye opener while learning emacs: suddenly I started to understand how to efficiently navigate any shell, even remote systems, without configuration!

- Tcl: Easy to learn, hard to master and powerful! Syntax and semantics can be explained in 12 bullet points[1]. Bundled with the native tk library, its my goto language for quick-n-dirty GUI tools and prototypes. The "every thing is a string" principle makes it extremely flexible. Apart from quick-n-dirty, it's also used for stable tools such as expects, gitk and environment modules. Even sqlite and redis started as tcl scripts!

- POSIX shell scripting and core utils: write once run anywhere.

[1] https://tcl.tk/man/tcl/TclCmd/Tcl.htm
Thank you for all this explanation, I appreciate it. :)
> Musk went as far as to dare authorities to arrest him.

Is this referring to this tweet (https://twitter.com/elonmusk/status/1259945593805221891) that said "Tesla is restarting production today against Alameda County rules. I will be on the line with everyone else. If anyone is arrested, I ask that it only be me." ?
As long as it's the long 's' and not the 'f' used as long 's'.
I guess I was thinking of “well-versed”, thanks.
We need the land for people not trees. The UK has a food deficit. Nut trees would be better than pine.

Offshore wind and storage is the way forward. We need to press on with getting that sorted and save the land for other uses.
> The problem is that this can make it really hard to interrupt (people will literally not hear you)

This is driving me crazy with Google Meet in these COVID19 times. Even in a relatively small conference, I have a really hard time interrupting someone to ask a quick question, even when the speaker is expecting interruptions. It's always "excuse me!"; delay as person continues speaking; I stop; the other person says "yes, please ask away"; when I restart my question the other person already assumed I've changed my mind and continues speaking; repeat ad infinitum. And this is if they even hear me over the audio breaking up.

It's very, very frustrating. If they solve this it would hugely improve quality of life in remote conferencing for me.
Show HN: Lyt – A flexible and highly configurable CSS layout library
“…and give you money”
Nah. If it can be fixed with a microcode update it's not the end of the world.
Looks very nice!

FYI, we've been able to get MobX to work very nicely while still keeping binding expressions as actual JavaScript with ${} expressions.

The benefits there are that you get syntax-highlighting and some type-checking of the expressions for free without extra tooling that understands your template syntax. You could still keep the Vue-like syntax for the rest of the templates. Might be something to look into.
Logically if people have forgotten black lives matter then they have forgotten that all lives matter. I think people who get caught up arguing against logic are purposefully being devisive.
How VWO Has Evolved over the Years
Agreed, but I do see some heavy inspiration from the Twitter Bootstrap logo and design.
> So to set up a 30 year rotation of 300 square miles you are looking at an area roughly the size of Wales.

Well, what are they using Wales for at the moment?
You just described UWP apps on Windows 10.

Developers flat out rejected it because of the smartphone-like sandboxing.
I'm not sure you can make a reasonable argument that burning wood is carbon neutral, unless you want to open the door to saying that any CO2 emission is carbon neutral because the carbon can be reclaimed when it is converted into plant matter. It is kind of an absurd argument, unfalsifiable because it also applies to kerogen-based fuels like petroleum and natural gas, both of which begin their long life cycles as organic matter.

Burning wood to generate energy puts more CO2 into the atmosphere than burning fossil fuels to create the same amount of energy, because wood has a lower energy density. Under ideal conditions, most of that CO2 can eventually be reclaimed, if the forest is allowed to regrow. That takes decades, however, during which atmospheric CO2 is higher than it would be otherwise. This creates harms from climate change, including some that are irreversible, like ice-sheet melt and permafrost thaw. But emissions from burning wood are only partially reclaimed by forest regrowth, because:

- harvesting trees results in release of CO2 from soils, which continues for decades;

- burning natural hardwood forest and replacing with fast-growing forest plantations (a common practice), permanently elevates atmospheric CO2 because plantations don’t store as much carbon as natural forests;

- cutting and processing wood uses energy, which generally results in CO2 emissions.

https://whrc.org/burning-wood-for-energy-is-not-carbon-neutr...
As long as it's backwards compatible, why should that be a problem?
Remember, SGX is not a security feature. It is a DRM feature meant to take control away from the owner of the machine and give it to content owners. Happy to see every successful attack against this module, and hoping that Intel decides to just ditch it entirely.
This is exactly https://spatial.chat
They have, but a lot of people can't be arsed.
My life was also improved with some additional aliases in my git config:

[alias]
dfif = diff
idff = diff
grpe = grep
When I lived in NYC, I was regularly amazed at the level of detail buildings built 1890-1940 had and how completely disposable most modern architecture seemed relatively. On the West Coast, very few buildings have any of this sense of gravity and permanence, with a few major works being exceptions (the library in Seattle; the library in Vancouver, BC; and even some very modern but more elaborate designs (e.g. by Frank Gehry) come to mind). I can't imagine the cost of building something like the Chrysler Building today compared to One Vanderbilt, Hudson Yards, or so many other big buildings in the US- even if their shape has a nod to Deco. Mostly they seem to reflect the idea that a lot of glass makes up for their general lack of distinction.
Apologies, I thought the distinction here was clear.

I don't think it's useful in protecting against people with the intent to break stuff. A malicious person doesn't necessarily need root to do damage, and if they do, then there are many vectors for obtaining elevated privileges from within a shell.

I do think that it's useful for keeping users from within your organization from doing damage by accident. Like, you could enabled a person to log in and restart a service, but prevent them from mucking around with configurations.
Congratulations Paras. Good to see your post. I live down the road from NSP. I find it remarkable that you built a deep tech company in that part of the world.
Years ago I switched from Mac OS/Apple when I became a developer/data scientist to linux based system. (ubuntu)

I understand there are similarities between MAC OS and Linux... etc. Being on the same OS as most of the web servers saved me time in learning the basics of linux, bash, etc.

Also at the time I couldn't afford to keep buying new software license.

The only enterprise software I use is Navicat for user frienldly interface into databases.
Seconded, although to be fair the choice of IDE doesn't really matter as long as it's relatively good. When I moved from vim to Jetbrains, one of the biggest things was seeing all the small errors including spelling mistakes. Being able to easily see and fix minor syntax errors or things like missing variables etc really makes a difference, especially when you are working on a codebase where that was missing for a long time.

If anyone is an emacs/vim user it's certainly worthwhile to enable similar error reporting plugins to get the same effect
Nice! I like that you create parties for anonymous users – that's been in my backlog but I haven't devoted the time to allowing totally anonymous party creation yet.

I'll have to take a look at Jitsi – I've been using Twilio's Programmable Video API.
I never studied bookbinding, but I can produce serviceable books. They look like crap, but they work.

I also never studied lawn mower repair. Nonetheless, ... it lives!
> In practice, when a junior wonders why they can't find anything useful when they google or grep for "acceptlist", then what?

Lots of words have synonyms, so that's not a real problem. Sooner or later the search results will catch up, and in the mean time it's always an option for a junior developer to ask a question or figure things out themselves by looking at the implementation.
Using a step debugger and stepping through all the code I just wrote, or using it to explore code other people wrote.

Surprisingly this seems to be a very uncommon use for a debugger, some programmers are mislead by the name and only use it for actual debugging ;)
We're quickly approaching that. A few generations from now it'll just be the robots - and us watching.
I suppose in FP/Haskell you would structure your code differently, so that it wouldn't have side effects when mapping arrays. That way you could even parallelize it trivially.

High level languages produce a lot less code than than less optimized implementations. Difficulties with reasoning about execution/performance is the penalty you potentially have to pay.

In my experience it indeed may be hard to understand performance with Haskell. That said, it comes with excellent tooling to overcome it in most of the cases.
Many problems have numerous solutions.
Nut trees can grow there. And so can sheep and goats.
Quite a lot of pine is grown in areas that would support broad lead if you gave it time.
The top story a few days ago – the humming Golden Gate Bridge (by a margin of 500 upvotes) – was heavily covered in the TV news:

https://news.ycombinator.com/front?day=2020-06-06

https://sanfrancisco.cbslocal.com/2020/06/06/wind-baffles-on...

I remember the local Bay Area station having the best coverage of the Mountain View fatal autopilot crash, e.g. they talked to the family and found the victim had reported several problems in the area before:

https://news.ycombinator.com/item?id=16719736
Of all companies poised to solve it, I think Apple could do it if they wanted. They could embed microphones in the laptop frame and integrate it with the camera as a premium feature, since they control the hardware and software stack.

It's more practical than a touch bar, at least.
Mostly raising talented singers and sheep.
The actual R1/Beta 2 release notes provide more details on what's in this release [0]:

[0] https://www.haiku-os.org/get-haiku/r1beta2/release-notes/
That's unfortunate for the jailbreaking community (as mentioned in the article, 13.5.1 patches out the kernel exploit used by unc0ver to jailbreak). It's a shame Apple has to be so hostile to its users. I got my SE1 for the express purpose of jailbreaking when it was no longer supported by updates; I get the perks of having a customizable media player with a headphone jack with none of the downsides (cheap build quality) that plague the MP3 players on Amazon, plus I can use it as a smartphone too. I guess until the community manages to crack 13.5.1 - or, even better, whatever iOS version formally marks the end of the iPhone SE1 and 6S's support - users will just have to wait.

I jailbroke on 13.5 with unc0ver and it really is worth it, even nowadays. It opens up a world of customization and lower-level system utilities. It's a shame the tools to do so don't work with Linux - in order to keep the apps on your phone you need to "refresh" them using AltStore, which only works on macOS and Windows - but I believe the jailbreak patches your phone so that it no longer automatically updates iOS, so you don't just end up with a brick when Apple pushes a new one.
We Interviewed Tim O’Reilly on Rethinking Antitrust and Why Bezos Is So Rich
I use ripgrep (`rg`) much more than I use grep now. Wish I'd discovered it sooner.
For young companies, most advisors love to tell you, "Find out what your competition is doing and copy it. They must be doing it right and they already did the work for you." I cannot tell you how many times I heard that... and from top people too. To start, that may be true to a certain extent, but it can only get you so far as you mentioned. Plus, you started your company to fit a market need that was not being addressed, so celebrate that need and your ability to address it. Competing on differentiation is the only way to actually sustain a new business. Also, I like the Tesla shout out. They constantly look to differentiate any way they can. Great article. Lots of great information.
You really shouldn't, those people are likely corrupt as well and may get you deported.
Somewhere in Musk's calculus, he must have determined just how many people can get sick and die without it being too much of a PR problem.
One bad thing about Vim
Blue is the color of intellectualism and prioritizing logic. By its nature, blue is prone to being good at strategy. Magic is a strategy game, so it makes sense blue is inherently good at it.

And that's a bit tongue in cheek, but in all seriousness blue is the color of mind tricks and the hacker mentality, so it makes sense blue prefers manipulating game state in ways other colors just won't think of doing, and unfortunately the game's designers grossly underestimated just how powerful "manipulating game state" is.
I feel you! Did you also have your kid shouting in the background? If they found a way to specifically mute kids crying or shouting it would be a huge deal :P
The social elites proudly flaunted their swastika jewelry in the late 30s. The business elites supported Nazis widely.

What thugs are the social, political and business elites supporting today?
Keep in mind that the changes since 1.0 have been with very few exceptions completely backward compatible. I write a significant amount of Rust and I don't follow the development of the language ultra closely anymore, yet it doesn't feel like I'm coding for a moving target.

Basically from my point of view the changes are about adding features (inline ASM in this case, async I/O previously) but it doesn't really change the way you code, it's just an other tool in your belt that you may decide to use later. If you didn't have a need for inline ASM before you still won't be using it, if you couldn't use Rust previously because of bad ASM support it opens up new use cases.
>a society where the work needed to live

a good start would be to pay well for that work.
Thinking Asyncio in Python
If you like the Foundation series, you would probably like the three body problem trilogy. The scale(both in space and time) of the story is as big if not bigger than Foundation and the story is equally fascinating. Really good read!
> Desktop environment that matches or surpasses Mac OS in quality, performance and UX design.

Is there any evidence google can pull this off or wants to? I’d think they would want you in a browser.
You are right about it being carbon neutral but only from a small frame of reference.

How is the wood cut?
How is the wood transported?
How is the wood processed?

Every one of these steps add carbon to the cycle. Some steps are minimal, others are huge; it all depends on scope.

I've heat my home with a wood-burning stove for 20-odd years. I have my own acreage and friends/family/farmers all contribute. Cutting down a tree, bringing it home, chopping it size so it fits in the stove are VERY energy intensive operations.
Great work. We will definitely explore this to reduce our dependency on Firebase. This is definitely needed.
Isn't this more so related to having all relevant code in the same repo rather than about being a monolithic kernel? As long as an OS's out of tree contract with out of tree users is well defined, refactoring code within the repo shouldn't be any more difficult. The fact that Linux's contract is the very obvious division between kernel and userspace doesn't much matter.
The Wikipedia page[1] has some information on the scientific inaccuracies in the film.

[1]: https://en.wikipedia.org/wiki/Planet_of_the_Humans#Scientifi...
Ask HN: Test Automation Guidance
I am working on a peer to peer application that works in the browser. It is mostly powered by a Node.js application that runs locally and the user interface is in the browser on localhost. I need help determining a test automation solution.

Here is what I am doing now for testing:

* ESLint with a custom config

* Testing the internal utilities by executing them as commands in a child process

* Testing supported services by starting up various instances of the Node web server and hitting it with supported data structures using HTTP.

---

None of that is end to end testing though. I need to be able to write tests that execute in a browser (I am looking at playwright for this) and I also need the ability to spin up something resembling a remote user so that I can send and respond to commands.

Any suggestions will be greatly appreciated.
I went with random mixing to add a little variety to the experience. I know personally when I'm at a party I get stuck in a rut and end up talking to the same people over and over. A tool like this where you're warned when you'll mix but you don't know who you might end up talking with next helps with meeting new people.

I also figured it'd be easier to add features like self-sorting later on after I proved out the random mixing idea.

I mentioned it in the other comment but yes, I'm using Twilio's Programmable Video API https://www.twilio.com/docs/video
Ask HN: Migrating a large codebase from JavaScript to TypeScript
We are planning to migrate a massive JavaScript codebase to TypeScript. I was wondering if anyone had done the same and had tips, experiences, lessons etc?
Although not free beer, Mikroelektronic keeps selling their Pascal and Basic compilers.
An automated test suite with snapshots and contracts for data.
This is the sort of post I come to HN for. Fantastic work, and congratulations on your success.
Ask HN: Is This Normal?
I find myself truly interested in a lot of programming concepts, but invariably when I start investing serious effort into them (whether at work or in side projects), I'm quickly (over a couple of weeks max) becoming less energetic and can barely keep up with the effort, while vegging out in misery for the remainder of the day. In other words, the 4-5 hours of logical thinking per day is enough to completely drain me. I'm 39, in ok-ish shape, been in tech since college (took a lot of breaks between jobs because of exhaustion), don't have kids. I wonder if this is how grownup life feels to a lot of people or I am just unlucky to have a low energy constitution?
There's a blind spot if you look straight down as well. Still really really cool.
Great being here on your original post and this one. Time does fly. Congrats!
Congratulations on the milestone, and thanks for sharing your story in the blog post. It's great to see a product's evolution over a decade.

I want to highlight that it's not as clear-cut as this: "If you are what Paul Graham calls as relentless resourceful, you will build a successful business."

I know there are people reading who consider themselves relentless and resourceful, yet are not successful after perhaps a decade or more of trying. The mental health impact of long-term failure can be crushing (I've been there).

They should understand that there is an element of luck involved, and if they didn't make it to $20MM straight from college, that doesn't mean they're worthless or can't make it anymore. The experiences of dead-ends and failures can be channeled into something that will set them apart, but it takes honesty. Luck is not a one-way thing: you need to be in a position to take advantage of the luck that comes your way, and mentally ready to jump on it.
I will say, using Krisp, it has the same problem that basically all these 'AI' based noise cancelling seem to exhibit: sound quality deteriorates when outside noise is suppressed, and people seem to sometimes not meet the threshold and get completely cut out from talking in some scenarios.

It's still better than food noises, but I have noticed that as a disadvantage.
I handle this case with auto-correction for all one off errors via <tab>.
Congratulations! And thank you for posting this. These kind of stories are inspiring and feed motivation.
Luckily ARM isn't anything new.
Even Aarch64 is almost 10 years old.
The future of general purpose configuration languages
Can you elaborate? What is UWP and why did devs not like it? All the critique i see with a quick google comes from game devs.
Savings is implied through extensive discussion of marginal propensities to consume (MPC) - the fraction of additional income that a person will NOT save.
My SNES (from when it was launched in Europe around 1992 iirc) still works, controllers and all.
FreeBSD "just works" but you have to enable everything. If you plug a mouse, you'll have to enable usbmod (or whatever kernel module is responsible for this) by hand. Maybe I'm exaggerating with that mouse anecdote, but I remember I regretted not going with PCBSD which is a user friendly distrib of FreeBSD (now renamed TrueOS). If you consider using Freebsd as an everyday desktop computer, you'll save some time with TrueOS. Having said that, configuring FreeBSD, activating kernel modules etc, is really easy, both in terms of googlability and inner clarity. Probably because it's a distrib in itself, as compared to linux and its many subtle differences across distribs.
VPNs and Zero Trust: The Evolving Nature of Remote Access
Google Brain, Intel, and UC Berkeley train robotic surgery AI with videos
Unless our descendants own those robots or there is a massive shift in who controls productive property, our lineages will die off once they're made permanently redundant and shut out from what those machines produce.
Maybe. A lot can happen in 100 years. Don't hold your breath.
Seeing that what you describe is a fairly recent thing in windows in the larger scale of things (assuming you talk about the UAC prompt): I'm not sure that has much to do with it. I met people working under that asumption 2 decades ago as well.

random arbitrary things

From what I can see that's not the case at all. In fact for me it seems rather sudo-y. Want to change system files? Need sudo / UAC. Want to install software (which is basically like the first case)? Need sudo / UAC? Want to screw up your home directory? No need for sudo, no UAC.
Oh boy, here we go again.

No, SGX is a technology allowing for the trusted execution of code in an untrusted environment. DRM is one potential application of that technology.

See also the comment section on literally _every other HN submission with SGX in the title_, for example here: https://news.ycombinator.com/item?id=22495251