skysight-inc/HackerNews huggingface dataset:
> its usefulness is going to be questionable as no application developed by others is going to be able to open files directly from that database anyway

Don't most operating systems provide for some kind of vfs nowadays? So you can indeed expose it as a legacy hierarchical filesystem if you want.

I guess the reason every extended database type filesystem has failed is the same one: basically, you need legacy support. Otherwise the user agents don't exist to access your data. Several older operating systems had support for attributes of various type and purpose, but they roughly died as the web became popular, because HTTP has no way to handle that problem.

The nearest exception is on handheld devices that run non-legacy operating systems, but then power users complain they don't have adequate control.
To me, the nice part of JS is that you can get pretty far without knowing the language intricately. So you can actually get started and be somewhat productive while picking up more knowledge along the way. The front-end ecosystem is so broad that it's hard to focus only on vanilla JS anyway.

That said, if you want a comprehensive read about Javascript, there's You don't know JS:
https://github.com/getify/You-Dont-Know-JS
Learn the best approaches to build powerful react+redux applications
hey chrisacky. I think you're totally right. Would probably have been much simpler using percentages. When I was building it I just wanted to get it working for a fixed width and height.

Then did the adjusted function when we decided we were actually going to use it, and it needed to work on mobile.
Google's Flutter framework enables true multi-platform development
The payment link you included on HN works ... the link from the FAQ gives a 404.
Talk to other co-workers you trust about how you feel about the guy. If you find 3-4 people who feel like you feel, just arrange to go together to your manager, and ask that this person be fired (don’t settle for less). If you’re ready to quit over this, it doesn’t matter if the process backfires. But if the process doesn’t work, go to the boss of your boss and HR.

A toxic work environment is very detrimental to productivity so your hierarchy should take this very seriously.
haha. Fair point.
Boeing Inspects 737 Max for Fuel-Tank Debris in New Setback
How do you then deal with "Business A pays no corporation tax in country X, moves the money back to country Y, where there are low capital gains taxes, and gives it to the shareholders there." - which means that country X gets no taxes at all, despite that being where the business happens.
And they will be on getty images with a €475 royalty free license in 5...4....3...
Taiwan does that too. If you leave the country you can drop them off at one of the charity boxes using it for income.
Viberate – the first truly global music network
If you can leave a situation like that, you absolutely should (unless there’s some other major benefit that would make you want to stay).

> yet somehow they still manage to survive despite making these poor choices.

Sometimes when you leave a company like that, you’ll get the pleasure of watching them go down in flames. But usually not. The thing to keep in mind is that all companies have an incredibly broad set of responsibilities to maintain. To be a successful company, they really only have to be actually good at a few of those things (even less to just survive). Most companies are actually quite bad at most of the things they do. So I wouldn’t get upset when you see a company with terrible practices continue to tick along. The only thing it really means is that those practices haven’t completely obstructed them from delivering whatever value they do deliver to their customers (yet).

In any case. The more important thing to worry about is your own happiness.
I know lots of people here need mac hardware, but it always surprises me just how many fans of macs and macosx are here. For me Thinkpads combined with linux is a great computing experience. I love the unification of package updates and installation and being able to pick from several mature desktop environments to suit your style of working. Thinkpads are pretty tough laptops - they don't have quite the fit and finish of macbooks, but they more than make for this in durability, usability and modularity.
They're talking about pull requests, not commits.
> The UK now fines firms for "damaging online content"

Does Germany not do the same through NetzDG?
Fast-charging, long-running, bendy energy storage breakthrough
> Ask, don’t tell. (“What do you think about trying…?” rather than “Don’t do…”)

When I led a team of 6 people, I did the opposite. The guideline was to always use the imperative form if you knew there was a better way, especially if there's a precedent or it's a written rule in a guideline, but even for opinionated things.

It resulted in clear debate in PRs, ZERO personal conflicts, everything was very civil and productive.

I'm just mentioning this as a personal anecdote, not suggesting that there's a right or wrong way. The reason this worked in my team is because we were, and still are - a team. They're still doing it like that even though I'm no longer involved in day to day.
Disgusting and insulting?

Please don't be ridiculous. This kind of reaction is a large reason why society is in the situation it is in.

But I get it. To feel "special", one must feel "insulted". That's how to collect "victim points". Do you really want to live in a society like that?
Would be interesting to see these fed into a generative adversarial network (GAN) to create illustrations of new species.
Start here:

https://www.youtube.com/watch?v=qoSksQ4s_hg&list=PL4cUxeGkcC...

https://www.youtube.com/watch?v=iWOYAxlnaww&list=PL4cUxeGkcC...

I'd also use various materials, like books or courses online.

Finally, start a small project in JS, best way to apply your knowledge and discover gaps.
Companies as profitable as Google probably ought to be thinking of other companies/society rather than themselves. The idea that companies should optimise purely for profit is the worst part of capitalism.
Agree with op, the above link https://eloquentjavascript.net is a good resource to checkout.

I have bookmarked few other links from HN

https://news.ycombinator.com/item?id=13979472

https://github.com/getify/You-Dont-Know-JS

https://www.robinwieruch.de/javascript-fundamentals-react-re...
This is a long term patter, tories are de-funding NHS call it old and inefficient in a bid to convert it to "widely adopted and universally loved US style healthcare system".

It feels like living in a Kafkaesque reality where people vote for people who are there to primary f them up. And then those people cheer them up.
Yes! This has been done for beetles with similar artwork:

https://www.cunicode.com/works/confusing-coleopterists
Well, determining intent is difficult at the best of times, but it's hard to understand how you could determine the intent of something that you only noticed later.
Snake biting it’s own tail:

https://en.wikipedia.org/wiki/Ouroboros
I disagree, it simply tells everyone they are wrong and the "normalized" one is the right one.

Oh, you used foo and föö as variable names, too bad those are the same now by normalization.

> It's really solved, but you would never know if you live exclusively on the command line. Which I think is unfortunate.

Tone down the condescension and insults, please.
> Yeah? So what.

So whining that stackoverflow has rules which you don't want to follow doesn't make for interesting reading. It's not unfair; you (other commenter) are not hard done by. Don't want to get 50 rep? Then don't get 50 rep. Want to contribute? Get 50 rep it's not a lifelong commitment. Still don't want to get 50 rep? No problem, move on with your life.

> I shouldn't have to farm for rep.

You don't have to farm for rep or post niche questions or hunt down popular questions or anything because you don't have to take part in any way. It's not mandatory.

> I'd even donate to charity to prove I'm not a bot.

Yeah? So what?

> That's not what sour grapes is.

It is what sour grapes is. "sour grapes: Criticism or disparagement of that which one cannot have.". "I can't have stackoverflow on my terms, so I'm going to criticise and disparage it".
ITT:

Google should focus on something else than ads.

also:
They are wasting resources with their side projects.

No one see the irony in that. I like their wacky projects. Obviously they to profit off of them at some point. But they are also kind of ground breaking if they actually turn out to work.

Alphabet also has the luxury problem of having discovered the most profitable business in the history of human kind. Now they struggle culturally to find something else to grow. They are user to basically make money for free and to so at insane scales.

Cloud is getting there but it‘s still nowhere near as easy. That‘s where Amazon in particular is very much in the advantage. They are already dominating the lowest margin business ever (online retail at scale). And they have a good foothold in cloud. Now they are getting into ads more and more. Much more comfortable direction to go.

In that sense the moonshots might make more business sense as well.

If Waymo works out globally. Add half a trillion to the valuation.

Wing: This could help them compete with Amazon.

GV/CapitalG: Very successful.

Sidewalk labs: could one day power cities.

Loon: not sure. Their better bet seems the heavy spacex investment with Starlink now. Though there are some pilots.

Verily: The health sector is fucked with leeches and inefficiencies. Especially entrenched players like epic who only want to protect their cozy position. Big opportunities there.

Calico: who knows. In a decade they could discover something insane. No idea.

Deepmind/brain: this is it. If only one project can succeed it should be this one in their view. If they succeed with AGI/ASI anything else doesn‘t matter. This is of course a big if and likely decades away.

The only thing they‘re currently not funding is fusion research. But that might be too long term even for them.
Launch HN: Automatically detect secrets in your internal repos
Hey everyone,

At GitGuardian, we’ve been monitoring every single commit pushed to public GitHub since July 2017.
2.5 years later, we’ve sent over 500k alerts to developers.

After months of product iteration with security teams and developers, we’re now proud to officially introduce GitGuardian for internal repositories!

Our product will allow you to scan existing code as well as incremental changes, and benefit from secrets detection algorithms that were battle-tested at scale on the whole public GitHub activity for over two years!

GitGuardian has a native integration with GitHub (GitLab and Bitbucket coming soon), and there is an on prem version available.

We offer a free version of our solution for individual developers and Open Source organizations, as well as a free trial for companies that you can access in SaaS here:

https://dashboard.gitguardian.com/auth/signup.
Aside from "this", all failure modes in Javascript are pretty obvious to google and figure out (unlike a segfault in C++), so I'd suggest just diving in and implementing something in it, if you already have programming experience.

However, just being able to do something in a language and being able to do it the most correct and future-proof way is different, and in JS, "best practices" seem to be constantly evolving with language and community. Every library and framework seem to be doing things in a slightly different way, and there's a lot of freedom to experiment with different coding styles and programming paradigms (unlike in a language like Go). Personally, I would suggest Typescript for professional projects, but there are plenty of very knowledgegble and competent people with a lot of different opinions on it. If you're the kind of person who likes this kind of environment, you'll fall in love with JS ecosystem.
I find this refreshing. jQuery works very well for simple and direct stuff. No need to over-complicate things!
Ammonia: Zero-carbon fertiliser, fuel and energy store
I don't know where this idea that brexit has fundamentally changed british society, it hasn't, all it has shown is that the entire country is still polarized by class and political leaning. The two party state still exists, or perhaps one party state by the current looks of things, a broken FPTP voting system still in use. The undemocratic house of lords still lives and monarchy that uses celebrity style PR to justify their existence by attributing all tourism revenue to their existence. The welfare of this welfare state slowly decaying away.

Leaving the EU won't stop the twilight years for a generation of people that want things the way they never will be the same again.
In that case the "stock" Android is full of spam. From Google and from the manufacturer.
I've learned that personally one night fighting messed up rebase conflicts and for still unknown reason I copied and pasted a path for `rm` and ended up issuing `rm -rf ~ /repo-path /unneeeded-dir` - it took me a couple of seconds to realize that this command takes unexpected long time to execute and then my eye caught a view of Finder window with shrinking list of folders in home directory :) Time Machine helped me quite a lot but unfortunately with a nasty surprise that it doesn't backup dot files :-/ Lessons learned.
> Want to admire your fancy After Dark win 3.1 screensaver? Just emulate the whole environment!

That is literally what Microsoft does.
If I'm going to use some library, at a minimum I read the API docs (getting a sense of the quality of the library from how well-thought-out the API is and how well-written the docs are). That's a long way from copy-pasting a few lines of code from SO without understanding what they do.

Furthermore, it's a lot easier to take the time to understand what a few lines of code from SO does than it is to audit a dependency thoroughly.

I have thankfully avoided the world of NPM, but when I've had to use it I've found it very difficult because a lot of packages don't really have API docs.
have you been outside recently? I mean outside without a phone for a couple of months. Give yourself a no-data diet, and just observe what is going on in others. Wait alone at a bus-stop or alone at a pub or cafe. You can see them addicted to their screens everywhere. It's the norm now to immediately reach for the phone because god forbid they might otherwise feel 2 seconds of boredom. They are no longer human as far as I'm concerned. The problem is never that AI and technology will replace us. We are becoming (actually we have already become) so much like AI/robots that it's impossible to stomach. Everyone isolated into their own little algorithmic prisons without any need to listen to others. It's much much worse than any hard drug you could be addicted to because with hard drugs you still have others who you can do them with. Just do yourselves a favor and never unplug because what you see might be so upsetting that you might wonder if it's still worth living.

I won't even get started on the problem of "fixing loneliness" with an app. You don't "fix" loneliness with an external tool. The only solution to fix this is inside you (and it hurts if you do it right). Pain is part of it and anyone who claims they can take away the pain, or make it easy should be metaphorically incinerated.

These things aren't increasing empathy. They're the opposite: They are empathy sinks!

y'all do yourselves a favor and read Jacques Ellul "La Technique" (The Technological Society) and stop peddling and defending more Tech just for the Benjamins.
I've checked Genera (Lisp Machine).

Oberon is on my todolist, Inferon is new for me.

> They say Plan9 is a step in the right direction, but rather than attacking a specific aspect of Plan9, they critique how the concepts were imported into Linux, which seems inherently silly to me.

Well, I've played with Plan9 several times, but I don't really feel like criticizing it, because I don't really know it that much. Only thing worth of criticizing is that it almost feels like objects, but not implemented fully.

I agree, that criticism of Plan9 would make more sense from philosophical point of view, but it wouldn't be authentic.

> However, both of those would still be the case for the system that they talk about. Let's talk about object orientated systems, which already exist, in limited (compared to the operating system) forms. You still have to pick up a manual to figure out what keys and functions are relevant to you. In Pharo (which is more or less the system they're after!), you can inspect objects that exist and the methods that exist for them -- however -- often, similarily-named functions do different things, which also requires reading a manual. In addition, using these tools as a first-time user, I was overwhelmed by the number of functions available, most of which I could only guess at what their purpose was. Pharo integrates the manual into the system, but the manual is still there!

Thats true, but you can also do a type-checking and infer a lot only from the proper naming of the objects and methods in the "Clean code" (book) style.

> Let's look at the windows hive database. That's a database of keys for values in the operating system. As a random developer, would you be able to open it and figure out what it does? I wouldn't.

One of the things that is not strongly captured in this article and which I since consider increasingly important is ability to use reflection on the system. Database that you can't open and figure out what it does is not worth using.
Ignoring sounds passive but there is nothing passive about telling people their ideas and cooperation is unproductive (be it people from product, RnD, management, QA etc), you spend much time and energy convincing them their ideas are not concrete, or are going in a bad direction, or are simply bad..
Having the burden of completing the project (successfully!) on me, I have to cut through the BS and provide results, not attend to egos and fragility of everyone involved..
Never the less, I try to be dry and not personal as I can to communicate the situation as simple as possible to the other party..
In my consulting career I learned that being "nice" is not worth it and ends up costing me in mental health..
10 years ago, barely anyone had a smartphone.
Spotify then was about Desktop usage.
In theory, cruise ships should be pretty well suited for such purposes; industry experience with outbreaks (mostly norovirus I believe), private restroom in every cabin, probably top-notch central filtration on the AC, no more than two people in most cabins ... I wonder how the virus managed to spread so widely in such a short time under such conditions.
Such a great channel. I know next to nothing about botany, but the guys attitude just sucked me right in.
I've been enjoying using a similar tool called docsify[1], which is a static page that renders markdown files in browser. Basically as self-contained as Markdeep / TeXMe but more flexible.

[1] https://docsify.js.org/
Boeing 737 Max: debris found in fuel tanks of grounded planes
ActivityPub. Open Protocols. re-decentralize the web
I've come across this several times in the past, but never paid too much attention to it. I'll check it again. Thanks.
It depends primarily on how much they're used. Trains are used a lot in western Europe, which makes electrification very much worth it. But if you only get one train per day, it's probably better to stick to diesel.
What is the difference between the T495s and the non-“s” model? Lenovo’s site doesn’t make that clear.
> You sidestepped my questions.

No they didn't. First off it doesn't need to use all eight cameras, but "three orders of magnitude" is obviously way more than 8x.

> If they do anything fancy with a neural network (which they almost certainly do), they it might be another 2x the power.

If it takes more power to do the same calculations, that's a bad thing, not a defense.

> Then you have 10x the power which is one order of magnitude.

"It does it super inefficiently, and then uses 10x power on top of that somehow" is awful!

Also you're rounding way down.

The comparison to the doorbell makes a lot of sense, and "not working the same" is irrelevant to the complaint.
I'll look into the issues. Most of the CSS is just export from the Notion.so and I didn't tuned it much yet.
> predominantly plants

so vegan then?
I posted this because I haven't heard much about ammonia being used as both a fuel and an energy store for renewable energy. The full report goes into much more detail: https://royalsociety.org/-/media/policy/projects/green-ammon...

It's part of a series in the Royal Societies Low Carbon Energy Programme: https://royalsociety.org/topics-policy/projects/low-carbon-e...
WordPress 5.4 Beta 2 Is Now Available for Testing
Assuming you’re fluent in programming and languages in general.

I just went to the console and tried all things that should and should not have work. There you’ll learn about the specifics of prototyping, properties, operators, everything, and get insights for what’s going on under the hood. Didn’t find these details anywhere else. All sources of information are situational, down-to-earth utilitarian and resemble grandma’s cooking recipes, while what you seem to want is precise chemistry. (ed: another problem with js is that most books on it are out of date by design, e.g. one of the suggested links around says that prototypes can only hold methods and not values; what else is wrong there?)

>no browser APIs

A big part of js internals lies in the Object namespace. See also Symbol. (MDN for both)
Generators are OOP service packs. It feels like the intention is to make things simple and easy to mesh together at the cost of overall flexibility. This would make a case for a new operating system built around this idea.
Apply Early for YC S20
I find the biggest value of Spotify is the listening history they have gathered on me throughout the years. I would hate to lose all those excellent recommendation they give me based on that data.
I tend to just manually position the bodies to see if parts look like they will fit together properly. You can reduce opacity (right click a body in the tree view, appearance..., drag the slider) to see how things fit internally. Obviously this is impractical for larger projects with more parts.

I believe "Assembly4" is the most advanced assembly workbench but I've never tried it, I'd be interested in hearing from someone who has.
Corporations absolutely do pretend to be on the workers' side.
I liked "JavaScript for impatient programmers" (https://exploringjs.com/impatient-js/) which is a relatively short but reasonably comprehensive explanation of modern JavaScript. In particular, it accurately describes a lot of important details (like how integer keys in objects work, "holes" in arrays, etc).

It doesn't cover the complete language, in particular it doesn't cover all outdated concepts and backward-compatible features. To get a complete understanding you would have to read the JavaScript specifications, but I don't think it makes sense to start there without having a solid understanding of the basic concepts first.
I'm using http://www.crunchzilla.com/code-monster to teach programming (and JavaScript specifically) to my year 7 (12 year olds) students at school. It's great!
I strongly dislike projects that don't have a visible demo page. How do I even know if I like this without setting everything up first?
Diigo – annotation, highlighter, sticky notes, archiving, bookmarking and more
I get it but some programmers are really productive in it.