skysight-inc/HackerNews huggingface dataset:
YC's list of organizations helping to improve racial justice
"Defund the police" doesn't mean taking away all police. It just means reducing funding and reducing responsibilities of the police to avoid them becoming a catch-all for any civil issue.
I also like the look of Haiku/BeOS, but to me it looks a lot like Apple Platinum from Mac OS 8 and 9: https://cdn.cultofmac.com/wp-content/uploads/2017/10/39579b3....

I'm curious what you like about it. I personally miss a lot of design things that have fallen out of style.

On Windows, it feels like everything is blindingly white/soft grey with no texture or borders to help my eyes focus. Transparency is used without regard for its utility. Instead of using borders, they use space which ends up wasting a lot of screen real-estate. The differentiation between active and background window is very subtle.

macOS has many of the same issues. Scroll bars aren't shown unless you're scrolling. You can change this behavior, but still. Background windows are hard to differentiate from foreground windows. Transparency is used for seemingly no reason.

That said, macOS does offer better design queues than Windows 10. The macOS finder will use a slightly different color for the left panel than the main work area. Windows 10 uses the same white for both areas drawing focus as if they're equal. Buttons in macOS have a very subtle bump out to show that they're buttons vs just being completely flat. There are usually small borders between things.

Take this screenshot: https://thehacktoday.com/wp-content/uploads/2015/10/screensh.... There's no border between the back/forward/up buttons and the content below. Everything is the same white. Clickable items have no real indication that they're buttons. macOS: https://icdn2.digitaltrends.com/image/digitaltrends/import-m.... You can see more clear demarcations. Buttons clearly stick out a little, the left panel is a different color with a tiny border, the title bar is a different color with a gradient, etc.

Haiku's design harkens back to a day when we demarcated things. Haiku's active windows are yellow while background windows are grey (https://upload.wikimedia.org/wikipedia/commons/1/1d/Haiku_OS...). This makes it instantly clear what is the top window. There are borders on everything and a subtle beveled effect.

Is that the kind of stuff that you like about Haiku's UI? Is it something els?
my json toolkit has been a huge boon for me, it complements jq very well: https://github.com/tyleradams/json-toolkit

There's tools for converting between json and other data formats like xml as well as misc tools like json-diff which diffs json files and formats the output as json.
I wish everyone would just get a headset. It drives me nuts when people call me on speakerphone, of course they never hear the problem.
Linux Files and Apps are first party citizens in the OS. They appear in all menus and settings. You'd develop apps as usual for a Debian distribution. Nothing needs to change.
If you look at the direction of recent releases then you can see those features being added. The latest version has trackpad support for instance.

I don’t imagine much is going to change right now but I wonder what they might be planning for the next decade.
DeepMind introduces ‘EATS’: adversarial, end-to-end approach to text-to-speech
Congrats Paras !
Interesting...

Does something like this exist for Excel? Asking for a friend (seriously).
Well the development team is incredibly small working on an 'entire OS' not just a kernel, in their spare time with little resources and funds compared to other open-source projects who have many more paid contributors working on a sub-system part of a Linux distro. I'd say the fact that Haiku is still alive and has most of the essential software is impressive given its situation.

Imagine if Haiku had fully funded developers working on the OS. It would be out a lot sooner with more features, but obviously that isn't the case.
We have unarmed second tier 'enforcers' in NL ( BOA's ). They patrol some city centers, give parking tickets etc.

They have been asked to enforce the 1.5m rule, encountered agression and started protesting because ... they want to be armed.

( They have called for arms before COVID )

edit: Oh, forgot to add : we have these 'enforcers', and their responsibilities have been extended, because we basically defunded the police.
Thanks for taking a look! That’s actually a great idea. It’s always a trade off with bindings in html templates, you lose the things you just mentioned. Right now the bindings are passed to the mobx reactions tied to the element, I’d be curious how that could still be maintained with the proper scoping.
It's ironic that you say that because the whole reason we have so many problems with police is because they aren't trained in many important areas like dealing with mental health. If instead we specialized the police more and moved funding to other social services, we'd have much better trained professionals which it seems like you're in favor of.
Hi!

Thanks for your work on Haiku.

I remember LOVING BeOS when it came out. I was a kid, had dabbled in breaking my parents computers with Linux distributions in the 90s, and was enamored with BeOS and was blown away by how great it worked. The fact that the user space has continued over the years is really nice to know (and have tried over various times through emulation).

Has there ever been interest or attempts at funding it so that more than a man-month could get accomplished?
That's not what I mean by "fragmentation"; I mean that the Linux desktop is a collection of different software projects (GRUB, the kernel, X11, ALSA, systemd, GNOME, ...) which are combined to form the operating system proper. Ubuntu is just as fragmented as any other distribution here.

In Haiku, on the other hand, the bootloader, the kernel, window manager / display server, init system, base applications, etc. are all developed by one team in one source code repository.
I can write you a defect in any language.
We're working on a FF version! Turns out porting the chrome one is fairly straightforward. Watch this space!
cgroups let you limit a user's usage of system resources. Like disk quotas, you need to configure this yourself if this is a threat model you care about, but it comes out-of-the-box with all modern distros.
I waste time when I go to YouTube because of all the recommendations I get. I added custom css to Safari and added display: none to all those divs so now I never see recommendations and just watch the thing I'm looking for.
I used BeOS for a couple years in the 1990s as my exclusive OS. It had all the software I needed at the time. I especially liked the feature where you could clone your whole working system to another drive or partition, live. That actually saved me on a couple occasions, I would perform a weekly backup of my whole live system to a secondary drive.

It's so nice to see this project making great progress.
Ask HN: Do you think that your smartphone is main source of distraction
Hi! I'm developing 'yet another app' for productivity and screen time.

So my question. Do you think that smartphones became the main source of distractions today, especially at the self-isolation period?

And do we need to handle it somehow?
George Floyd’s Greatest Legacy Was Being Human
I never really used it, but I did make some contributions to the language. In looking through some of the ecosystem, it seemed like the library ecosystem left a bit to be desired, but the standard library does show promise. I think its extensibility (proven by my ability as a noob to make useful stdlib contributions) and use cases in embedded applications mitigates the lacking ecosystem somewhat.
- xmonad

No distractions and I can program my window manager to organize my windows.

- git

I was once fan of mercurial, but I like git better now. Everytime I find new interesting ways to use it. Also outside it's traditional uses.

- (n)vim

I use other editors, but I turn them into vim. It is easy to use and makes typing in your solution of your problem in the language of choice less boring. (The coding part)

- awk

God, I love awk. It is like the swiss army knife of unix. You can do everything with it.

- latex

If I want to order my mind by writing a bit or making a nice design, create some documentation. Latex is your friend.

- dot

If I want to sketch something, dot will help. Dot also helps with other stuff, dependencies between things. It is easy to write out a dot file.

- profilers

Any fucking profiler will make your a better programmer. It will test your assumptions about the underlying model.

- debuggers

You can't do things without them ^_^

- static type systems

Learn to think in types is a big win and not a weakness. You can encode properties in type systems.

- mathematics

Learn it, use it. It will give you new ways to think. E.g. algebra is about composability. So first thing I do is when I have a problem is write out the data types and think out its algebra. And it keeps your mind active, just churn through some mathematical topic once in a while. I loved type theory. Lambda calculus, abstract algebra, linear algebra and am know learning point set topology.

- esoteric languages

They are fun and force you to rethink what computation is. Design a couple yourself. I can compute in any language with weird constraints. I just need to build a machine in it.

- keep playing around

Not everything you do needs to be a project, just make something useless. E.g. I like jotting down shit in netlogo, which is utterly useless, but fun to watch.

- zsh

Where am I without you? ZSH can interface with everything.
I write small tools from finding ec2 instances in the cloud by tag to presenting searchable menus binded by keys with a little help of small programs.

- the core utils

Learn them by heart, you will never have to click ever.

- Learning new programming paradigms

I loved stack based programming, functional programming, thinking in excel (data flow). There is no one solution to everything.

- domain specific languages

Learn to make them, it is fun and an extremely powerful tool in the programmers toolbox.

- parsers

Don't be afraid of them, they are your friend. And often easier than regexes.

- learn how to search

Big skill, not everybody does this right.

- Programming notebooks

Why is this not standard? Mathematica is brilliant with this and while I don't like python, but jupyter is very good.

- IDE's

They are useful. Don't be vain.

- Make designs

Plan what you are going to make. That helps a lot.

- Property style testing

Checkout quickcheck ^_^

That is my list. It is not exhaustive.
Quaxity quuxity,

Teitelman's Interlisp

Has a DWIM feature that's

Really a screw;

MACLISP has evident

Superiority

Letting its customer

Mean what he do.

--The Great Quux (Guy L. Steele)

This poem indicates the frustrations that hackers had with DWIM at the time, which may explain why no one tried to resurrect it. Too-clever-by-half features intended to help tend to drive people nuts, especially when they fail. Even when they succeed, they interrupt the user's flow and become like that dialog box Windows users just dismiss.
If a statement about the nature of defects doesn't aid in fixing defects, it almost certainly doesn't fully capture the nature of defects.
The article (probably unintentionally) paints a rosier picture than reality:

>> "Scotland will soon be meeting the equivalent of 100% of its electricity needs from clean energy sources."

This is kind of a weaselly. Two parts of this sentence need explanation:
1) "equivalent of"
2) "electricity needs"

The equivalency is a murky way of saying that they still use fossil fuels but are also engaged in carbon offsets to reach the equivalency. Those carbon offset methods are sometimes dubious - paid someone to plant trees in the amazon, etc. Further, do we really consider burning biomass clean or renewable (I would not)?

The "electricity need" stands apart from the country's heating and transportation needs, at least. So this is a fraction of a fraction of Scotland's energy needs being met by "clean" energy, if you consider the net return of solar and tidal to be worth more energy than was consumed in manufacturing, transporting, installing, and maintaining those facilities before their respective end-of-life.
I like to use this phrase for this sort of thing: "It's working as designed but the design was flawed."

That's pretty successful at getting the business/product people off the blame-assigning game and thinking productively towards resolving the interaction and defining a solution.
You should see his Emacs Tomb...
Somewhat meta, but great to see that most of the accounts on the original thread are still active.

I haven't got a successful startup to show for it, but I have been on HN for more than 10 years, and feel like it has played a significant role in forming my worldview.

I hope we'll still be here in another 10 (or 30) years, nitpicking each other's ideas!
Agreed on gentle approach. I've started using libraries like Ramda for JS, which is especially designed to ease people into functional patterns.

I then moved to FP-TS, which makes more heavy use of haskell-like patterns and monads.

The hard part isn't the syntax of whatever language, but understanding the new patterns and way of thinking, which you can do with a simulation layer like FP-TS (for typescript/javascript).

The functional patterns and emphasis on types makes your code robust and more correct. It emphasizes correctness, which is ultimately what your job is as a programmer. Optimization comes after.
https://newrepublic.com/article/158104/rush-redefine-defund-...
The meaning is not a settled question.
Ask HN: How do you find and vet freelancers/contractors?
I've got a couple of side projects that I have built the basics for, but want to take further. I've been reading the book Start Small, Stay Small, and have been pretty heavily influenced by Walling's advice about finding freelancers to quickly build MVPs.

What tips do you have for finding and vetting freelancers for side projects? My idea is to start by distributing small projects among a few freelancers and then see who I like working with most. However, I'd appreciate hearing how other people work with freelancers for side projects.
Agreed. It's also a distraction from doing work. (Sometimes a shockingly expensive distraction.)
Yes, generally speaking you need inline assembly to execute whatever architecture-specific instruction is used to enter the kernel (`int 0x80`, `syscall`, `swi`, etc.). And in the kernel you need inline assembly for other various architecture-specific instructions so you can execute them as part of your regular code instead of having to write them in a separate assembly file.

For the weirder cases like right after boot or handling an interrupt you generally just have to go full assembly for that, since in general you're not started out in a state where you can just start running your typical C/Rust/etc. code. It depends heavily on your platform at that point though.
The news release doesn't show a thing about what it is nor is there a link.

The URL with an OS in the name tells me what category it is in but not the USP (I don't really get that from the two sentences either but at least it's something)

So I went looking (not via Home or About because usually they are useless, YMMV) but via Documents.

So here I am, saying that it took me a while to figure out what it was.
Leica M2, serial 1144389 dates it back to 1966.
The True Valuation of Tesla?
Pital just launched its research section where instead of blogging, we utilize our valuation and projection software on public and private businesses. Take a look and let me know what you think!

Best,
Joe
Flu season is NOT about 2-3 months usually.

https://www.cdc.gov/flu/about/season/flu-season.htm

The exact timing and duration of flu seasons can vary, but influenza activity often begins to increase in October. Most of the time flu activity peaks between December and February, although activity can last as late as May.

It also does NOT kill Millions of people per season

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6815659/

Until recently, the World Health Organization (WHO) estimated the annual mortality burden of influenza to be 250 000 to 500 000 all-cause deaths globally; however, a 2017 study indicated a substantially higher mortality burden, at 290 000-650 000 influenza-associated deaths from respiratory causes alone
ah yes. I don't tend to do iOS development, so completely forgot about that one other than having a lot of the apps I loved stop working. still grumpy about pirates and civ rev being gone forever.
Amazing, this is solving the exact problem I have with zoom parties and even large semi/ recreational work meetings. Will try at the end of week meeting with my team.
Nicely done!
They (Oracle and Java) are going the other direction on this. Jigsaw helped with JDK bundling. IntelliJ bundles its own distribution.
It's a mistake to think when something goes wrong there must be a single person (or rule) to blame.
If a program does not behave according to spec, then presumably the programmer made a mistake, unless satisfying the spec is impossible. But if the defect made it past qa, then the qa must be imperfect also. And if your programmers and qa team are all a bunch of fuckups, maybe your hiring process is flawed also. And so on.
Defects are the fault of a lot of factors. The reason our skyscrapers rarely fall down is that there is societal pressure against them falling down. So we create laws that enforce that buildings conform to a set of standards. Some places have more prescriptive standards than others, and the result is that there is less room for creativity by the architects and engineers, but it makes the average case easy to reason about. Some places have performance based standards which come with their own downsides, but the end result is that if a building comes down in a first world country, it's a pretty big deal.

We could do this with software, but the world would look very, very different. We haven't had too many major destructive acts outside of privacy leaks, so there isn't pressure and resulting political will to regulate the industry, so economic pressures dominate what software looks like. Things like CSP headers are a distant, distant afterthought. People can't even keep their OSes, libraries, and runtimes current.

Plus software is harder to reason about than a building. Things can squeeze in or out through the smallest crack and nobody on the planet really knows whats going on in a modern cellphone or self-driving car top to bottom.

That said, I take responsibility for the security holes and bugs I create. There is no other way of being a professional software developer, even if it is hard.
The really interesting thing would be to have a wx port using the native API for it, but unfortunately the last time I heard about wxBe was in the last century...
My Essential Mac Applications
Where do you get the idea that a search warrant is required to get a third-party to hand over data about you?

https://en.wikipedia.org/wiki/Third-party_doctrine

And no, there's nothing on that nest.com page that says otherwise.
I still have the idea of writing some kind of a "transpiler" that translate a pythonic language into C. Preferably typed, with sets, dicts and arrays.

In my head, it sounds it would be an easier task to do, since it would still let the C compiler do a lot of the work.

This ideas seem to make sense, but I have no experience with writing parser and dealing with language stuff, and I'm afraid that in practice it might be a bad idea.

The goal being to have a scripting language that is fast to parse, easy to write and runs quickly.
It is not about the publication. Articles published by any publication, by any author, need to be evaluated on their own merits.
"Whole" reason seems a bit naive-- that probably plays a part in many of these instances but there are many others where it does not.
While I agree the article doesn't properly contextualize the number, that's not really the right comparison.

Alameda county has had 2564 cases in total since March (up to May 20th) -- so you'd have expected 15 employees to have tested positive for COVID since March. This is a very different statement than 2 of its employees have tested positive shortly after it re-opened.

Loosely one might compare it to those that tested positive in the week of May 20th, which, according to your link, is about 400-500 new cases (about 5x fewer than the cumulative total). So you might reasonably expect something like ~3 cases if you assume the Tesla workers had the same positive test rate as the general population of the county.
The fact that they held a protest to get more weapons during these times really showed they should not have sticks or a taser.
The saying "can't see the forest for the trees" comes to mind here.
https://fishshell.com/
Have you considered creating an alias - such as "rip" or "grrr" - for using ripgrep to help avoid that concern of rg vs rm?
git blame inside of the IDE.

line numbers, jumping to lines. shockingly this isn't default in IDE and I frequently still have to learn how to enable it.

autocomplete and quick way to get a list of available methods for an object, based on the actual library or things the object inherits. Javascript IDEs seem to just show a random list of frequently available functions, instead of the actual ones indexed - likely because they are all the same type.
"The Posthumous Memoirs of Brás Cubas,” by Joaquim Maria Machado de Assis is the book.

It is about a love triangle. The plot is nothing special, but the writing style is unique.
Heroku outrage free was 99.9999%+ over the past 60 days[1], I'd have a hard time achieving this with a single dedicated server.

[1] https://status.heroku.com/
I see the flip side, the "cost" on being made the "escape goat" because the lens is only the developer is a fault. Verse the team owning the complete system. Which is still a toxic mindset to be trying to minimize perceived punishment. Or if the environment is not collectively responsible aka blaming then that is the problem.

But the high level point of framing I think is very on point. You can only justify altering that which you measure, and if you only blame/measure/inspect the developer, you are missing stuff.
Do companies let employees know about this? What if you put a camera cover on? I know there's no expectation of privacy at work, but this is my home. I don't want your camera photographing my home every 5 minutes.
First, please don't post unsubstantive comments to HN.

Second, it looks like you've been using this site primarily for political and ideological battle. We don't allow that, regardless of which ideology you favor, because it destroys the curious conversation this site is supposed to exist for. If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and sticking to the rules when posting here, we'd appreciate it.

If you or anyone wants more info about how and why we moderate HN on this question, there are many past explanations at these links:

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
Yes, there are occasionally contracts paid out by the Inc. to developers to work on things, but this depends on a developer having the opportunity and willingness to do so, since the funds will eventually dry up and they will be out of a job.

We had two major contracts (for a few months) in 2012-2013 to finish and then integrate the package management system, another in 2013 for the new kernel scheduler, and then one that lasted almost a year around the same time working on the WebKit port used in the built-in web browser (which ended because the money ran out.)

Haiku, Inc. currently has over $100k in the bank as per it's last financial report, but at only $20k (usually less) in donations a year, it's obviously not enough to be sustainable past a year or two for even a single developer. If there was actual sponsorship by the community or otherwise, then yes, a number of us would be willing to work on Haiku full-time.