skysight-inc/HackerNews huggingface dataset:
If you are coding in work for 8 hours, not being in mood for the same thing after that is normal and even healthy. Do something else to recharge - sport, reading, learning, watching shows, art, music, socializing. Engage in things you don't do at work.

If you are demotivated at work, try to change job. Sometimes changing environment is needed, some teams/places are fundamentally demotivating.
I didn't intend to imply that GraphQL is better or worse than REST-ish APIs. I just haven't seen it catch on anywhere outside of Facebook.

I have integrated many dozens of APIs into backends by now, and never have I even had an option to use GraphQL if I wanted to.
> In the original Fielding paper, REST is explicitly defined as an architecture for "large-grained resources" aka "documents". So this "hack" the author perceives is inherent to REST. If your API is small-grained (like most HTTP/web/JSON APIs are), then you shouldn't be using REST in the first place

This reminds me of the time when people took a format meant for sprinkling some metadata here and there on a piece of a large document, and started using it primarily for writing "documents" where markup/data ratio is > 2.

I'm of course talking about XML here.
Notes for AutoCAD
Even with a blacklist, a large and contiguous range like 11.0.0.0/8 won't be particularly difficult to block or reroute.
IEEE Spectrum. The publication featuring this article.
There's a long list of API problems not addressed by HTTP/2, because HTTP/2 set out to make sites faster, it didn't set out to make APIs more "RESTful".

Most advice I've heard from REST aficionados tends to be terrible for simplicity, correctness and performance. All in favor of an abstract set of goals, most of which never materialize. This is no exception.
Isn't REBCO tape the thing that is going to save fusion?
But this is the opposite of the principles Linux has been built on. How can Canonical hope Snap gains popularity if the very software powering up the Snapstore is closed?
Think about your values and compare those with the target of your current projects. If there's a hefty dissonance between those that can be a problem for many.

I felt unenthusiastic working with F2P mobile games and ended up in special education. Pay is somewhat less but the meaning was reintroduced to my life. And its a huge difference for me at least. I'm not a f/t dev so can't emphasize that side but the meaning is a gigantic thing for most of us.
Find something worth doing with absolutely no viable or intentional financial benefits. It may have been done a thousand times before, it may be so utterly silly you wouldn't think twice about it and it may be the biggest "what if" of your career. Just do something worth doing, because you care about it.
Reading and writing between handles and buffers, just like any other language. If you object specifically to the adjective "great" then, well, I don't think that was the operative point of the original comment.
Then I would say that logging is useful. But stack traces in debuggers, conditional break points and stopping at exceptions and the like are the best.
Yes, and this is just an extension. Existing WASM compiler front-ends for non-GC languages don't have to necessarily use it. Wasm itself still won't take a performance hit, unless individual devs opt in by using front-ends for GC languages.
Mostly, but NAT without PAT doesn't have to be 1:1. You could put 100 hosts behind 20 IP addresses without ever changing a port.
Recursion is not the same as divide and conquer. Divide and conquer is a category of algorithms that you would often implement with recursion, but you don't have to.

For example, consider the bottom-up implementation of merge sort [1]. This implementation is not recursive, but merge sort uses divide and conquer regardless of whether or not you implement it top-down or bottom-up.

On the other hand, the naive fibonacci implementation that runs in exponential type is recursive, but it does not use divide and conquer.

[1]: https://en.wikipedia.org/wiki/Merge_sort#Bottom-up_implement...
>I am a Red Teamer and work with companies

OK, how do you test SocEng vectors? Do you obtain consent and coordinate with every employee that might be targeted to receive your e-mail?

>You also study submitting from yandex, gmail, .cn and other email addresses

No, the point was submitting from a known and respectable entity, which might affect the level of scrutiny. They weren't testing a whole patching process, but a specific human component of it.
This is one of the reasons I always wear ear protection when going to live concerts. With the right kind of earplugs you can have very clear sound and in a way hear the vocals and guitars better than without. It also comes with the added benefit of no ringing ears in the morning.

I started doing it after the doctor at my annual medical check mentioned I had frequency loss at 24 years old that he would associate with a 40 year old. Should probably have worn ear protection earlier... But wearing them consistently helped a lot because the measurements were mostly "normal" now 10 years later.
Can you please replace the gifs with something like asciicinema? They are really bad looking on mobile :(
I mean, you can keep playing this game and take Microsoft ActiveX or Google NaCl as another spiritual successor. I maintain that WASM has been around for 3 years.
not even remotely, worry not.

I am a libertarian who was de-facto forced to be here for work. No longer forced -> no longer here
Programming is a form of writing with equivalent difficulty. The challenge therein is relative and yet orthogonal to the reading of code. This is best described by perhaps the most prolific writer in human history: Isaac Asimov.

The most striking thing that Asimov said about writing is about correctness. A good writer produces correctness the first time. They aren’t reliant upon tools, gimmicks, or editors to catch syntax or grammar violations because these trivialities aren’t the important concerns. Drafts are for revising ideas and distilling ideas down to a clearer thought. For good writers drafts don’t waste time or focus with correctness.

In addition to writing with correctness the first time entirely from the author without a bunch of bullshit helpers good writers know what they want to write. They simply write it. They may not have a clarity of vision on how best to order or describe a given subject for their given audience but then that’s what drafts are for. Just write it. In programming revising drafts if called refactoring.

Perhaps the greatest difficulty in any writing is simplicity which is far more challenging than mere mortals consider. The quality of a written work is directly attributable to it’s simplicity.

Simplicity only ever means fewer. Fewer is directly applicable to both form and substance. Does the author rely upon an excess of syntax decoration or do the directly solve the problem? Likewise did the author take the extra effort to fold similar ideas into a single abstraction thereby reducing the number of pieces and methods of approach while simultaneously increasing the potential number of solutions?

https://github.com/prettydiff/wisdom/blob/master/Simplicity....
An hello world type example that just prints to the console is pretty useless. An example of how to get something on screen is needed. The docs for the dom part of the standard library is just a "coming soon" page.
You are missing agency.

May try a retro computing project. Restore you old PC, code something in basic languages, on a very low powered machine. Exclude any potential revenue ideas from what you are doing.
Most of these types of algorithms already have tons of research available online as people try to figure out what the lower bound of optimization is. It's far more telling to just talk about previous projects the person has worked on to gauge their level of competence. Asking them to explain why they made the choice they did vs trying to see how much they can memorize tests two different skill sets. The person who makes better choices is the one you want to hire.
Do you think lower levels should be dependent on higher levels as well?
Learn Clojure if you haven't already. It will bring joy to your programming skills.
well I mean, first off we sort of have to just agree that William Blake isn't just any combination of graphics and poetry in order to not need to post a book's worth of argument here.

Second of all we might also agree that Blake as a graphic designer was something of a hacker https://www.newstatesman.com/william-blake-rebel-radical-rev... so out of all the Artist / Poets to take exception to on HN this seems really weird, and not weird in the Blakean way.
Yeah, interviews should really be asking more questions about graph algorithms instead. Those are so much more useful.
A computer "follows the recipe", the programmer writes it. Sometimes the programmer runs parts of the program in his head.

A chef creates recipes and sometimes follows them. He can also extemporise.
In some variations of English any can mean the same as all in some cases where you are uncertain you know every possible harm.

Indeed: "The Court held that "the word 'any' is to be considered all-inclusive"

https://www.michbar.org/file/generalinfo/plainenglish/pdfs/9...
William Blake, William

Blake, William Blake, William Blake,

say it and feel new!

From Peter Porter's Japanese Jokes

https://asuddenline.tumblr.com/post/23106401624/japanese-jok...
It's small by Chinese standards.
I find it nicely clear in German. If you wrong someone, you're loading guilt unto yourself ("mit Schuld beladen"). You'll then ask to be forgiven ("um Entschuldigung bitten" is "asking to be relieved of the guilt"), and the other party can lift the guilt ("entschuldigen"). You can also say "ich entschuldige mich", which skips that step and is essentially "I absolve myself".

While it's common in colloquial German to use the one-step-absolution and skip over the possibility of the other party not absolving you, it's also often considered rude when it matters and has a taste of "but not really". It's fine when you accidentally stepped on someone's foot, but not so much when you've stolen their car.
Developers on what makes their games ‘hand-drawn’
Ask HN: What has been the biggest contributor in improving your sleep?
Understanding SaaS Metrics
Yes, real estate is a very regional thing, and places not affected by the S&L crisis and the dot.com crash would have different economics, for example in other countries. The place I had in my mind when replying to your comment was South Korea, where there are many mixed-use high rises with business or even malls on the first few floors, and residential above. I don't know the impact of S&L and dot.com on the economics of these buildings back when they were being planned and built, but seeing as how they are not an uncommon sight, and are sought after as residences, likely they had a different view than your analysis.
I think we’ll just have to agree to disagree because in my opinion it was an officiating fiasco. De Jong avoiding a straight red with his kick to the chest without an attempt on the ball is a total fiasco.

The referee allowed the game to get out of control which is almost as bad as over officiating. But at least it’s impossible to make the argument that Spain won because of bad officiating.

I can sympathise somewhat with the perspective of the Dutch team. It was their third final and they knew they were outmatched by Spain’s tiki-taka. Still even considering that I think their actions on the pitch were disgraceful.

I did always wonder what Cruyff’s opinion of that game was and I managed to find an article from the time.

https://www.theguardian.com/football/2010/jul/12/world-cup-f...
Radically switch programming language and paradigm.
When this starts to happen to me, I try to take a step back and focus more on my dating/personal life for a bit. After a few shitty dates, coding wont seem so bad any more =P
My browser already sees all of my (web) passwords anyway. Therefore, using the browser's built-in password management reduces the number of external entities I need to place my trust in.

Though fair enough when it comes to enterprise features.
The idea of classic literature always reminds me of the idea of a classical education but yet I find myself unable to find a satisfactory definition of what this means, and an example curriculum.

Perhaps it is really the study of the English Literary Canon, which would overlap with but significantly deviate from this list?
Not OP. I helped a couple friends get into programming and it certainly helped me gain a new perspective, value my skills, and motivated me. So I would give that a try.
Great! Enjoy!
Well the ccp gutted Chinese history and culture, so wuxi might as well be 70 years old.
The Laws Giving People the Right to Crash Cars into Demonstrators
> Also I think many people would say Birmingham, England is small. Why? It isn't London.

If Birmingham – the 20th biggest urban agglomeration in Europe – is small, what should the many hundreds of smaller cities be termed?

(London is a megacity.)
Show HN: MarkShow – Create Slideshows with Markdown
This is wrong. HTTP/1.0 had a keep-alive header field as mentioned in the HTTP/1.1 RFC: https://tools.ietf.org/html/rfc7230#appendix-A.1.2

But in HTTP/1.1 that's the default: https://tools.ietf.org/html/rfc7230#section-6.3

o If the received protocol is HTTP/1.1 (or later), the connection will persist after the current response; else,

o If the received protocol is HTTP/1.0, the "keep-alive" connection
option is present, the recipient is not a proxy, and the recipient
wishes to honor the HTTP/1.0 "keep-alive" mechanism
Party Like It’s 1899: What It’s Like Growing Up with a Segregated Prom (2019)
You can just read the panic in these words. The fear that someone may read something that's against the narrative. The hurried attempt to commit as many fallacies as possible to discredit the source of the heresy.

The virtue signaling is palpable. The shibboleth words of the neurotic ("platforming", "Nazi", etc.) are on full display.

I present to you the modern leftist.
Which element is hacky?

The inlined icon feels hacky maybe. Inlining very small files is a good idea I think though. Sending an entire request for only 108 bytes is a bit wasteful.
https://www.liebertpub.com/doi/10.1089/ast.2020.2364

https://www.centauri-dreams.org/2021/04/20/a-drake-equation-...
The plural of anecdote is not data, but I can provide some figures. There is currently a push in London to get households install solar panels, and I expressed interest in getting a set installed to our house. Sadly, the finances don't add up.

Our house is not exactly small, and optimistically you could fit 10 PV panels on the roof. At least according to the quote I received, but having scouted installations in the nearby places, 8 might be more realistic. (Shape of the roof is a factor.)

Assuming energy prices overall grow as they have over the past decade, it would take 12-15 years to break even on the installation cost. That's with 10 panels. With 8, add a couple of years. And assume there will be no additional maintenance or replacement costs to consider.

So, at least in the UK: unless you are wealthy enough to have a large house with a sufficiently large roof, PV installations are not yet financially viable. It should be better in the rural regions where houses tend to be larger. With more installation surface area available, the marginal cost of each PV panel goes down and the marginal benefit of its energy production goes up.

Hence, in the UK, for a single-family dwelling, a roof with space for 14 panels should be enough to make the installation viable. A house with that much roof surface, at least near us, starts from approximately £700k.
Looks like wasm3 is created by embedded/hardware guy, that is really interesting.
There are plenty of ways to gauge potential. Does one of the 8 year olds kick the ball extremely accurately? Can he run around significantly longer than his peers without getting tired? When teaching him skills through drilling, how quickly does he improve? Does he show a dogged perseverence when training or get bored and want to just fuck around?

There is an entire industry of talent scouts that predict the performance of kids as young as 12, and many of them are good at what they do.
Merge sort seems to be a more classic example for divide-and-conquer which involves merging the results from two subproblems.
I was a pro drummer for years. There is a general balance of factors:

- history, drum set evolved kind of organically bringing marching band percussion, orchestral percussion and other drums into the theater / concert halls / dance halls

As a consequence things like temple blocks were often placed above the bass drum which, before toms were really a thing. They were loosely pitched in similar way.

As the drums evolved they became a thing unto themselves and not just a collection of percussion instruments.

3 or more toms was rare historically. The "floor Tom" and "high tom" allowed a drummer to make a high and a low sound with their hands, which has numerous musical applications

Then as kits got more toms key factors become:

- reach (you cannot fit a low tom above a bass drum)

- style: rock generally suited looser and lower tension tunings, bigger drums, jazz tended to be more tightly tuned toms, and smaller sized drums, more open resonance, pop and funk generally wanted more dampened staccato sounds.

- feel. Drummers balance tuning of their drums with how it feels to play. You will not pick a tuning that feels bad, or sounds bad to you.

- mountings: you can either mount toms directly on bass drum, with legs on the floor or off cymbal stands (and the latter option was bolstered by modern hardware), but so to balance space, mount points and reach there isn't really many other places for them to go.

I'm being brief here, and the musical motivation was sort of natural and evolutionary and not prescribed by music theory.

Finally, if you play tuned percussion like timpani, you go to great lengths to retune them quickly between different passages and pieces. You cannot re-tune toms to an exact pitch while playing it with 4 limbs, and so it would be repeatedly out of tune with the music, and that would be worse than the approximate high mid low you get today!

Hope that makes some sense.
I was in a very similar position. After digging I to that feeling with my therapist, I found out that I wasn't miserable coding. I was miserable with all the other bullshit I've had at my job: stand-ups, task tracking, constant meetings, always feeling pressure and responsibility that triggered impostors syndrome, and so on.

I've changed companies, and now I don't have any of that. I don't even remember how my bosses voice sounds: it's a remote position where we communicate in text, mostly asynchronously. There's no task tracking, just company chat. I almost never get asked when will I complete something; we just discuss what needs to be done, and then I do it. If I don't feel like working, I don't. Nobody's tracking my time. And later, when I get internal motivation, I put in 20 hours of uninterrupted, productive work.

I don't think that I've ever been that happy coding in my entire life.
In my view, the DOM is too cluttered and bloated, difficult to work with if you're a browser. There are a lot of things that should be made deprecated, but it's difficult to decide which things, since big browser are usually rivals (apple, google, microsoft, mozilla...).

Browsers are already pretty complex machines, considering javascript and the DOM and everything that comes along. Expecting all browser to let WASM have access to the DOM is a big demand.
- Cutting down on high noise / low effort social media
- Reflection on whether the article you just read made you feel good or you learned something, find on the ground experts in fields.
- Debating with your “enemy” in a Socratic Way
- A true intolerant likes wrestling in the mud and stay there.
> Most of the fault lies with the person running the sound mixing board

One of my favourite bands to see live actually take their own sound guy on tour with them. They sound incredible.
You don’t. You work with the leadership & security team. Any employee that clicks your phishing email gets an extra dose of security training. Those that forward the email to abuse@corp.com get a nice compliment
Ah. A political party can always win by misleading people. Does that mean misled people "deserve" everything that happens to them?

Not to mention that choice was between two equally corrupt parties each with their own flaws. But people could've seen what Modi has done after first 5 years period.
I do this too and it makes the concerts less boomy and I can actually hear the vocals. The only issue is that it distorts the perception of my own voice so I have remember to speak louder to others or when ordering drinks.
I also put in ear plugs when using loud tools or appliances, eg when mowing or cutting with a chainsaw.
Stop drinking coffee after 12 noon.

When I feel hungry after dinner, drink water. Late hunger is often the brains cry for food to keep you awake. Usually within 30 minutes I am sleepy.

Going to bed early, so I do not have to use the alarm to wake up. So I write stuff down that I need to do, and if I am up early I do those things, verses pushing to stay up and do them.
I can relate to this. Also started coding young and I'm 32 and a Scala developer.

Here is what I stated doing recently and feels like it helps:

1. 15 minutes mediation daily before work starts and 15 minutes after work. This marks the end of a work day and can start thinking about something else.

Lately due to some changes in the company I found myself thinking a lot about work even after working hours. Without being able to stop. Meditation trains my mind to calm down and switch off.

I also feel that I can now switch tasks easier. And my mind feels lighter.

2. Try to reduce the bad stress at work. Refuse nonsense deadlines.

3. 1 cup of coffee per day is enough. Move your body with 30 minutes of running and daily walks.

With the remote working we now have plenty of time. So 15 minutes of meditation across the day is really easy to integrate.
I don't think the idea is to hold the "corporate" accountable. If it's true that the senior management at that time decided to cover up the failure and ruined the lives of hundreds of people, and knew full well that they were doing, they should be punished, even though they might no longer be working in the company. Simple as that.
I'm pretty sure FACT is not recruiting developers on behalf of some random game company.
Cf https://lore.kernel.org/linux-nfs/YIUMYYcf%2FVW4a28k@kroah.c...

Apparently, they sent html mails, which the list refuses to deliver.
California is sort of a mess. I think it's all regulatory capture.

Most places, you use more of a resource and you get a volume discount. In california it goes up from .25 to .31 to .39 cents per kwh.

meanwhile the wholesale price of power is no different from anywhere else, maybe .03c/kwh.

One "bright side" is that it makes it practical for people to install solar and at some point their cost drops to zero. So there's a viable market for solar.
Wyoming 'DAO law' to go into effect in July after receiving final approval
*Cyprus
All recursion can be translated into a loop and a stack. In the tail recursive case you don’t even need a stack, a loop would suffice.

That means all divide and conquer algorithms can be implemented without recursion.