skysight-inc/HackerNews huggingface dataset:
I apologize for my tone but no one is accusing you. I am criticizing your thinking and your argument. Photography is democratized to the point where there is so much noise. Everyone has a camera with them at all times. If you want to be a professional photographer today, it is almost impossible barring journalism or wedding photography. I feel like ML researchers (again, not particularly you so don't take it personally) feel threatened by the mass adoption, marketing buzz and the whole ML/AI enchilada. Everyone is getting on it including the topic of this thread - i.e. the Finnish government.

This is honestly what I see when I read your parent comment. If you're offended by it, then may be you can balance your argument so it doesn't appear to be gate-keeping elitism. In fact, you've admitted it is controversial!
This is DRM that has to be baked into the hardware. It is amusing buying a brand new smartphone that defaults to 480p because it doesn't implement some DRM scheme.

On desktop you have to use the windows 10 app- again solely because of DRM.
>> How do programmers here account for the unexpected?

I work on systems that need to run reliably. However, they depend on data collectors (like sensor data or web scraping) that are not known for their reliability or scalability.

We do lots of retries, log errors and failures, and patch problems until things work as expected. One thing that helps is the use of sentry.io . It alerts us about exceptions and detects regressions/regression fixes by checking if there were any commits that might have caused or fixed issues.
Well, I wasn't a kid thirty years ago and I didn't like them much then :)

"Over the last twenty years, farmers have mellowed the "unpleasant" flavor of Brussels sprouts by breeding a vegetable that contains fewer bitter compounds or glucosinolates. So, Brussels sprouts just taste better than they used to when we were kids."

From:

https://www.chiceats.com/recipe/vegetarian-side/how-buy-cook...
Uncaptcha2: Defeat ReCaptcha with Google Speech2Text
This is how I feel about almost all scented products - shampoo, air freshener, cologne, incense. However, many people think they are being polite by spreading these offensive chemicals on themselves with the intention of making other people inhale them.

It’s very difficult to explain to people that their scents are making you ill and forcing you to leave the room, rinse your sinuses or stay 5+ feet away from them. Mercifully some workplaces have no-fragrance policies. Elsewhere, my health-driven preferences get absolutely no attention or respect. People get offended and embarrassed especially since they think they are doing this to make themselves more presentable. It is far better to not say anything.

Oddly, cigarette smells and body odor do not bother me at all.

So, given that attitude, hope you don’t use dryer sheets.
I don't think China's being left behind. They have a successful system of censorship. In the west we are slowly being led down the path where we've moved our knowledge and understanding of the world to the hands of private companies who deplatform and delete whole universes of information on a whim. Large subreddits getting banned for example deletes tends of thousands of man hours of work from existence.
And here comes the part where experience plays its role. History tends to repeat itself, so if you been/seen certain situations you can account for high possibility of them happening again.
>Congratulations, you've invented a MacBook. At least you'll feel good about yourself as you can now think you're using "the future of computing" instead of simply an evolved version of what everyone was using a decade ago.

You miss the big picture. Creating "an evolved version of what everyone was using a decade ago" is the very idea, and that's precisely why they are entitled to feel good about themselves.

They could make the iPad run full OS X with Finder and overlapping windows and everything and call it a day, all in a month or so (most of the time taken for things like driver support).

But they don't want to "invent a MacBook".

They want to get the iPad to be personal-computer-like powerful, without the negatives of the full PC experience.

(Negatives for the masses, not for people who use Vim and Emacs and take pride in menial tasks like "organizing their file hierarchy").

For which, this iterative approach and enforced boundaries is exactly what's needed.

E.g. they want to add a hardware keyboard, but make it entirely optional. So things should be touch-first-class (and not "also touch" like with Surface and co).

They want multiple apps on screen but not the tedium of window management. For which the split screen (or eventually a tiled wm) makes more sense.

And so on.
23andMe has signed a $300M deal with GlaxoSmithKline
Thanks a lot for your answer!

I wonder whether you may be too hard on yourself, how much of this should be written off on the today's objective conditions, and not on subjective aging. I am over 50 and am genuinely interested in the discussion, as I have to maintain my employability for long time to come.

> When I pose a question to my subconscious, it takes longer to get an answer.

This! But I always felt my subconscious gives answers more eagerly the more I load it. These days I cannot load it to the same degree as when I was younger, but there are good explanations: a) the nature of the job is different, nobody will let me go off radar, people now have to take calls even on vacations, let alone in the workdays. b) the nature of issues I am solving is also different, more system-wide now, it is hard to have all the knowledge about a bigger system, and complete knowledge is required to load the subconscious IMO (I think you see what I mean).

> I make a few more mistakes, especially jumping to conclusions

No questions about that one ;-). However, I managed even to extract value out of it. I am debugging issues in complex systems without expensive equipment and frequently without an access to them. Every once in a while I jump and don't land on the target, but overall balance looks good enough for my employer to keep me.

> Sustaining a train of thought is more difficult as my ADHD is a little worse,

But again, isn't the way we do things these days simply very different, prompting this? I recall in my young days there were a dozen of us in a small room, and one could hear flies, well, fly. Also (am not nostalgic of that), not having cheap direct access to the computer (it was either batch submission or the night shift), required careful planning and bracing for any possibility. Now it is much easier to "just rebuild and try", but turns out, this doesn't always save as much time as one would hope.
> just use Django (or Rails)

What do you mean by "just use"? The OP seems to have a long experience and having had used Rails recently myself as a 20 years experience web developer, all I can say is stay away if you know the way web works and not doing it as a medium team size.

You need to learn everything the rails way even if you know every moving parts of what makes a web site which can often get in the way and I can't live without googling every 30 minutes and I assume Django is similar.

Why not recommend something like Koa which is for node.js but more modern than Express, even by the same author, and with TS and async/await it works well which is my main framework these days.

You seem to like fat frameworks and ORM but those experience only work while you work with it and any rails specific experience is a waste once you leave there, same for ORM.

And why PostgreSQL by default? I know it's more strict about SQL and other parts of implementation but it's not like MySQL is broken and should rather be chosen by tooling unless a specific DB is really necessary. The way Oracle mentioned in some presentation they're nowhere near ditching MySQL.

As for editors, consider using JetBrains offerings too. Price is nothing if you're serious. VS code is good too.
As a patient, I've been guilty of doing this deliberately. At ER triage, my priority is "get into a bed". Once I've been admitted, my priority is "get well". (And once I'm feeling better, my priority is "get out of here"...)

As a type 1 diabetic, if I have high blood glucose and nausea, I'm going to say the letters "DKA" to the triage nurse. I'll never bring it up again -- because the first blood chemistry test answers that question one way or the other.
How to give a great scientific talk
That is true, at least from here. But it sure is a pity, as the technology is fun and technically awesome, and the stack is not so esoteric - it is actually used by a lot of people.

Part of the reason is that libraries can be “finished” (as in, so stable that they don’t need frequent updates), so there is way less busywork and noise in the open.

Another reason is that clojure is open source but not free software, and this has affected the community. There was a big discussion lately about this, where some vocal leaders of the community complained about it: https://news.ycombinator.com/item?id=18538123
Ptetty much anything by Arthur C Clarke. Not very recent, granted, but Clarke was a scientist and it shows. IIRC, he came up with the idea of communications satellites and the space elevator... Pretty accurate predictions :D
My really close friends and I have slow chats that we post stuff to once a week or so. Facebook is more for acquaintances.
Tips for anxious presenters -never be nervous speaking again
TLDR; don’t feel bad about making obscene money because if someone is paying you that obscene money then you must be delievering that much economic value.

An important missing point with author: Money you get tend to represent the value you deliver, not always. In many cases value you delivere is way way off than money you get. For example, lottery winner and a CEO who bankrupts the company while getting golden parachute. This is the reason why the web dev in authors referenced post is wondering if he is being overpaid for drawing boxes on web page.

This is right now becoming universal questions for lot of people who live off of passive income or are in exec roles with as much as 1000X compensation. Economy and markets are not perfect. In aggregate and over a long term things might balance out.
I don't have any contacts

Presumably there were people you worked with in those corporates. Send them a message. You might be surprised where some business can come from.
As far as I can tell, the 1.1 billion figure for LIGO includes[1] all of the test projects and other stuff. As far as I can tell it seems the ~150M figure for KAGRA is just for the KAGRA project.

[1]: https://www.ligo.caltech.edu/system/media_files/binaries/300...
why not use the project link? https://github.com/ecthros/uncaptcha2
>I feel that what Apple is doing with the iPad is trying to create a whole new separate paradigm of computing with glass slabs, without re-using the good ideas from the Mac.

Without bringing the baggage associated with traditional desktop computing.

They reuse "good ideas from the Mac" all the time. They don't want to reuse all, else it would just be the Mac UI, and that's (a) not the best UI option for a tablet, (b) still carries complication they don't want the tablet to have.

The idea is a "form fitting" OS paradigm that can scale to pro eventually, but without the legaly hassle of an OS if it can be avoided (e.g. window management).

The same way installation of apps is just "select+install", everything is sandboxed, uninstallation is just "delete", etc.
Electronic Books Available
Since this comment has gone far afield of the original topic (cigarette butts as litter), I want to see you complain about the inconsiderateness of people wearing perfume and of people that smell of smoke after they sit around campfires.
I think that you might be misunderstanding the problem perhaps because Vue uses a similar curly syntax to output values as Django does (alternatively, I'm misunderstanding you). Consider this method of mounting Vue:

new Vue(...config...).mount('#app')

Where #app is the selector for some server-side (Django template) rendered element (commonly, the first <div> within the <body> element). _This turns this entire element into a Vue template_. Now, consider your Django template has something like this to echo a comment by a user:

y4ml says: {{ comment }}

If "comment" in your template context contains Vue curlies, it will be interpreted as such by Vue. So if you wanted to be annoying, your comment could contain:

Hi guys, I just wanted to say {{ $&^%£&£%^% }}

Which would cause an exception during rendering (a syntax error) and cause your entire #app element to render blank.

It doesn't just have possibilities for annoyance, because everything inside those curlies is actually _scope-limited Javascript execution_. Consider this in your Django template:

Search results for "{{ request.GET.q }}"

Now, if 'q' in your GET contained variable contained:

{{ constructor.constructor(alert('hello y4ml')) }}

e.g.:

/search/?q=%7B%7B%20constructor.constructor%28alert%28%27hello%20y4ml%27%29%29%20%7D%7D

You've just created a nasty XSS.

Basically, if you're going to mix server-side and client-side rendering you must either ensure that curlies in user-supplied input are always HTML-escaped on output (DON'T do this, you're guaranteed to miss one), or you ensure that user-supplied input is never output in a Django template within an element on which Vue is mounted. The best way of ensuring the latter is to only mount it selectively where it is required, and where it's easy to validate either by eyeball or machine that no user-supplied input will be present (i.e. a 'js-VueMount' class that must ONLY contain one custom element).

Does that clarify it, or did I misunderstand your point?

(edits: missing curlies, wording clarifications)
Congrats to the D dev teams. It is so sad that D is so underrated and was eclipsed by other languages such as Go and Rust. D is definitely a diamond in the rough
Its almost as if this was still an emerging science.

Got a source backing up your bold assertion that 'fiber is extremely important to long term health"? Because its not true at all in my understanding, or experince.
>Yet... with many of the Apple technorati asking for one and saying it's a necessary next step.

Never read any "Apple technorati", much alone "many", asking for one.
One Year of Deep Learning
Returning multiple times can also reduce nesting, since you can add guard-like statements and return early.

Take this contrived example:

function foo(bar)
{
var result, error;

if(bar is null)
{
error = "{NameOf(bar)} is required";
result = null;
}
if(bar is not null)
{
... Main function logic ...
}
return Tuple(result, error);
}

If you can return multiple times instead you'd be able to write:

function foo(bar)
{
var result, error;

if(bar is null)
{
return Tuple(null, "{NameOf(bar)} is required");
}

... Main function logic ...

return Tuple(result, error);
}

Assume "Main function logic" has several of nest of its own (branching, loops, etc) it quickly gets difficult to read.
Is there some version of this pdf with code examples ?
Synology-SA-18:64 Synology Diskstation Manager
It is legal. HIPPA protects you from chatty employees and gross incompetence.
PUBLIC APIs UI
To people who don’t like __del__: what do you do to protect resources when people forget to use with statement? Are there any good pattern for using __exit__ with __del__?
Compression glitches can also produce beautiful harmonics as samples' quality degrades: Mille Plateaux just released Bienoise's "Most beautiful design"[0], an LP that can fit on a 1.44 floppy disk thanks to mp3 compression and clever mixing

[0](https://forceincmilleplateaux.bandcamp.com/album/most-beauti...)
I only use it on the desktop and there I use it in the browser. They have a desktop app but it isn't very good.

Embedding pictures sounds like a nice idea, but I can't imagine how they could do it and have it look good. If I were them, I probably wouldn't add images.

I kind of hope they resist the urge to keep adding features to Workflowy. It feels done to me and I like simple, focused tools.
If you go for React, I would highly recommend Mobx for state management. And create-react-app + yarn eject to get started. CRA is a joy to work with.

Mobx is a bit more difficult to grok and debug for newcomers than Redux, but it's really really fast, easy to test and requires little boilerplate.

On the other hand you get reactive state management by default in Vue.

If you use Node for the backend I can recommend using Knex for database queries and migrations while using Postgres.

But if your app will be write heavy, you should consider NoSQL. Neo4j looks very promising in this area and Mongodb also works well.

You will have an easier time migrating data and keeping the data in a known, consistent state with an SQL database. So use that unless your app is write heavy.

I also like using Sqlite for smaller apps. Your database is a single file, you can use knex and switch to Postgres if needed.

As for the backend, I recommend using dependency injection and decouple the http layer from the APIs in all cases where it's possible. It makes things easier to test. Personally I rolled my own library (@adrianhelvik/container) for DI in Node.
What an ironic question.
I don't think cyclic references are as rare as the author seems to think. Many problems involve some sort of graph, which might or might not have cycles, and the natural representation of such graphs can't just be dismissed as bad design. Weakrefs don't help in that case either. I don't think that invalidates his main argument, but the discussion of cycles seems a bit ill considered.
The next time you pass through a public restroom, count how many paper towels are on the floor. It doesn’t matter if it’s male or female. The results are always the same.

If the bathroom provides paper towels, there’s almost always a non-zero quantity of wet paper towels stuck to the floor. If the bathroom only has electric hot air hand driers, there will be none.

How do the paper towels get on the floor? The bathroom likely gets cleaned once a day. Probably at night.

So, the next day, someone, anyone, drops the first paper towel of the day for some reason, any reason, and leaves it there. It stays there the rest of the day. More follow, all accumulating until someone cleans the whole bathroom at the end of the day.

Who are these people? Why don’t they just fucking pick up the paper towels they careless permit to fall onto the floor?

But to complain about such things is to scream at the tide. You can admit that paper towels are not something a public restroom should put into the hands of random strangers who have no incentive to change their behavior. You can place paper towels within reach, and throw people in jail for their messy carelessness, or you can hire a janitor.

Or you can just let wet paper towels cover the floor, absorbing every form of moisture available on the floor of a typical public restroom.
Ask HN: Go-to app building stack today?
I haven't written an app for many years. If you wanted to make one, let's say something simple, how would you make it? Is there "the way" to make an android/ios app, write once, deploy on both?
Also Python won’t call __del__ if there are circular references! And also there are no warnings if there re circular references.
Thats a rather slanted view. While the shuttle was more or less dated by the 80s, it was still the most capable launch and recovery craft we have ever produced. Most of yor critisisms are just of the political system inherent in any government venture.

Got a link to Feynman speaking against it? I am genuinely curious.
Basic programming skills have been a part of the Finnish primary school curriculum since 2016. By sixth grade students are expected to "create working programs in a graphical programming environment". Junior high includes "basic algorithmic thinking", more programming and embedded programming.

Likely in practice means trying out Scratch in primary school and creating robots in junior high.

Source: https://peda.net/ulvila/peruskoulut/harjunp%C3%A4%C3%A4n-kou...
You haven't explained why it's "poor in design".
Because the twit summarizes the interesting bit, while the project page not so much. Which is good to motivate people to learn more about the project, right?
Press play and get “error <random number>”. Google for fix, deduce from talks of drm that headphone amp may be culprit. Plug headphones directly into phone instead. Press play, now it works.
Phishing template uses fake fonts to decode content and evade detection
A solution-oriented application platform built on Kubernetes
https://www.theregister.co.uk/2019/01/04/phishing_homebrew_f...
Thank you. Well here is a potential counterpoint:

I think one could also imagine a world where there will be a cannibalization/consolidation on the lower end of the market because of the democratization (which I am not saying is bad or good because I am not sure about the effects ML has on people and democracies, but that is another discussion).

Rather, I observe that nobody today would hire someone to (in essence) build numpy functionality. Yet there are a lot of jobs in ML/AI currently which amount to building things that will be commoditized within years (and be used by everyone like numpy today). So in my opinion learning AI basics will not necessarily lead to more AI jobs or startups because these basic features are commoditized via big tech open source.

Second, on applications:

My research is actually in the applied domain and that's where my argument mostly stems from. Doing novel, valuable applications in AI requires concentrated resources and expertise. For example, if you think about self-driving cars as an extremely high-value application, they require highly specialized domain expertise in various domains and machine learning combined with massive compute resources.

Simple applications (e.g. applying basic machine learning tools to common workflows and processes) are prone to undergo commoditization precisely because they are obvious. So I do not think the gatekeeping argument holds because there is no way around obtaining deep and wide expertise to generate valuable application IP.

So for a country wanting to focus on applications, I still think there is a good argument that concentrating resources is a more successful approach.
Then it was also 10 Asian rivers that account for most plastic:
https://www.scientificamerican.com/article/stemming-the-plas...

I guess I understand it is a hard problem to calculate, but it is an area where I wish the approach was more reasoned and less governed by fad and hype. Sure clean and prevent straws and cigarette butts if that’s really a problem, but divvy our resources in proportion to where data says the issues are...
I suspect blackmail is going to see a rise as more information like this gets leaked. It goes like this:

"Hi, <insert name here>. I know all about you. For instance, <insert the piece of personal information you have>. Wire me <insert large sum here> or I'll publish your browser history (or credit card statements, or anything else that sounds sufficiently compromising among some segment of the population)."

Against any particular target, this may not be effective if they don't care about the leverage you claim to have or call your bluff. However, since you have a data dump you can send this to every single affected individual and you'll get at least some bites.
I don't agree that touch is lacking. I use a Samsung Galaxy Book Win10 device which has a detachable keyboard and touch screen and I think it is great. Granted, it is far heavier than a tablet, but when I need a terminal or console to get some scripting or programming done it is ready as I don't have to use an on screen keyboard to get the pipe or carat keys. By removing the keyboard the tablet has an acceptable weight. Plus it naively supports and comes with the S Pen for on screen drawing. The touch and drawing capabilities in W10 are fluid and always accurate for me. I enjoy having a desktop OS which brings computing without caveats in such a portable format. Kudos to Microsoft for continuously advancing Windows.