jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I have a personal project that saves state to the URL's hash (https://www.rebalancecalc.com).

I do that because I wanted users to be able to save their state without burdening those users with accounts or burdening myself with maintaining a DB for something so simple.

I also somewhat abuse the history API and use my "read the URL and load state" logic to implement undo-redo via navigating back and forth, though that doesn't seem to work right now. I am working on a refactor that uses redux to implement undo-redo and just replace state, to keep the user's history clean.

Storing encoded JSON in the URL hash is a nifty hack in my opinion. Users can save state in a bookmark or share it with others easily, and it's clear to the users that "where they are" in the URL bar maps to the current app state. Plus, bookmark syncing is taken care of by most browsers to make that state available elsewhere, etc. For the site owner, it means not needing a DB to make an app with some kind of state persistence.

One risk: be sure the state you persist to the URL is in a schema you plan to retain compatibility with! Blind serialization and de-serialization is a recipe for bugs and misery the next time you add a feature.
I'm amused by the fact that when you criticize LISP's syntax, defenders always say the syntax doesn't matter and real Lisp programmers don't even see the parenthesis. But then you look at these implementations of Lisp-like variants of existing programming languages and the thing the developers are most enamored with is the repetitive, parenthesis-laden syntax of Lisp, while keeping the majority of the non-Lisp semantics in tact (adding just a few functional conveniences like first class functions).

I'm not even criticizing, most of these are hobby projects and you can code how you like. I just think it's funny how hard Lisp clings onto the parenthesis thing while claiming the parenthesis thing doesn't matter.
What do you do and why are you sufficiently good at it?
That's no surprise. More people are going on to college than ever before. Educating our population is a good thing, and you can easily angle your college experience to shake out opportunities that would have otherwise been impossible given your circumstances in life.
Stronglifts 5x5 is great. You don't have to do any math, you just do what the app tells you to.
Thanks very much for this comment, I will make that change today!
Did that. And you can check: http://vidakovic.si
a free upmod to anyone who feels like summarizing whatever this is about.
https://www.nbcnews.com/tech/security/nft-art-sales-are-boom...

A lot of the art is stolen. NFTs do nothing to prevent that.
That seems worthless if they find their own way to knowledge outside of the schools.

I think the K12 system destroying potential geniuses is a seriously overblown concern, especially in the internet age.
If buildx is build kit then there's a good amount of granular caching involved, as well as the ability to build in parallel.
I feel like things are going to diverge further, between people floating around through the system and learning almost nothing vs. those self-learners who ignore that and learn on their own, not letting anything hold them back.
SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED SOPHISTICATED
I guess I'll try that. The code is poorly written and with possible bugs in it, so I can show a lot of problems to prove my point.
Generally people don't look at the output of the compiler, but the output of the compiled program. New compilers for an existing language generally have to reproduce the behavior produced by the existing compiler; they can't, for example, return the last-evaluated value in "a && b" instead of 0 or 1, even though that is almost always more useful. (You could say, "Well, they're just complying with the standard," but that's backwards; clone C compilers existed years before any standard, and the standard codified the behavior they all found sufficiently important to clone, as well as improving the language in some ways.)

It's true that new compilers often try to produce the same effect with more efficient generated code, just as web sites might strive to produce the same visual output more quickly.
It is interesting that you point that out. I had typed that out and then deleted it. Basically, Google is starting backwards with gmail being used by everyone and then trying to build what a particular niche wants.

I think the problem here is that when you start big and work backwards it's hard to build exactly what a particular niche wants. For example, starting backwards you never would have built the perfect tool for bands (myspace) or college kids (facebook) because you want it to have mass appeal.
"@matiassingers thanks for your kind words, we'll look at it right now ;)"

This response, if correctly linked, does not inspire confidence that they care about my privacy concerns.

Edit: Looks like mts was addressing a bug?
Redhat Linux (not RHEL) tended to have issues until the ".2" releases too, all the way back to 4.x in '96/'97.
Aren't you supposed to use react router and mimic the real site behavior in a single page app ?
Reddit thread: http://www.reddit.com/r/ArcherFX/comments/2wlcha/archer_supe...
Please don't build single page applications. They drive me bananas.

Consider how difficult it is to open different sections of your site into separate tabs.
That simply isn't true. The iPad clearly competes on price, it could have been priced at $800 but they went for the aggressive $500 mark and began eating up the netbook market.

Look at the iPhone it started out at $800, unsubsidized, and when that didn't take off they quickly got it subsidized and down to $200, and then have kept the 3GS around to sell at $99 and $49 price points... Clearly they are competing on price.
"but I'm pretty sure Jobs never has had to schedule his own appointments with iCal so that program is less good"

Speaking of, one thing I know for sure Steve Jobs doesn't do is getting directions to his meetings from iCal on his iPhone: the appointment's location can't be tapped to open Google Maps. This is driving me crazy. Not only because I want to use it, but because it's so simple and has been begging for it since the iPhone came out.
Didn't know Ruby (and Perl?) had BEGIN and END... pretty cool. However I would just write the final example as:

curl -s http://www.gutenberg.org/files/1080/1080.txt | tr ' \t' '\n\n' | sort | uniq -c | sort -n

and avoid any kind of procedural programming.
I didn't say that it does. And I didn't say that it doesn't either.
Unless I'm creating a completely custom view, I generally see overriding drawRect: as a dangerous idea; you're messing with Apple's implementation details and there's no way to know how it will work in the future.

Also, not every navigation bar needed to have a red line.

// edit: "overriding drawRect:" should have read "overriding drawRect: in a category".
>> There is no doubt that Socialcam looks much better with the red line in place than without. So we needed to keep it.

Let me just say that if it's that subtle a detail, you'd rather spend engineering effort on something that gives you a greater return on investment.

Is the red line going to make the program functionally better? Will it increase reliability? (It'll probably reduce it if not coded properly) Will it add significantly to user-delight?

While it is useful to know how to do what you did, this is, in my mind, a case of not knowing what to do.
More importantly, Yelp is most useful after you've already left home. There are tons of resources on the "web" for finding reviews of various local stuff, and a web search works pretty well for finding good stuff. When you are on the move, however, web search is (generally) a real pain, and non-mobile sites are (generally) a real pain. Yelp's app really fills a need.

I used the app extensively recently while trying to find an apartment, and I didn't see anything they were doing in the app that made me think, "This has to be a native app." I think what's being confused here are the two different "webs" that exist in todays tech parlance: the first is the one that you use a web browser to access and the second is the technology stack that allows you to deliver a device independent experience using a bunch of tools that helped build the first web (plus a bunch of new stuff). With the advent of things like PhoneGap, and the native platform fragmentation that's already begun, I suspect that we're going to see more, not less, efforts going into mobile web applications.

One side note: The extra emphasis placed on iOS and iPad in the article is also telling. Sure iOS may be winning in the tablet world, and doing a damn good job in smart phone world, but Facebook has 500+ million users. Even if you throw in Android, you're not even close the total number of Facebook users just in the US. If I was the Zuck, I would be thinking about a mobile strategy that wasn't caged in by specific device/platform growth too.
> attempting to put it on a morally high ground is ridiculous

Is it?

In my view, organizations are almost living entities in and of themselves. They can become more ruthless than any individual because of their critical mass and "mission".

Maybe I'm oversimplifying, but we have org A ("business"), primarily self-interested, and org B ("non-profit"), which isn't. Sure, there's potential for evil and corruption everywhere, but that doesn't make their two starting points one and the same.

Aren't organizations built for maximizing profits inherently on a lower moral ground than non-profit organizations?

edit: removed non-existent "[1]"
> would they discover new things that needed providing?

...of course? These programs would (imo) make a better world, but not a perfect one.

Just because you accomplish Goal #1 doesn't mean that you can't continue on to strive for Goal #2.
It's an interesting story, I won'der if you could turn the automation trick around on them.

Would you be able to make them do the same negative SEOing but to their own site?

Fill their site with unrelated garbage and internal links with undesirable anchor text.

* unbock their IP
* create content that links back to their site with the undesirable keywords
* only show this content to them and not regular visitors
* don't let them grab much / any legitimate content
I wouldn't call Cloudfront bloated. It is under featured if anything, the product has seen little change in the past few years.
Its definitely of the kitchen sink variety. I don't think that's a bad thing though. D is a toolbox with a ton of tools in it. You might not need them all, but its nice that they're there when you do need them.

You're not forced to use the features you don't need.
Unfortunately, millions of people is still less than 4% of the US population generously.

Employees are a cost center. The idea is to get as much as possible for as low a cost as possible. That's business and why employees can only win if they band together because they'd like to get as much as possible for as little work as possible. Those are diametrically opposed interests. You can change that equation a lot if the employees are the owners.
The tech churn cycle is getting more and more insane. It's the same process repeating endlessly.

1. Identify one problem you want to fix and ignore everything else.

2. Make a tool to manage the problem while still ignoring everything else.

3. Hype the tool up and shove it in every niche and domain possible.

4. Observer how "everything else" bites you in the ass.

5. Identify the worst problem from #4, use it to start the whole process again.

Microservices will save us! Oh no, they make things complicated. Well, I will solve that with containers! On no, managing containers is a pain. Container orchestration! Oh no, our clusters fail.

Meanwhile, the complexity of our technology goes up and its reliability in practice goes down. Plus, the concepts we operate with are less and less tethered to reality, which makes even talking about certain issues really hard.
Yes mifid was implemented 3 years ago. How many firms moved because of it? zero.
Hmm, when I first learnt Scala, I haven’t had too advanced FP knowledge, so I am yet to have first-hand experience with this sort of exception-handling and I’m yet to decide how good it is.

Compared to Haskell, it is probably better in some way because you have the proper stacktrace; but it “feels” impure a bit..
In a way Java’s exceptions are already an Either type with the result type and the thrown Exception (with “auto-decomposition”, unless checked exceptions) —- is the advantages like manual management of when mapping/flatmapping happens worth it in your opinion?
Nonetheless thanks for the heads up, I might try out Scala again with the exception handling model you mentioned!
Odd that the wiki page doesn't mention that the 8 bit series of computers were clones of the then current generation of apple computers gotten through industrial espionage.

We had a friend in the security bureau who had some funny stories. Like the part that was most difficult to manufacture were the rainbow ribbon cables because the petroleum industry only produced primary color wires.
> It’s just a tremendous waste of energy

> The world’s container infrastructure runs on containerd, runc and docker

I don't consider alternate implementations of widely used software to be wasted evergy almost ever. Was Clang a waste of energy because everyone was using GCC? There are many reasons why multiple implementations may be useful, competition and being able to cater to slightly different common use cases obvious ones.

I'm not sure why any end user would wish for there not to be multiple open source projects looking to satisfy a similar technical need.

> in the end will be problematic for Red Hat

That may be, but I don't really care about whether it's good for Red Hat. I care that it increased user choice and maybe at some point features and capabilities offered to users (whether through podman or pressure on docker).
I wrote a blog post entitled "Art is not optional" (https://mikelevins.github.io/posts/2021-01-04-art-is-not-opt...) that is in part about this: I don't think people usually choose to be artists. I think they mostly just are, like it or not. In terms of personality psychology, they're "creatives"--that is, people that score extremely high in trait openness.

Like you, I write because I must. I don't choose to write. It just happens. I can choose whether or not to put pen to paper or finger to keyboard, but I can't choose not to create the stuff that I write.

If I'm stuck somewhere with no writing utensils, I write anyway, constructing stories and lyrics and essays and explanations in my head, storing it up as best I can for when I can write it all down. It isn't even mostly in words. Most of my thoughts are visual-spatial, and only get translated into words when I have writing utensils.

I make pictures, too, and songs, and software. Similarly, I don't decide to do it or choose to do it; it just happens all the time, like it or not. If I don't have any tools to work with, that doesn't make it stop. It just makes it inconvenient, and it means that a large amount of what I create is likely to be lost before I can get it transcribed. I don't lose it all. The especially memorable bits stick, which means that doing without tools for transcription has benefits. It filters out the less memorable stuff.

My openness score is in something like 97th percentile, so somewhere around 97 out of every 100 randomly-chosen people score lower. Most people are not in my situation. More generally, highly-creative people are in the minority. But I think you can recognize them if you look. They're the ones who are always compulsively creating stuff.

The other topic of the blog post is a claim that, not only is art not optional for artists, it's not optional for the human species, either.

I don't know why art is necessary for us, but if it wasn't, then we wouldn't find it everywhere we find modern humans for all of our existence. Art seems to be older than fire, and every culture has it (so far as I know). I don't know what we need it for, and I'm not sure anyone else does, either, but apparently we need it for something.
That’s correct, the creator has been uber meticulous and methodical in his versioning and using stable Rust parts.
You could write a book about them, or write reviews/blog etc. That might get them out of your system, or make you realize it's not so useless.

Also, it sounds like you enjoy thinking/learning about OSs, so saying it doesn't benefit you in any meaningful way sounds strange to me. As if your happiness means nothing. Maybe think about what's really important in life.
If the iteration bounds are statically known (i.e. 0...10 in above example) you can avoid the loop by unrolling it, or using some kind of explicit parallelism, like SIMD for example.

In general, the iteration bounds aren't known and some kind of loop is required.
I need to hide some cables under my standing desk, I tried duct tape and it lasted a couple of days, I tried gluegun...and that didn't work out either...anyone has this same issue and has figured out how to tape the cables (chargers, desk lamp, etc) to the table's undersurface firmly once and for all?
A debris field of sufficient size is also noisy. MIRVs can have a couple decoy warheads whose job it is is to just release debris to create radar noise.
> The situation is bad but not so bad that competitors could be forced to work together it seems.

And yet this should have been the plan from the very beginning.

Considering the vast numbers needed in Europe and the whole world, forcing all available production facilities to produce vaccines should have been part of the plan.
It would be funny if Fortinet, specifically, were to claim that their lack of encryption is to avoid violating export restrictions since according to their wikipedia page [0] they've been seen selling their products to repressive third world dictators [1][2] (Myanmar).

[0] https://en.wikipedia.org/wiki/Fortinet

[1] https://www.nytimes.com/2005/10/12/technology/study-says-sof...

[2] https://www.csmonitor.com/2007/1010/p01s01-ussc.html
https://archive.is/CNYPA
Agree. Insurance companies can play a part in that as well. Requiring certain standards be met before writing coverage or covering a loss.

However, the FTC needs to play a bigger role in enforcing Clayton. Facebook should never have been allowed to buy Instagram or WhatsApp.
Reminds me of the excellent movie Under Suspicion

http://en.m.wikipedia.org/wiki/Under_Suspicion_(2000_film)
I played with several keyboardists back during my cover band days in the 80's, and they all extolled the virtues of the venerable DX7...it was pretty much the only keyboard allowed onstage that added a decent layer to our hair metal shenanigans and allowed us to play Whitesnake at the bars.

Well, maybe that isn't something to highlight too much :)

Saftware-only VSTi's like sylenth and Massive are popular modern day equivalents to the DX7 that take sound design to new levels, so thanks to all the pioneers that allow us today to explore such wonderfully deep musical frontiers in electronica.

[edits for being a dufus]
In my opinion, web browser extensions are not a viable way to deploy the solution to this problem. As far as I can tell, DNSChain has no buy in from web browser vendors. That makes it undeployable.

It is irrelevant (or not very relevant) that it would take less effort than CT for Google. What is relevant is that Google is willing to implement CT, and not willing to implement DNSChain. Yes, this has nothing to do with technical merit, but it has a lot to do with actual merit of the solution in improving the current situation.
years ago a friend of mine posted a forum thread about where he went for lunch, complete with macro-pictures of his drink. My response was to photograph my grocery trip, complete with commentary about how to select a frozen chicken, how I was better at pushing my grocery cart than someone else, and how nice it was to check out using a credit card. I was surprised by how well received my satire was.
First amendment cases concerning private individuals aren't as common anymore because it's largely settled law. Welcome to America, you have nearly-unlimited freedom of speech. People don't get arrested for political opinions, or for posting racist tweets (unlike Europe), or for saying something hateful things in public (unlike Europe), or for publicly supporting Al Qaeda or ISIS, or for wearing a swastika and having a Nazi march through a town inhabited by aging Holocaust survivors (see Skokie). In fact, if a CIA agent walked up to you and gave you thousands of seriously embarrassing classified documents, he'd go to jail for a long time but it would be almost impossible for the government to get a court order stopping you or punishing you for publishing. Every so often, some local cops overstep their authority and the district courts take care of it. The Supreme Court is interested in clarifying existing law, resolving circuit splits, and deciding landmark cases, not in deciding the same issue repeatedly.

If you say hateful or stupid things, your punishment is that people won't like you. Amazingly, it works.
I wouldn't be where I am today if it weren't for video games. Eventually got bored of playing games and decided to make my own.
Yoko Tsuno comics are really great, by the way. It's disappointing that Franco-Belgian and Italian comics never get full runs in English.
Not entirely true. For example, Project Ara is considering shipping batteries that have a higher power density but less cycle count.
To use a different analytics service, I have to change my code. To use an alternative to Magic, I have to text a different phone number.

apples and oranges.
There had been dozens of Eurobook attempts and somehow FB have prevailed. The best any could do was popularity at single country level.
> If you could do research that will save 10 lives, vs research that will save 1 life, which would you choose?

The diseases like what OP is dealing with are the ones that are going to advance science for all of us. That’s where gene therapies are going to be applied first which will pave the path for more mass-market treatments.
Yes, it turns out GLP is a very important protein. The second paper I cited above makes it sound it is pretty easy to supplement mice with GLP.