skysight-inc/HackerNews huggingface dataset:
Years ago I learned to code in PHP/MySQL, never really using a framework. I made some attempts to use CakePHP and Symfony but never liked them much.

When I wanted to build my first big project, I looked for something like Rails in PHP but couldn't find anything. I did find Django, though, which looked cool. Since Python was more similar to PHP than Ruby, I learned Python and used Django.

Eventually I found Django too heavyweight and "batteries included" for what I wanted, so I moved to Flask.

Flask is awesome and if you like Python I still recommend it. But I think it gives you too much flexibility and there are too many ways to do one thing. Also, Python does not strike me as a language well suited to the web, primarily because everything is synchronous.

I'm now building a web app with expressjs, which has all the benefits of flask (minimal, include modules as you need them) with better defined best-practices and a larger ecosystem.

I'm using parse-server as the backend. At first I hated parse because of vendor lock-in, but now that parse-server is open source, that argument is moot. Installing it on my own server is very easy.

The best benefit of using parse-server is how easy it makes building components in different languages. Because there is a parse client library in almost every language, you can write each component of a project in the language best suited to do the job.

For example, the web app I'm building is an express server that talks to parse. But the billing and invoicing portions of the code, which happen mostly in background jobs, are all Python. They talk to the same parse backend as the web app, complete with all the beforeSave/afterSave triggers and cloud code functions.

Building the web app has been very fast because of built in functionality of parse server like email confirmation, forgot password, etc.

Building the billing code has been enjoyable because I'm more comfortable with Python, and I can offload any consistency worries into beforeSave/afterSave triggers and cloud code functions. This way the web app and Python code can call the same logic.

Having used many others, I would highly recommend this approach.
It depends on the cash. I suspect that a lot of the cash-hate is supported by experiences in countries with badly designed cash. Compare e.g. the US$ and the Euro - the latter one is well designed, the former isn't.

Other cultural factors come into play, again the US comes to mind as negative example due to the way prices are usually displayed without sales tax, which makes it hard to have the correct change in hand quickly.
there are workarounds, for usb device over wifi there is this: https://github.com/cnlohr/espusb
if you are hardcore enough it is possible to add usb host support too
>> "Since we already have symbols for all the sounds we can pronounce [in English]"

English has 26 letters, but there are 40+ sounds; which is to say that there are NOT symbols for all the sounds.
Flag and hide!
I use search before submitting something new to make sure something similar was not posted before. And hide is a relatively new feature, I just started using them.
note that this is currently a very simple radius search for points. So it cannot do point in polygon, intersections, allow shapes for data points etc
Our political leaders sold Iraq on the basis that it would be cheap and easy and that we would be welcomed as liberators. Fighting an insurgency requires abandoning those assumptions, which was politically nearly impossible. The problems we faced there weren't with planning, they were with ignoring planning.
If you are starting out without experience, I would choose based on which one has the best tutorials available.
No, they are selling ad space.

But if you're sure that they are selling the data to third parties, can you provide any source for that claim?
You're trying to apply the logic of interpersonal relationships to those between states. They are not comparable. Individuals have a higher authority to appeal to for justice. States have only the might of their legions.

This bit of eternal wisdom in the Melian Dialogue captures reality well:

Right, as the world goes, is only in question between equals in power, while the strong do what they can and the weak suffer what they must.

It's not a moral statement, but a statement of fact. If you want your moral code to mean anything, you'd better be strong enough to establish and defend it.
Freedom is important bla bla bla. Tell me the name of a single country where there's full freedom and people are happy.
You mean you want communism?
Plan to make a transitional stop as a team lead. It's a position that lets you develop "leadership" skills and practice interfacing with managers and other departments on behalf of a team. But it's still an engineering position and doesn't require previous management experience.

At a smaller company (most early stage startups) with a team of 10-20 engineers is where you're most likely to get the most management exposure as a team lead. Because the engineering team is big enough to need a leadership and planning layer below the CTO but too small to have developed a true management army yet.

In a small company (run well), you'll also have more exposure to how your decisions impact the business and what business information you need to make those decisions - crucial aspects of being a good manager.

However, a larger company is more likely to have good mentors for you to learn from. Like everything else, it's a trade off and a balancing act. You may want to try both routes.

If you find you like it and you're pretty good at it, it should be much easier to get hired into a management position from a team lead position than from a plain engineering position because you've positioned yourself as a leader of people and have some practice doing it.

Then you just need to be confident that you'll be content spending 95% of your time talking and planning and 5% or less working directly with the tech.
Like most things it's a matter of opinion.

My opinion is:
Anyone thinking the government being able to track every transaction could possibly be a net good thing is delusional.

It seems freedom and autonomy matters less and less these days.
I agree. I've been watching Rust for a long time, with some enthusiasm, like since it was Graydon's creation and safety wasn't the big focus.

I'm pretty pro-Rust, but I spent some time last night trying to write up some fairly trivial code in it. I hit the complexity wall very quickly. Because I don't use the language often, I have to relearn the core concepts of borrowing, etc. anew each time. It was quite frustrating and I kept twitching thinking how easy it would be to fire up CLion, write a CMakeList and write what I was doing much more quickly in C++11...
Says the guy who stands to make ~3% of every single transaction that is deanonymized. For more clarification of how cashless would save us, look into BofA & Wells Fargo's not so distant past laundering of illegal guns & drug monies from Mexico, sure they paid fines & promise to be more diligent. Around the same time was the Wikileaks payments freeze across multi platforms(Guv mandated). Sounds fair & equitable for all who can afford justice.
> could represent a significant revenue stream

If it does not, we should, like other Google offerings, expect it to be cut. Google has a strict internal business case (new from around 2010 or so) - what they do now has to make money, it's no longer enough to be getting more people to use the internet, or increase use in the brand, the services has to make business sense.

Let's hope it is used and profitable, eh.
Well, not "a random" remaster, but most of the time, the hi-fi versions are just a reencoding of the actual master, at the mastering resolution of 24/192.

Which is quite awesome, because that doesn’t have clipping.

Basically, what I want, is ideally the master, in the original version.

Just like I’d prefer RAW images with a header telling my program which settings to apply for rendering – but still allowing me to change exposure.
Ask HN: Advice request for startup, Nootropics.com
At the start of this month we launched Nootropics.com, which is a nootropics vendor. The initial promotion went relatively well: I posted in various facebook groups, a large mailing list I’m part of, and on r/nootropics. (Reddit went… very typically for reddit :) There’s less of an ethos of constructive comments there than here on HN, and we tend to be more expensive than known vendors, so the responses were mixed. Still though, we got some useful feedback, and I think I didn’t handle things too terribly.)

After that we’ve sort of hit a rut though. I’m personally engaging on reddit, on our facebook page, and on facebook pages of companies that would attract people that might be in our market – but that’s slow going. We’re 4th in the search results for “nootropics”… on Bing. On Google we’re still around page 4, if that. We’re trying to reach out through our networks to get backlinks as well as exposure, we’re running some targeted Facebook ads, and we’re working on articles that would be interesting to the general public, that would organically also include information about nootropics. (For example: I recently made a reddit post on motivation that got gilded twice, I intend to turn that into a full blog post to share on places like r/motivation or Lifehacker.)

But it all seems a little slow-going, and it’s unclear how much impact it’s going to have. Are we missing something obvious? Are there better things we could be doing? We’re at the point where we’re considering looking for a second investment round, just to get the funds for a bigger push – but even that seems uncertain if it’s a good idea or not.

Sooo… let me know what you think? Feedback not about the marketing situation is also welcome! I'll put some background about the space, our approach, and about nootropics in general in the comments.
shawndumas, the guy who posted the link.
Moscow's defenses include about 100 anti-ICBM missiles. Depending on how stuff comes in, each one might, if it's lucky, take out multiple incoming warheads. Add in potential losses in the attacking force due to counterstrikes and malfunctions, and attacking Moscow with hundreds of warheads starts to make some sense.

Other Russian cities don't have such things, nor do any American cities. At least as far as is known.
As some background: The nootropics space is pretty hard to get into for new people. Since most vendors don’t really have clear information on what to expect, and because nootropics tend to affect people differently, it’s difficult to figure out where to start. We’re trying to focus on clarity by having clear product guidelines for every product, an elaborate introduction to nootropics, and a search/filtering system on the shop page that allows you . There’s space for improvement on this front too: On the roadmap are including an information leaflet with your order, getting superscript references on the product pages,* and offering a “nootropics sample basket” so you can try what works for you. But that didn’t seem quite as MVP.

* We have references under Further Info, but people seem to keep missing them.

Additionally, we try to focus on quality. Both in raw product, but also in presentation/design/“quality-feel”. We’ve gotten positive responses to the design of our site, boxes, and jars, and we’re aiming for people to be proud of displaying them, instead of storing a sachet in a drawer somewhere. Something that would look good as a gift.

As a further background: Nootropics are typically defined as “cognitive enhancers” or “study drugs”; things that help you focus, improve your memory, help with motivation, etc. For me nootropics has a definition that’s a little broader: Any supplement that gives you more control over your own mindstate. For example, Tianeptine might not increase your focus, but it does allow you to mitigate a bad feeling a little bit. Phenibut can help you with social anxiety. And sure, Adrafinil increases your focus and energy.
Isn't it the case that at least some unsafe features in C actually prevent compiler optimizations? Being safe should not necessarily mean being slower. Sometimes restrictions are enablers for better compilers.
Here's the Wikipedia page:

https://en.wikipedia.org/wiki/Magnetic_sail
Not sure I agree about joining a dysfunctional company to that end - you're liable to either learn or be forced into terrible management habits.

That said, I couldn't agree more about communication. It's a crucial management skill and one that too few engineers develop properly (and I'm not even talking about socially awkward stereotypes). Communicating effectively with management is a very specific skill that's very different from general social communication; and communicating effectively with one's reports is yet another skillset.
What a wonderful non-argument.
https://github.com/youtube/vitess/issues/1861#issuecomment-2...
What If Research Were an Academic Sport?
Search is pretty much it. I don't use it because I don't submit stories. I use Hide sometimes when I feel an article and/or its comments are terrible. I use flag probably too much because I want to keep the link quality on HN high.
What stops banks from implementing a negative interest rate today? Practically nobody keeps a large amount of savings in cash. Such a policy would be really lousy in a society where retirement planning is largely a private affair, though.
Cool story, except that it really happened. Few countries developed 'electricity' and now pretend to be wise enough to tell others what they can or cannot do.
1 month of expenses is not a bad idea
"Since we already have symbols for all the sounds we can pronounce"... Not with 26 letters we don't. Other languages have other sounds that English can only try to emulate, and even English has sounds that require multiple letters.
It doesn't sound like the with-cash society is that inconvenient, if you practically never have to use cash if you don't want to.
So not using an ORM is bad because you then need to understand the code in detail, but even though using an ORM is good, you then need to understand the code in detail. Gotcha.

Less flippantly, I've never actually used an ORM in a typed language, and I suppose it's plausible the concept offers benefits there which aren't available elsewhere, especially if arrays of mixed type aren't permissible. It sounds like your perspective comes from heavy, perhaps exclusive, experience with such languages. Certainly I'm not sure where else one might get the idea that the ORMless style "works well only with tiny applications written by a single person", or "in a large application you have to use objects and therefore ORM".

That said, what I've seen of the pervasively object-oriented model and how it's used in general leaves me with severe doubts about its value - it encourages the promiscuous mingling of code and behavior, and makes it very difficult to produce code which can be understood without reference to complex interactions among many instances of many classes. You end up with your application state torn into tiny shreds and scattered to the wind. Perhaps that's easy to reason about for some. I have not found it so.
Your comments here are so stupid that I'm beginning to assume you're paid to disrupt this discussion.
Oh no, not communism! Everyone knows that's the worst thing ever!

The American demonization of communism is a bit tiresome. You can't use the word "communism" as a conversation-stopper, it's not an argument, it's a fallacy. It's like saying "so you're basically Hitler".
> note that 4.25 light years isn't an order-of-magnitude improvement over the previous winners for Earthlike proximity, such as Wolf 1061c (13.8 light years away) or Kapteyn B* (12.76 light years away). We're talking about the difference between 40 arbitrarily-huge-units and 100 arbitrarily-huge-units. So how should we contextualize these arbitrarily-huge-units?

This is nonsense. The point is that the exoplanet was (potentially) found orbiting the nearest star, which means it's as close as it can be.
Seq.asm – Minimal implementation of Unix seq command in x86_64 assembly
Though that's also somewhat of a feature with respect to US change. I can just dump it in a bucket at home to get turned into "real money" with a coin counting machine someday.

Quarters are also sometimes still useful for parking.
I've noticed this when playing chess, which is I guess a pretty good way to measure one's analytical capabilities and concentration. When playing against a computer in the evening after 8+ hours of work my games are significantly weaker; I can't anymore beat the same game level that I easily win in the morning. By looking into game stats I've noticed that in the evenings I make significantly more mistakes, don't see good moves, make hasty decisions more often, etc.
What about a simple phpBB or vBulletin forum?

It's a familiar interface, supports conversations, pinned topics, attachments, rich text, etc.

I've thought about this approach before and I think it may be a decent one.
+10. Blogged this a while ago:

Tech Video: Rich Hickey: Hammock-Driven Development:

http://jugad2.blogspot.in/2016/03/tech-video-rich-hickey-ham...
I use search constantly, and I am surprised you think it is either hidden or not useful. To me it's extremely useful, and the search box is on nearly every page, which makes it hard to think of as hidden. So I'm confused by your assertion about that - perhaps you could explain further.

"Hide" is new, and I've not played with it much. However, given that it's relatively new, I'm being on-boarded by the facility it provides. I'd be interested to know why you think it's not useful, as it's certainly not hidden.

In truth, I don't know of any features I don't use. Perhaps you could compile a list of them for people to check against. After all, if someone doesn't know about a feature, they won't name it as something they don't use.
> Plus, unless you want to go screaming by on a fly-by mission

In space, no one can hear you go screaming by.

In any case, terraforming some of the rocks we can reach (Mars, Venus, et. al), while an enormous undertaking, might be a more solvable problem than FTL travel (because the latter is most likely impossible, while the former is merely insanely difficult and impractical). The problem is terraforming projects would likely be multi-century efforts requiring some level of international cooperation, so... yea, we're stuck here.
What makes the Dollar worse than the Euro?
I use flag because I can't downvote.

They say if you use flag often you lose your flagging ability, but I don't care because I'm banned often and I have to keep creating accounts.
Netherlands to ban all non-electric vehicles by 2025
I don't really get the "anonymity" claims of Bitcoin when there is a central, permanent ledger of every transaction ever made in it.
Filtering by 'show' or 'ask' at the top. I used the site for years before I noticed that they existed.
> lunar colonization.

The other things are impossible or might as well be, at least based on our current understanding of physics. The reason lunar colonization hasn't happened is not because it is impossible but because there's just no compelling reason for us to colonize the Moon yet. Nothing is preventing us from doing it other than not having a good reason to expend the capital and do the engineering work.

If we find something on the Moon that we need and can't get on Earth, we'll colonize the Moon. Really, the only somewhat good reasons I've heard for doing it at all is as a test run for more ambitious things like Mars.

Otherwise, the Moon is just a dead, almost completely airless worldlet that is not really all that interesting beyond scientific exploration.
Total peace wasn't immediately winnable, but establishing sole nuclear dominance was a precondition for it. Fast forward a hundred years and we'd have the capability to defeat asymmetric enemies with no losses of our own. And also the ability to quash any attempt at a build-up of conventional forces.

I know it's tough to swallow, but I think this would have been infinitely better than the world we have now, where war between nuclear states is still a very real possibility, and where the long-term dominance of liberal democracies is not guaranteed.
I wish they would think about targeting me with ads weekly.

Part of the reason ads annoy me is that I'm just not purchasing stuff every day. (Who does?)

If I got the ads I'm supposedly interested in once a week, that might be more useful.
If you want free support you generally do the mailing list. The times I have asked I got an exact answer from someone on the team the same day.
How to freelance while traveling the world: my 6 pieces of advice
Honestly it is trivial to do a full dump and reload a new instance with a smaller disk. Like 5 minutes and 3 clicks easy.
What's the artist?
Amazon-Rival Rakuten Forms Blockchain Lab
口 and 食 are also Chinese characters for mouth and eat, although I had to check google for 食. Initially, I thought that he was teaching Chinese until I read 食 was eat (which needed Google) and that it was "Japanese".
Multiple Vulnerabilities in BHU WiFi “uRouter”
Given that probably >95% of Chinese children are single children, I think it's safe to assume that many of them will get quite spoiled by their parents.
In addition to other bad things already mentioned, any government enforcement usually comes with "prosecutorial discretion" -- freedom to choose whom to prosecute and whom to ignore.

Tracking all money spent would give a huge additional opportunity to many government agencies to harass those they find obnoxious. I have little doubt it would get misused very soon.
I don't know which is more incredible, the fact that the SEC wants to give someone 8 million dollars for doing their job and having a sense of morality or that we live in a society where doing one's job is and being moral is newsworthy.

Where does all the money that SEC collects in fine go? Nobody seems to know. It doesn't seem to go to anything that benefits the society that is regularly victimized by these white collar criminals. It doesn't go to an education fund for underprivileged people or donated to disease research. It just seem to go into to some discretionary slush fund that the SEC controls the purse strings on. Case in point, an 8 million dollar reward for doing the right thing. They dole out hundreds billion of dollars in fines a year. The dollar size of the individual settlements no longer phases the causal reader.

The SEC seems like another part of this crooked banking machinery. Only in the United States can you pay a fine of 10s of millions of dollars and not have to admit wrong dong. Talk about theater. The fact that they were maybe going to start requiring admission of wrong doing in certain was itself a news item:

https://www.washingtonpost.com/business/economy/sec-to-requi...

In 2014 the SEC collected over 4 billion dollars in fines!
http://wealthmanagement.com/industry/sec-collects-record-41-...

I would love to buy this guy a beer. I also think he would accept and appreciate it.
Rust is significantly more complex than C and more complex than C++.

It seems to be a multi-paradigm language like C++. I guess it's advertised for system programming because it's looking for its niche, but I don't see it replacing C for low level stuff due to the learning curve.
This is off topic, but I can't find any pricing on the candyjapan.com website when visiting on mobile (iPhone). Anyone can tell me how much it costs per month?
North Korea's 'Manbang' is a state-approved streaming service
The upvote button (because I'm a hater and all I do is downvote).
Show HN: Poke-Pong
Which can even mean fighting things a particular government official disapproves of.
Windows 10 is the reason I switched to Debian. I wonder if others will do the same.
Yup, I'm hit by this myself. Ridiculous.