skysight-inc/HackerNews huggingface dataset:
What should one do if after following those million guides it still doesn’t stick? I always end up googling what I want and hit SO. Is there something wrong with me or does numpy and pandas seem more difficult than they should be?
I bought a Google Pixel 3a when it came out. After trading in my Pixel 1 (with a damaged screen) and a rebate, it came out to $230 incl. taxes. I've been extremely happy with the phone. It's a huge upgrade over the Pixel 1 and I can use Apple wired earphones when I need to. For anyone looking into buying a new Android phone, I highly recommend the Pixel 3a.
"It's cleaner"
I think you’re subtracting quite a bit of historical context from your equation. The United States military and intelligence services through their weight behind making this globalization happen, policing trade routes and deposing economically unfriendly regimes. I don’t see them doing the same for labor any time in the near future...
> The C# one was faster then Go

As pointed out over here (https://news.ycombinator.com/item?id=20984503), Compared to C#, Go was faster (higher throughput) for smaller batch sizes, and it always had significantly lower latency.

.NET Core is particularly good these days, so I'm sure there are times when C# is definitely faster than Go, but the network driver isn't a great example to support that.
> There's nothing wrong with pulling in the `libc` dependency.

Yes, there is.
Not only is dependency transitive: you now depend on everything libc depends on — but now you're depending on the correctness AND properties of the dependency, to include security.
People may also mean different things by scale.

For me, scale means more micro-services. For another person it means a bigger monolith.
Because then you can't buy earphones that have been carefully engineered by audio companies to produce good sound, because those all come with 3.5 mm jacks.
> The interesting thing about Go is Rob Pike envisioned it as a systems programming language but any language with GC is a complete nonstarter as a systems programming language.

AFAIK, by "systems programming" he meant "non-user-facing programming", not "kernel or embedded programming". So, basically, servers, batch programs and other os utilities.
If I have time off to learn a new language in order to get a new Job, would Elm be a good choice?

I wonder if picking a niche language would give me an advantage or there would be too few jobs.
Drone attack took out a known weak spot with low-tech that Saudi couldn't stop
I remember my account was locked out completely even though I never did anything. Tried all passwords I knew, but of course you only get limited attempts (Why? If I'm using a brute-forceable password I'm already screwed, I'd rather have unlimited attempts to guess my complex password). I went through all the hoops to get a One-Time Password or whatever it was, tried it on all machines I own, no luck. That's when I decided it wasn't worth it to entrust all of my passwords to an opaque entity like that, it's not ideal, but it's better than losing access to everything I use.
Have you checked how much info can be found by just googling your first and last name in quotes? For many people their home address will show up thanks to whitePages.
EasyDNS threatened with criminal complaint if client data not disclosed
You needed to create a new account to make this comment?
For a Math.max function you would normally have generic comparables and implement on that.

Go makes you implement max and min in all your codebases.
By this logic, management doesn't share in the losses, either. But they are for damned sure collecting bonuses when times are good. Sounds to me like the union wants a piece of that same "times are good" action.
>In 2005 when the company lost $10 billion or in 2007 when they lost $38 billion the union workers didn't get bills in the mail instead of checks.

And you're saying that shareholders did get bills in the mail?
he also had another talk https://www.infoq.com/presentations/Design-Composition-Perfo...

and I would argue there's idea that simplicity of the instrument/tool is not a problem in itself and we shouldn't lose it in pursuit of 'ease'
Yes this is still true[1]

[1]: https://www.youtube.com/watch?v=4VNDjwzzKPo
Garbage collection makes Java, C#, and Go remarkably more productive for most programs.
Which is probably the reason Google have made tools like a decorator to transform code with generics to valid go code.
“My grandfather rode a camel, my father rode a camel, I drive a Mercedes, my son drives a Land Rover, his son will drive a Land Rover, but his son will ride a camel”
If you are only on Apple devices I would stay with Keychain Acess. Multi-platform? Bitwarden for me - if only for the external security audit they've done.
Yep, me too, I have the same phone. I'm probably going to upgrade to a newer model in this range eventually because the cameras are fantastic, but I'm annoyed they axed the removable battery.
Already heavily discussed within the past 24 hours:

https://news.ycombinator.com/item?id=20979624
SuSE Linux on Lenovo, Dell, HP, whatever
Origin-of-Life Study Points to Chemical Chimeras, Not RNA
Isn't the Google codebase infamously a monorepo with billions of loc? That seems like it fits "scale of codebase complexity" as well as "web scale"
> Well, you could answer that Go is what you know, so that’s what you used to solve your problem, but that’s probably not going to be a satisfactory answer.

It should be
Huh. It didn't even occur to me that they could also be using the app on my phone to do the same thing, and do it more accurately.
Build and Validate Forms in React Native Using Formik and Yup
Seconded. I’d like to know who got these bills when GM was losing money.
Keychain on macOS and iOS and keepassXC.
What does hours “worked” have to do with making “mindful” purchases and “reducing environmental impact”?

Reading this headline I thought it was something like a “reward” system where you can accumulate “points” as you complete your tasks.
Reacting to this: "I can imagine that a page of mathematics requires more expertise and time to write than a page of fiction."

I cannot say exactly how much time it takes to write a page of math, but I do know that many underestimate the time it takes to write a page of fiction. Sure Dan Brown probably knocks out a page of pulpy prose in an hour. But that's not exactly equivalent to critical reviewed, prize winning, literature. Nor is it what most writers strive for. Many fiction writers have spent years writing their books, recieved graduate degrees (some that they paid for), stuck failed novels in drawers, produced multiple drafts, been rejected hundreds of times, etc. I.E. labored over each page and fought for each step. Beloved was Toni Morrison's 5th book, not published until she was 56. That's decades of work to get to that point. Try looking at any page of James Joyce Ulyssess. That book alone spawned the PhDs of hundreds (thousands?) of scholars in English departments across the world just to understand it. Math too takes this level of work, it's just that they're more equivalent than some think.

Except, even though many fiction writers labor over every word and punctuation mark, there are not the same institutions to support them as there are mathematicians. Want to pursue a career in math? - enroll in a fully funded PhD in Mathematics, hopefully get a post-doc, then a tenure track job, etc. Admittedly not all succeed on this route, and it's not easy, there are teaching and publication responsibilities, but it exists. For writing? You're on your own until you produce critically acclaimed works, generally two successful books, usually while pursuing separate careers. Then you can apply for tenure-track jobs. There's not the same caccoon to usher in writing talent. Even Dan Brown, whose prose I just bashed, spent 14 years as a songwriter and High School English teacher before the Da Vinci code (his fourth book) garnered attention.

So I'd disagree, many (most? - not sure) fiction takes significant expertise and time to produce, and usually without the support of academic institutions that budding math talent has.
I haven't written a ton of go, but my read on the language is that it's built for large teams with lots of turnover. It makes it really easy to write boring, readable code and it makes it really hard to write code which is too clever by half.

If I am choosing a language for a personal project, or for a small team of developers I'm really confident in, I'm probably going to choose something which is more fun to write. But if I had to recommend a tool for a large shop where long-term maintainability regardless of the team makeup is more important than programmer happiness, Go seems like a great option.
> it also enables safe concurrency

Small correction, Rust provides a barrier against data access race conditions. It does not prevent deadlocks, cache hits/misses, work distribution bottlenecks, or any number of other concurrency issues.
I absolutely love this idea, but was surprised to see a digital input for handwriting style. I was expecting something along the lines of "take an image of your handwriting and upload it".

Where does the machine learning fit in? First guess is connection between letters but ill have to wait till I'm not at a keyboard to test this out.
Unless you want to implement that on top of your custom structure, like, for example, b-tree. Then you either need to write N different implementations for each separate tree or you need to use `interface{}`.
I considered using Rust for a project, but I ended up going with C# because it appeared to have better support for Oracle database access and I could easily have a nice Windows desktop UI. C# seems more mature or fleshed out, but some of that may just be due to the "simplicity" of Go.
Or just leave it plugged in, i don't think the glue is really necessary. I bought one of these, on the grounds of some good reviews on audiophile sites:

https://www.hidizs.net/products/dac-cable

It's tiny, so it just becomes part of the earphone cable.
Graphics code has a long history of memory unsafety, in more recent years causing serious security issues when we tried to put OpenGL on the web with WebGL, resulting in every device driver bug turning into a kernel-level vulnerability in the JS code. You've got a lot of people writing code with more brains than discipline [1], writing in an environment where performance is priorities one, two, and three, writing in memory unsafe languages... yeah, memory unsafety in rendering code been a big problem for a long time.

[1]: One of the most dangerous types of coder there is is the brilliant one, who has several times the working memory capacity of a normal person, and who can write 1000-line "functions" without breaking a sweat, and builds entire codebases out of such things. (Sometimes, perhaps the core loop of a program will be a bit of a monster, but the whole program isn't like that.) The cost of salvaging such things can be disturbingly close to the cost of rewriting such things, and indeed, the process for either may not be all that different.
There is a significant difference between the barebones DAC and a phone like the LGG7 which has a big focus on audio, both through the jack as well as through their boombox speaker.
Because people don't want to fuck around with a stupid dongle to have a feature that the phone should have had in the first place. Dongles get lost, and you also can't charge the phone and use the dongle at the same time. Maybe you don't think it's a big deal, but when the asking price of the device is $1k, any little annoyance like that is a legitimate deal-breaker: for that much money, it should have everything, instead of stripping features out to save money.
I think OP thinks about different scale.

It's not scale about number of users or data, it's complexity scale.

Last enterprise app i worked on had (provided) something like 10.000 different api calls (and yes mostly because of bad/wrong initial design decisions), and over 50k different possible queries that it could run against database. (my job was to "make database go faster")

Just running unit tests took longer than 6hrs (of course most unit test went out and connected to the database, because why not \s).

It all could be replaced with dozen or so 10k to 30k lines go projects each, that would be a lot easier to maintain and to scale out.
There are good factory workers, and bad factory workers. On one side you have those that do the absolute minimum (just like any job), while on the other you have people that know how to work more machines and are more helpful in diagnosing production issues etc.

The flaw here is that the only thing that matters is how long you've been hired. Not how good you are. Similar to teachers. Higher pay, shift preference, vacation scheduling, overtime availability, it all goes to the senior employees.
The Stable-Kernel Process
The problem, for me, with Rust is a lot of people who evangelize it seem to think there should only be one programming language.

It's kind of a put-off.
It’s the same company if the same executives, managers, salaried and union employees are still there.

Did they rehire everyone and start their plants from scratch when the legal entity changed?
IMO, Rust + GC = OCaml.
> any language with GC is a complete nonstarter as a systems programming language

If it was possible to write whole operating systems in garbage-collected LISP in the 80s, then it surely is possible to use a GC'ed language for systems programming thirty years later.
And then you can't use the headphones anywhere else.
> Why is the base e? Why isn't it 2, like this

One of the many things that makes e special is that e^x is the only function that is its own derivative. One of the things that make sin and cos special is that they are each other's derivatives (except for a change of sign in the case of dcos/dx). This doesn't prove anything on its own, but it suggests that there might be some relationship between e and the trig functions, and Euler's equation proves that indeed there is.
They don't all have DACs attached to output pins.
I tell everyone I can about bitwarden. I see many colleagues using Dashlane or even LastPass but bitwarden just takes the cake for me. It does a great job at staying out of the way and reliably doing whatever it is I need it to do and I can’t recommend it enough!
what works for me is that i got into the habit of never answering a message immediately. in one way it's a form of ignoring distraction, but for me it's actually about not letting others control my time. i don't want to give others the power to make me jump and do what they need whenever they request it. so even if i see the message, i'll push it away so that i can remain in control of the moment, and i'll get back to it when i choose.

the key here i think is to hold on to the focus that i had before the distraction came in as good as i can. it depends on what you are doing, but in the example the author gave, i'd have said: "hold on for a moment, i just want to get rid of this distraction", and then do the absolute minimum necessary to get rid of it before returning my focus to the activity at hand.
Video piracy's gone down specifically due to Netflix. As each brand stops allowing Neflix to host their content, and as long as income remains to flat for a large portion of America, I'm expecting video piracy to make a comeback as soon as people remember it exists. Subscribing to HBO, CBS, Disney, and whoever else, on top of Netflix, will soon become cost prohibitive. Doing without isn't a consideration, so
illegal alternatives will thrive. (Not that they haven't been, but Netflix was sufficiently convenient that most people didn't bother.)
Interesting.

I wonder how nice a PL/SQL & Ada combined environment/IDE could be.
Microsoft's New Data Center Sits at the Bottom of the Sea
> just buying earphones that use USBC as input

Ugh. No way. Phones are pretty much the only devices that are letting go of their headphone jacks. A USB-C headphone is extremely limited in its use, and is guaranteed to cost more than one with a 3.5mm plug. How are you going to watch a movie on an airplane with your USB-C headphones?

Bluetooth headphones are just as bad. You can get a passable set of wired headphones for < $30. Good luck finding a pair of bluetooth headphones worth it in that price range.
I really wouldn't worry about it - I've been using Python for data work for the last 5 years or so and I have to look stuff all the time. Eventually the basic stuff sticks but it's like any kind of coding, I don't think anyone ever hits the point where they hardly ever have to Google stuff.

One useful tip I can suggest is to create a repo for useful code snippets, so if you ever find yourself doing something new that you think you might need again, just spend a bit of time commenting and describing it and add it to the repo. That way instead of having to spend time searching you'll hopefully remember doing it before and be able to find it easily.
This is cool. Please consider adding a way to increase the size of the artboard and compose images on it. Put differently, let me "uncrop" the image or add margins.

Multiple times this week I had to pad height or width to a trimmed image to look good on apps like Instagram, or Tinder, or a Facebook cover page.
Yes, but much (if not most) of that codebase is in C++.
Everyone who pays US taxes and/or owns USD (via devaluation).

https://www.thebalance.com/auto-industry-bailout-gm-ford-chr...

https://money.cnn.com/2014/05/29/news/companies/gm-profit-ba...
Until a phone has 2 USB-C ports it's absolutely a dealbreaker.
The book is a bit expensive, although I'd like to have a copy.

Given the turn that modern politics has taken, I guess all that matters was this sentence:

"Today, as cultures cross-pollinate, and as technologies topple timeless ways of living, it is an open question whether the familiarity of Rome’s ancient forms will be felt much by those who live in the future, beyond the next horizon."

It's not a bad question really, with 'Rome' as a stand-in for all the well-worn bits of culture. Are 500 year old nursery rhymes still in practice and will they be? You can certainly see the change in the teaching of literature in schools. Latin or Greek are scarcely taught anymore. No doubt there are 100's of examples. 'Rome' of course is an imaginary construct that is really a later Anglo-American version of historical matters.

I doubt I'll live long enough to see the results of states that knock out the underpinnings of common culture. Perhaps they'll build their own fresh ones, perhaps it never mattered.
Hierarchical Decision Making by Generating and Following Natural Language
Not only is Saudi oil money flowing into SV; it's also been flowing into US higher education institutes and media companies.
Some ways they buy influence with that oil money: https://www.opindia.com/2016/03/money-talks-and-walks-even-i...
Looks like you have some great ideas here, I’ve been interested in code execution systems similar to this and would love to read your source code.
Lego Minifigures Being Made
> The point is specifically that because they don’t share in the losses[1]

Assuming it's true they had their wages reduced in the crisis, it's absolutely disingenious to claim that a return to higher wages post-crisis would be undeserved profiteering. They did share in the losses.
Another Side Channel in Intel Chips
I agree with this assessment. Swift has a lot of the things that make Rust nice to work with, but favors usability over performance while Rust does the reverse.

> Too bad that outside of iOS development it's still unusable.

Sub-optimal for sure, but not unusable. It's being used in production on the server in several instances.
Tweebr
I think you described exactly why writing good software is hard. Not because writing good software is an intractable problem, but because politics often takes precedence over it.

In the business world there is a lot of room for BS so people get away with it. But in software, it can doom a project.
From personal anecdotal data, it’s also common for HK couples to live even further away; as in different countries for years. I’ve know several families from HK where the husband stayed behind just so his family could leave for western countries before the handover years back
I’m not sure i would describe those graphs as “beautiful”
Yes, custom containers are one place that generics are very useful.

Go has the most useful containers built in. Most code I write doesn't need custom containers, even in languages with templates (I write far more C++ and Java than Go) -- so I find that I don't miss them much when I spend time in Gopherspace.
It’s different; it’s much worse. Epstein was retail evil. Saudi Arabia is wholesale evil. Unfortunately, human nature makes it much easier to grasp retail-level evil, so we’re much more horrified by it.
I just saw some Evian water in a nice container to spray on people's faces for $8. The market in the Western world has jumped the shark. It'll put up with many things thrown at it.
> Really hoping we will see prices decrease for higher-end e-ink displays.

Unlikely to happen: similar to silicon, eink's yield (that is, amount of parts produced with no errors) goes down quickly (quadratic if not cubic, I forgot) with increasing size.

A system based on lots of eink chiplets with small enough margins that you can tile them could scale up, but the margins are also a difficult area.
South African court rules against mass surveillance on citizens by the state
The biggest problem with elm in production right now is that there is no backward compatibility yet (version < 1.0). Code written in Elm 0.18 is not compatible with code written in Elm 0.19.
Good point. But let's take it a step further. The workers might not "share" __directly__ in the financial losses, but certainly if the company is struggling they lack opportunity for career growth, and such. To say nothing of the fact that struggling conpanies seem to be fond of cutting corners on safety and other things that comprise the the quality of work life for the workers.

As with ao many things: it's complicated.
Marketing, type setting, cover design, editing, distribution channels, licenses for fonts, lawyers for contracts between everyone, accountants for managing the money flow of all the above, analysts to track how well each genre is selling and why, etc? And if the cover is particularly glossy, has metallic shiny lettering, velvet, etc. That also jacks price because that stuff all has to be custom made.
This is not a great time for the UAW to be staging any kind of strike. Why? Because a bunch of UAW top officials from the president on down are facing federal charges for embezzling from their workers.

https://www.reuters.com/article/us-autos-corruption-labor-fa...

The UAW shouldn't be striking when under under indictment as they are weak. It's also at a time when auto sales are weakening.
SQL and Now GQL
I still have an M7 and an M9 in a drawer somewhere. If they were GSM-unlocked, I would probably have thrown LineageOS onto the M9 and continued to use it. Unfortunately, they were both "Verizon" editions (due to the CDMA modem variant), and stopped receiving updates.

I debated switching to an HTC 10 at some point, but I had heard alot of anecdotal evidence about high failure rates for the phone after a couple years.

Again, it's a real shame. The HTC 10's chamfered aluminum looked gorgeous. I would pay for an identical-looking back on top of a phone with a bezel-less front and modern internals.
> any language with GC is a complete nonstarter as a systems programming language

As someone else hinted, your rant loses everyone familiar with the history of computing right here.

"There were bugs in Go at one time" is not much of an argument against it either.
The ever-winning lottery ticket: Mathematicians solve a dusty mystery