skysight-inc/HackerNews huggingface dataset:
There are many people who do not understand that optimization for the short term is paid for in the long term. Far too many. I don't understand how people do not understand that, and I recognize that, apparently, most people do not.

All decisions have (or are) trade-offs. Cause & effect. Since a cause cannot have an effect in the past, all causes have effects in the future, be it one nanosecond in the future or one thousand years in the future. That is to say, all decisions have consequences, and those consequences are always in the future.

If you optimize for the short term, you are, by definition, not optimizing for the long term. So, short term optimization necessitates long term de-optimization.

Examples:

Spend money now and have none for retirement (short term benefit), or save money now, and have it during retirement (long term benefit)?

Pollute the air now, earning maximum profit at the expense of air cleanliness in the future, or pay a lot of money today to find cleaner ways to operate, and have clean air in the future?

Fully invest in clickbait headlines today, earning ad impressions today, and risk clickbait fatigue later, or find a longer term strategy to retain readers in the long-term?

I can't readily think of an example decision that optimizes for short term gain that does not also optimize for long term loss.

My problem with this is that the short term is indeed very short, and the long term is very long. Short term optimization has long term consequences, and I would prefer short term consequences over long term consequences.
duplicates happen, and the one removed had more upvotes and was on the front or second page. either way, a message on why it was removed would be well received.
I don’t see the issue really. He basically watched porn on his work machine, while off the clock.
Why the BBC does not want to store your data
Retro Game Mechanics Explained is also very good. The creator is anonymous AFAIK but the quality is top-notch.

https://www.youtube.com/channel/UCwRqWnW5ZkVaP_lZF7caZ-g
The World's Shortcut: How the Panama Canal Works [video]
unwrap() can very very often be avoided in favor of a simple ? operation, the amount of nesting you suggest does occur... but not in a single function so it's spread over many lines and functions. There are GC libraries for Rust if you need them. Or Python/Lua bindings that have it too.

Have you considered that avoiding race conditions isn't hard and you can't avoid having to avoid them even in JS?
Also try RE:DOM, very close to Svelte but RE:DOM does not need a compiler and is faster than Svelte:

https://redom.js.org

https://rawgit.com/krausest/js-framework-benchmark/master/we...
But someone could register the github account newsycombinator and then serve an identical phishing page at newsycombinator.github.io .

I guess you're right that it's useful for takedown resistance in phishing attacks. It's useless for small, sophisticated, targeted phishing attacks, but for large blunt untargeted phishing attacks it could be useful to have a site that would be difficult to take down and censor.

But I do consider phishing different than XSS.
> I feel like a more "proper" solution would be to come up with shooty-shooty bang-bang game mechanics where "ability to aim with finesse at the things you're shooting at" is mechanically irrelevant, so that "aiming at things" isn't really a part of the console or the PC experience

The thing is, even if you remove the finesse, mouse may well STILL have an advantage. I can whip a mouse around to do a 180 far quicker than I can on a controller.
PT Barnum has a quote for you...
Around here they would use propane instead.

OT: Recently the fire department called me because the carbon monoxide detector in one of my buildings alarmed. That was mysterious since in the summer the furnaces are not used. Eventually we discovered that the cleaning crew was using propane-driven buffers on the floor! We're not going to allow that anymore. It's a 6000 sq ft office that is mostly carpeted; they certainly don't need to use dangerous equipment that was designed for large buildings like sports stadiums.
Sony, Daiwa Securities to launch $185M VC fund for startups
The Rubble of Creation
Thanks for digging deeper into it, that’s some good info.
I'm a remote employee of a distributed company. Where do you suggest we deploy our code/services?
Thanks, I stand corrected. I abused the term. I meant to say civilization as a society where humans depend primarily on agriculture for their survival, as the appearance of such a society coincides with the start of the Holocene.
This is probably going to be an unpopular opinion, I dont agree with the criticism of the use of goto.

I know, I know, the classic "goto Considered Harmful". And, yes, it can be abused just like every other programming construct.

I see 2 generally good use cases for goto: 1) error handling to cleanup in failure in C (in C++ RIAA constructs ahould be used instead) 2) exitting nested loops, instead of a flag and a break.

I've also seen C++ code use do while loops with while(false) so that they could use "break" to exit the non loop. Its very confusing and non obvious, because you see the do, and thus expect a loop. Meanwhile (the absurdly long function) has the while(false) on a separate screen, not making it clear that the code doesn't actually loop. Just use the goto. It's clearer and omits the abuse of a looping primitive (that doesn't actually loop).

Yes, goto can be abused, so can many other statements.

Sorry, /rant
"No apps to install" you just have to register on the site by providing an email and password to find anything out about it at all. Might be really cool stuff. Too bad your website doesn't provide enough information to actually assess it.

Show me a screenshot.

Tell me if it needs a connection to your servers (yes I know you said peer-to-peer in a comment here, your website doesn't talk about it and it could still require a link to your servers)

How does discovery work, what if I have multiple on my local network, how do I configure or distribute the keys?

There are so many things you might have done well or poorly. If you're not going to provide any information at all on your website, it's not worth our time or trust to register for an account on your site.
The OOM killer is a “solution” to a very real, and sensible design choice: not committing physical memory and swap whenever address space is mapped - there are very good (and noticeable) reasons for not eagerly committing, but fundamentally if you have done so you have to decide what to do when you end up needing more physical space than is available.

Linux went down the “if a process is trying to do this, it must be important so I’ll prioritise it and kill something else”, and alternative is to kill that process when the commit fails.

Either is a valid option, the OOM killer ran against a regular desktop user’s idea of what is the correct course of action, but for a server it might not have been.
These sorts of elaborate rebuttals, like the article or the art project it references, aren't that different from the works of outsiders that they seek to prove wrong. It seemingly is the case that Appalachia attracts a kind of journalist-meets-artist who finds plenty of material for a culture-tinged exposé of somewhat-thoughtful poverty and hardship porn, but a curated photoset of Sides of Appalachia You May Not Know is aimed at the level of The New Yorker, and not something relatable to everyday folk in the suburbs or the Midwest. It does little to dissuade the notion that Appalachia still has an odd mystique, which is a disservice to region.

The fact is, Appalachia is largely "just" economically depressed region like Northwest Kansas or the Mississippi Floodplain or the drive from Tucson to El Paso, where most jobs are retail and government and the best jobs are in mineral extraction or transportation or industry, but far fewer than in times past. Transportation is a pain but yet it's crisscrossed by critical routes, and life there is pretty normal for rural America. Really, there's only a handful of areas in the US where you can ride the a boom if you time it right, everywhere else things are just okay. In some places you have fewer options. People try to get by, or try to leave. It's odd how much Appalachia has gripped the popular imagination, and how outsiders and a few well-positioned insiders perpetuate it.
Also many of the .wav files in Windows 98SE were edited with a pirated version of Sony's Soundforge, the metadata in the media files contained the Soundforge cracker's name.
Not sure what you mean by "free to disregard", but the exception being unchecked doesn't fundamentally alter the control flow of a thrown exception. It only affects type checking - hence the name.
For something really basic a simple hash like "username+my_secret" does the trick and is easy to check with nothing stored on the server side. I however have always created a uuid for each new device login and store in DB so the user can see a list of all devices used to login.
In Florian, the oldest European cafe, you're sitting where Casanova was and you can't expect to pay 1.5 € for a Cappuccino.
https://www.caffeflorian.com/en/heritage/venice-triumphantto...
In other places it's a rip off.
> I feel in a huge lose lose situation. Either I take the offer and the shares end up being worth more and I will have left money on the table or I don't take the offer and could end up with nothing.

It's also possible that you could take the money that's being offered today, and the company goes out of business tomorrow. In that case, you'd have won big.

If it were me, I'd be happy to take the sure money rather betting on the future of a startup. The odds of a startup becoming a unicorn are very small. Do you think your ex-partner has unique talents that would guarantee her success? What if a well-funded competitor entered the space?
Pantyhose Elegance – Tumblr Blog Gallery
The MS guy says there was no public NT internals doc. However many people refer to VAX/VMS Internals and Data Structures as being very similar. Both were architected by DNC.
You're right, that's horrible. However, you can also write it like this:

f := try(os.Open(file))
info := try(f.Stat())

This can be further improved by applying special syntax highlighting that makes the try less prominent.

Meanwhile, the cleanest way to write it right now seems to be:

f, err := os.Open(file)
if err == nil {
return err
}

info, err := f.Stat()
if err == nil {
return err
}

That's 8 lines of code to do the same thing. Did you spot the bug I introduced, or did you miss it because the volume of code made you skim? (error check has == instead of !=)?

If you want to judge code by the worst thing you can do, you'd need to compare with things like:

var info os.FileInfo
if f, err := os.Open(file); err != nil {
info, err = f.Stat()
}
if err != nil {
return err
}

(Did you spot the bug? If err is already declared somewhere further up, this will compile <https://play.golang.org/p/0l-SsEbKQh2>, but the "err" within the if shadows the previously declared one, so the errors from os.Open and f.Stat are never checked.)
> And a hashmap lookup is not free.

They are basically free when you have this little data. 1k cells updates 10 times a second means that you have around 100 micro seconds per cell, you can do thousands of lookups in that time. The only things which could even come close to costing 100 micro seconds are if you accidentally re-flow the html each cell update, re-render the html each cell update, send a http request each cell update or if you go through all the data each cell or the framework you are using is extremely inefficient or other unnecessary work. Each of those are easily fixable by doing the html and javascript by hand instead of using frameworks.
I suspect that to get to the coasts you'll route through either Chicago or Dallas... neither seems ideal.
What do you think about ReactOS?
The 8-bit Guy's work on Planet X3 (and the previous titles) is straight up amazing. I have such admiration for people like him.

https://www.youtube.com/watch?v=szhv6fwx7GY
The Era of Cryptocurrency
I was in b2b software sales until recently. I've been on the other side of the table when the buyer will be an end user, or when they have end users they're placing trust in and actually listening to.

Imo the issue is more just that ease of use is a hard sell. Buyers, including end users, want features. Lots of them. They want to be able to do everything they could ever potentially think to do within your software, doesn't matter if some of those tasks are once a month/year items for which perfectly good solutions already exist and for which there's no real gain from having it within this solution. It's what they ask about, what they want to talk about, what they test for, what I get feedback on from them when I win/lose the sale.

They might want ease of use in 6 months when they're actually using the thing and not give two hoots about most of the things they were certain were necessary earlier, but that's irrelevant. They didn't want it when it mattered. Now they're locked in. In terms of contract but also in terms of what their processes are designed for, what their staff are trained to use, what their other tools integrate with; and there's no guarantee or even reason to believe that an alternative wont be just as bad.

So there's tons of pressure on b2b software providers to do a lot of things but very little to do any of it well.
Must have missed Fin shutting down. Any info on why they closed up?
https://news.ycombinator.com/item?id=20340816
I don't spend much time around criminals. But limited experience says most people that commit serious crimes seem to have intrinsic executive decision making failures or poor impulse control.

I remember two things. One was a retrospective of California's death row inmates who's sentences were commuted to life in prison when the death penalty was overturned. Most of them (famously not Manson) were eventually released and the majority of them lives quiet lives after being released. Interviews with them painted pictures of what I described above.

And another was a comment by a prison warden when asked what he wished the public knew about prisons. He said 'I wish people realized that all these men are going to be released eventually'
Most of the programs should by default use syslog, so you should not really have to configure much of them except enabling syslog output.
Then you just have to configure your syslog implementation to write wherever you desire, rotate the files, or forward the messages to other machines for storing, etc.
Just curious, why a twitter thread response and not a blog post?
Hi ! Congrats on the launch ! If anyone finds it helpful, I've created a guide with screenshots for how to signup for carry: https://flowshare.io/flow/how-to-signup-for-carry-for-hacker...
If you want hilarious fun: make a gl shader than takes ~30 seconds to run. GPUs are only very recently preemptable (if they are at all yet? I lose track of what is “planned” vs released).

Make it run that shader in a loop.

See how well your system appears to respond.

IIRC macOS has a 60s or something watchdog the hard resets the GPU, while the gpu is hung the screen is not updated. Everything is running fine, cpu isn’t pinned or anything, but the gpu is blocked so no compositing, and so no screen updating.

I’m not sure what Linux does in that case, and I think windows may be able to paint because the directx driver interfaces let it do ... something? I’ve always assume some way to dma straight to the framebuffer, but no real idea :)
No Plates–But a Fistful of Citations
Earlier discussion here: https://news.ycombinator.com/item?id=20340816
What methodology could possibly ensure that something with so many error factors can give a reasonably accurate estimate?

Volunteers can vary in their abilities to detect squirrels

Squirrels can vary in their propensity in showing themselves based on weather and more

Squirrels can move between these areas, leading to double-counting

Baby and old squirrels might not even be visible
Corel seems like it's become a graveyard of old programs I used in the 1990s, like WinZip, PaintShop Pro and, amazingly, WordPerfect. And, of course, Corel Draw.

Oh, and this September will be see 40-year anniversary of WordPerfect [1]. (Though WP for DOS only came out in 1982.)

I wonder what their strategy is with this acquisition, since there must be some money in there still.

[1] http://www.columbia.edu/~em36/wpdos/chronology.html
Not only is your belittling of Go authors gratuitously offensive but it is uninformed as well. That is just one of the many proposals that Go received along the years and there's no intent to implement it at the moment.
It would also probably not come up in surveys, because the only people using the language would be the ones who are OK with it - others would simply take a look at it, conclude that having a pointless "AND THEN" everywhere is just too ugly, and move to a language that made better choices.
Any function is linear in terms of linear transformation of that function. If y = f(x), then multiplying f(x) by 2 will result in 2y. Here we are talking about linearity or non-linearity of f(x), so using your example, if we multiply x by 2, which in this context would be the error signal in the output layer, do we get weight updates times 2? No, because f = dL(error)/dW is not a linear transformation of error (in general).

Here's an attempt to make the backprop linear: https://openreview.net/forum?id=ByfPDyrYim
Probably need to repeat this study with 72 additional individuals treated with a placebo to compare against the cannabidiol group. My guess is that just thinking that you are doing something about your anxiety and sleep issues will result in decreased anxiety.
Free mobile phones for the indigent (with data) are already available in CA.
Of course it can. It can also be shelved indefinitely or not done, but at some point, it's time to make a decision. Opponents of this would of course prefer it to be "shelved" instead.
Can confirm - TC metro area is great for our thyme. It's certainly crept and spread :)
The roads are bad everywhere. There's really nothing resembling a highway in the entire country despite the massive development happening in Phnom Penh too. Tons of people die in road accidents because semi trucks, construction vehicles, buses, cars, motos, bicycles, pedestrians and animals all share the two lane "national roads". I have personally seen a lot of dead or dying people on the road here unfortunately.
WWII Policy Kept Patents Secret, Slowed Innovation
Reverse engineering is usually considered a violation of proprietary software IP right (not sure the exact legal term)? I know at every company I've ever worked at I've been told to never under any circumstances attempt to decompile or reverse engineer another company's proprietary software product. Maybe that's just legal CYA but decompiling+documenting then re-implementing sure sounds like stealing to me...
These are bits of knowledge from my personal experience in startups:

1. Most of the stuff you write will not be used.

2. Product owners/sales people will change their designs/expectations on a whim (get ready for it) and expect a quick turn around.

3. Be prepared for a revolving door of employees signing on, fizzing out or being dropped one day without ceremony.

4. Be prepared for work done to be valid when you committed it and for it to the wrong design when it finally got accepted into production.

5. Be prepared for some of the senior programmers to make bad choices for the company even if common sense says otherwise.

6. Be prepared for long hours if it is required.

Your mileage will vary but it is experience that you can add to a CV and you'll learn if you like it.
Worked pretty well for me on my low-end 2 year old Samsung!
In the past, the opposite happened to me. The replaced an outsourced team with me for a project. But that was a long time ago.

The different timezone and lack of face to face will be a big challenge. I think you should make it known to your client, if they are not happy with the India team, that they should contact you to pick the project back up.

Let them know your the guy they can call in the middle of the night, who will show up onsite.

You might even be able to negotiate a higher rate if they do take you up on the offer.
Is that really clean-room, though? (Note that "clean-room" is not a term in US copyright law, it's just a technique that certain people hope results in a work that is not a derivative of whatever they're reimplementing.)

If I learn a pop song, and sing it and accompany myself on the piano, and someone else transcribes it, then two things are true: first, of course it will result in identical melodies and chord progressions, and second, of course (it seems to me) this is a derivative work and there's no way you can say its copyright is independent. On the other hand, if I learn a pop song, and then teach the fundamentals of songwriting to someone, and they write a song with a I-V-vi-IV progression with angsty lyrics about an estranged lover, no matter how much it resembles existing pop songs in intent, there's a much stronger argument for independent invention.

A "clean-room" approach to determine a specification where none exists is sound - e.g., if you're developing a driver for a piece of hardware which only has a proprietary driver, you can run the driver under instrumentation and see what it does, and then write your own driver that twiddles hardware in the same way but takes its own approach to implementation. A "clean-room" approach to determine internals feels less sound to me: if you're disassembling the code to determine structure layout and naming, aren't you really just transforming the code into an overly-detailed natural language representation, then back into code?

(To be clear, I don't know if this is what ReactOS does/did, I just think that this "clean-room" defense doesn't hold super strongly, or in other words, that if this is what ReactOS does/did, it can be true both that ReactOS believes they did a clean-room reimplementation and that it's an infringement of NT's copyrights, despite a lot of hard work by the ReactOS devs.)
I feel a sense of karmic balance on backhoe fade myself, because after running networks for decades, I now own a backhoe. So far I've managed to dig up a power cable I forgot I laid to an outbuilding, and a coax satellite dish feeder.
Discussion of original source: https://news.ycombinator.com/item?id=20341022
Folks, seriously, boulos is fucking amazing ok?
Go already lets you recover from panics in a way similar to Java exceptions. For example, the standard library's HTTP server recovers from panics so if a request handler has an out-of-bound array access (or other panic-inducing error) the server continues serving other requests. It sounds like the programs you're fuzzing are missing an opportunity to be more robust.

The "try" proposal is about handling routine, expected errors.
When the Patriots[1] win a game where they are the underdogs[2], does the Boston Herald[2] headline read 'NFL analysts fail to predict outcome of football game'?

[1]A team of people, trying to create as many points as possible, who don't give a damn what the analysts are saying. When they win, are we learning about the Patriots or the talking heads (who probably haven't changed much in the past week)?

[2]A guy can dream.

[3]Sportsbook digest, if that is a publication, might have that headline.