skysight-inc/HackerNews huggingface dataset:
I think it's always important to lead with an attitude of service and compassion for the labor of others before you and yourself now. Get upside down on that and it makes it really hard to be impactful.

It's easy to get mad at code when you first show up and just apply Chesterton's Fence and move forward. Personally, with legacy systems (and what isn't really?) when I show up to a new project I do my best to grok the internal knowledge and test it. With official tests but also building out an environment around it so I can test conclusions. I document what people tell me, what docs and scripts they link me to, and what my results are. Almost without fail, the institutional knowledge is cargo cult.

People rarely break out of their mold for what works for the thing they need to work on. This isn't a problem that they need to fix, but legacy systems always need someone to take the time to make more clarity. So as a new person I focus on building up dev and deploy environment from zero, over and over. It's kind of an ops process. For me it's about finding multiple/duplicate configuration points, processes, improving VM or container environments, profiling, making sure that if external services are being leveraged that they can be bootstrapped to local dev or at least faked, and confirm tests harnesses if they exist.

With a "big existing code base" I have found that almost universally, the full stack can't be bootstrapped on the devs computers. They rely on tricks to run parts and cloud services and undocumented scripts. It's never because it's impossible and as a new person, I am uniquely qualified to solve that. Once I have a smooth rebuild process I move inward and refactor for clarity and tests, being careful to not disrupt other people's working strategy.

So in my experience, the first 4 weeks are asking questions and documenting the lies while repeated bootstrap. Second 4 weeks is environment cleanup. After that it's learning the system from the outside in by making the entire environment single command bootstrappable. I keep a daily journal of my experience and try to build out docs/readmes to consolidate and correct the practices that were relayed to me in the first 4 weeks as well as new clean up that I'm working on.

Being a new person on a large legacy code base is powerful. You don't have the entrenched survival problems other people have. Clean up and document to explore and try to be an exponential productivity add while you do it. One of my favorite tricks is "adding" features by removing things that people did not remember they have put into production. At my current job, my first three months was -7000 and +500 lines to our master repo. My negative -7000 was more impactful than some people that pushed 100k+/- in commit. Also I find it's useful to wildly speculate about how things work and be willing to be VERY wrong early and often. People are more likely to tell you about how they think something works when they are correcting you than when you ask directly for help. No clue why that's a thing, but it is.

After you get done cleaning things up you can make your own horrible lore and mistakes and start the process all over!
China and Russia go to war... what would the US do?

You don't want Russia or China losing, but you want both of them to have losses because it would improve your economic position.
This might go with the question of whether the Turing Test is a valid measure of "intelligence". If we can't tell the difference between a machine understanding something and a person, is that all that is required?
If you early-exercise there should be no spread at all between the strike price and taxable quasi-value.

Early exercise is a solid choice, provided the strike price is low enough such that exercising is not a major expense / unreasonable qty eggs in one basket.
> And the CO2, even if it's invisible for us, is actually "black" for something important: it's blocking the part of the spectrum that would allow the Earth surface to cool off. That's how small concentrations of it, compared to some other stuff in the air, produce such a big effect.

> The physics is simple and undeniable, and it's known that there will be always more problems caused by the growth of CO2 in the atmosphere which increases the surface temperature of the Earth.

Take a look at this graph of co2 vs temperature over a geological timescale: http://www.biocab.org/Geological_Timescale_op_712x534.jpg (from http://www.biocab.org/carbon_dioxide_geological_timescale.ht...)

From this, there doesn't seem to be any relationship at all and the co2 has been much higher during much of the history of earth. At the very least, you can't say that the relationship is simple.
Alstom EMU: https://en.wikipedia.org/wiki/AGV_(train)

SNCF doesn't want it because they believe locomotives are cheaper to maintain and they want double-deckers anyway.
The focus on "advertising" in all of these discussions is misleading. It's not about ads. It's about creating an information asymmetry in the market in order to exploit people.

The market is a hidden-information game. If you know that I need the medicine or I'll die, you can charge me every cent I own for it and I have to pay. If I know that you need to sell to make your monthly repayments, I know I can lowball you. The party with the most information is at an advantage. And invading peoples' privacy puts them at a commercial disadvantage.
But it's not about the popular extensions.

Now there is no more middle click to submit on forms and I used that at my old job to speed up a bunch of tedious tasks.
It is only one state - the army. The government is just a figurehead. As Imam Tawhidi said, other countries have armies. In Pakistan, the army has a country.
as an undergrad who's currently downloading mathematica to play with .cdfs instead of actually studying them, this hits home
I don't know, but I used to play boardgames with a guy who would always try to do that. He'd hold the dice in his fingers so they couldn't move and would shake his hand, but the dice wouldn't change position. Then he'd just kind of drop them so they might not roll. He was successful sometimes in that it would give him a good outcome, but also there were like 4 other people around the table watching this, so we'd make him roll for real if the dice didn't move.
Quote:

That doesn’t necessarily mean an end to SNCF’s dominance of
high-speed rail. As things stand, most TGV lines don’t turn
a profit but are made feasible by subsidies, paid by a
state that clearly sees the economic advantages of an
extensive high-speed network. Competitors would either need
to make substantial savings on operational costs, or limit
themselves to the most lucrative connections, such as the
profit-making Paris to Lyon route.

This sounds like a perfect way to have private operators take the profit from the cake routes and leave the subsidized routes for the state. Handing over monopolies on a region by region basis doesn't seem like it change much if anything.
What? Security cameras are there to provide evidence of shoplifting, not to protect the customers from assault.
Well definitely don’t write bad code intentionally!
Yes, I suppose such use cases were the reason 'offsetof' was introduced. It's just that I wasn't taught any uses of macros other than trivial examples like `MIN` and `MAX`. That's why I found it interesting.
I think Chrome's design appeal is obvious just from looking at a screenshot of Chrome and Firefox in 2008: https://imgur.com/a/uyBcxI0.

Firefox and Edge eventually adopted Chrome's design choices to have more content area, no "File, Edit, View" menu bar and an integrated search and address bar. But for years Chrome was ahead.
Startups I agree, but working for a more mature company makes it much easier to find this balance. Also, unlimited remote means that I don't _have_ to find a job in the Bay Area. The tradeoff there though is that Non-Bay companies offer much less compensation.
> Even crazier I can't figure out how we arrive at the modern meaning of decaying vegetables to make soil...

The etymology I see all mentions "composte" as "mixture of leaves, manure, etc., for fertilizing land", which suggests that it started as people using a *composita of manure and plant detritus together to ferment for fertilizer and the word sense shifted from referring to the specific mixture to the general composting process.
No C is very very simple. That’s why it’s not easy :)

No but really, there isn’t anything to it. Just think about how a CPU sees memory and registers and it becomes intuitive. But that doesn’t make it easy to use because it doesn’t give you any guard rails to show you the one true way to accomplish a task.
I think the legal system is fundamentally different than other systems like scientific research, but people think they are similar.

If you sort of say the motivation of the scientific system is to discover "truth", looking back at history you might discover there were a bunch of course corrections to address problems where we fooled ourselfs.

In the same way, I can imagine some course corrections in the legal system to address "externalities" that prevent some problems from being solved.

The corporation was probably the most important invention of all time.

I wonder if similar legal fictions might solve the tragedy of the commons and other problems.

I was told once "Remember. We have a legal system, not a justice system".

I don't think anyone can say we shouldn't try to solve that problem.
Launched Devopservices.io Feedback Appreciated
We all read about Martin Shkreli, but this is about convenient store products. The worst case being Plan B pills, which I don't see being any more exploited than their current outrageous $50 value.
Artificial intelligence is a superset of, not equivalent to statistical machine learning.
Why I Broke My Own Rule and Invested in MySwimPro
20 years ago, when web browsing was still newish, I would have expected HUNDREDS of interactive-learning sites like this to have been set up by now. I am very glad to see this!
Because most people haven’t seen it before? For people who program in languages in which this stuff isn’t possible, this pattern isn’t obvious. No need to dismiss it just because it’s obvious to you.
How about fullstack developer using entirely different technologies on the server and client side. Just be an expert in everything and do it all.
Right, this is what I was alluding to with 'choosing what to feature'. But I honestly am not sure whether a line should be drawn here, and if it should, where it should be drawn. I know that one feels distinctly creepier than the other, though, so I'm sort of hoping someone chimes in and can clarify my thoughts better than I can :)
I'd forgotten about Coldfusion. Is anyone still using that technology?
FWIW, this magic is how the Linux kernel implements generic linked lists, hash tables, and red-black trees:

https://stackoverflow.com/questions/15832301/understanding-c...
I see something similar to this in the testing done for self driving cars. There's a lot of cars driving around that have a lot of sensors, sometimes on my 15 minute drive I see 5 or more. I'm sure that these cars are tracking information about the cars they drive past and have enough resolution to uniquely identify drivers. The fact they all share information with each and can aggregate that into a cohesive picture feels like an extreme invasion of privacy, even though I'm theoretically driving around in the public domain. Now, I still use Google maps to navigate around, so they know my location anyways, but I guess my fear is that more and more, even if you were able to totally 'disconnect', there's still no way to keep yourself private. This has probably always strictly been the case, my movements could always theoretically be tracked, but the capabilities are just becoming more and more clear to me.

It really feels to me like the line between public and private needs to be re-evaluated, and even though life will go on anyways, the future worries me quite a bit.
Sometimes the initial design truly was a mistake.
> if I'd forgotten that my whatever was dead, I'd like to be reminded.

That's what I thought, too. But it causes severe, and pointless, suffering, which is cruel.
Uyghurs in Xinjiang – Onward to the Inevitable
Why Portland's Public Toilets Succeeded Where Others Failed (2012)
Feb 3, 2019: "My oncologist did mention that if at any point I want to just stop treatment and make myself comfortable, that I should let them know as they won’t keep asking. I have zero intention of going that route, but it’s a scary situation to think about. It kind of makes it very real."

Feb 18, 2019: "Despite my best efforts over the past two and a half years, the leukemia has won."

Feb 27, 2019: "Alex was with his family when he passed peacefully earlier today, Wednesday, February 27th."

Man, it goes so fast. I think on the 3rd of this month I was looking at bicycles that were on sale and trying to figure out what groceries to buy for dinner.

I didn't know Alex, or really about him until his blog showed up earlier this month. But I was really moved by his grace and sharing and how many people his work touched and made better. A beautiful life and mind, lost now to the fire of time.

I decided to read his last couple years of blog posts just to really try to grok him...just...really amazed. I wish I had half the maturity he did when he was facing such shitty shitty dice roles in life.

The post where I just lost it.

July 28th, 2018: "Today marked the completion of my 34th trip around the sun.

I spent the day at home due to fatigue and just generally not feeling great due to this latest IV medication I’m on. One of my sisters was able to make it down from near Seattle though which was a cool surprise!

Here’s hoping my health issues are behind me when 35 rolls around. I certainly didn’t expect to still be dealing with this crap at this point."
https://webgl2fundamentals.org/ is a good resource, as is https://github.com/stackgl/shader-school
The World's Largest Ocean Cleanup Has Officially Begun
I occasionally see ads for jobs that request absurd things like having x years of experience in a technology where x is greater than the number of years the technology has been around, but I strongly suspect that these type of ads are not serious about hiring an outside candidate and are just put up for legal/compliance reasons.
> How about fullstack developer using entirely different technologies on the server and client side.

That sounds completely normal.
I majored AI as well in the AI winter, but now that it is hot again I still cannot see how it helps here, but I, as I too love AI, hope you show us something!
> “Early Stage Emmployee / Technical Co-founder / Person to Make My Thing”

A typo in the word “Employee” is another red flag. Attention to quality extends to all things around the office including proof reading job descriptions.
http://insideenergy.org/2016/06/20/ie-questions-can-we-turn-... is an interesting read. The efficiency of a basic coal plan is pretty dismal - converting a mere third of the released heat into useful electricity if I'm understanding right. And even if you build a state of the art combined heat & power system (requiring steam pipes to heat houses, not just electric lines) we're still looking at only ~85% efficiency.
Accelerating Process Automation in the Digital Age
Every time there's a recession, people get laid off and can't find work. After 6 months, 9 months, stocking shelves or bagging groceries starts looking pretty good. Pro Tip: don't mention your advanced degrees when you apply for the job.
I agree partially - overall C's promise was that it was a light wrapper over top of registers and memory, absolutely.

The issues with C are around some of the weirder bits of the parsing process, namely the context-sensitive parser and the "interesting" corner cases of how the C preprocessor works.

Edit:

Here's a fun example - try it with and without the typedef line commented out:

typedef int T1;

int main() {
const T1 (*T1);
printf("%d\n", _Generic((T1), const int *: 1, const int (*)(int *): 2));
}
How to get a copy:)?
My favorite is always when the job description includes superfluous descriptors in front of the developer role. Like "Rock Star" Developer or "Super Star" Developer. In my experience, it's almost always code for we want to put a ton of responsibility on you, while at the same time having unreasonable expectations for both speed and quality of what you produce.
This is exactly how the list implementation in the Linux kernel works [1]. I've extracted this header file and used it in user-space before, too. The cool trick is in calculating an offset to the start of the struct containing the link.

But I do not think this trick or list implementation is newly introduced in Wayland. It existed at least as far back as kernel 2.6.11 [2].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

[2] https://elixir.bootlin.com/linux/v2.6.11/source/include/linu...
I know lots of devs who make clean, efficient, and readable javascript and also make excellent Python code.

It’s not that odd to be good at two languages.
It is called shared responsibility security model.

AWS can not know what is your true intention.
> Is there a model of advertisement which is "pull" instead of "push"?

Search. And contextual ads. Really pretty much what Google executed its meteoric rise on. But so 2005, right?

And the reason they're creepy today, along with the rest of the surveillance economy, is that wasn't enough.
So you begin by imitating Google's old logofont, and then you switch to something resembling Google's new logofont [1].

And for a company name, you decide to use the name of an established programming language and registered mark of a top-level Apache project [2], which has been in use since its inception over a decade ago, and incidentally it's a project and programming language that both your previous employers know well [3].

That's some inspired work, overflowing with creative originality. And to top if off, you have animated graphs floating in the background. Yeah, no possibility for confusion there. There's a name for that you know? Google it and see if you can find the word -- its definition has to do with siphoning goodwill. Who advised you on this and agreed these were wise choices and that this would be a good way to begin?

[1] https://www.underconsideration.com/brandnew/archives/new_log...

[2] https://tinkerpop.apache.org/

[3] https://www.gremlin.com/team/
2) Or a government actor, given the revolving door between Facebook and the government, the army of lobbyists, the reliance of each and every political candidate on Facebook's advertising, and Facebook's influence on our democratic discourse. But sure, the digital industry is just trying to optimize time spent on their products, and these other larger concerns are besides the point. /s
I actually didn't understand your comment and it was downvoted before I responded (I didn't downvote it). I just wanted to make sure people knew how to spell my name.
Only when writing portable code isn't a concern.

No one has time to publish their library into the myriad of OS specific package managers that are out there.
Bad for the EU economy, but not necessarily bad for the French economy, which is what the French government should primarily be concerned with. If a German train costs 100 units, and an equivalent French train costs 110 units, but buying the French train gives 40 units to your neighbors and coworkers, why shouldn't the French government buy the French train?
I don't know, this doesn't make much sense to me. Usually you go from a set of specifications provided by a business analyst and then presuming you have a style guide and a 'widget library', the UX designer then 'formally' implements a prototype which can then be tested asap, tweaked ad-nauseam.

Once that's done, there goes your formal specification. We know what we're doing, how we're going to do it and we can work on the impl.
Energy is conserved (under normal conditions) so everything is 100% efficient if you want to include waste heat.

However, "efficiency" is actually a value judgement. You probably want to heat something specific, so you're going to lose some fractional efficiency by accidentally heating something else. Resistance in the wires leading to your heater will accidentally heat the outside of your house.

It's also not a terribly useful definition of efficiency environmentally: if you multiply the efficiency of burning fuel to produce the electricity by the efficiency of your electric heater, you get a worse result than burning fuel in your home. And it's not a terribly useful definition as a consumer either, since that electrical heater is only producing about 50% the heat that a heat pump could do with that electricity.
It’s either for legal/policy reasons or because something was lost in translation between the hiring manager and HR.
> creepy

Creepy is the right word. It might even be too soft; some of my non-technical friends would probably prefer "target that needs to be razed[1]".

> The idea ... is interesting.

The Teller-Ulam design[2] is "interesting". That doesn't justify using it.

> Ads

Ads are the least interesting use for behavioral data[3]. Why are you ignoring all of the other uses (including malicious uses)?

> make these annoying ads more accurate,

The idea that target advertising's purpose is to make ads less annoying or more accurate is a scam. Advertising isn't concerned with your interests, it's there to get you to buy something. Ads of often more annoying on purpose, in an effort to get you to notice it. Targeting can make your ads less "accurate" (from your perspective) because you don't need to be pushed toward buying things in which you are already interested. Instead, targeting lets people that want to change your mind about needing a product show their ad only to people like you.

> the survelliance will reduce shop lifting and provide more details to authorities by pinpointing suspects

This is exactly the type of additional use-case I was talking about. Now what about when (not if) malicious actors get their hands on that data? Or it gets sold to your insurance company?[3]

[1] https://news.ycombinator.com/item?id=18775456

[2] https://en.wikipedia.org/wiki/Thermonuclear_weapon#Basic_pri...

[3] http://nymag.com/intelligencer/2019/02/shoshana-zuboff-q-and...
Luxi+Coupon+Savings+Awesome+Deal
No. 80 is way too narrow. Forget screen size, it's just not enough for a lot of code lines.
I've only heard of it being used for internal tooling. I wouldn't be surprised if it was still kicking in some industries though.
I asked a local waste handling company owner whether he'd be interested in plasma gasification. He told me that one plasma gasification plant would require all the trash from Vermont, plus parts of NY and NH and MA to keep it fed and economical. So that would require a lot of trucking. Still, that seems better than releasing all the toxins in the materials into the environment and means just one plant could service a large rural area. More plants would be needed in more densely populated areas. Still seems like a great solution.
I am getting a lot of mental "red flags" over this one. its a bunch of distros of things, some of which are pentest, some of which are less clear to me, it has confusing statements about VPN. Kali is understood. It has a sense of purpose, a community, quite strong public statements of intent and purpose.

This one. I mean sure, that lock-pick you bought from a guy in the pub, he said it was only for testing padlocks, but now you see other people testing doors along the hall and you're wondering what you just walked into...
Other red flags:

* t-shirts, foosball tables, etc as perks

* overly specific job description (you will be building a table widget using knockout.js)

* buzzword salad
> Figuring out how to deconstruct Snowflake was challenging and there is still a lot of analysis left to do.

Why don't you just read the code?