skysight-inc/HackerNews huggingface dataset:
I’m wondering if the languages reflect who has died there?

Spanish and Mandarin make sense based on SF demographics, but the Russian (?) seems out of place. Although I know the Outer Richmond has a good size Russian population.

But if you at what languages SF offers information in, it usually also includes Japanese, Tagalog, Vietnamese and others, so I’m curious why they aren’t included.
Would love to see a video of what this actually means. I'm not sure I've ever written code for which I can use a REPL in any meaningful way so I must be doing it wrong. Videos of actual real world coding/debugging (not examples that are too simple and therefore not real world) would probably be very enlightening.

I mostly do graphics stuff and there are 70 lines of setup until I get to the 1 line that executes something based on the 70 lines of setup. But even in non graphs code my program 1000s of lines, all of which have to execute where as a REPL is one line at a time so yea, a video would really help see how to apply this.
There are achievable numbers between 1-5% and 100%.
>Sry for harassing here. If someone could look at the recent Android Webview v85 bug that has broken my app, that would be great. I raised a bug today for it https://bugs.chromium.org/p/chromium/issues/detail?id=112552...

Asking on HN for a random chrome engineer using a fresh throwaway (created for this specific post) to look at your 11 hour old low priority performance bug for a specific piece of hardware seems misguided. There are hundreds of engineers working on Chrome -- it is extremely unlikely this person is the right SME for this bug, and even if they were, how could they possibly do anything to your bug internally without revealing their identity?
Regardless, the solution is not to (explicitly, i.e. removing the option was a conscious effort) give up.
That's what happens when you let anybody and their friends run arbitrary code on the user's CPU. Javascript running by default was the original sin, and now there's no going back. IMO it ought to have been opt-in for the websites that really need it (i.e. web apps I actually want to use, not any random page I happen to stumble upon).

There's especially no going back for Google for whom it's very much a feature since they try to reimplement and replace the OS from within the browser.
thank you so much, you got one karma point for creating an account and comment fwiw :-)
1) Complexity is very expensive

2) Written code can take a long time to stabilize and is thus expensive to change and maintain

3) Ostensibly orthodox legacy systems are full of anti-patterns.

4) How easily a small problem can turn into an infinite number of other, small problems, and the intuition required for where to 'draw the line'.
Solidity detection enabled in GitHub. No more .gitattributes to get highlighting
Probably. As long as there is one other person in the office, and maybe even without. Having the separation between work and home area is fairly important to me.
Advice from Real Entrepreneurs on Starting Your Own Business
I’m not sure it’s entirely heightened US liability. I’ve been to a few places in the US (New Mexico Pueblos) where there is a serious risk of falling, yet no signs at all.
dataclass has __post_init__ as a mechanism for doing what you'd normally do in __init__ besides what dataclasses do in the generated __init__, because the generated __init__ means you can't do it in __init__, and otherwise you'd have to override (and replicate the function of) the generated __init__.

It is not equivalent to PrePostMetaInit.
YouTube Android now seems to autoplay but not when you are casting.

I haven't looked into it, who knows I might have flipped the switch.

But previously they would or would not autoplay on both as far as I can recall
And with enough processing power, you can get a computer that does all of this 1,000 times per second!

https://slayersclub.bethesda.net/en/article/48xD6yVj0VsulONX...

I work with computers every day and I still just have no concept of how powerful they really are.
Were you inspired by tailwind?
That seems like such a fundamentally different architecture is needed, why would you want that to be part of BitTorrent rather than its own protocol?

What is your opinion of existing P2PTV apps, is something missing?

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

(I don't know much about the space.)
It's not just about volume, but about noise profile. Sounds of equal power can be perceived very differently due to which frequencies they contain.
How to Digital Drawings of Abstract Forms for the New in Between Normal Decor
To point out the reason. In the northeast a small creek represents a small drainage area. In the Southwest a small dry creek can represent a large drainage. All the water dropped by a thunder storm will end up in it.

I remember one time flying over the southwest with the light just right and you could see vast drainages with thin thin cracks that are the actual channels cut down into the sand stone.
Why it's not mentioned anywhere on website that it's open source?

https://github.com/kiwibrowser/src

PS: Oops, another guy posted the link earler.
When I finally understood that browsers only understand HTML, JavaScript, and CSS. Yes that’s a simplification, but it’s essentially true. Early on in my career when I started more front-end development, I was under the impression that there was somehow much more going on under the hood, i.e., more languages, executables, ways of setting styles and layouts. When this finally clicked with me, it was all so much clearer and immediately less intimidating. I’m still surprised to this day that even many experienced developers think that browsers can natively interpret SCSS, TypeScript, or whatever templating language they’re using — heck, some people even used to call jQuery a “language”.

As a relatively new Clojure developer, the meaning of the parentheses was the ah-ha moment. I imagine it’s the same for other Lisp-y languages.
"13. cat file | sed s/foo/bar/ > file

You cannot ..."

With sed, in some cases, you can. One of the differences between Linux-provided sed and BSD-provided sed is the -a option.

FreeBSD manpage:

"-a The files listed as parameters for the "w" functions are created (or truncated) before any processing begins, by default. The -a option causes sed to delay opening each file until a command containing the related "w" function is applied to a line of input."

So let's say you have a file

cat > file
sandfoo
^D

BSD-provided sed

cat file|sed -na 's/foo/bar/;H;$!d;g;w'file

The replacement is made without any temp file.

Note this example will add a blank line at the top.

Why use sed? sed is part of BSD base system, the toolchain^1 and install images thus it can easily be utilised early in boot process. I am not aware that "sponge" is part of any base system.

1. NetBSD's toolchain can be reliably cross-compiled on Linux.
I've said as much there in the comments already, but this gist doesn't have many useful insights.

The problem is that highly valuing "first-principles thinking" is wrongfully attributed to arrogance and seen as "ignoring truths from the 'dirty' mainstream".
I agree with pretty much all the OP has to say.

In my experience, onboarding is something that is usually an afterthought, if it is considered at all. Which is why, when starting from scratch as CTO at two companies, I set it as a top priority from day one. In both instances, onboarding was optimized as much as possible. In one company, we used Okta, and 90% of accounts needed to be productive (Git, Jira, Confluence, the HR system, etc) were auto-created prior to the start date. We reduced, as much as possible, the need to manually create or request access to needed systems. Instead, based on your job function, we already knew what you would need access to and automatically made those requisitions. I realize this is easier to do when you are starting from scratch, but it demonstrates that it is feasible. It’s simply a matter of will and valuing the importance of a smooth onboarding experience. After all, you spent a ton of time and money finding this candidate - why not get them productive as fast as possible?

Setting up the development environment was also scripted. We had scripts for setting up and installing the tools needed for frontend and backend development. Common aliases and scripts were shared via a shared “dot files”. In most cases, it was possible to checkout the relevant repos, run unit tests, commit code and deploy to production on the first or second day. There is no reason one can’t have all you need ready to go on day one. Certainly things get out of date as time passes, but the expectation of every new hire was to improve the documentation and fix any flaws. This “onboarding as code” mentality also made it easier when an experienced engineer needed to set up a new laptop. Documentation is like a garden - it needs to be constantly weeded and pruned.

Finally, there’s the matter of learning the tech stack, code base and current toolset. Again, this needs to be a deliberate, well thought out experience rather than an ad-hoc, thrown into the deep-end of the pool, sink-or-swim challenge. A manager needs to make it their top priority to figure out how to get new employees (or internal transfers) up to speed and confident as quickly as possible. This requires special skills in writing good documentation and figuring out the various learning styles of engineers.

I agree - if you onboard, and struggle getting code to compile, can’t find the right documentation about how things work - then it sours your experience with the company. In some cases it feels like onboarding is a struggle and it’s a badge of honor to have survived. That you “made it through” and “paid your dues.” This may work with certain engineers, but I don’t think it is healthy or wise.
There's a solid technical reason for that though, as ISPs have no control over the performance of your connection's remote part. Sure, it leaves plenty of room for abuse, but this is a necessary disclaimer, not some slippery marketing.
So, according the document the only difference is Base32H solves ambiguity between S and 5 but allows ambiguity between l and 1.

I think that's the worse tradeoff to be made, let alone a reason to create whole another encoding scheme.
Why Software Sucks (2005)
A feature that never worked in the first place. The flag has always been a placebo. Nothing of value was lost.
Yes, not saying Doom isn't awesome, just that it would be nice to have games where you just fight without worrying about any distractions.

e.g. instead of hunting for keys or cards or levers, or trying to spot secret entrances, they could replace that "artificial" complexity with improved monster AI: Learning enemy patterns and having the enemy learn ours in turn, using a destructible environment to dodge or assist attacks, and figuring out how to deceive their virtual senses (like throwing an object to distract them) and so on.
Crockford's Base32 already does that. I/l/1 are all synonyms.
i think you're right in theory while on practice best empowerment of employees is giving them real incentive to effect the change :)
Multimethod library is mature, handles multiple dispatch, works with type annotations, and appears to have been stable and relatively complete more than a half decade before fastcore was released.
How hasn’t Google taken over and hired the Rust team? Weren’t they practically funding them by funding their parent, Mozilla?
'only'
I agree with Planks for sure. Calisthenics in general cause time to slow down to a crawl for me. 30 second timed-sets seem like an eternity.

Meditation goes very quickly for me if I am comfortable, but if I have any kind of sitting pain, it is an unbearable odyssey.
Argh, sorry. Yes, that was gross of me.
Learning Clojure. All of the FP theory I’d learned in university finally clicked and made sense. Also, it challenged my notion that the only sane languages were statically typed.
Have kids.

Not everyone would make a good parent or want to be one. That’s fine. There’s so many ways to live a whole life. But for me, becoming a parent made time simultaneously slow right down and race by.

I’m typing with one thumb as I rock my youngest to sleep so I’ll keep it short: you do countless things every single week that you probably never would have done again. And as they grow up those things constantly change. Variety keeps my weeks feeling absolutely loaded with meaningful segments. But it also flies by given how fast they grow as people.

Off the top of my head, this weekend only: climbed a playground, ran through a sprinkler, sidewalk chalk, played Mario 2, made trains from construction paper, remembered how to draw a star with one stroke. I danced and I sang.

It truly does slow life right down subjectively. I’m cherishing every moment. I didn’t think it was going to be this fulfilling.
Animated gifs are not arbitrary code and require no javascript. You're not really making a point that actually counters GP...
I pull out the SD card after boot. This is one of the benefits of running the system from RAM, instead of "disk".
With proper development practices, you can write clean Perl, even if you don't know much about the language. It has the same constructs as most other procedural languages and you can apply the same principles. Object orientation is a bit tricky though.

The thing is, Perl won't help you with discipline. If you want write-only code, Perl will compile it, no problem.

For that reason, it is the language of choice for one liners and throwaway scripts (and that's how I use it most or the times). But writing clean Perl is perfectly doable, though I usually prefer static languages if maintainable code is a priority (no Perl, no shell, not even Python).
It seems like they want customers to compare their 7200RPM drives to competitors' 5400RPM ones, but the power consumption numbers in the datasheet show the actual differences.

For many years, the WD Green series didn't even specify the RPM.

I hate marketing...
I've had this idea floating into my brain for a few years. I get excited about it for a weekend, realize how much work would be involved to facilitate the exchange in a "fair" way, and give up.

I really hope someone pulls the trigger and builds this out!
We don't disagree on your point. I'm just pointing out that the degree of punishment enacted on the professor could be much less severe than most people are imagining.
If a performance requiring human intervention counts as a clock, then a human-maintained physical clock should too. Why not get a head start with some 14th century cathedral clocks?
I've heard this a few time about submitting your first PR within one or two days at a company. It's cool and all for you to get code out there, and if you've got good CD it probably won't screw anything up, but I know my stack at work. I know there are nuances, and deliberate details, and designs, and prioritize and a million other things. How can a person be expected to write a bug fix and truly understand what is happening, when they may not even yet full understand the product yet?
> > In 100 years I hope to have grandchildren who knew me still living.

When asked what he wants people to say about him in 100 years, Woody Allen said "'He looks good for his age'".
I don't understand why we would think wave-function collapse would release radiation.
See the history of this B-school dean. He was the dean of Wharton b-school before. Prior to that, he was a professor at Stanford.

B-school deans reflect the corporate America: virtue signaling. I think, USC must be paying Dean Garrett at least a million dollar per annum or even more. This is the expected behavior from people like him.
Thats why they copy everything, no originality...lol
Perhaps a better threat scenario would have been "victim of banks confiscating their deposits", which is a much more realistic risk for people in the EU:

https://www.cbc.ca/news/business/cyprus-bank-account-tax-put...

(Also, the grandparent post perhaps should have given some context to the statement "Lightning made scaling possible", such as the fact that Bitcoin originally supported 32 MB blocks of transactions, before being "temporarily" limited to 1 MB. Alternative blockchains have managed without this artificial restriction, and without relying on complicated second-layer "solutions" like Lightning.)
Resume Writing Services
There are a lot of resume writing services online but you need to be cautious when choosing one. The service I received using Resume4Dummies exceeded my expectations so I definitely recommended using it. If you are looking for a professional resume writer resume4dummies.com is the one for you. It really helped me a lot.
Well, most of the Rust team was not employed by Mozilla, so that’s one reason why they have not.
So what killed Haskell is the parochialism, the inability to address the needs of the Enterprise.

I don’t think so. What killed Haskell in mainstream programming is its weird syntax. Rust looks like C so it passed that first sanity check. People hate that something so aesthetically basic could define the success of programming languages, but it seems pretty clear at this point. Languages have to basically look like C in order to be popular.
California (Quietly) Limits Unpopular Law That Restricted Freelancers
What does sloppy.io do? The site won't load for me.
I mean, the video games I play are 100-200gb each, with crazy large updates every couple days. I would probably go through 120gb in a couple days.
Yeah, Arch Linux is definitely not for beginners. The install process alone is hands-on and requires users to be experienced with command line configuration. Arch is for power users who want a ports-based Linux with great package management (pacman).
- when I read Clark Weissman's `LISP 1.5 Primer' in 1968

- when I finished a student programming assignment a year
later and realised that a well-chosen set of procedures constituted what we'd now call a DSL

- when I ported Martin Richards' very clean BCPL compiler and realized that you could write efficient code in something that wasn't Fortran

- when I read the Thompson/Ritchie paper on Unix

- when I completed my first reading of SICP
> Nitpick: this not true[0] because some updates

I specifically mentioned "security updates", not just any updates. For reasonable software that maintains a stable/ESR branch in the form of x.y.z, the .z updates are always bugfixes and security patches, no vendor-forced new feature.

> secrity regressions either embedded in or misrepresented as new features.

If you have this problem, then you've got a bigger trouble to solve... Unfortunately sometimes users have no control over it in many software.
oops. How embarrassing. I own & develop on a mac. But, still ignored Safari. :( Will fix it during lunch break. Thanks for spotting.
"must find a legal technicality, not a technical technicality."

I think we are ok as long as there are no precedents? Isnt that how smartass laws work?
Previously: https://news.ycombinator.com/item?id=24362808
The gif excuse doesn’t make sense. If Google was really concerned about that they would also provided a way to block huge gif, in addition to auto-play video.
Harvard Scientists Invent Materials That Can Remember Their Shape
This isn't wholly unreasonable. At some point we will stop worrying about state actors and start worrying about the Xeelee.
> The toy in question is a neon green and black handgun with an orange tip with the words “Zombie Hunter” printed on the side.

Pretty sure that's a nurf gun I've seen in walmart before.
> Contrary to what you might expect, instruction counts have proven much better than wall times when it comes to detecting performance changes on CI, because instruction counts are much less variable than wall times (e.g. ±0.1% vs ±3%; the former is highly useful, the latter is barely useful). Using instruction counts to compare the performance of two entirely different programs (e.g. GCC vs clang) would be foolish, but it’s reasonable to use them to compare the performance of two almost-identical programs (e.g. rustc before PR #12345 and rustc after PR #12345). It’s rare for instruction count changes to not match wall time changes in that situation. If the parallel version of the rustc front-end ever becomes the default, it will be interesting to see if instruction counts continue to be effective in this manner.

This is a supremely surprising conclusion, especially in 2020. Is instruction count really still tied to wall clock count? I would have thought that some instructions could be slower than others (especially on x86) so that using more faster individual instructions could be faster than 1 slower instruction. Similarly, cache effects & data dependencies can result in more instructions being faster than fewer instructions.

I think what the author is trying to say is that when evaluating micro-optimizations, cycle counts are pretty valuable still because you're making a small intentional change & evaluating its impact & usually the correlation holds. The dashboard clearly still measures wall-clock since just comparing instruction count over time would be misleading.

I'm curious if the Rust team has evaluated stabilizer to be more robust about the optimizations they choose: https://emeryberger.com/research/stabilizer/
And yet whatever the origin (I suspect nobody can seriously claim to definitely state the actual origin of such a term) its usage as such a list, not referring (necessarily, but indiscriminately so some might be!) to black people, dates back at least as far as the Restoration in 1660 England.
ReportCrash High CPU and How to Disable Reportcrash in Mac OS X
Come to think of it you could take the arguments made here and replace Haskell with Perl, and then also replace Rust with Haskell and it would still make more sense.
Wolfram Alpha is pretty good for random factual queries. It will even do computation, so you can ask for the number of dietary calories in a cubic lightyear of cream cheese. https://www.wolframalpha.com/

If you are looking more for proven statistics that get suppressed for political reasons, then the now-defunct hatefact site is what you want. It featured over 700 awkward facts, with citations. Archive as one big page: http://archive.is/LRe05 Archive with 1 page per category: http://hatefacts.subvert.pw/hub.html
I was expecting to read that 2x the heads would be marketed as spinning 2x faster, but ... it seems they are selling 7200 rpm drives as 5400.

There might be more power consumption, but in this case they are selling you a faster drive.

I kind of think this should be ok.

I wonder if mustang guys ordered a 6-cylinder mustang and got the v8 - would they complain about gas mileage?
I agree on your sentiments about Ruby/Rails. Rails also applies the philosophy of convention over configuration, so newcomers can’t usually just intuit what’s going on — you have to know their
specific conventions, which also seem to change with each major release. And one of my pet
peeves about Ruby as a language is the optional use of parentheses for function definitions and calls, making it harder to read through code quickly. In C-style syntax languages, it’s very obvious at a glance where functions are being called. Not so with Ruby.
Kudos to the author on producing an excellent, comprehensive yet readable, post (based on my initial very brief review)! Much appreciated. One thing that jumped at me, though, is the recommendation for the "I want to try deep learning, but I am not serious about it" scenario. Advising to use a physical GPU (unless it's already a part of the system at hand), especially RTX 2060 Super, IMO does not make any sense in this case. Using cheap cloud GPU instances is the optimal way to try deep learning.
It's true that there hasn't been much inflation in CPI, but there's no doubt that all the printed money has inflated asset prices.
On the contrary, better to let them be horribly inefficient, so that they're noticeably worse than alternatives that don't do that.

The other problem, though, is that that makes adblockers a bigger performance win.
Hmmm... Rust needs alot more given its slow reputation