skysight-inc/HackerNews huggingface dataset:
> A code block is not the same as a paragraph. [...]

Right, but for Markdown they're a difference in output despite the input \n\n being just whitespace, and for the final text they have semantic effect despite being just a gap between text. I don't think the argument was whether the particular semantic meaning of paragraphs exactly matches the semantic meaning of code blocks, just that they do have semantic meaning.

> This has nothing to do with the lack of significant white space and everything to do with terrible language design

It's a problem that illustrates how indentation indicates intent, and would be fixed by semantic whitespace. I agree that if a language is going to disregard whitespace, then {...} should be consistently required to partially make up for it.

> I guess that most humans are used to just automatically write and type semantic white space

My experience has been the opposite: looking over huge blocks of completely unindented VBA/MATLAB code written by people with little prior programming knowledge, and being thankful that data science is moving more towards Python. Likely a different crowd than those being actively tutored in C++.

But yeah there are bigger, often harder to automatically fix, issues with beginner code. PyCharm has PEP 8 lints by default for things like variable name conventions, which help but are still commonly ignored.
Why don't terrorist groups hire the best chemical engineers to engineer chemical weapons? Or the best bioscientists to engineer the deadliest plagues? Or the best hackers to engineer the best computer viruses?

Or not even the best, just average/competent enough scientists and engineers?

Phrased a little differently, would you accept being paid a life-changing amount of money in exchange for anonymously engineering a deadly threat to some people far from home and knowing you could get away with it? Would you let your morals stop you?
Agreed, D2 is/was the pinnacle of and set the benchmark for two-dimension dungeon-crawler RPGs. It's still an enjoyable game even 20+ years later. It's probably a good thing there's no Web/Android/iOS version because I'd be hooked, and don't have time for that anymore!

I grew up playing an inordinate amount of Warcraft I, II, III, and StarCraft in the 90s with my siblings. The quirky character voices and scripts were downright amazing and AFAIK remain unparalleled to this day.

https://youtube.com/watch?v=scweL0LVrcM
Today's ease of access to a color gamut exceeding any pre-~1940 artist's wildest dreams, at high detail and on demand, is hard to overstate. I think people can still understand vaguely that something like vantablack or color-shift or things outside some gamut are "different" because they can't appear on a screen at all, but overall most people think "oh yes, I've seed red, I've seen blue, that's not art per se." But even though a screen is capable of reproduction of the basic frequencies of something like a "Rothko blue", actually seeing Rothko blue in real life - at that scale, with that texture, etc. - is a completely different experience. We think we can anticipate the experience by screen, but we are totally wrong. And the idea that something like cochineal's mere use to make "rich red" exist could be a artistic revolution is simply too foreign for us to sit with.
what do “wolf” and “sheep” mean in this context? Genuine question.
This could be fine, but it does restrict things somewhat and could lead to more unexpected results.

The piece doesn't present the correct way to use multiple inheritance in python, so this section is a bit of a strawman. Namely, it is the responsibility of the inheritor to call init on all subclasses with the arguments it wants to pass on. Maybe the python 3 addition of super() has muddled this responsibility somewhat.

If we use the solution in the piece then we lose the ability to pass non-identity expressions in the arguments we received on to the base classes, and also the ability to have same named arguments but with different values.

If a class wants to pass non-identity expressions, and the underlying base classes use the piece's methodology, then you get a bug.
I live a only a few miles from from downtown Austin in a home that is about 10 years old. We frequently find brown recluse spiders indoors and in the garage; less frequently I find black widow spiders. They have left us alone so far even though I do kill them once I identify them (if they are too young and small to assess accurately I don't give them the benefit of doubt).

Spiders aren't the only wildlife to be concerned about here in Central Texas, scorpions and giant centipedes also wander around the house. Fortunately, the poisonous snakes of central Texas (rattlesnake, copperhead, coral snake, and water moccasin) haven't ventured inside. Of course we have killer bees and fire ants in the area, but you can usually outrun them--if you're in good shape. The only poisonous creature found in the US that isn't found here is the Gila monster. The good news is we don't have Grisly bears, maybe the mountain lions scare them away.
Promling: Keep a journal answering different prompts every day
I used flutter for the front-end and some lambdas on aws for the backend.
This is an MVP and I'm trying to get some traction and validation, what do you think?
In future I'd like to build shared journals where two or more people can answer the same prompts and a feed with a community.
Agree. It was just wool gathering/hypothetical
I don't know about others, but when I saw a 3d globe model as a child with all the countries in their proper relative sizes, my brain didn't reboot.
Internal communications simple as
The difference is that package management hides packages somewhere deep and you're not supposed to care about code quality. If it popular and works, good enough. Copilot puts terrible code snippets right before your eyes and you'll spend more time making it better and fixing bugs rather than writing that code from scratch. I tried copilot and for me it's not ready yet. I guess my issue is that I don't like average code and copilot was trained on that code, so it's as good as average coder and that bar is not high. Or I'm too picky and high-minded, doesn't matter, the result is the same.
It seems like you’re mischaracterizing the tone of this essay.

I just read it as a thoughtfully developed history of a familiar subject, published in a regional lifestyle magazine, but you seem to be responding to it as if its some moralizing Twitter screed.

Did I miss something?
Electric "crap" has been in Lego kits since the 1970s through the Technic line. Hell, as a kid I didn't have the electronic components, but I did have some non-Lego electric motors so I extended my own Technic kits to be motorized. Sadly, I forgot to add a stopping mechanism. So many shattered cars.
I mostly agree.

I’m not sure I’d call it ‘rent seeking’. China needs forex reserves like a lot of countries and China is big so it’s reserves are big. It’s just that it is generally more convenient but basically equivalent to hold treasuries instead of dollars if you have an enormous amount of money. Doesn’t eg Japan also hold a bunch of treasuries for similar reasons?
> Let today's kids use their imagination like we did.

I played with mindstorms and turned out fine. There were plenty of imagination involved all around.
My wife and I are watching the "Little House" TV series on DVD again currently. She is getting tired of hearing me joke, "Doesn't that part of Minnesota look strangely like Southern California?" She read the books as a girl, but boys generally didn't in the '70s. Our elementary school in Kansas distributed a screen play for one of the episodes as part of a literacy program. When I went to school in New York, many people had the idea that we still lived like that, way out west in Kansas. One of the first episodes of the TV show was about a Typhus plague, and how the population cooperated and sacrificed to survive. My wife says the show is fairly faithful to the books, but I'm sure TV moves even more away from the reality of Laura's life.

LHOTP does make me wonder why the world was in such a hurry to modernize, despite the hardships of pioneer life. One boss I had was Mennonite, and his wife, after decades of growing and processing the family's food, started shopping in stores. She remarked how wonderful it was to have store bought canned food, which I guess is a partial explanation.
Quit, start your own company, come to your former boss with an offer for a service he can't refuse. Possibly approach other companies who could benefit from this...
> actively promote their NFTs from which they can make good money out of.

People pay for inherently worthless NFTs with inherently worthless tokens, so they're not making good actual money unless they happen to cash out on an upswing.
In the US, it would end up in court. It directly pits fiduciary duty against OFAC.

For example, if a US-based CEX that operates in New York has a slashing event, that brings regulatory consequences from NYDFS, regardless of the reason for the slashing.
Euthanasia can be favorable from both the individual and from society's perspective. I see no problem with that. We keep expanding life expectancy without asking ourselves if it's a good or desirable thing. I certainly wasn't asked and would like the option to opt out.

I also don't want lack a ressources be put forward as a justification to limit desired euthanasia making forced living even more unbearable..
I wish firefox `has()` this soon.
Obviously, nobody but the judge knows what she’s actually thinking.

However, my naive guess is that she’d authorize a lot of discovery if the arguments for fraud were already convincing to her. At the opposite extreme, some very limited discovery might make sense even if she thought the argument was likely bogus, just to deal with this argument now rather than on appeal.

I wouldn’t read a lot into this decision, but I also don’t think it sounds like a amazing win either.
“Public transit” means transit operated by or on behalf of municipalities for getting around cities or metro regions. Inter-city rail is generally not considered “public transit.”

It does not mean “available to the public.” You can also buy a plane ticket at Haneda and be in Kansai in less than 90 minutes. Japan Rail isn’t any more “public transit” than ANA.
I've been teaching myself POV-ray with an eye towards using it to render 2D sprites for indie games. Thinking about how 3D rendered scenes could be tile-ized lead me to an epiphany last night about a difference between Diablo 1 and later Diablo's that I could never put my finger on before what I was seeing.

When a game uses the same bitmaps for terrain tiles at the edges of the screen as at the center, it necessarily emulates an orthographic camera. Put another way, if you render a scene with the default non-orthographic 3D camera, terrain elements at different positions on screen will be seen at slightly different angles. The effect is minimized if you use a far-off camera with a narrow field of view, but it never goes away completely.

(The same effect applies to sprites, but it would be less noticeable than with architectural elements.)

Diablo 1 used true 2D graphics whose tile bitmaps don't change no matter where they fall in the field of view - therefore, orthographic. Diablo 2 was a 2D/3D hybrid that painted the visible landscape onto a single giant triangle mesh (used in a non-standard way). And Diablo 3 and later of course were simply 3D graphics.

I always felt there were things about the mood and atmosphere of Diablo 1 that were lost when another team made Diablo 2, and then further left behind with Diablo 3. I now realize it's also analogous to the difference between the 2D Zeldas and the 3D Zeldas in an almost literal way.

(The use of 3D tech in the original Diablo 2 engine was weird. I don't know if it's because the programmers misunderstood how 3D meshes are "supposed to" be used, or if it was an optimal way to do it given the hardware and APIs of the time. Most 3D engines would use a dedicated, usually unchanging, mesh object for each chunk of terrain and load/unload these chunks as needed thus loading/unloading meshes. The developers of Diablo 2 seemed to consider generation of their terrain mesh expensive (it shouldn't be) and changing their terrain mesh less expensive (not true for VBOs). What the did was generate only one mesh, one time for the entire visible playfield, and just vary the vertex height and UV map of the entire thing as you walk around the level. The algorithm is rather like draping a sheet over the ground and dragging the sheet over rocks and bumps as you walk around.

This had the side-effect that the graphics would go crazy in Diablo 2 if you used a mod to set the screen resolution higher than ~ 1440x900. The problem was that they used 16-bit indices for the triangle list, and using one giant mesh of tiny triangles overflows the available number of unique indices representable with a 16-bit int. (Investigating this problem is what led me to figure out everything in the previous paragraph. I worked all of it out from first-principles once I realized the cause of the screen resolution problem.)
Could you just use another teaching language? Does copilot work as well with e.g. Racket, Raku or Pascal, which all seem like decent CS101 languages to me?
My experience of sending money from Czech republic (in EU, but not in Eurozone) to a bank in Netherlands via SEPA is ~4-6hours during banking hours, but I was surprised by immediate transfer from Slovakia (in EU and in Eurozone) to the same account.
Definitely, and your example makes me understand the point of view of OP better: why wouldn't programs also be loadable libraries?
Part of the coming AI winter is students cheating their asses off learning nothing of CS making embarrassing blow-ups when the inevitable error appears. Like just trying to make AI solve all their problems. Memorizing? No Google it. Learning? Cheat-sheet.

Gotta do the basics!
It's an interesting premise, but I am not at all convinced by this paper -

The author comments "I tried to carry out surveys to collect evidence but they were meaningless, as tribespeople give you the answer they think you want", so this is in no way a scientific or quantified study, just the author's own observations.

The only citation in this paper is for the fact that humans are one of 200 kinds of primates; I really wish there were some actual citations for the really fundamental assumption here that the "forest dwellers and nomads" have fewer musculoskeletal health issues compared to "civilised people" (in the authors words).

Additionally, the photo selection here is kind of uncomfortable - starts with a Kenyan human compared (similar) to a gorilla, and then is mostly photos of the author himself in only his underwear.
This is going to sound like criticism but I'm legitimately interested in understanding how you think and how you arrived at your opinions.

> I have seen people clinging to their lives no matter how insufferable those lives seemed to me

Sure there is no end of stories about people who want to live despite major setbacks. But what does that have to do with a person who doesn't? Is the person who doesn't wrong? Do you think they just have a bad attitude?

If we had two people with identical maladies, it seems to me that you are arguing that we should force Person B (who doesn't want to live) to continue living and suffering, because Person A does want to live. Please correct me if that isn't your view.

If instead we forced Person A (who wants to live) to die because Person B doesn't want to live. Would you see that as wrong/immoral?

Why must we force at all? What would be so wrong about letting the individuals (who are the ones experiencing the suffering) to decide?

I've lost people I care deeply for to suicide, so I know the pain that it can leave people with. However, it seems remarkably selfish to force others to live in misery against their will, simply because I want them to continue to live.
While it is true code pilot is quite amazing and can produce some very decent snippets, if the exercice you give is specific enought (using a special database schema, file format, or API), with objectives that are not common (ask the user specific questions, and draw conclusions out of it or react to events), then it cannot produce a fully working program. I use code pilot regularly now, and it does speed up my work, but I can't do anything with it without understanding the problem at hand.

There is nothing wrong with the student assemblings and fixing parts of code that exist. Doing that requires understanding those parts, how they interacts and what you can do with them. It's not killing tests. Plus as professionals, we all do that anyway. Heck, I learned doing that. I'm paid doing that.

However, there is something wrong with academic exercices that I see in the wild. Things that are very abstracts, requiring way more than programming knowledge, or stuff that are asked out of context completely. Students are both understimulated, and given too hard bites to chew. It's a terrible way to learn, and to be tested IMO.

Tests nowaday don't tests for knowledge, they test either for compliance, or act as a filter instead of a feedback loop. This is not education.

In fact, I've yet to see school IT course that I didn't find deeply flawed, and I completely understand the students for cheating at them to that they can suffer as little as possible. They are not given a chance to prove themself or progress, they are not respected. They are forced fed junk and asked to spit it back all shiny.

I remember when I was a student, and I went to 11 different schools because of my twisted life. They all sucked. And I say that as I spent half my student life at the top of my class grade ladder.

I regret having cheated so rarely now.
Exchanges refused to give customers forked coins? Why?!
Yes. And agree. Won’t translate in the USA. We are a big country and spend a ton on military spending. Our govt spending bill is huge. Our consumption is also highest amongst all other nations.

We don’t need high density. It’s funny. Hong Kong, Singapore, Mumbai, London maybe..but we have literally brainwashed ourselves into thinking we need to be high density and by creating unnecessary economic activity/jobs/dense zones, we have created an unsustainable situation.

Case in point: Growing 1/4 of America’s food and 80% of almonds in a desert during a drought and in a state with the highest cost of living? Daft! And for what? A fraction of our GDP. While investment in education and tech and automation would create prosperity all over the world and we could export what we do best. Tech.

Are almonds a basic human right? I don’t think so. Water is…and Californians have to sacrifice water during a drought so the world can have its almonds and alfafa for their non native dairy cows. So we will soon be 10 billion. And we came from 3.5 million in 1975. When will this euphoria over expansion and ‘growth’ stop? It’s a fool’s dream and a dangerous one.

The Dutch solved this. They are a tiny country growing a lot of hydroponic food for Europe. Now they mostly sell tech and know how to grow hydroponic tomatoes. They don’t actually grow hydroponic tomatoes for the whole of the word. Optimization of resources and proper asset management. The asset here isn’t the water and wind and hydroponic tomatoes in Netherlands. It’s their tech and know how.

America doesn’t operate with an understanding of scale, economies of scale and diminishing returns. We could be better and shine better. But the elephant thinks it’s a pussy cat and ends up trampling everyone around it during playtime. A tragedy all around.
A better legal position, until that is it's made illegal to accept unapproved blocks. PoW is not immune to the exact same regulatory pressure. The US gov can just force a fork of the chain by requiring US miners to only accept approved blocks.
> I've always wondered how they do this

Here’s two beginner friendly options:

- https://wokwi.com/

- https://www.flux.ai/
To be fair, "linear regression" is standard statistics 101 that much predates machine learning or computers.
Rhine River Runs Dry
Which Bush? :)
I'm sure it's encrypted, but I doubt that they compress everything. Images and video tend not too compress well since they've typically already been aggressively compressed with specialized algorithms. It would just be throwing CPU cycles away.
Buckminster Fuller invented the Dymaxion map, which is pretty good and similar to this post

https://en.wikipedia.org/wiki/Dymaxion_map

My brain wasn't rebooted by a map until I saw an "upside down" map with the North pole and South pole vertically flipped. People from the Southern hemisphere seem to think it puts them in a better perspective

https://en.wikipedia.org/wiki/South-up_map_orientation
A brand new tape with a commercial release on it was pretty good quality. It went straight from master to VHS. But in the early days of VCRs new tapes and movies were too expensive for most people so everyone shared copies of stuff. Watch a copy of a copy of a copy on VHS and that's when the real wackiness starts. Each analog copy generation gets worse and worse.
It would prevent people from simply going and downloading solutions from the internet. A lot of easier assignments are fairly well treaded and already have solutions floating around.
+1 two different systems with their own pros and cons. So far PoW seems more resilient, but that may also have to do with Bitcoin treating nation states and centralized entities as adversaries from the start.
How did he manage to finagle that?
Is it a (super)sonic drive powered by a hyperactive hedgehog? :)
Data Vault Techniques on Snowflake: Point-in-Time Constructs and Join Trees
Faster zlib/DEFLATE decompression on the Apple M1 (and x86)
> Starting from auto-generated code isn't considered a proper bootstrap process by the Bootstrappable Builds project.

Is there a reason we should weigh the Bootstrappable Builds project's opinion highly here?

There's nothing on their benefits page that is subverted by an auto-generated compiler that's hand maintained.

Actually, there's no mention of auto-generated code in their best-practices section. Do you have a link to where they even say this?
I'd rather have the digital advertising ecosystem have my info and the NSA have none.

I can say no to ads through self discipline. They can't force me to give them money.

The NSA can come with guns to lock me up because the current political leaders disagree with my opinions.
Ask HN: Is there something like “today X years ago” but for Git?
Google photos has something called memories [0], which shows the photos taken on a today's date but from x years ago. So, today photos from 20-Aug-2011, 20-Aug-2015, 20-Aug-2020 all show up at one place.

Since, git as a Version control system tracks changes as tiny as single character. I was wondering if there was something where I could enter a date and it will show me how the repository looked like on that particular day, or even better show how file(s) has changed in weeks, months, years and probably decades.

[0] : https://techcrunch.com/2015/08/20/google-photos-introduces-rediscover-this-day-to-help-you-reminisce/
Eh, it's always been super easy to cheat on programming assignments. Often they're variants on toy problems that have been used in the past, or worst-case, you could crowdsource an answer on stackoverflow or Reddit

Just make sure Copilot is explicitly against the rules, there's not much more you can do than that
Absolutely not my experience from Scandinavian companies (Volvo, Ericsson, Saab, ABB,...)