skysight-inc/HackerNews huggingface dataset:
> Are there any arguments to not do this in production?

When the way the code is run is also the vehicle for returning output, you necessarily end up in a situation where you expose bad output to the user. This is an insanely common problem with PHP: warnings, errors, and stack traces are regularly returned in HTTP responses by default.

Consider PHP: the output of the code (echo, closing the PHP tag, etc) gets dumped to the HTTP response, unless you configure it otherwise. Error? To the HTTP response. This exposes internal state and may be a security issue (it often is) or reveals your source code.

By contrast, the only way to return data to a HTTP response in Python is to construct a response object and return it. All the built in methods for printing or generating output write to stdout/stderr or the built in python logging framework. You can get PHP-style errors, but only deliberately by having your framework catch exceptions and convert them to responses.

As much as this seems like a non-issue, it's actually really dangerous when files map to URLs, because you don't want all your files being URLs. Some files are supposed to be shared, or only loaded in certain circumstances. If you can access arbitrary chunks of code directly, and then read any error output from them (or even regular-but-unintended output), you could be leaking data. Without lots of explicit manual boilerplate to block this direct access, you're running a huge risk.

And this isn't just speculation. I've worked at a large PHP shop, and this was a frequent source of frustration and pain. Nobody is immune from this.
A useful formula is the Kelly Criterion [0]. I'm abusing the logic and probably going to apply this wrong, but...

I think this counts as a 24:1 bet (we notionally have $1 million, we can gamble to get another $24). The Kelly bet is 0.5 - 0.5/24 ~= 0.5. So we would want to put about half our wealth into this gamble and that implies it starts becoming attractive around the time we have $2 million to invest. Up till then we might take the gamble but we don't have enough money to really feel comfortable.

[0] https://en.wikipedia.org/wiki/Kelly_criterion
I teach coding. The mindset absolutely can be learned, but indeed, you need to learn some attitude, not just skills. But a teacher can show how it is done; the exploration, the part when you do not give up when you encounter an error, etc.

In my experience, the most significant first barrier is the command line and the environment setup. This is why I always start with explaining the Unix shell and ssh. It gets a lot easier from there.
Doolittle: Bomb, what is your purpose?

Bomb: To explode, of course.
Religious belief. The way to heaven. Does any other profession have such a high opinion of itself?
Usury: https://en.wikipedia.org/wiki/Usury
I wouldn't, because I can likely pay off my mortgage without it and still have money left over for some toys. My mortgage isn't a big burden. But I can understand it for folks who can't save much due to a mortgage.

The problem with the scenario is that the disparity is so high: $1M vs expected value of $25M. 50% is high enough that for people like me, it's clearly a green button option.

But how about this:

Guaranteed $1M vs a 4% chance of winning $50M. Now the expected value is $2M - still a lot higher than $1M. But ... 4% chance? Suddenly the guaranteed $1M is a lot more attractive.
Hugh Howey's Wool is one of the best novels I've read for a long time. His advice here, primarily to work really hard and to concentrate on a good plot with a catchy start, sounds eminently sensible to me.
They don’t make judgements if you’re advocating for them or not.

If I turn down a service from a company they don’t question my morals or call me a hypocrite do they? That just doesn’t happen like you think it does.
What is $700 more in Vancouver? like 10% increase?
There will always be people in society that think it is their job to drive us to zero risk, even if they have nothing to offer other than a downvote.
Patent is actually kind of irrelevant here, it's discrete competition. How do you put your fingers into this when it takes all of 3 months to have a lifetime supply of therapeutic doses? But it does ostensibly (if effective) curtail sales of pharmaceuticals.

The originator pharma companies pay generic mfgs to not manufacture the drugs, ultimately the arrangement is such that both parties profit while maintaining the status quo allowing single-entity control of a given substance - in the US at least, which is the only place any of this matters. Not that that's the case with the previously mentioned medications.

Ritchie on his vast tower of scientific conceit totally fails to acknowledge the human element in all of this. These drugs are interesting because of their mechanism, but that mechanism isn't necessarily complimented well by the "therapeutic" setting; the drug in and of itself isn't necessarily the catalytic element, but rather the experience - itself derived from the set and setting:

In normal (particularly traditional use) practice it is unheard of to take a bunch of these drugs and hang out in a lab with a bunch of strangers. Anthropology shows us these drugs are uniformally used in group practices with familiars.

And this is something noted in the textbooks, you can have internal and external validity - and "internally" yes, it may not look great but that's kinda predictable because it's going to get railroaded into the narrow confines allowed by statistics and ethics. You can on the other hand hop on Erowid and read countless case studies from various perspectives to get a holistic view, but that's not "science" because it has nigh-zero internal validity. But to me that reads as a semantic difference and we could debate it all day - what I think really matters in this case is that in the wild, in real practice, it's efficacious.
Am I wrong in thinking a selling point of SBCL is that there aren't 'major' releases, and only tweaks and bugfixes, which makes it so reliable and stable?
By making the front page of HN.
Well, don't use ellipses in the title then.
This is the Peter I knew too.
Crappy apps might be a problem, but what was a bigger problem was that every major release of the platform came with a new application framework, and developers would have to pick between using the old framework to keep existing customers and live with suboptimal experience on new devices, use the new one and drop support for old devices, or spend even more effort on supporting both (or really all three). Compare to iOS, where most users update to latest OS within months, or desktop Windows where win32 works for everything, or Android where version gated features don't usually require massive changes to enable.

It would have been nice if they didn't copy Apple so hard, leaving out copy and paste and restricting browsers in the store weren't the best decisions for an upstart platform. Mozilla had been excited to port Firefox early on, but Microsoft told them no, so WP users were stuck with Mobile IE and much later in WM10, the amazingly worse Mobile Edge.
Science doesn’t generate enough jobs. I can’t remember the attribution but the quote that the best military jet is one that has a part made in every congressional district surely applies to NASA as well. The problem is that is counter to the mission they should ideally be pursuing (imo).
It's best to not love any technology so you can make nonemotional choices of the best tool for the job
When I was early in my career I spitballed $180/hr as something they'd surely try to negotiate. The client jumped at the opportunity. I've been employed normally since then, but I imagine the market rate is substantially higher.
> The mathematical answer is you hit green every time.

Nope. There's a whole field of research about this - decision theory - which doesn't agree with this decision.

Most people appear to go with the Minmax approach - they minimize potential losses(or in this example: maximize minimal payouts).

For one-time events it's a sound strategy.
When you come back around to missing client work, remember that some guy on HN begged you to raise your rate. Doesn't matter where you are located. value == value; value != location.
Sure, but that doesn’t disallow you to run a Python IDE and learn how to code and earn some money.
Maybe we differ in how we understand what "SaaS" really is (a debate which is as old as the concept of "SaaS").

For me, if you offer something software-y behind payment, and the software can only be accessed online, it's a SaaS.

No need to offer premium pricing, enterprise tiers, support or anything else. Putting up a online API/UI that is locked behind payment, it's a SaaS (in my eyes).
High quality when an American is in the room or high quality all the time? My experience with family members and their friends, who live in countries with many social services, is that they only call them high quality when Americans are present. The rest of the time you'd think they were being marched to the gulag when trying to make use of said services.
I don't think there is any chance gitlab will let you work from DPRK
El Salvador Had a Bitcoin Revolution. Hardly Anybody Showed Up
> companies need to be able to self-organize to ensure their interests are represented

They did. It was a dirty business.

https://en.wikipedia.org/wiki/Citizens%27_Alliance

People died.

https://en.wikipedia.org/wiki/Italian_Hall_disaster
Agree, I've never seen a benefit package that gets me excited. With our health care system here, the FTE jobs are a lot less compelling vs the contractor route. About 1/20 that go the FTE equity route seem to hit the jackpot.
Depends where you are. Living in San Jose I have only seen my rent go down in the last couple years. I was on the fence about staying but the cost of living has improved substantially and so I won’t be leaving any time soon.
Yes, it was computer graphics. He was a great person.
Devuan Repository Signature Error
signature errors when attempting an aptitude -u - EXPKEYSIG BB23C00C61FC752C Devuan Repository (Amprolla3 on Nemesis) <repository@devuan.org>
I'm assuming you do Frontend?
What else?
What frameworks would you suggest?

I feel I could definitely build a project myself, but I find FE to be very time consuming.
How about making Ukraine observe ECRML rules instead of having a hundred NGOs actively promoting the ideas of suppressing Russian language use?

How about not helping overthrow legally elected presidents?
Huh, so that's what's going on. I have encountered the pop-up, and in response, closed and re-opened Firefox. I 100% expected that to update Firefox.

I suppose it was always a bit weird, since I shut my desktop down at night so there's never more than a day since Firefox was last restarted.
:)

> in a new location and I do not move much

I though about it some time ago - and main problem here is that StreetComplete would need to sit in background and keep downloading/processing data what is quite battery and CPU heavy.

Right now I see no good way to implement this. But maybe it should just query data in a very narrow area, like 20m?

Also, from looking at https://github.com/streetcomplete/StreetComplete/issues/48 one of arguments against it is that you will get some quests ANYWHERE.

Have you disabled many quests? Or maybe you are in rural area with lower number of objects? In cities you tend to have endless supply of objects to tag and quests to answer.
The first job I looked at stated they were hiring "anywhere across the US", so this doesn't look like a very well curated list.
Serious question:

There are 20 people in line ahead of you. Each one of them hits the green button, and you physically see that half of them made $25 million.

Would you not be tempted to hit the green button?

$1 million will make a big difference to me, but in many cities it's not enough to retire on - especially with children. While $25M isn't worth 25x more to me, it's certainly worth a heck of a lot more than $1M.
Don't take advice from the internet. Talk to a lawyer who has experience with business start-ups and is willing to consult with an immigration attorney if that ends up mattering.

In general, having a Green Card making you the same as a citizen when it comes to taxes, liability, etc. So it's actually more a business-specific and personal finance specific question as a founder.

You probably want to establish a corporation regardless. California is pricey for LLCs but other states like NY are actually dirt cheap to establish. You can do more complex incorporation but only an attorney can really tell you what makes sense.
I remember a couple years ago I went over to my sister's house with my father because we were babysitting her kid. He got out his homework and at one point he asked us for help with his English and reading. I think he was around 10 years old at the time. But yeah, the way he was reading was so foreign and alien to me and my father. He was doing exactly what is talked about in this article. He was looking at words and then just saying what he thought they were and most of the time he was wrong. We tried to figure out why he was saying the words he was saying when he was looking at the words he was looking at and we tried to do the whole sounding out the word thing and he had no idea what we were talking about. His mom is a teacher and they aren't in poverty... This is just how they were teaching things for a while I guess?

I don't know why we strayed away from doing the whole sounding out the word and learning the structure of English words stuff...

I don't know if I learned this from school or my dad at home but learning about Latin roots of English words or just roots in general for the different parts of words along with just general phonetic sounding out just seemed like the right way to literacy.

I mean I can't spell worth a damn but who cares about spelling when like everything that we type on fixes my mistakes or at least underlines my mistakes for me and then I could pick the correct spelling. But also my inability to know how to spell has nothing to do with the way it was taught how to read because all of my peers did way better than me in spelling, I just can't spell, but I was able to read better than most of them and also comprehend words at a higher grade level than most of them, I guess it's a trade off between some sort of different type of memorization ability, the ability to Intuit as opposed to the ability to remember... I dunno.

But yeah... I guess this is like common core reading that I dodged by graduating high school when I did. Seems like as soon as I got out of school all of this weird stuff started just getting pushed into the normal curriculum.
> There’s someone in Bangladesh who would almost surely be a better economics professor than I am and is now behind a water buffalo,” he told me.

“I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops.”

― Stephen Jay Gould, The Panda's Thumb: More Reflections in Natural History (1980)
I hope that economists study how this correlates to moratoriums on evictions through COVID. It would be really helpful for future policy to get a yea or nay on that being a significant effect.
No.

It is slow. But, it also bears the inertial weight of its age. I'll go zsh if, for some reason, I decide it's time to rewrite everything I've written currently backed by bash. I do not see that happening soon, though.
Ah, right, sorry.

"At all" is equally fatuous, though. The philosophical problem of whether objective knowledge is attainable was settled centuries ago. "How do you really know that Einstein's Relativity is valid?" is something that was settled when its predictions were borne out. If there are still questions about it, those will be settled by more science.
You should use the original title rather than posting your own work as a question. In particular you went against the "don't do things to make your title stand out"

https://news.ycombinator.com/newsguidelines.html
A distributed open source Amazon. Storing goods in people's rooms. Creating a distributed worldwide warehouse, kinda like P2P. With a fleet of uber-like delivery persons. Each participant gets a share of the profits.
The... thermodynamics? Surely you're joking?

For supply chains see particularly http://en.wikipedia.org/wiki/Simon-Ehrlich_wager
And it’ll never come back down, even post covid / inflation / interest rates / stock market all time highs.

I’m seriously considering learning French and moving to Montreal. Learning a new language is less painful than Vancouver rent
So she would have lost the elections but she still would have ramped up nuclear without being in power?
> no developer is paying attention to proprioception

That is not true at all. Proprioception is top of mind for every serious VR developer. Outside of poor software performance, it's the #1 cause of simulator sickness. Short of hacking the vestibular system, there's nothing we can do about the lack of virtual acceleration cues. So we design within the constraints we have. It's why you see teleport locomotion. It's why developers get into such arguments over "smooth movement" with gamers who think they know better. Lack of proprioception with virtual movement is a huge problem that we would love to solve, but laypeople have an irrational fear of a little extra electricity getting piped through their ears, so I doubt we're going to see much change there.

Fixed-view, wearable displays violate proprioception even more than VR HMDs, because they don't even give you the real acceleration cues you get from actually moving your head.

As for your question about distance, I suspect you're looking for "accommodation". Accommodation is the physical distortion of the eye to change the focal distance of the lens. Combined with vergence (the distance at which our binocular vision rays converge), the two systems work together to give you a sense of how far away something is (among other things, like atmospheric hazing, parallax, and trained memory of similar objects). Most modern VR systems lack the ability to account for accommodation, leading to what is called "vergence-accommodation conflict". It can be a source of eye-strain for some people, but it tends to be adaptable over time.

Note that I said "most" modern VR systems. It's an active area of hardware research, as the solutions--light field displays and varifocal lenses--are large, complex, and therefore expensive. The latest developments in "pancake" optics, where focal distance for the lens is folded in on itself via a clever system of internal reflectance, has a possibility of bringing the size down, but unfortunately not the complexity or cost.

So again, it's really not fair to say developers are "ignoring" these problems. We are all extremely aware of the them. There are just some things you can't do anything about without a major breakthrough.
Now I'm wondering what the expected value is if you were to auction this button pressing opportunity. Intuitively it seems to be over $1m (and less than $25m) so if I'm right then that's better than pressing the red button.
A lot of people do need a physical bank branch now and then for various reasons. As the article lightly touches on towards the end however, it's never been totally clear to me why banks need such often large branches in some of the most expensive real estate. I expect at least one explanation in that bank banks think it's important to look very respectable and trustworthy.
It is the expected value if multiple people play the game. As I posted in another comment:

There are 20 people in line ahead of you. Each one of them hits the green button, and you physically see that half of them made $25 million.

Would you not be tempted to hit the green button?
Likely no next attempt until October, per Eric Berger (Ars Technica):

- "Hearing a rollback to the VAB of the SLS rocket is likely, but I don't have confirmation. If that happens, it is very likely that Artemis I does not launch before October 17, at the earliest."

- "I'm told that Space Launch System program officials will recommend a rollback to the VAB to investigate the hydrogen leak. The Artemis I mission management team will consider this recommendation at their afternoon meeting, and publicly announce a decision at 4pm ET."

https://twitter.com/SciGuySpace/status/1566088891395883009

https://twitter.com/SciGuySpace/status/1566104350635835393
I've retaken subjects by watching MIT courses on youtube. It shakes the rust off, and it comes back.
“When Yasuke was presented to Oda Nobunaga, the Japanese daimyō thought that his skin must have been colored with black ink. Nobunaga had him strip from the waist up and made him scrub his skin.[22] These events are recorded in a 1581 letter of the Jesuit Luís Fróis to Lourenço Mexia, and in the 1582 Annual Report of the Jesuit Mission in Japan, also by Fróis. These were published in Cartas que os padres e irmãos da Companhia de Jesus escreverão dos reynos de Japão e China II (1598), normally known simply as Cartas.[23][24] When Nobunaga realized that the African's skin was indeed black, he took an interest in him.”

You both seem in agreement actually.
Why not form a "company" with 10 friends, and pool the winnings?
Sarcasm right? Kind of disturbing that the top thread here is dismissive without engagement with the arguments.
I personally haven’t noticed a meaningful drain on my M1 air, but I don’t pay much attention, and power is always an arm’s reach away.
Epic MegaGames had some great shareware games: https://www.dosgamesarchive.com/profile/epic-megagames

I remember playing OverKill a lot and I think we actually ended up purchasing the full game to unlock the remaining planets.
Hey HN! This post details the ridiculous journey of building a deterministic lockstep multiplayer game engine for the web, with all the painful decisions involved. Building the quickga.me web based editor was a monster with a ton of novel problems that needed to be solved and im trying to go through and document as many as possible so others can learn from them.

Let me know if there's any more detail you would like me to provide!
If the best actor for Black Panther was white would you have an issue with that?
The first story in the series was so good, that I couldn’t read the rest. It was so effectively oppressive, that I couldn’t bring myself to read anymore.
Can that number of people even be processed by the courts, and then enforced, in that timeframe?
> That industry value would have surely multiplied

Nope. The industry warning and devaluing unencrypted connections was enabled by low cost configuration and zero cost issuance.

There is almost no chance that browser vendors would have proceeded with "deprecation" of unencrypted HTTP traffic without free issuers; the response from businesses would have been overwhelmingly negative.
Ha! that's a funny one a company will not hesitate to fire you. Just look at how many companies started layoffs as soon as the stock market started crashing
I'm based in Germany, so the tax pressure is quite high, thinking of moving back to Italy (where I'm originally from) to benefit of the massive tax break for "returning Italians" (or anti brain drain tax advantages).
So basically.. showing that supply and demand works. Lots of people left SV due to remote jobs and COVID, demand dropped, price went down.

Vancouver is artificially limit housing supply through zoning (like many large cities), keeps price high and gets higher every year with increase in population.