skysight-inc/HackerNews huggingface dataset:
okay thought it wasn't working because it seems to take a long time for the spinner to go away. but I'm very impressed with the todo.py! This is what frontend should be and in 5 years or so I wouldn't be surprised to see python taking over. If only the initial payload for the python runner was smaller and if only browsers started supporting webassembly/python stack out of the box!!!

from datetime import datetime as dt
from utils import add_class, remove_class
from js import console

tasks = []

# define the task template that will be use to render new templates to the page
task_template = Element("task-template").select('.task', from_content=True)
task_list = Element("list-tasks-container")
new_task_content = Element("new-task-content")

def add_task(*ags, **kws):
# create task
task_id = f"task-{len(tasks)}"
task = {"id": task_id, "content": new_task_content.element.value, "done": False, "created_at": dt.now()}

tasks.append(task)

# add the task element to the page as new node in the list by cloning
taskHtml = task_template.clone(task_id, to=task_list)
taskHtmlContent = taskHtml.select('p')
taskHtmlContent.element.innerText = task['content']
taskHtmlCheck = taskHtml.select('input')
task_list.element.appendChild(taskHtml.element)

def check_task(evt=None):
task['done'] = not task['done']
if task['done']:
add_class(taskHtmlContent, "line-through")
else:
remove_class(taskHtmlContent, "line-through")

new_task_content.clear()
taskHtmlCheck.element.onclick = check_task

def add_task_event(e):
if (e.key == "Enter"):
add_task()
>There's really no difference between a person proudly declaring they only like "white" people and a person declaring they only like "tall" people.

I get where you're coming from -- criticizing people for what they are, rather than for what they do, is exceedingly unfair -- but I can think of at least three important differences, chief among which are:

1. The shortness of men (barring outright dwarfism) has never been the object of widespread theories about their fundamental inferiority, nor have such theories been enshrined into widespread law.

2. Social institutions have never explicitly conspired to marginalize short men.

3. Redlining, lynching, the selling of persons into slavery, ghettos, etc. have no equivalent in the realm of height.

And to be frank, it's rather shocking that you would suggest otherwise. I don't doubt that you've been treated unfairly, and you are perfectly entitled to complain about it, but that doesn't require you to twist reality.
Interesting. Would't this be the ideal ebook reader display?
Channels are easy to reason about. If the language that gives me channels asks me to let it manage memory too, then cool, fine with me.
If Trump is on a social network, yet never posts, does it exist?
They must've allocated all the funding from the body design team, the i3 has some serious Fiat Multipla vibes.
I think this very specific details is what summarize to me the pain of using go.

Everything is a "convention" but nothing is enforced in a way that would make it easy for developer. There is actually nothing preventing you to not write doc comments like that, nothing to enforce err check, to put interface{} everywhere, to assign nil to a pointer, etc...

By design the language is actually super loose and it heavily contradicts the goal of the language itself. When they say it was for junior/quick onboarding I have nervous laughs, I never saw that much coding mistakes happening to senior devs than in a Go codebase.

You only follow standards if you use golangci which is not even an official tool.
> Last week we went out to Miami for Miami Tech Week to generally be inspired, and in particular to see if we can get excited about crypto. It does seem like they need devtools! JP & I haven’t been so excited about web3 so far, but we try to keep an open mind.

FWIW, the most recent Miami Tech Week probably wasn't the best place to talk to engineers working on legit problems in crypto and get excited about it, mostly due to timing.

It overlapped with a few very large crypto conferences in Europe, so everyone was busy flying over there if they were traveling at all!
I agree that it shouldn’t be used in a derogatory manner, but it’s a fact that people have preferences in who they prefer to breed with. In fact that’s the reason why we are what we are in a positive way. You are being disingenuous or have genetic maladaptive screening of partners if you think otherwise and that maladaptation is naturally evolved away.
We are never going to see those really inexpensive sub ten thousand dollar electric cars, are we?
Oh this is fascinating to me. Since I joined the workforce back 5 years ago (non IT and IT) I've witnessed so much bs on every side. Everything he describes I've seen. People spend more time tricking the game than I'd ever thought possible. That said I'm shocked devs are playing too since they have a comfy life. I guess it just taps into the same primitive reptilian brain reflexes.
I don't really care about what's legal in the US; I don't live there. This is a question of morality.
This rings very true to me. Most cold call emails have almost no information.

Worse, it feels like recruiters are realizing that their shotgunned "[X]-backed [Y]tech startup" emails are not getting replies, so they are starting to write clickbait subject lines!

In the past few months, I've seen a reduction in emails with subjects like, "Interested in a [general industry] [company type] role?" with some details in the body.

They've been replaced with subject lines like "What's up?" or, "Quick question" with minimal details beyond an invitation to "connect sometime".

It feels like they didn't get what they wanted by asking nicely, so they've decided it's better to be manipulative and evasive rather than taking "no response" for an answer.

In most forms of online communication, this type of behavior is considered creepy and disrespectful of boundaries. In recruiter world, apparently it's all in a day's work.

How about putting a salary range and WFH expectations in the subject line? We get a LOT of these emails; give us more information, not less.
Yes, they sell ads. There is no other way to make money in B2C software because the users themselves don't use it to make money.
Ad hominem attack.
Yet they keep apps that haven't been updated for even longer periods of time that just get more downloads. Why do they keep letting people download apps that work poorly on a customers phone?
And he's yet to try a Mnemosyne, which is nice, because it means he's got something pleasant to look forward to.

My header format for work notebooks is an ISO8601 date followed by title and then, when applicable, start and end times - these come last, rather than adjacent to the date, because that way it's easier to leave space for the end time if it's uncertain up front. When the header line is complete, I highlight it with a 6mm Pilot Parallel filled with liquid ink extracted by needle from yellow Sharpie Accent highlighters - that nib size spans the full space between lines in a Mnemosyne N195, and using it in a Parallel rather than the original felt tip also keeps it from smearing the Iroshizuku Murasaki-shikibu or Juro-jin with which I ink my Decimo.

I was surprised to see no mention of indexing in the original article. In work notebooks I do this religiously, because while hand-writing does help consolidate memory, an index of notes makes them a much more durable reference tool and makes memory consolidation much less of an issue in the first place.

In my personal diary, I only head entries by date and time, and don't bother highlighting. I don't always know up front what those will be about, so a title doesn't fit, although I suppose I could perhaps usefully backfill one on a finished entry - I haven't reconsidered my diary scheme since shortly after I started the first volume in 2018, so perhaps now's the time. (That said, I'm somewhat put off by the level of effort involved in indexing four-plus years' worth of diary, even if it is also a marvelous opportunity for a reread.)

At work and at home, writing makes a wonderful tool for thought. It's much easier to wrestle with a large and thorny idea when I don't have to keep the whole thing in my head all at once.
This is the kind of surgery I might expect someone who is closer to 5 feet might use to get nearer to normal range. I'm pretty much average myself (71 inches) and I wouldn't look at a 67 inch tall guy and think "wow he's short." He's still taller than the vast majority of women. I think the money would be better spent on therapy if it really is that depressing to be 5'7".

Also, anybody making short jokes is a jerk and should be shamed. Anyone calling 5'7" short has some problems of their own to sort out.
Time release medications in general are fascinating. There's another ADHD medicine, Vyvanse, that has a really interesting mechanism. The (dextro)amphetamine molecule is chemically binded to l-lysine-- a common amino acid. This makes it inactive, so one can't just snort it. It must be ingested, where in the digestive tract it meets protelytic enzymes that break down the bonds of amino acids. So it detaches the l-lysine molecules and then amphetamine molecules-- but only at a set rate. See, because there's only a finite amount of proteolytic enzymes in the gut this breakdown occurs at a predictable rate. It's so simple yet so complex at the same time, really is a brilliant time release mechanism
> There are no concrete numbers on how many people are having this procedure (though a 2020 BBC report found that hundreds of men have it every year)

So, by "hundreds" they mean definitely less than a thousand people. Presumably much less, or else they'd have "almost a thousand". But in any case, they really have no idea how many people are undergoing this surgery, or how much it has changed over time, because nobody has any hard numbers. Not a strong basis for a headline.

I am not trying to trivialize the anxiety or social stigma short men face, but the phrase but "becoming more popular" in this headline is such a weak, almsost meaningless statement that I wish they would have crafted a less click-baity headline.
Finance (I'm thinking prop trading) seems different from Valve. You eat what you kill - if you're sabotaging team members you're not making money.

If you're at Valve, you can count on your monopoly still printing money while you carve out pieces of the pie for yourself. Any negative effects from your work will be felt years later when you're long gone.
cool project, check out https://gradio.app/ as well, makes a web demo with just python
I mean this with love, this extension to NSNull gives me a brain aneurism. If I had this in my codebase I wouldn't be able to trust anything in a collection.
This was probably it.. luckily, it seems like it may have been a good samaritan from HN, they reached out to me just now. People here rock :)
> I'm not sure why anyone us would put a lot of weight into their opinion about it.

It's not about Soros opinion. It's about his track record predicting outcomes of political movements and how those impact the money markets.

With BTC is even easier because the price is a sign of the health of the socio-political movement, whereas back in the days he had to rely on the news on the ground about German re-unification or European Union coming together and adopting a common currency.
Find a better community. If people are mocking you (especially for things outside your control, but also generally), you oughtn't be around them. I've left social groups and "friends" behind for lesser things than mocking people over height.
Yeah, add wheel covers and you basically have the LeMans prototypes instead.
Can you point to any examples where she show distrust of science that was misguided? I felt her video about misleading PR for fusion was very eye opening.
are you confusing sexual preference with chattel slavery?
It shouldn’t be. These laws at least have the nuance to understand that data can’t be immediately deleted from Backups and that in such instances where deletes are complicated the customer is notified.
One of my professors said his retention method when he was a student was to take light, quick notes during lectures, but then at home the same night, write out their contents in complete sentences in a separate notebook. It sounded like a good system for someone (not me) who is organized enough to keep up with it.

I looked at the OP article and it seems too fetishistic for my tastes. What happened to ordinary yellow legal pads, or spiral bound school notebooks? For daily casual jottings, I used to use paperbound pocket notebooks, but they kept falling apart with use. Now I just carry a folded up piece of 8.5"x11" printer paper and transcribe any content needing preservation to a computer when I get around to it. The rest is ephemeral and I can throw away the paper when it gets full. Lately I read on Stephen Wolfram's blog that he does the same thing I do. I don't know if that's a good sign or a bad one.
I know it's not what you're referring to, but I just have to say that the first doctor to figure out a really plausible way to add a couple inches of penis length without serious side effects is going to be very wealthy.
Start with the low download apps so that the more “important” apps get the message and update. If an app is downloaded lots it’s a toss up between giving customers the best experience and keeping an app they need available.
That moment when you see DELETE 18388272773 0
I’m honestly really blown away by this. Are there other such tools out there that do a similar thing?
I suspect to, to an extent, it's a self-fulfilling issue: once you're sensitive to an issue, you listen out for examples, and then of course pay special attention to the ones you do hear.

I don't remember hearing people refer negatively to baldness... until I started losing my hair and it became (marginally) personal to me.
I have, actually. That's the part where I agree with you.

The point at which I disagree is when you imply that this is somehow comparable to institutionalized slavery and Jim Crow laws.
I agree. My view is if I don't get 100% bonus, I'm leaving to find a company that will pay me 100%. It seems like a good way to lose your best engineers.
Yearly bonuses can carry a large amount of risk for the time and work invested, especially if you've traded base salary for it (which could go into investments). And the bonuses are not as transparent or regulated as even risky investments. The real problem with them is the year long bet. Do it quarterly or monthly, and I'm all for it.

There are situations where it definitely makes sense, like if you're pretty secure without the bonus, you're friendly with the people deciding the bonuses, the base salary is high enough, there is some guaranteed minimum bonus, and you don't burn out trying to attain/maximize it.

Ultimately, you can't get away from the fact that some financial health is at the whim of persons within the company and frankly they just aren't going to care as much about it as you do. It's very much a gamble instead of a solid investment.
> DDoS attacks

I don't understand the drama over criticism concerning a tool.
Just tax the carbon already. The back and forth tug of war over how much gasoline any entity, public or private, individual or collective, "deserves" to consume at current market prices is exhausting and morally asinine.
No, it's evidence that he over reacts to minor issues, marking his criticisms in general as not particularly trustworthy.
The cheapest Dacia Logan models are still under €10K. But the vast majority of new car buyers prefer to spend more in order to get something larger and nicer.
I tried the clock example and it worked, but I needed to wait maybe 30 seconds after page load..
I'm hoping that their cloud VM work in the states is a precursor to that:)
Whitelines, the company who owns the patent on it, formulates it as "Dark lines distract, Whitelines don't".

https://www.whitelinespaper.com/product/wirebound-notebooks-...
I agree about the network. If you're not mentoring younger people and helping them in your 30s and 40s the future may not be so bright.
Also, number all the pages except the last two, which don't need numbers because they're where you will keep an index by topic.

Even across multiple volumes, that index will serve the same purpose for your notes as it does for a database, this after all being whence RDBMS designers borrowed the term: an index allows you to perform lookups in sublinear time.
i've been using traveler's notebook for the past 2-3 years. i like the fact that it's refillable, and you can even have multiple separate notebooks for different things within the same binding.
Anonymous/pseudonymous messageboarsd still exist, particularly if they're for things that preceded social media and are still popular, like a sports team.

The lack of gamification (upvote buttons and the like) is probably one of the reason many moved from forums to Facebook groups and Twitter.
Has anyone been using meson in any capacity? How's the experience been?
The biggest thing going for Moleskine (which is what I used when I kept paper notebooks) is availability and consistency. They are widely available and you always know what you’re going to get. It may not be the next, but was certainly more than adequate for my needs. And then I didn’t need to tryout half a dozen other options.

I’m now trying out the Remarkable tablet, which has a lot of the advantages of paper, but it’s not quite there yet. It has the paper feel for writing, and isn’t half bad when it comes to “ink quality”.

But where I think all electronic notebooks fail is data locality. Meaning, when I’m searching for a note, in a physical notebook, I know it’s roughly halfway in, on the left page, etc. As I thumb through the pages, I can tell where I am in time. That experience just isn’t quite there in the electronic versions yet.
If you are wondering about Hans.

Johann -> Johannes -> Hannes -> Hans
> In Japan, it used to be a necessity for women to use extremely tight shoes in order to contain feet growth

You've confused Japan with China.
> a reMarkable 2 eink tablet -- which I _might_ try using as a digital replacement for the bullet journal

Be aware that the software on those is so limited as to make indexing of any kind entirely impossible.
>EU Voice provides EU institutions, bodies and agencies with privacy-friendly microblogging accounts that they typically use for the purposes of press and public relations activities.

I wonder if this usage specification is in anticipation of the can of worms that might be opened if a state were operating one of these platforms for the general user-base as it exists on Twitter or FB or wherever currently? I suspect institutions, buddies, and agencies all self censor and are unlikely to use much 'speech' that the housing state would rather not host. I'm just imagining if this was the US as host and the general public as users. Free speech laws protecting the public from government censorship don't apply on platforms controlled by private entities like Twitter, FB, and the like, but if the state were hosting, they'd either have to implement virtually no rules or deal with every violation potentially being made into a quite literal federal court case. That doesn't seem sustainable. And I'm guessing the same would be true for most other 'free' rule-of-law based states.

I wonder if a PBS/NPR style model for social media could sidestep that issue though? PBS's ad-free claim is a laughable joke though, so a strict analog wouldn't be ad-free like this EU instance.
What I wish I knew when learning OCaml (2018)
We can't, even shouldn't, shut down our instincts due to politically correctness.

Of course we should. Relying on reasons that would have been acceptable to a caveman 10,000 years ago is no basis for modern society. We've beaten evolution. Modern science, medicine, and society means evolutionary pressures can be ignored - women with bigger breasts and hips aren't any more likely to have successful offspring now because women without those traits can go to Walmart for baby formula and a GP if their baby gets ill. Evolution has no bearing any more. Why keep using it as a reason?
> Most studiums use a lot of electricty Most have lights,food prep, cold drinks, usually in disposable contrainers.

imagine if everyone stay at home, cook or order online (transport), watch TV individually etc, i'm pretty sure they'd consume way more electricity
Strongest Bolt? Grades Explained and Dyno Tested for Science
> Because whether it's true or not, it doesn't tend to get results in changing how things are done.

But at the same time, several comments on this post are talking about how they think her diatribes will have an undue influence on funding decisions, so i doubt that accounts for all the negativity.
I used to like the hardcover grid reporter moleskine and used it for a long time because it fit in my front pocket and took the least space on a table next to my laptop. But moleskine changed paper and got thinner and the reporter grid got harder and harder to find.

I like leuchtterm’s dot but wish they had grid and reporter style so they would flip up. I almost liked the rhodia as the paper was nicer but it wouldn’t open and stay flat so you had to hold it open while writing.
Do you remember the time when messenger services were open to third party clients? You could actually talk to all your friends using only one app!

Those days have ended.
> There are occasional bad actor apps that slip through Google's app store review process

It happens on a regular enough basis that consumer tech sites are warning users to be careful of what they install from inside Google's walled garden.

>With malicious apps infiltrating Play on a regular, often weekly, basis, there’s currently little indication the malicious Android app scourge will be abated. That means it’s up to individual end users to steer clear of apps like Joker. The best advice is to be extremely conservative in the apps that get installed in the first place. A good guiding principle is to choose apps that serve a true purpose and, when possible, choose developers who are known entities. Installed apps that haven’t been used in the past month should be removed unless there’s a good reason to keep them around.

https://arstechnica.com/information-technology/2020/09/joker...
It would indeed. But why push the burden onto all the non-specialist readers, who after all come here to both learn and to take part, rather than expand the initialisms the first time they're introduced in a thread?

I'm reminded of an acronym at work: CIM. They come in two variants, CIM-A and CIM-B. I'd been there a year before I finally decided I needed to ask a more senior colleague what they stood for, and he didn't know either. The intention was obvious from the context of their use (although whether -A or -B was more serious wasn't) but most of the people in the weekly meetings discussing Critical Incident Management didn't actually know that was what they were discussing. Nowadays we have a culture that better encourages definition of terms upon first use, and it's less common that someone needs to ask "stupid" questions.
Same here. After trying many types of notebooks and paper, I find the Rhodia dotpad paper to be very pleasant, and it works well with the other tools I like to write with:

* tactile turn pen (bullet slim w/Pilot G2 0.7mm refill)

* rotring 600 mechanical pencil 0.5mm

* staedtler pigment liner 0.4mm
Now THAT didn’t work.
Scaleway - if you are from EU, they are great and pretty cheap
I dedicate the very last page of all my work notebooks - Mnemosyne N195As, so very nice indeed - entirely to doodles and scribbles, both because with fountain pens sometimes you need a sheet like that, and because sometimes a person needs a sheet like that.
> Twitter is more like hooking electrodes to a the brains of a frog and watching parts of it jump when you apply current.

To people whose brokerage accounts have 8-digit balances, that is probably not too far away from what they meant.