skysight-inc/HackerNews huggingface dataset:
Worth noting the Project Managers who are certified "PMP"s attest to a code of conduct that includes:
"take actions based on the best interests of society, public safety, and the environment."
It requires that PMP's report any unethical practices to "appropriate management".
Pretty weak, but hey, it's better than nothing.
> You may not, but indenting different s-exps in different ways based on their first element is not "correct," it's just... what most people choose to do.

They are not just s-expressions. They are programs. Just like a C code is not a random string, but a program.
> The point is that "suddenly" people started measuring a higher baryon density to make it fit what was required

W...what? Do you really believe that different scientific organizations in different countries around the world financed and sent different satellites into space but misrepresented the actually measured values only to "fit" some old theoretical predictions?

Really?

Then there's really no point discussing anything about science with you.
It's not totally a heuristic, though it's intractable to use it the real way. Which theory has a shorter program that generates it?
TLDR: audio “shaders”.
i picked up c++ for some gpu stuff with the arrayfire api... felt the same. firstly, modern c++ takes no time to learn if you come from java / c/ c# / etc. secondly, things like operator overloading and type inference make for pretty seamless apis. E.g. want to add matrices? auto C = A + B.

A lot of things suck (closures, generator functions, first order functions all suck in c++), but oh my does it all run fast when you get it working; plus wrapping it with Rcpp or Lua is easy as pie.
It's almost certainly less efficient when you account for spoilage (namely all of the crazy seasonal work you need to do every year to keep all of your surplus from spoiling so you can eat it out of season). The market is pretty efficient, it turns out.
> Broadcasting your terms isn't the same as the listener agreeing to it.

This is the point OP seems to be making about online publishers.
Sudden power drop would be too noticable.
The author of the negative mass theory said that it will be testable via the cubic kilometer ice array in Antarctica when it comes online (though I'm not sure how). He mentions it in his chain of 17 tweets that summarize the theory .
"The oldest continuous ice core records to date extend 123,000 years in Greenland and 800,000 years in Antarctica."

https://www.bas.ac.uk/data/our-data/publication/ice-cores-an...

It's not a scale of millions of years but that's pretty good.
Electron is a native app. so agree, don't like it, prefer web app
Maybe you are happy with a race to the lowest common denominator in regards to quality and expectations, but IMO that serves any platform terribly.

Using a QT app within a GTK window manager always sticks out in numerous ways (though probably less than most Electron apps), just like these bloated web wrappers do to long time Mac users.

If I were a Linux user, I'd rather a well-thought out App using the native toolkit that adheres to the platform interface guidelines than this Wild West any day.
In case anybody else was wondering, since this isn't in the fine article:

"PyTorch is a Python package that provides two high-level features:

* Tensor computation (like NumPy) with strong GPU acceleration

* Deep neural networks built on a tape-based autograd system

You can reuse your favorite Python packages such as NumPy, SciPy and Cython to extend PyTorch when needed."
Hi Peter! Thanks for doing the AMA. Do you know what is the current processing time for prevailing wage (PERM)? I believe my lawyers applied on August, no response yet from the DOL. (Their website doesn't display updated response times)
Yeah, I get it, even art has to follow some ground rules to begin with, but do we know what exactly is it that makes Beethoven’s “Fur Elise” such a great composition?
Fixing a Tough Memory Leak in Python
His daughter recently published a memoir portraying Steve and his wife as creepy in the extreme. There's a number of excerpts out there as well.

https://www.amazon.com/Small-Fry-Lisa-Brennan-Jobs/dp/080212...
Definitely this. I was not prepared for the sheer amount of time it would take for my most recent job search. Getting interviews was dead easy, and I passed 95% of my phone screens. Onsites just kept going the wrong way for me. Every time I got that call (why do they insist on calling to deliver s rejection, anyway?), it felt like an expensive mistake.

Luckily, I ended up somewhere that I actually like and am making more money than at my previous gig, so it all worked out, but those months spending down savings started to wear on me.
Yeah, but aren’t you worried you’re going to really eat crow when you find out that the industrial features of grains are decisively harmful for the environment?

Like obviously meat production is too. But did you consider that wiping out insects might have as much to do with grain pesticides as produce pesticides?

It would be smarter if you just said the truth, which is “It’s hard to tell if the economic costs of grain production (like environmental damage) line up with the accounting costs (what shows up in a price per metric ton), because our framework for accounting for environmental damage has basically never slowed down production in a single market before lower prices has.”

Really, even nuclear power plants still make money right? Name one market where accounting for environmental damage reduces supply before a decline in prices did.

It should be obvious that what I’m saying isn’t an oxymoron. Organic produce is supposed to “account” for environmental costs, and it’s oftentimes more profitable to make. So the same land will be induced into making whatever is most profitable per acre. Obviously the problem is that people are incentivized to make the accounting costs of environmental impact as small as possible, even when selling organic produce. And that’s the problem.
Spotify is web based but not electron
Isn't that exactly what we're doing, though? The essence of cheap junk calories is grain (flour), soybean oil (another plant with similar growing needs), sugar (largely from grain in the US - high fructose corn syrup - but sugarcane is also easy to grow at scale), and meat from grain-fed chickens and cows.

All this stuff is shipped to factories, where it is broken down into refined materials for other factories, that make the junk food - burgers, sliced bread, candy bars, whatever - that are sealed or frozen for portability and shelf stability.

This is how we've doubled the population of the planet in 50 years, while bringing per-capita food cost to the lowest point in human history.
Not true. You can use the Xcode command line tools now, without actually installing the full Xcode. I do this on my home machine and it's fine.
ManageWP uses the WordPress api to update plugins and themes
>America has its own politics of race, identity, and nationality that have significant differences from the way it works in Europe.

The average European has a much better grasp of those than the average American has of any European situation (assuming they can even pinpoint France on the map, that is).

We read lots of American news, websites and books, follow US music, movies, and so on. With a small exception of UK music, the US can hardly do 1/100th of the European following US culture we do.
Is there any point with bothering with US immigation if you're not impressed by the western europe <-> US income difference?
And yet, every election cycle there will be candidates complaining that the regulations are too burdensome and killing entrepreneurship.

> because the rules are clearly defined and the same for everyone.

The rules are the same for citizens and non-citizens? There is a reason why the Immigration lawyer AMAs on this site are so popular.
Apple vs. Google USB-C Headphone Adapters
As a Chinese national, I have never believed in that country. My personal observation is that the country has been getting worse since 2005. That’s why I left there or escaped. However ridiculous you think it is for Trump being a president, you see people make fun of him freely without being worried for retaliation. If you dare do the similar in China, or even sincerely criticizing politicians, you will be in trouble.

This is my baseline test for a good/bad country. China has never gone out of the state of being a monarchy state it has been for thousands of years.
>(one tractor working in a big field is a lot more economical than 1200 humans working in 1200 gardens).

Sure. But 1200 humans working in 1200 gardens is also a lot more economical than 1200 humans sitting at home playing Fortnite all day because there are no jobs.

The idea of employment guarantees as welfare policy has been getting traction, and programs like this where raw output isn't the main goal would be good candidates.
I went to China a few months ago and had similar thoughts:

United States
There's a lot more to say, but overall, the trip made me very optimistic about the future of the United States.

China's cost advantage is disappearing. A 1.5-hour boat ride with a bit of transportation on both ends was almost $100 (US), and that was after we'd haggled them down. At those prices, cost advantages aren't a slam-dunk, and the distance (both geographic and cultural) start to weigh more heavily.

Add in the trade difficulties, not just the tariffs but the "local partnership" requirements, ongoing government interference in the market, and lax attitude toward IP protection, and I don't think China is such a great deal anymore. I don't think Trump's dream of a huge US manufacturing industry will come to pass, but for high-skilled stuff, the case for staying in the US is stronger than ever, especially considering our great infrastructure, well-educated populace, and sustainable environmental practices.

In sum, I think China is currently at its best, while the US is at its worst. They're coming off a long cycle of growth, while the US is eating itself alive with budget deficits, partisan conflict, and labor strikes. But as with people, the true test is how something does when at its worst, not when everything is smooth sailing.

http://www.davidralbrecht.com/notes/2018/10/back-from-china....
I had a job where we had our normal PTO, but at the same time, my immediate boss allowed us to take PTO without removing it from the official system. In this sort of arrangement you tend to respect the business. You don't want to abuse the system and ruin it for yourself or anyone else, but you also aren't getting screwed over by the lack of saved up PTO when you leave. It's strange but it was by far the best way of dealing with this that i've ever seen.

What ultimately occurred was when people went on a real vacation, they used their real PTO. for all the other life stuff like dr's appts and sick days and whatever, those just got ignored. this is how it should be. trust your employees people.

sorry it doesn't answer your question OP but hopefully any HR people reading this will see how they can modify the policy to help everyone.
Google exploited Safari to track users who had opted-out of being tracked so relying on them to respect a cookie may have been futile even if they supported it.

The current charges involve Google's use of special
computer code to trick Apple's Safari Web-browsing
software into letting it monitor users that had blocked
such tracking.

https://money.cnn.com/2012/02/17/technology/google_tracking_...
In Norway, yes. In the rest of the world which is #1 price conscious, cars will be along for a while unless they are near the equator with tons of sunlight and cheap panels + functioning grid.
> It's about sunk cost

Ugh, I don't even have a family and the amount of time spent on phone screenings, pairing sessions, whiteboarding, and take-home code challenges becomes staggering. What sucks is the more places you apply to, the more the inefficiency of proving that you can program rears its head. I'm not against these things per se, but even spending just a few weeks applying to companies and doing those things gets tiring and demoralizing. I can't even imagine what this will be like in 10+ years when I'm older and have people depending on me.
> BBEdit and Sublime Text these days, both of which are much faster and less resource-intensive than their cross-platform counterparts

Sublime Text is fast and cross-platform.
"The subsidy arrow in America points solidly toward the middle because that's where it's needed most right now."

No, that's revisionism. We've been fire-hosing money at rural areas for decades, if not longer. This isn't a recent thing, and it's mostly because our system of government has one branch that over-represents the voices of rural citizens.

"San Francisco and Los Angeles want to build a train that only connects those two cities and leave the rest of the state high and dry, then they can spend their own money on it."

If you expect people to pave roads and provide drinking water and put out forest fires out in Bakersfield, maybe you can spend your own money on it. We'll gladly take our money away from that, and spend it on things we need...like mass transit. Keep up with this absolutist, ultimatum line of thinking, and you're going to lose.
Gruber's point is it's not "great." These apps do not feel like Mac apps and do not obey Mac app conventions. Even in VSCode, there is hardly a single interaction that behaves properly. Scrolling, cursor movements, menus, table selection, resizing, drag and drop: they all behave wrong.

The more apps like this, the more they erode the UI vocabulary that the Mac has built up.
12 weird science facts to share with your family this holiday
Ok, so wait. If native Mac apps were better when the market was much smaller, what gives?
It could be a reaction to what's happening in China. But it could also be a reaction to what's happening at the WSJ. Rupert Murdoch, who among many media properties created and owns Fox News, bought the WSJ in 2007. That led to changes both obvious and subtle: http://www.journalism.org/2011/07/20/wall-street-journal-und...
>if any, it is a regression in terms of feeding the world's growing population.

Food security is a distribution problem, not a production problem. We're already producing far far more food than we consume or would even need to consume. Big Ag likes to pretend they need higher yields in order to feed the hungry but they're full of it. They want to produce more for cheaper and pocket the margin, but they're not going to do jack squat to get that production out to the people who need it.
There is no court system in China to handle dispute resolution —- at least not like what exists in the US. I asked a businessman in China about dispute resolution recently, and he said it’s inconsistent and every province does it differently. There is a reason why in China many of the biggest businesses are located near where the government is located.
How will EVs or vehicles running on alternate fuel sources work in areas where there is no fuel distribution system to support them?
But did you consider taking it to a repair shop?

Consumer electronics are very reliable, if the product lives through the warranty period, it's likely to last for years. Which leaves a small window of opportunity to service expensive and relatively new, but out of warranty products, and many repairs will be impossible or prohibitively expensive. It's not like the old days where a few drawers of spare parts could fix most problems, now much of the functionality for most products is embedded in a control board that's not available as a replacement, you have to scavenge it from another product (and hope that the hardware rev is compatible with yours).

So yeah, you can fix some things with discrete components, but you're pretty much limited to expensive products - you likely can't fix a $49 blu-ray player at a price you can make a living from.
Hello, Peter.

I am on H-1B and have had it for just over 3 years. I also have an I-140 for the green card application.

If I leave my job and go back to my country for a few months,
- can I start work again on the same H-1B (no need to go to lottery) in a few months, provided I can find an employer willing to sponsor my visa?
- How long can it take before I actually come back to USA and start working on the re-sponsored visa? I am asking due to concerns about the slow process of visa transfers lately.
The electron API surface is rather small. https://electronjs.org/docs Everything else is standard web stuff.
Who’s Tracking Your License Plate?
Oh. So can I hold O-1 And H1B together? can I work parallel to both (my employer and startup)? I want to utilize this new venture to go on EB-1A (Extraordinary ability). Is it possible?
What I really liked about this article is that this idea looks like it could be applied just about anywhere. What I think the folks in Atlanta need to do next is to produce a manual that shares what they've learned, what works and what doesn't.

Then you could realistically launch in other cities like Detroit that appears to be tailor made for this type of program.
Where Is Americans’ Outrage Over Huawei Arrest?
Electron really needs to heed the experiences of the past, if they want to really thrive.

Smalltalk had what was both an utopian and a dystopian story and experience when it came to cross platform. For most Smalltalks, the abstract runtime memory model ran bit identically across all platforms. Essentially, everything ran the same ISA and runtime memory model as implemented by the Virtual Machine. Squeak Smalltalk runs bit identically across many dozens of combinations of hardware and OS.

The dystopian part came primarily from 1) lack of polish in the deployment tools, 2) high resource requirements at first, creating a poor performance reputation that never went away, and 3) a development culture that never prioritized UX and look and feel.

EDIT: And it's not just Smalltalk that had those pitfalls. It's also Java Swing. Tcl/Tk. Also, to one extent or another, any number of cross platform tools and libraries. Given we've been at it so long, and the same mistakes have happened so many times, the pitfalls for cross platform GUI must be quite severe and hard to see.

While I’m in full-on you-kids-get-the-hell-off-my-lawn mode here, let me mention another Mojave gripe that is clearly the work of young developers at Apple. The Finder’s File → Show Original command has had the shortcut ⌘R since, I think, System 6. (Select an alias or symlink and this command will reveal the original file.)

This is exactly the kind of arrogant, smarmy stuff which alienates power users. "Who uses that stuff anymore?" Well, quite often, it's power users and influencers, and quite often, there was zero research done to see if that's the case before the feature is removed by young devs.
I sometimes parse web data with uC based devices that are not capable of doing https with the memory space available. I appreciate the ability to use http when I need to.
> between rounds of Overwatch

Ah, an Overwatch player. This explains everything ;)

In all seriousness, WSL has improved A LOT and I use it frequently on my gaming PC so I don't have to pull out my MacBook. Performance is definitely a bit worse but I have a Ryzen 2700X and an NVMe drive, so it's still plenty quick enough despite the inefficiencies on the software side of things. I used to always dual boot Linux on my desktops, but I just don't have a need to do that anymore.
It seems to run best if you have all Intel for the CPU, networking and graphics, and your machine is at least a year or two old. I would assume Thinkpads are the best supported hardware.
>Most famously, it says that in the first Soviet government almost all of the ministers were jewish people; in fact it was less than a half of them who were jewish.

I think you are confusing him with Putin, who actually said that. He said the cheka was mostly jewish. Which is correct.
> If I were a Linux user, I'd rather a well-thought out App using the native toolkit

I agree if this is a choice. But the reality is often a non-existent Linux app, because "it's not worth it" to implement it for Linux or an app which comes much later than the windows version and is of subpar quality.

If that is the choice then I'd rather have a non-native app than no app at all.

Linux desktop usage is 1-2%, so in practice most apps won't be implemented for Linux if it has to be done natively.
> Is it really unreasonable for children to expect their parents world to pretty much revolve around them?

Yes it is. It is reasonable to expect care and relationship. It is not reasonable to expect your hobby to treated as something more special then hobbies of siblings, grandparents and parents. It is reasonable for other family members to expect kid to participate on activities I mentioned no matter what their interests are.

Parents world revolve around children when they are danger to themselves due to young age or sickness or behavioral problems. It revolves around children for many unavoidable reasons, gaming not being one of them.

It is not reasonable to expect to be tiptoed around just because your choice of hobby. In fact, it is expected that parents teach this the kid.

> Is it really absurd to expect parents to show just a little bit of interest in their kids hobbies?

To be able to listen about it? Yes. To be participating? No. Just like with any other kids interest like collecting little pink ponies or memorizing flags.

If the kid cant organize the game (stop playing soon enough to be at time) while still participating in outside world, then the kid is not ready to play that game. If the kid is moody after playing game and generally pain in the ass, it is reasonable to stop accommodating gaming and dealing with the behavior the same way parents punish/criticize siblings acting that way for non-gaming reasons.
Yeah you should take 2 minutes to check out Caddy: https://caddyserver.com/docs/automatic-https

> Perhaps if Caddy integrated acquiring and renewing the cert itself, not just stapling, then I'd have a different opinion.

It does, so.... does that change your opinion? (That's, like, the point of Caddy.)
I was thinking more like a 10 foot wide hole, 1 mile deep.
You know how there is already a divide between people who live in cities and people who live in rural areas?

It’s about to get a whole lot worse.
0x launches 0x Instant to help grow the blockchain developer ecosystem
The Hanukkah Dreidel game scales in O(n^2) with the number of tokens per player
I disagree that Spotify is a good Electron app (and I've never used Slack so I can't comment on that). I run Spotify on my work computer (Windows) and at home on my Mac and it's extremely resource heavy on both of them, and I often get various weird issues. It's the primary reason I've been moving back iTunes a bit, actually. I never knew it was Electron until now, and I think that explains why I've always hated the Spotify programs on both platforms I've used it on.
That may be true. (I'm not an accountant.) But, in years of travel to dozens of countries I have never remotely been aware of or filed taxes to a foreign country because I attended a conference or worked remotely for a few days. And that's included when I've had an explicit business visa in some countries.