skysight-inc/HackerNews huggingface dataset:
I love how many people there are in this thread that somehow avoided the jQuery hell a lot of us battled against.

I was involved in that, mostly from when my paycheque involved throwing together websites in Drupal 6. Holding that architecture together was trouble enough without having to also care about the frontend, we were only scripting it. The idea of the HTML being considered an 'app' was utterly alien to me and my colleagues at that time.

I fondly remember the short period of time where we had post after post attempting to explain what a closure is, because for most of the authors back then the concept of a function pulling outside variables into its scope was utterly alien to us. Even now this practical meme persists[0].

Ten years later and I find closures more intuitive than half the stuff we've concocted in OOP land.

More than that, jQuery was a means to an end and to shove low-effort animation and UI into an app to make it look snazzy and 'Web 2.0' like (glass effect banners, drop shadows and all). If it wasn't jQuery it was script.aculo.us.

Then we got Backbone and Coffeescript at around the same time, by which time I was a Ruby dev. Backbone contributed to a fundamental shift in how we build a frontend, and we had Knockout, Sencha, ExtJS, etc. following along. And then the concept of 'comet' (keeping an HTTP connection alive for long polling) and MeteorJS.

The impact of React and its concept of the VDOM has been phenomenal. It may be overhead as the Svelte authors say, but the experience of working with React, and any similar library in the ecosystem, is a boon to anyone who wants to do serious work in the browser. Without being hyperbolic this feels like the legacy of smalltalk: programming in a dynamic environment, only you're not actually aware that you are.

There has to be a fantastic retrospective on the progression of JS since that initial ten-day genesis.

[0] https://medium.com/dailyjs/i-never-understood-javascript-clo...
The Road to Zig 1.0
Communist military shoting workers - Berlin 1953, Gdansk 1970, Poznan 1956, Budapest 1956. Just out of top of my head. There were many more...

Communists are always down to this single argument at the end.

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

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

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

https://en.wikipedia.org/wiki/Pozna%C5%84_protests_of_1956

But also this - Blair Mountain - one milion rounds fired.

https://en.wikipedia.org/wiki/Battle_of_Blair_Mountain
(I am trying to tie the two concepts together from your reply, so I am not saying this to come off as combative but understand your objection)

- What would you define as a while? I think Go has done well with it, given that it is almost 10 years old now at this point, and in reality, was in development internally at Google years before that.

- Do you feel like an interface being frozen forever is particularly a bad thing in of itself? What if the interface does a really good job describing the thing, whatever it may be? For example, Go's io.Reader/io.Writer interfaces.

I agree sometimes an interface being frozen is bad, but for example when Go standardized the context package, it simply added "Context" to the existing functions that now take a context (e.g. in the database/sql package, you have the old, Exec, Query, QueryRow functions, and after 1.8 you have ExecContext, QueryContext, QueryRowContext, which some people may view as a reason to have method overloading, but I view as adding better clarity.
I believe there are some Linux kernel parameters to tune things.
>
And the web fixed these issues, one by one, on one end by being simplified by generations and generations of technologists

Creating a website today is much more complicated than it was in the 90s, where the web standards (e.g. HTML) were comparatively simple.
> Additionally vi is so configurable that one may be intimately familiar with their own vi configuration

Didn't even think of that - you could totally say the same about my Sublime editor =D

People are comfortable with their own tools and I don't like putting candidates into a corner with what they're using.
Well, it's been 25 years since the system was implemented in Portugal, and they've only increased.
I don't think any reasonable person would expect zero collisions. The weakness of CRC32 for even distribution of hash values was well-known. (CRC32's goal was a fast "checksum" instead of strong cryptographic hash.)

The point was CDDB's non-invented-here home-grown hash algorithm was worse than CRC32. He didn't extract the maximum entropy from the discs' metadata of song times to minimize future collisions.
There's also an official Chinese propaganda app on the App Store that you cannot even rate:

https://news.ycombinator.com/item?id=19601091
Here it comes in 5 and 15, but the price is almost triple so you don't really need calculator anyway.
I wish I had the resources to do this. Nintendo should make a smartphone Switch - with the smartphone price, hardware, and their games. (There’d be some serious technical hurdles for them to be comfortable with it.) They’re the perfect actor to revamp mobile gaming. They’ve got history making popular handheld gaming systems and IP millions love.
Taiwan Passes Law Allowing Same-Sex Marriage–A First for Asia
Nowadays I usually just check what's on sale on gog.com, sometimes on Steam, but gog.com has less junk games, cleaner UI and, most importantly, better reviews: I found out that users there criticize more, give lesser ratings and don't hesitate to describe bad aspects; on Steam basically every game, if it's not a complete trash, has "overwhelmingly positive" rating, on gog most popular games have pretty bad ratings. And of course it has lots of old games that I didn't had a chance to play in their era, for example I played original X-Com for the first time few weeks ago.

For a while, I also watched Twitch, but seems that everyone except most promoted streamers got tired and there's nothing except streams of Fortnite. I discovered few games from there, at the times when it was interesting.

My friends are mostly playing AAA games on Playstation nowadays, so unfortunately I lost this way of discovery too.
20 is not a big team. I work as part of a 100+ org on a rails codebase, and I know that isn't especially large.
Different taxes are applied for different reasons. The luxury tax is applied in the belief that those who have a higher financial status should be contributing more to the public funds. The pollution tax is applied in the belief that those who pollute more should also pay more and to potentially discourage people from buying polluting cards( in the presence of a better alternative, but for most people the model 3 might as well not exist right now because it's too expensive).

The truth is that there just aren't enough people who can afford a model 3 to make a dent in global warming. The model 3's effect is in terms of dealing with the risks involved with mass production without investing the amount of money needed for a truly disruptive model( think 15-25k cost, that would take A LOT more orders).
Instagram Reimagined for Windows 95
I felt the Faux Rogan spoke just a mite quicker than the Real Rogan.
the 5S, a phone from 2013, still gets iOS updates. What Android phone still gets updates 5.5 years after release?
Since we're also talking about CPU in general here..

I'm building a PC, initially wanted to use Intel because of hackintosh. But I don't think it's justified to have an already expensive CPU (Intel is more expensive than AMD) gets throttled down again due to patches.

So now I'm considering AMD. What would you recommend for developer? I will use it for Android, Docker and occasionally gaming.

(I'm aware that I most likely won't have hackintosh due to AMD)
> Be kind. Don't be snarky. Comments should get more thoughtful and substantive, not less, as a topic gets more divisive.

https://news.ycombinator.com/newsguidelines.html

https://mobile.twitter.com/sveltejs/status/10885005396404183...
Exactly. Assuming 10 songs per CD, you should see your first collision after around 6500 CDs. If he did CRC64, it would be after 400 million CDs.
Playing devil's advocate here with your "short product life" argument but Apple generally release operating system builds for older devices for much longer than, say, any Android manufacturer out there does. Why aren't we singling out Samsung or HTC too?

For example, iOS 12 still supports the iPhone 5S which was released in 2013 (and actually works perfectly well considering the age of the device, as my work phone can attest).

On the Mac front, macOS 10.14 is still wholly supported on computers released in 2012 (and that also works fine, as my 2012 MacBook Pro can also attest).

Apple themselves have even acknowledged that the purchasing of new devices has declined significantly recently as people tend to be happier with what they have for longer, knowing that it'll be supported for longer and get feature upgrades for longer. If anything, I would suggest that Apple have never had a harder time trying to persuade people to buy new products.
This is cool. Is the approach used to support generic disassembly like this strong enough to use for generic language definition and thus support a generic decompilation process ?
Cows are also among the most inefficient at converting food to ... food, and responsible for a large part of habitat destruction world wide (eg cutting the Amazon for pasture), which is I think an equally serous problem to global warming.
A City Is Not a Computer (2017)
What happens when you make the array size larger than your processor cache?
I'm skeptical of OpenAI, but to be charitable I don't think economic value is the primary goal for their AGI. Their position seems to be that it needs to be one of several necessary goals in order to repay investors for helping them scale up to achieve it in the first place.
What if AGI really leads to Skynet and the downfall of humanity? Then you’ve realized infinite negative returns in a success condition.

Not that I’m saying it will, but Pascal’s wager is known to be a huge fallacy.
SVGmator Animate SVG Files Fast
Linux Crontab
Please clarify whether you’re being ironic. It’s the internet; one can’t assume.
Linux Command Tutorial
Absolute Imports with Create React App. Plus ESLint and WebStorm Config
I don't understand how someone can proudly be a nuisance to those who sign their paychecks nor how can an employer tolerate any of it, at the very least this situation is unfair to the majority of employees who are just "going to work".

Not sure what's behind Google's inaction here, they really shouldn't be worried about the trouble makers defecting to somewhere else that most likely won't tolerate their bullshit.
Simply disabling Javascript works too.
You can still run MacOS in VM even when using AMD. https://www.youtube.com/watch?v=ATnpEOo3GJA
why do they?
To get to the point of having a "home feed" you have to choose an instance. It's not like Usenet where there was a default local NNRP server, no decision to be made

Having a basic grasp of what federation means is about as important in Mastodon as knowing what a "group" was on Usenet: it's the first concept one needs to learn.
OK so Korea has this weird system which says most banking/e-commerce transactions must be authenticated by a home-grown, country wide asymmetric crypto system. Basically to do commerce stuff online, you need to get a public key certificate that you can sign your online activity with from either the government or a banking institution.

The crypto nerds (including me) might think this is a splendid idea--perfect security!

The downside: they did this to shift the blame to the consumer if something goes wrong. If there is a credit card fraud, the consumer is automatically at fault by default, since obviously the consumer mishandled the public key crypto file. This makes sense, but this also means no chargebacks and other nasty side effects.

Also, this also meant that you had to install a bunch of ActiveX verging-on-malware-ware to get your banking shit settled. Now it supports Chrome and Firefox but holy crap, they install a ton of weird malware protection software and I'm pretty sure some of them take a cut from your computer's performance and stability. I'm just glad they don't display fucking ads.
To be fair, they are doing the former. iOS 12 actually made my iPhone 6– which I’ve had since 2014– noticeably faster.
"Past" is a preposition, e.g. "First past the post"
God I need to sell our apt. in Chicago...
Compulsory enlistment is awful for the economy because you're not only deploying "average Jr Google Dev" but also "Tenured MIT Professor" or even Stephen Hawking.
Most of them are of the types button and item though.
I view it in the same terms as an elected official who willfully courts lobbyists or something else legal, but still distasteful. Members of those pension classes have known forever that their pension amounts would bleed the city dry, but they went along with it anyway. It's technically not their fault, but only in a dry legal sense. They knew they were leaving the rest of us in a bad state.
To compound the problem, bash tends to attract the kind of care-free security-unconscious people who don't want to be bothered with going out of their way to handle unexpected "trivialities" like spaces in file names or carefully sanitizing user input or meticulously testing their code.

The same kind of lazy care-free people who love the convenience of PHP's "register_globals", because it "saves typing".

If they're too lazy to use something like Python in the first place, they're probably also too lazy to be conscientious and anal retentive enough to write and test bash scripts that handle spaces in file names properly, or do any kind of user input sanitization.

And they don't think twice about running their scripts as root, either. Or writing blog postings telling other people to copy and paste their code snippets into a root shell, or worse yet download and run them without auditing first, by piping curl into a root shell.

I recently had an Xcode project fail to build (blender, which uses cmake), because I was using a version of Xcode that had a space in its directory name (because I had foolishly added a space followed by the version number to the name "Xcode 9.4.1.app"). Of course that was because of some of the tools and custom build steps were calling out to bash. The problem wasn't in any of the source code or configuration files, it was in the file name of the tool itself! It took hours of frustration poring over machine generated project and makefiles to diagnose the problem from the obscure unhelpful error message, which I will never get back.

In the long term, isn't it more efficient of a lazy person's time to simply use a scripting language that just doesn't have these problems in the first place, and doesn't require you to preemptively bend over backwards and dodge silent invisible bullets all the time?

It's pretty ridiculous that a scripting language intended to be used to operate on files falls flat on its face and is so difficult to use when you have something as common and innocuous as files with spaces in their names (or worse yet, file names that begin with dashes -- think of the security implications of that: not something a lazy careless bash scripter would ever pause to reflect about)!

It really is an extremely common and unsolved problem. Notice how each "better answer" is actually worse than the last and comes with its own host of problems and edge cases and work-arounds:

https://unix.stackexchange.com/questions/9496/looping-throug...

https://stackoverflow.com/questions/3967707/file-names-with-...

https://www.cyberciti.biz/tips/handling-filenames-with-space...

https://www.tecmint.com/manage-linux-filenames-with-special-...

https://www.hecticgeek.com/2014/02/spaces-file-names-command...
I’m getting downvoted for pursuing this line of questioning, but... yes? I really don’t see why this is controversial. Let’s ignore edge cases. You’re a single dude. You’re used to living in a house. Suddenly your local environment is too expensive to live in a house with your current levels of employability.

Option 1 is to live on the streets with your current job. Given the derivative of the economy you will not be able to afford housing in the near future.

Option 2 is to move and seek a similar low paying job in an area with lower cost of living. Try to find a job, to acquire food and shelter.

Option 2 feels to me like it could be much safer. Both require living on the streets, but the second one provides a path to not doing that. I get that both are unpleasant. But why not?
The due process here was getting a warrant. No rights were violated.
There’s a lot of water and energy used turning trees into paper as well that this neglects.

Also just thinking about how much energy is in the TP doesn’t account for shipping it around at all.

I have no idea what the energy balance is, i just think this thread had vastly oversimplified.

Even the water volume may or may not be an issue. If you live somewhere that water is precious it’s a much different concern than if your location uses surface water that just ends up back in the same river downstream after a trip through your plumbing, for example.
I have no real understanding of the situation. But I believe the app is just a webview on top of various Saudi websites. It doesn't even do push notifications, they come instead through text messaging.
How is it a "myth"? She committed welfare fraud and was convicted as a result. The dollar amount is also accurate.
Why? It seems a very human-centric way to think. Such an entity wouldn't have ancestors that had to keep in groups to survive, so why would it be interested in making companions?

AI converting the mass of the solar system into stacks of $100 bills for its investors seems like a much more likely outcome.
I'm surprised more people don't use the logs in web servers. Out of the box they are already on and running with little overhead. They usually tell me everything I want to know about usage.

But I don't do things like custom headers:

> a header value generalizing the shape of the endpoint path
> (e.g. /products/foobarbaz → /products/:prod)

Instead I analyze the logs with Bash (grep, cut, awk, sort, uniq). In fact I think Apache's logs are one of the main places where I learned these tools.
Personal recommendation: Stardew Valley

Paid app, no microtransactions or ads.

Similar to the original Harvest Moon games.
No, empathy is the ability to feel what others are feeling, like one piano string resonating with another. Psychopaths may have the ability to model and emulate this trait but it does not really affect them. Psychopaths are emotional impostors who operate outside of the inborn rules of social animals.
From a business view, the big innovation of OpenAI is marketing an industrial R&D lab as something good CS people will join and investors will fund.

The calculus is more like DeepMind: Can they keep attracting top talent, can the top talent ever do something the org structure can execute on commercially, and maaaaybe, in likely worst case, can they recoup big losses via aquihire, and the responsible investors look like they were in good company if they were wrong.

From that lens. OpenAI... yet in reality mostly closed. Non-profit... But really VC model. Peer review may sometimes happen, but the perceived quality and awareness is from a top content marketing team and even ex journalists. No immediate commercial path beyond selling for talent, but by merely employing Sam, investors feel like he can always pivot the co to make money in the case of a down round.

DeepMind did something similar yet without the marketing skill. OpenAI is doing it even better by, for now, removing the pressure for commercialization.

As someone coming from both R&D and enterprise data startups, I get two conflicting emotions. I'm sad that almost all top tier scientists don't get such outreach and funding help. On the otherhand, the industry has not been able to repeat Bell Labs (widescale R&D that commercialized) for decades so OpenAI's continued ability to draw R&D funding without expectation of ROI in any timeline is cool.
Something I've been noticing about the reporting of this is that many news outlets are referring to Taiwan as the "country of Taiwan".
I rather interpret it as argument for "timelessness" of games. People still play 80s games, and it's not because 90s games are worse.

(However, Blizzard is degrading, and I find everything that they released after "original" WoW awful: SC2, Diablo 3, Overwatch, countless extensions for WoW, all of this look like developed by noname Chinese shop)
You can use `conda install rust_osx-64` on macOS and `conda install rust_linux-64` to use `cargo` with the Anaconda Distribution libraries and tools (including its compilers).
> According to a state statute, “Any woman who shall have been delivered of a mulatto child, the same shall be prima facie evidence of guilt without further proof and shall justify a conviction of the woman.” If Taylor had been declared a “Negro,” her mother would have been guilty of a felony.

1926 Georgia, a few years before Germany enacted similar laws.

As the article argues, she was almost obliged to become a fraudster; merely existing made her evidence of a crime, so she had to lie about her ancestry. From lying about ancestry as a necessity of survival to lying about it for personal gain.
The clearer explanation of “identity” in FP I have ever seen
It certainly was when it was the norm for insurers to deny pre-existing condition coverage.
> ... also allows you to define new operators ... I'm not sure about Rebol/Red - I had only passing contact with it long ago

You couldn't in Rebol 2. But you can in Rebol 3 (Ren/C branch) and Red.

For eg, lets take Rebol/Red `multiply` function and provide an infix operator for it (ie. replicating the `*` infix operator)...

Rebol 3 (Ren/C):

>> multiply 2 4
== 8

>> x: enfix :multiply

>> 2 x 4
== 8

Red:

>> x: make op! :multiply
== make op! [[
"Returns the product of two values"
value1 [number! char! pair! tuple! ...

>> 2 x 4
== 8
Replace text with case conversion using regular expressions
It's not down, it's broken. Instantly getting a 500 indicates a bed being shit.

If it was down we'd expect 502/503/504
I worked for two start ups of roughly that size back in the days of boo.com

...make sure the people are kind :)
I can inform on a serial killer in my family even if I didn't know they were a serial killer?

Shut up and take my DNA.
More importantly, it doesn't matter that there are many kinds of tasks that shell scripts aren't good at. It matters that there are tasks that shell scripts are good at, and indeed better suited to than any popular general-purpose language.

When you have a pipeline between two nontrivial programs, for example, or any kind of fd manipulation.
> think about the hacking capabilities of AGI for a moment

We're discussing the hypothetical skills and capabilities of a thing which is fundamentally science fiction. The rules are treated as arbitrary.

I don't see a priori why an AGI would be intrinsically good at hacking, or even why it would be capable of exponentially improving itself.

This is the problem I see with any discussion of AGI. The game's rules don't matter, so we can define whichever properties we'd like for the sake of argument. There's no skin in the game to counteract that, because we have no conception of what AGI will actually be like - nor if it's even possible.

As it stands, in your comment and the rest of this thread I see a variety of leaps and jumps to scenarios which seem completely undefended.
I disagree. tcl/tk is written in C and C can be compiled in very very badly indeed (from a security perspective).