jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Bit of a tangential rant: meth is actually truly really bad, and I wish our drug education growing up hadn’t painted this nebulous concept of “drugs”, because there’s gradations of harm.

I’m approaching 40. (Ugh, I hate to admit that.) I grew up during the D.A.R.E. era. Just Say No. Cartoon All-Stars to the Rescue. “Drugs” were this boogeyman, and whatever they were, they would turn you into a junkie instantly.

I have no idea how you’d study this, as I think this was a pretty much cross-cultural message, but I wonder what would have happened if we could have educated teenagers that, well, “we know you’re going to do drugs, they all have side effects, but some are not that bad, and some will absolutely ruin you.”

Because: I have done a lot drugs in my 30s. Pretty much the full club drug buffet, with the exception of meth and opiates. (Also never smoked a cigarette yet.) And you know what? There are varying degrees of bad. There’s this jaded sense that you build up, that you’re a bit bitter that you wasted quite a lot of your childhood education in D.A.R.E. I wonder if we could have possibly successfully pulled off harm reduction education in drugs, and given people a better set of mental tools to understand what drugs are truly bad, namely meth and opiates, and which drugs are quite honestly far less deleterious than vodka. (You cannot tell me, with a straight face, that weed is physically and socially more harmful than drinking.)
I would say the other way around, more like Fedora getting baked incrementally into RedHat when stable.

"Red Hat Enterprise Linux (or RHEL) is a commercially supported derivative of Fedora tailored to meet the requirements of enterprise customers. It is a commercial product from Red Hat which also sponsors Fedora as a community project. Fedora is upstream for Red Hat Enterprise Linux but there are several other Derived distributions available too."

https://fedoraproject.org/wiki/Red_Hat_Enterprise_Linux
Just using UIWebView to mirror a mobile site will get your app rejected.

2.12 Apps that are not very useful, are simply web sites bundled as apps, or do not provide any lasting entertainment value may be rejected
Not those sort of games:

http://en.wiktionary.org/wiki/skin_in_the_game

:)
MyFittnessPal
I don't need another phone but I like the project, so I gave my money once it became clear that they're not going to reach the $32 million goal.

How IndieGogo works is that they charge the money immediately but refund it if the campaign doesn't reach its goal. So basically I lent $725 to IndieGogo for a week. Expressing support for Ubuntu in "real money" won't get cheaper than this!
Looked nice but for me it was just too expensive. I don't pay 700 bucks for a phone. Even the OS is interesting and everything but in the end it's just a phone for me.
It was but now everything seems back to normal.
They don't, the campaign is Fixed Funding - once it failed to meet the target all backers got a full refund http://www.indiegogo.com/how-pricing-works-on-indiegogo
I fully appreciate the need for the developers of nginx to make money and I can understand that moving to what essentially is open-core is probably the only way for them to actually make money out of nginx (the thing works so well that selling support contracts probably won't do).

But open-core shifts motivation of the developers away from something the community at large can profit. Whenever a new feature is debated internally, it will have to be placed in the closed or open bracket. The more complicated the feature, the more likely it's going to be closed. The more time spent on closed features, the less time is available for open ones.

Worse, when people want to submit patches (it's still open source after all), their patches aren't just vetted for quality and whether they fit the overall product vision. They are now also vetted against an internal roadmap of planned commercial features, making it impossible or highly unlikely for a feature on the internal roadmap to ever by accepted from outside sources.

This has a huge potential to diminish the product as it's available for the community at large.

Combine this with the fact that purchasing the pro version isn't really possible without talking to sales (heck - it's not even possible to learn the price without talking to sales), the full product won't even be available for most of us (unwilling to deal with sales people) which makes this even more painful.

I'm not saying I'll be looking to move away quickly, but I think it might be time to start evaluating possible alternatives as they come along.

edit:

To add something constructive: I would have much preferred them to move into a service business based on their knowledge about nginx and do something like a cloud flare competitor or other stuff related to serving HTTP, so basically anything they are now using as arguments for buying the pro version, but as a service.

They would still be able to a) use their good name related to the backend technology and b) profit from their huge know-how of the internal workings of nginx to create patches and features for internal use. That would still drain some development time, but it wouldn't be wasted on polish and UI which is needed in this open-core case. :-)
I was once a Technical Lead at the European Bioinformatics Institute (for a short time) at the Genome Campus in Cambridge. I have since founded a health startup, happy to help if I can, email is in my profile.
Am I twisted when I first thought of non stick, non coated cookware when I saw the title.

Great achievement.
Can C code be linted according to those rules?

I wonder if that kind of coding standards can be part of ISO standards.
I could never find it again but I've seen a video 4-5 years ago of a battery-less humanoid robot using different kind of actuators (many smaller hydrolyc cables) looking like black muscle fibers. The resulting movements were also very analog/human-like. Very eerie.
> Their value was always in Fantasyland and subject to decline every time the compute power to "mine" the Bitcoins got cheaper, which it does every day.

The creation of new bitcoins is limited by the network adjusting the difficulty in case new bitcoins (blocks) are created too quickly.

The network hash rate has increased enormously over the past few years, by several orders of magnitude. Yet the average number of bitcoins created per 10 minutes is still only 28.7920673077, or around 15% above the target value of 25.

This is measuring from block 210,000 to the current block (339,357). This period has taken 780 days, so far, so the average number of blocks per 10 minutes is: (339357-210000)/780 / 24 / 6 = 1.151682692 (or 15.168% above the target of 1 block per 10 minutes).
That is of course true, but pypy does have an unusually large memory burden (and the developers do know about it - it's just not top priority at the moment).
Yes, misleading copyright notices are real a problem as they cause many people to think that they will violate the license by exercising their fair use rights. Fixing the language might help - but I'd like to see fair use more clearly defined, so that consumers can easily check if their activity is legal, regardless of the license.
In principle, this is true, but we're talking Instapaper here. The only sensitive data that could be in a list of URLs is if you were making a bunch of porn or subversive literature to "Read Later." It's not on a par with financial info or even personal notes.
No, that is definitely something I need to try. Thanks!
Java is good for big projects but not for Machine Learning purposes (Also im C# fanboy so still will prefer C# over Java :D)
Thank you for replying. Not that we know 100% you had COVID, but this is helpful. There is next to zero information regarding very young children ... like under 3. I hope it truly is because it isn’t affecting them but at the same time, I think how strong can a 22 month olds immune system really be.
Oxygen concentrators and AEDs are relatively inexpensive and common, fwiw.

It’s really the ventilator that’s the costly bit (and these days the bottleneck); those things are quite expensive as they are regulated medical devices (AEDs are too but they are cheaper for some reason).

I don’t know that having one at home is ideal unless you are also rich enough to have someone on staff to provide medical treatment as well.
What a wonderful thing to read on another day in covid isolation. Very sorry to hear about your father. He must be beyond delighted with what you've made.
I took a totally different message away from the story. It was a story -- one you don't often hear -- of someone who discovered their trans tendency was a result/coping mechanism borne of early trauma.

I don't think the club sounded any more/less douchey than a place like HN (the owner notwithstanding). It sounds like a place where a certain group of people complain about the issues that affect them. Like all specialized groups, their complaints sound ridiculous to non-members. For comparison, consider this complaint: "We just can't afford a house in Palo Alto, all we can spend is $800k and anything halfway decent is at least $2MM" -- that conversation probably happens 100x daily in the Bay, but it sounds ridiculous and hopelessly disconnected from reality to anyone not living here. Perspective.
Code Complete - by Steve McConnell
I believe the establishment that the author references is Wingtip, a pretentious clothing store + private club in FiDi.

http://wingtip.com/club

Not that it really matters for the (excellent) piece. Just thought some other readers might be curious.
You could check out the Architecture of Open Source Applications (http://aosabook.org/en/index.html)
Nope. Not this one.
Creative gear tooth geometry lets manufacturers offer steering that's slow near the center and fast near the ends at far less cost.
Apparently not:

'Internally, Tesla employees said that adding “level 3” functionality, which would allow a driver to use their Tesla hands-free without steering in normal driving scenarios, would need the dual electronic control unit system and therefore require a retrofit at a service visit.'
I half agree. I used the tiling window manager i3 for about a year, then gnome for the past two years. I really do like to move windows around and arrange them, it feels sort of tactile. I like the simple extensibility of i3 - even as a novice programmer it was possible for me to add new features and even build my own custom python bindings to add more nuanced controls. After a while i3 did become a sort of second brain and it felt like I could keep various domains of life separate very effectively when I was going to school reading and writing a lot, working part time at a job that required lots of terminal windows, and doing my leisure computing all on the same machine. Life has changed and I no longer have a need for balancing all that stuff at once and my window management needs are simpler, a handful of browser windows mostly.

When things get complex gnome is only about 50% as good as I need it to be to manage many things going on at once, though. Alt-tab application switching is a trash paradigm that is terrible no matter the OS.
Lazy made historical sense as a default: it forced them to deal with side-effects properly.

For a new language I would suggest that without annotation, only pure, total functions are allowed.

Haskell makes you annotate side-effecting functions with a tag (like IO). But it allows divergent and partial functions just fine. That's why they can't just remove the laziness.

I propose that the latter would also need a tag.

The nice thing about total functions is that the choice between evaluation orders becomes purely a matter of optimization, and won't change anything about semantics.

Some languages like Agda already do something a bit like this.

(Also note that total functions are not Turing complete. But that's a feature, not a bug.)
Point me to a quarter where they have made a GAAP profit, please.

Like, I've been bearish on Uber for a long time now, but would be happy to be proved wrong.
I love the phrase “quick chat” because it’s rarely ever actually quick. If it was actually quick, they’d just ask it.

Over time I’ve learned that the correct response is, approximately, “Sorry, I’m in the middle of [important work], please book 30 minutes for us and [stakeholders] to discuss it.” Gives me time to prepare so that I’m not caught off guard. And to bring backup if I think I need it.
YMMV. Google Search might as well be blocked completely, I guess they don't want to deal with all the SEO-targeting search queries that would otherwise come from Tor.
Many companies manage to make a profit while doing good in the world. "Doing good" can also include providing a product or service that people are happy to pay for.

And I've also found my most satisfying jobs are where I can bring up junior people, and shape their careers. Be the manager you wish you had and bring up your reports to be managers like that too, and to pass it on themselves - the good you do will keep on happening after you've left the scene, possibly for ever.

If the good people don't step up to manage, the bad ones will. Increasing the world's share of good ones is a worthy goal.
It's called "The National Enquirer"
Doesn't work on android
They said it removed a blindfold, they didn't say it solved the problem.
The HP specific part is just to make sure that the HP disk vendor lockin works: HP controllers only talk to HP branded disks...
if I understand the law correctly, any permitted work on the property is an opportunity

FWIW, this permitting process is precisely the law that Khosla is challenging. He asserts that the state government doesn't have the right to such fine grained and arbitrary control of private property.
That's sad -- from your demo video, I thought you were supporting Windows too (the minesweeper window). You might want to make that more explicit.
95% of what people? I know people of both persuasions in about equal numbers, which makes me question the 95% number. Personally I hate dark mode except late at night as staring at a dark screen and then walking away from my desk makes me dizzy.
Coordinating 435 people to get meaningful work done is really hard. Coordinating 30k would just transfer even more power to centralized coordinating structures like the parties without any corresponding increase in democratic representation. Next...
Modern != less verbose
That probably has more to do with the success of the JDT and it being open source than anything else. It really isn’t that hard to write an auto complete engine for Java, but you have to spend a lot of time plumbing a partial or incremental code compiler (like Roslyn did with C#).

The primary reason auto complete works better for OO languages is an accident of syntax in the use of dot access on a subject expression.
Pretty much your only and best option for odors is going to be active charcoal filters. Which you can by and attach under the filters in any regular air filter or diy filter like this one. I have one behind the filter in my hvac air intake.

From testing I have seen, baking soda does nothing.
I have recently been inviting my American colleagues to meetings using times-as-American-dates format. In other words, proposing meetings to be on 02/26/21 at 25:23
(This example meaning February 26th 2021 at 25 minutes past 23 hours).
The problem is bash et al are languages designed for the command line. Every line is a separate command.

Contrast:

cat test.txt | grep search

With:[0]

import os
import subprocess
with open('test.txt', 'r') as f:
for line in f:
line = line.rstrip()
subprocess.call(['/bin/grep', line, 'search'])

While the first may use some “magic” symbols such as the pipe, it’s really concise in conveying what it’s doing.

I will give you this: bash variables and expansions can be confusing. Contrast with programming where this probably works:

"start" + variable + "end"

[0]: https://stackoverflow.com/a/9018183/1350209
Haha we had a major pivot last year. We started off building a search engine and browser for doctors. We realized they would be much better served through a customized browsing experience. Then we realized everyone could benefit from being able to deeply customize their browsing easily.
They should handle it like radios: let the user just yank the whole thing out and leave CAN/power/speaker connectors. Then reasonable organizations can build the controls.
Can you suggest a better alternative which you would take seriously? A Kelvin-like year based on the approximate date of the Big Bang (as CE/BCE is based on an approximate year)? Logical but unwieldy.
How? 1000 engineers x 1000 LoC/each = 1M LoC

Why? If you have 100+ engineers at any given time, shipping features over a period of a few years, you'll hit 1M in no time.

It sounds like a lot, but it really isn't when you consider the amount of people working on it.

Now whether or not you can build the same thing with less LoC, probably. But it's not like it was built from the ground up with every piece of functionality planned out from day 1, so there will be inefficiencies.

Comparing it to Linux is pointless. Platforms should be relatively stable, products are ever changing and the shelf-life of the code is sometimes measured in weeks/months.
Fevo | New York City or Remote (NA/Europe) | Full time | https://fevo.com
Fevo is an ecommerce platform specializing in social selling. We help people buy things and enjoy them together. Come build things with us!

What we do: We've been changing the ticketing industry since 2016, and now we are expanding into hospitality, travel, insurance and luxury industries.

Things we love about Fevo

- We've been fully remote since before COVID, though we have an office in the meatpacking district.

- Excellent compensation; we work hard and Fevo takes good care of us financially. All employees have stock options.

- We welcome diversity, and are an inclusive workplace. We're excited to work with you.

- We create useful software using exciting technologies, with an established and talented global team.

Stack

- Backend: Golang (we've already upgraded to 1.18), some modern Java (via Quarkus), some Scala

- Frontend: Typescript, React, Redux

- DB: Postgres

We are looking for enthusastic engineers with 3+ years of experience. We are open to candidates in North America and Europe, and we require that your workday has some overlap with core-east coast hours (9-5 EST).

Notable roles:
Full stack developer (Golang Focus): https://jobs.lever.co/fevo/f5ab89f0-0462-4f6c-8128-7985a48b8...
Scala: Full stack developer (Scala Focus): https://jobs.lever.co/fevo/1ab8a8b4-8d7f-4d1e-900a-27fba91d8...
Senior Technical Product Manager: https://jobs.lever.co/fevo/1634cd7c-3379-4055-8a81-625f8921b...

Please reach out to hn@fevo.com to apply or discuss. A full list of roles we are hiring for is at https://jobs.lever.co/fevo
that's pretty cool...

but how do I replace the battery, or repair it by myself? I can't help but to think that such 'elegant' methods of manufacture only serve to create more waste.
http://en.wikipedia.org/wiki/Monkey_patch

By that link's definition, then yeah, it's basically monkey patching.
My brain quickly went through the following process:

(Texas) Appeals (Court Rules Phone...) nope.

(Texas Appeals) Court (Rules Phone...) nope.

(Texas Appeals Court) Rules (Phone Search...) yes.

Most of the words can not only both be verbs and nouns, but many appear to conjugate correctly as verbs when the preceding word is interpreted as a noun: "Texas Appeals", "Appeals Court", "Court Rules", "Rules Phone"*

*"Rules Phone" doesn't make as much sense, as rules are typically unable to phone anything, including searches.
It is called vendor lock-in.
And yeah, it is not only Microsoft with their tecnologies that try/tried to do it.
It really IS confusing. You should rename it and everybody would benefit from it.
Wow, longer than a single line comment. I'm impressed. :-)

I agree totally on all your points, and this still needs work, as I said.

But that age old boogeyman from the 90's of "javascript cryptography is flawed" has to go. It works just fine, and most of the complaints people have you can leverage against any language. Sure, it blows, but the SJCL has really good solutions to many of the encoding issues. After that it's pretty much just as lame as most languages.

Also, your attacks are valid on all existing sites, and I'm not claiming it solves any of those. If an attacker can get to the browser, then you're screwed always. I am not even trying to claim this solves any attack in the browser, and in fact I'm saying that all websites are vulnerable no matter what people use. Even with OpenID I can use evil UI tricks to get your password.

What this is solving is only the problem of people not wanting to setup their own auth system and get it right. It doesn't stop a determined evil web site from abusing it, because no solution would. It doesn't stop an idiot from using it wrong, because no solution would. It just helps them not store passwords, and that's it.
That's why I bought an MP3 player with the best interface ever invented for uploading: a visible file-system (or you could say Windows Explorer to non-technical types).
Oh, good to know. I stand corrected. I was using supergenpass but I should switch to pwdhash, then.
> Control vs. Command is probably my number one peeve

Control vs. Command is one of the things OSX does _so_ right. Command is used for OS/window level commands, leaving Control available for application functions. Heck, both MacVim and Emacs default to compatible keybindings in windowed mode, with Cmd-S saving files, and not needing to worry what random keybindings the OS might want to use that conflict.
Absolutely. I meant XBox planning proper, but you're right, this paranoia goes back as MS also had WebTV in the 90s as well (I don't recall Sony's, but I'm not surprised that they had one).
There is basically no login area. Gitweb is the official web interface for the source tracker git. If you have permissions to push to the repository the gitweb page is showing, you could possibly add a file to the repository, when shown on the page will inject malicious javascript code for example.

If you run gitweb for repositories where only yourself (an people you trust) has those permissions, this vulnerability is rather harmless. But if you are running gitweb for a large FOSS project with a lot of committers, you should be aware of that issue.
This seems to be the same page submitted by the same person three days after the last time they tried:

http://news.ycombinator.com/item?id=2004939

Was this deliberate?
The point is there's nothing you get from college that you couldn't get for free somewhere else (Internet for info and Industry gatherings for social aspects). College puts it together in a nice, easy to digest package but they vastly over charge for it.

The college model is still based around a philosophy from the 1800s when they were the sole providers of information.
PC Game Programmer's Encyclopedia! Now that was awesome resource :)

With that and Ralf Brown's Interrupt List, you were Superman.
Most distros already do this. Most distros already try to "Just Work". A better approach, I think, is to ship (with the distro, autodetected at install time) tweaks for for specific hardware, and to explicitly target developers in the out-of-the-box setup of the system. Fedora[0] (as I've said elsewhere in these comments) is now doing the latter, while still maintaining a "Just Works" system; it would be interesting if they chose to do the former as well.

[0]: https://getfedora.org/
How was it broken ?

It worked exactly the same as before only Apple added full screen mode which didnt work in an ideal way. But guess what you don't have to use it. Just maximise your windows normally or use one of the many free tools to do it via keystrokes.

But yeh fuck Apple for offering free OS upgrades that are completely optional.
This is pretty cool. I might join as a contributor if you dont mind.
PS: You should probably edit the title to Show HN