jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I use a setup like this. Essentially, I use pyenv [1] to manage Python versions and Poetry [2] [2](https://python-poetry.org/) for virtualenvs/dependencies.

The workflow for creating a new project looks like this:

1. Create a project directory (e.g. 'myproject') and `cd` into it.
2. `git init`
3. Fixate the Python version for that project with the `pyenv local` command (e.g. `pyenv local 3.8.6`). This creates a `.python-version` file that you can put under source control. Within the `myproject` directory tree, `python` will now be automatically resolved to the specified version. Your system Python (in fact, any other Python versions you might have installed) remain untouched.
4. Create a new poetry project (`poetry init`). This creates a `pyproject.toml` which contains project metadata + dependencies and can also be checked into git.
5. Add dependencies with `poetry add`. Here, you could for instance add Jupyter Lab (`poetry add jupyterlab`).

To access installed dependencies, such as the `jupyter lab` command, you can either execute one command in the virtualenv directly (`poetry run jupyter lab`) or spawn a shell (`poetry shell`). If you open a Jupyter Notebook that way, the packages installed in the virtualenv are directly available from within Jupyter Notebooks, without having to mess around with installing IPython kernels.

I like this approach, because it gives you full flexibility, while being portable and easy to use. It gets you around having to deal with conda (which I found to be frustrating at times). Also, you're not tied to the Jupyter frontends, but could e.g. just install `ipykernel` and open notebooks in VSCode.

[1](https://github.com/pyenv/pyenv/)
[2](https://python-poetry.org/)

Edit: Moved the links
I think the Patreon is the best place to donate

https://www.patreon.com/marcan
Lock-in is not the only reason: on-prem/on-pc deployments are more expensive as they have to consider more scenarios. How you install it, what other software is running, what software you want to combine it with (e.g., what database you want to run).

On-prem/on-pc is also harder to debug and support, and harder to keep customers on the latest release, so you have to maintain more releases.

Overall cloud makes sense from a business perspective because it's cheaper and takes less effort, so you can dedicate your developers to add valueable features to your software instead of dealing with customer specific situations.
Interesting choice of "addiction" there. One could argue that addiction is bad for society. And if we could reduce the addictiveness as well as increase the number of platform choices, then people would be more able to exercise freedom of choice.

So, yeah, I could go for that. More choices, less addictive, each platform carries whatever they want.
People are not happy in Antarctica.
The kind of company where you have one or two founders who are going to take 6-12 months to personally create their product but have no savings and so would need money to live during that time.
I'm gonna need to read that source code; I've been an Emacs user for a long time now (and vim before that), and although I don't feel the need to switch (yet), I'm always on the lookout for new editors. A recent editor that I found is OpenBSD's mg(1), a super lightweight Emacs clone. If it were not for its lack of support for UTF-8 (I write a lot in French), I would use it a lot more than I do now. Let's hope iota can become that editor!
Was it just that the penicillin salts they were using at the time had low bioavailability? That is, do we now have ways of administering penicillin or other antibiotics such that less of the drug is expelled unused, or do we simply produce a high enough volume of antibiotic drugs that it doesn’t matter?
That sounds like a mighty good idea to me. Not a fan of the Acme interface, but the idea of exposing the editor API through the filesystem means that there is no war like Emacs Lisp vs Scheme in the Emacs world (an no people suggesting that we should switch to JavaScript): people will write plugins in any language they damn please, and they can even follow trends (Go this year, Rust next year, and OCaml from 2017 forth).
My 13yr old brother spent all year saving his pocket money on a deal with dad where dad would put in the rest for him to get his first ever gaming console, an Xbox One. On Christmas he got it, and for 3 days straight he couldn't get it working AT ALL since the Xbone needs XBL to be online to activate, download games (they're all download tokens now), etc.

Christmas was well and truly ruined for him. It was heartbreaking to see that happen to him after all year of working his butt off and looking forward to it.
I have been using ZFS for many years and am pleased with it.

The only lacking thing at this point, is not ZFS' fault, which is, it doesn't really have a lot of integration with Linux. Right now it is a sort of bolt-on that is added after the initial installation. I am sure that in time that will be fixed.

I recently started to play with HAMMER under a VM, but I don't have enough experience to intelligently comment on it at this point.
If the alternative is surface lots which spread out the city and make it less walkable...?

It's not like that pool of money can be put into a train, right?
You are right in that it matters how you phrase the question.

You could ask: "Do you think court should be simplified and less money wasted on lawyers by not chasing unnecessary extra charges?"

That's a simple enough question that most people could get behind.
If this is the same dotCloud I used to push to, the real value proposition are the friendliness represented in both the interface and the people behind it offering the most patient customer support a hopeless idiot like myself could wish for.

It's hard to promote that stuff, but dotCloud was far and away the most accessible PaaS at the time - and may still be.

It's not surprising that they're basing their tiers on it. it also looks like the Sandbox is back!
Funny how open source hasn't resulted in a desktop Linux or Android or ChromeOS or BSD that you want to use, yet. Not for want of effort or money or forks.

But maybe if Apple open source Mac OS X, which you do want to use despite the annoyances, then open source will magically help it become perfect?

Two bads always makes a good, right?
http://beaconpush.com is also a similar service.
Cool! I'd be interested to hear your experience with 1) getting into YC as a single founder and 2) working alone in the ensuing months. That's quite a feat.
Linode is pretty much a pay-per-use service in the guise of a VPS host. You use twice as much resources, you pay twice as much. You stop using your VPS for a day, your account is credited back for that day. Overage charges are very similar to regular charges. And so on.
Relevant to this conversation is Bill Harding's project to fund a better touchpad driver [1] [2]. It's well worth reading his blog posts and seeing his related GitHub project.

Definitely worth understanding his understand motivations, then considering collaborating and/or funding him.

[1] https://bill.harding.blog/2018/04/12/linux-touchpad-like-a-m...

[2] https://bill.harding.blog/2020/04/26/linux-touchpad-like-a-m...
This plus secular trends due to the shortage _itself_ inducing further future plant development at home, simply for redundancy as a hedge against tail risk...think we're closer to the start of a 5-10 year boom than the end
Yep, I work in hardware design for defense. They dropped the Cadence license (no RFIC design for me), but I got to take Unconscious Bias training yesterday.
True, but if you can write once at least the business logic, is is already a win
I was mostly responding to your comment about class mobility. I don't consider a system that semi-randomly catapults a few ivy leaguers from already-wealthy families into the ranks of billionaires to be a "true class mobility engine".
Yes, but IMO the point is that average humans are still much better "garbage detectors and cleaners" (or general-purpose problem-solvers, really) than automated systems are going to be for the foreseeable future.
The people streaming have no time for editing. Moreover, video editing is unnecessarily painful, so amateurs hardly ever do it. What does happen is the best stuff gets saved and recycled as GIFs/HTML5 short videos.
.NET 4 is fantastic, and highly productive. There are plenty of cool things you can do with the Entity Framework, and WCF Data Services, to get your data tier built quickly, and give you 100% queryable web services that support both OData and JSON without mush hassle.

On the MVC side, ASP.NET MVC 3 is due out any day now, and they have a new rails-like Razor syntax that can really cut down on the coding, if you're into that sort of thing. These days, I do most of my work in Silverlight, because I like rich applications.

If you want to learn how to do these things, Channel9 on MSDN is a HUGE help, with plenty of videos and training on a variety of topics.

I personally think that now is the best time to be a .NET developer... .NET 4 really makes things easy without a whole lot of effort. If you get the option to start from scratch and not have to take a lot of legacy, BS decisions with you, you'll go far quickly.

HTH!

Robert McLaws
http://www.windows-now.com
I agree that this feel-good article about the USA's astounding generosity should be taken with a grain of salt: http://yashwata.info/2010/07/15/charity1/
http://google-opensource.blogspot.com/2010/06/introducing-go...
> The type is not given at all, I think by default it would be "int".

Yep, this is called the "implicit int" rule, and it was specifically outlawed[1] by C99 and onward.

[1] https://herbsutter.com/2015/04/16/reader-qa-why-was-implicit...
I'm sure it will be straightforward to get people to buy only exactly what they think they will consume. Or a little less. That's pretty easy.

Oh, and also making sure that they eat absolutely everything they bring home or be charged penalties by the garbage man.

Those with children know that the kids can help estimate and reduce waste with even higher accuracy.

And given our experience with having to convince people to take a life-saving vaccine once, I anticipate no issues in regulating their activities having to do with the private hour by hour things they do multiple times per day.
I mostly use Brave and Safari on my macos. How does Edge compare to Brave in terms of performance, add on support, CPU RAM and battery usage?
Nix is slowly becoming a major point of contention. In some communities, it’s already scary to even hint that one dislikes it.
This is more about the preservation method than the contents. The botulism bacteria clostridium botulinumis is anaerobic, so it spreads most frequently in very low oxygen environments, like canning.

A squeeze bottle is unlikely to provide that environment in the medium term. It will likely have too much oxygen exposure.

Tetanus is another example of anaerobic bacteria that's unlikely to occur unless you encounter a low oxygen environment (like a rusty nail underground). A cut or puncture from something exposed to open air is very unlikely to give you tetanus.
Phones are only really relevant for one of those countries, and even there the actual manufacturing is outsourced to Asia.
"Estimates suggest that 8-10% of global greenhouse gas emissions are associated with food that is not consumed." (page 20, note that it's just a reference to another paper)

"This suggests that 17 per cent of total global food production may be wasted" (page 8)

That would imply food is responsible for 47-59% of global greenhouse gas emissions which seems unrealistic.

https://ourworldindata.org/food-ghg-emissions

"Food is responsible for approximately 26% of global GHG emissions."

Working backwards from that number: Food waste (17%) would be responsible for 4.4% of global GHG emissions.
I love the dichotomy 'working vs homeless'. It's a sad state of a country if being jobless implies homeless. Also, I don't think someone working for a SV company can't just move somewhere cheaper and reduce spending until the next gig.
I think that in this case what makes your story incorrect is that banning encryption software will only prevent normal every day people from using it. With the vastness of the internet, there is no way for any government to prevent encrypted communications from any determined individuals.

All they can end up doing is preventing the everyday users of the mass services from using encrypted transmission. So the innocent lose freedoms but the guilty carry on as normal.
For those that don't want to do the math, -15c is 5f. I grew up in Maine (moved here when I was 6), I've walked to school in the morning in that, while it was snowing, I consider 40f warm enough to walk a mile without a jacket and maybe just a tshirt if its sunny out, long sleeve shirt if not.

I find their reaction a bit strange without further context.
If the language of "sane mathematicians" was comprehensible to most people, there would be no need for books like this.
The chair of the computer science department at my university liked to say that CS could just as easily be considered the Computer Security department. This guy wasn't a pragmatic programmer whatsoever, he always claimed he didn't even know how to code (he was a theory guy), but he was right.
Well, here at least trailers are rented because you can pick up a trailer at the gas station at zero notice. Renting a truck is a little bit different.
Yes, i think so too. So a different <algorithm>, but the same <ctype.h>.

The crucial __NO_CTYPE define is in <bits/os_defines.h>, which is part of the GCC paraphernalia. I don't know if clang's stdlib would also have to end up defining it.
Funnily enough, as per your example "Powell"; this is impossible for Germans to get right. If you prenouce that the English way they would write it "Paul".

They would prenounce "Powell" as "Pohvel".
Make your own competing apps and quit bothering people.

This guy has the mind of a child. I develop for the platforms I want, if he wants rules like this, try communist Russia.
A little off topic, but after that puff piece about the new Microsoft headset/aug reality I'm not sure if I really trust wired :s

Although I do agree Microsoft is going a much better direction than with balmer.
So pick a different VPS provider. Or rent hardware. Or buy hardware.

The point is you aren't locked to a single vendor. Heck, even mix and match - replicate your services across providers, across data centres.
>I've often wondered as I look over feedback like yours if one of the reasons some web developers prefer NIX is because a good many tutorials are written assuming a NIX environment. Would love to know your thoughts.

I think it's because most web developers are going to be using Linux or a BSD on their servers, so they'd rather use the same environment on their dev machines. However, a good console/terminal emulator, support for popular shells, all the common UNIX utils, a better package manager and repository than nuget and chocolatey (perhaps Microsoft needs to start pulling from and communicating with the upstreams of certain projects?), and most importantly, the ability to use all of this out of the box without having to deal with myriad incompatible toolchains, would IMO capture most of that benefit for the average web developer.

Disclaimer: I'm a game developer, so I'm probably not your target here. I like having a UNIX environment around for writing scripts and munging data, and just think it'd be great if I could have one out of the box without needing to mess around with msys/cygwin/gow/etc.

EDIT: I should add, there are quite a few projects that could easily be ported to Windows, but haven't, because the developers don't care enough to write POSIX wrappers for i.e. mmap vs MapViewOfFile. Short of a full POSIX implementation, having official wrappers for some of these basic APIs could make Windows support too trivial for them to ignore.
I think Stewart was effective because he doesn't firebrand every news item or segment with to the same effect. When there is a event which deserves extra commentary or a stern posture Stewart seems genuine when speaking to the audience.

It was effective because no other show or host had the same kind of candid platform to communicate over, and when Stewart had those opportunities (arguably the first moment would be on his 9/11 broadcast), the honesty resonated with a lot of people.

Those moments are uncommon with Stewart. With John Oliver, I feel like the writers and producers are basing their program around those kinds of finger wagging moments, but it's the embodiment of the show instead of an occasional moment. It feels more forced than genuine.
I think you'll find you can solve this via ssh config. Specifically using ProxyCommand -- in the case of Ansible anyway. You can then ssh reference an internal address.

I was asking less about VPCs in general, more the use of the VPN->VPC or Bastion approach to bridge into that network.
He's worked there since 1992. Are you saying that he couldn't have possibly had an impact on anything at Microsoft until he became CEO? I mean, he's held VP-level positions for at least a decade.
Wouldn't that be considered constructive dismissal, and still subject to this sort of action?
Location: Atlanta, GA
Remote: Yes
Willing to relocate: Unfortunately No
Technologies: HTML/CSS, Javascript, Python, MongoDB, Mongoose, Express, Django, React.JS, Typescript, Bootstrap
Resume: https://www.linkedin.com/in/donavonellison/
Email: donavonelli@yahoo.com
I think EU-spec Teslas use CCS so they would actually plug in (though you can't actually use them). You can also use Tesla destination chargers even in the US on any EV so I feel it's not totally unreasonable to be surprised by this.

EDIT: I incorrectly said CHAdeMO
I'm not sure why it's claimed they skirted the question... If I understand correctly, the Court answered the question when they issued bench instructions that APIs were to be considered copyrightable.

Is the difference that there's no SCOTUS precedent on the issue because it wasn't addressed in this case? Because (IANAL but) I'd assume the bench direction is itself precedent... In that if another circuit court tried to run a case as if the question was in the open, the Court would again ruler-slap them and say "No, assume APIs are copyrightable, plain language of the law."
At the moment I really enjoy converting my previous information website that was written in C# and ASP.NET into a very simple custom static site generator written in javascript.
A whole new world of freedom and responsibility. Innovation in the grannycare space. Families brought closer together. Lots of good things, some bad. A net win.
OP may well be interested in HN crowd comments and points of view and that seems acceptable to me. At the end of the day, this is HN, not S.O. Be well! ¯\_(ツ)_/¯ ◉‿◉
That documentary sounds interesting, I need to watch that.

Apart from that, it's quite obvious that most US tap water is not drinkable since it has this foamy, soft texture with a lot of chlorine. I wonder if there is any connection to that or if that is just a correlation.
You're not reading me. We are the companies. 99% of companies are small business. No such monopoly.
Words cannot describe...
I've read through the article twice, and I still have no idea what the author is getting at.

The author suggests that "the obvious way to implement a DSL as a macro, as we saw with if-match, hard-codes the form of the new syntax class". I disagree. That's not what I'd consider the obvious way at all.

I'd consider the most obvious approach would be to pass the macro onto a polymorphic function of some description:

(defmulti if-match*
(fn [pat _ _ _] (if (list? pat) (first pat) (type pat)))

(defmacro if-match [pat expr then else]
(if-match* pat expr then else))

Macros have all the same capabilities for extensibility as regular functions. In Clojure at least, macros are just functions with some metadata attached.
If this piques your interest and you're interested in programming history, you will very likely enjoy reading about the Zork Implementation Language and the Z-machine, on which Inform is based:
http://en.wikipedia.org/wiki/Z-machine
And the original spec for game authors from Infocom is quite entertaining:
http://xlisp.org/zil.pdf

Good stuff. More generally, if you want a short (<1hr) and amusing example of IF, try this:
http://pr-if.org/play/violet/
this section with the two TV's and the "before/after"

https://i.imgur.com/LkOQKCo.png

doesn't autoplay with ublock origin Chrome - the base still image should show two different images.

many people have autoplaying video off by default now.
Not to mention privacy and data protection.
Location: Boulder, Co

Remote: Yes (office in Boulder/Denver area is cool too)

Willing to relocate: Nope

Technologies: Typescript, Node.js, Go, GraphQL, gRPC, Postgres, Kafka, Redshift, Microservices

Résumé/CV: https://drive.google.com/file/d/1ZJEYQa_u4kkLAcD8O96HmDGUd22...

Email: christopher.langager@gmail.com
This model finally fixes the arrow keys issue I had with the previous ones- because the up arrow key takes up space from the right shift, I was frequently hitting up, instead of shift.

16:9 is ok for 14in laptop, but would be great if we get a 16:10. Still, not a dealbreaker.

Everything else sounds great!
No, I would _love_ to go back to 4:3. Maybe not for a laptop, but I desperately miss height. Except for very high end displays, we've spent a decade stuck at 1080 or fewer vertical pixels. Meanwhile way back in the early 2000s we had more vertical pixels (1600x1200).
USBC 3.1. Slim design. Integrated gpu. I'm all in. Can't wait.
I'm a college professor. Overall, working from home is alright, but --

I wish I could see my students' faces as I teach. I'm used to looking, and being able to get some sense of when my students are confused or annoyed. Now, the only feedback I get is that which my students explicitly choose to provide.
I've started dropping my partner in to her work in the mornings. It's a nice time to chat and it means I'm up and ready for the day. I do 'real' work in the morning, house renovation in the afternoon and then more real work after tea.
those are probably for child porn, drugs etc.
$80-100k understates the salaries in Silicon Valley. $100k isn't even a recent college grad salary, it's usually closer to $110k + $40k in other compensation == $150k right out of college. A few years of experience pushes you well over the $200k mark. Heck, interns even get paid $8k/month which is almost $100k/year.

Seriously, brush up your resume and apply to the major firms.

By the way, I should note that cost of living and taxes are much higher here. Standard rent is >$2k (which is nothing compared to some parts of NYC, I guess...)
In an "at will" state you can be fired at any time for no reason.

I doubt that enforcement would be a problem if they wished to enforce it.
Are you saying there are salting systems that don't use a unique salt for each user?
Yeah. It's the Constitution. It's supposed to be hard to change.
My understanding (disclaimer: I'm often wrong) is that the Arduino toolchain all goes through gcc, at which point getting "lispduino" working as a first demo/prototype isn't out of the realms of possibility - http://www.sparkfun.com/products/9950 - $29.95 in quantities of 1, you wouldn't even need to apply to YC for funding...