jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
From an interviewer's perspective, they just want to see that you can use GitHub and write some code that looks well-formatted and well-reasoned. Nothing is more disheartening than opening up someone's GitHub profile and seeing 70 repositories, most of which have less than 10 commits, or are just forks.

I'd recommend using GitHub however you want, and when you want to apply for jobs, create a small website on GitHub Pages highlighting your best projects. If you can intelligently talk about your different projects and how you improved between them, that will be a hugely positive signal when applying for a junior position.
I'd agree with many of his comments, and add:

- lip balm so your lips don't get dry and cracked
- red wine works better for me than beer
- I eat the meals because I like to nap after meals
- don't watch movies because the bright lights will keep you awak
- listen to relaxing music on your headphones, but choose a playlist that will run out after about 30 minutes
- a small pillow can help if you get uncomfortable on flat, hard plane seat cushions. Soemtimes the airlines give you these, but a folded up shirt under your thighs will also help
- dont sit near the toilets or galleys because they will be noisy
- if you suspect the flight might be a bit empty, get a seat near the back. It's noisier but there is a much higher chance of nabbing a row of seats to yourself.

Finally, pharmaceuticals : sleeping tablets work great, and the best sleep I ever had was stretched out across 5 seats on a 777 after a tiring weekend and a mild sleeping tablet.
"The circle is the only figure which has the same width in all directions."

Can someone explain? What exactly do they mean by width and what else has this property?
Scrolling in the browser is indeed a little smoother on the iPod Touch compared to my HTC Desire.

But on the Touch, when you scroll past a certain point nothing is rendered except a 'transparent area' style chequerboard. You then need to wait for the browser to re-render the page. By contrast, the Android phone always renders the page, so you can scroll to a particular point by looking at the page as it scrolls past.

Given this implementation I'm not surprised that scrolling is smoother on the Touch.

Perhaps this limitation is Touch-specific and doesn't apply to the latest iPhone.

Re: autorotation - I much prefer the hysteresis algorithm used by Android when screenflipping - I can use it when lying on my side, because the screen doesn't flip until I've 'fully' turned the phone on its side. The Touch flips after less rotation.
I don't understand why they should be careful not to disturb lower levels?

They don't interact with upper levels.
They are simulation anyway - they have no free will (that was an assumption - other way all the levels would diverge the moment the first human was born).

So no amount of caution can do anything to them - they are in predetermined world.
I purposely don't sleep the night before a morning flight, and works like a charm for most of my flying patterns.
I really don't think anyone can predict when this bubble bursts. There are too many political and cultural factors involved. Also, as employment prospects decline and remain dismal throughout our second "lost decade", I tend to predict more shelter-seeking "students", debts be damned.

People used to think of financial insolvency and bankruptcy as a shameful failure. Not any more. There's a widespread sense that money isn't real and that repayment of debt is somewhat voluntary. This is why people were willing to buy houses at prices of 20-30 years' after-tax income during the bubble. Also, the fact that unexpected medical problems (and insurance malfeasance) can make virtually anyone bankrupt eradicates the association of insolvency with personal failure; now it's something that can happen to anyone, like a lightning bolt from the sky.

The result is that, absent regulation, people will continue to take out loans for unaffordable education costs, default on their student debts (which are nondischargeable, but this doesn't prevent default, only discharge in bankruptcy) and maybe have their wages garnished a bit. So we have debt bondage, but when the alternative is economic nonexistence (Wal-Mart job) this starts to look pretty good. At least the guy in the low-end office job, with 20% of his meager pay garnished, can sit down at work.

TL;DR version: in other words, as things are now, if college tuition cost $100,000 per year and loan companies were willing to offer it, people would still buy it, future insolvency be damned. If you take this offer, you have hope of an eventual regulatory change ("jubilee") that forgives or at least makes dischargeable student debt. If you don't, you face economic obliteration, unless you're visibly (at 18) in the top 0.01% of your age group in something (computer programming, acting, athletics).
The 1970s high school grad likely had it better, as there were more decent-paying factory jobs then.
I suggest we all complain that we can't send messages like these to our friends:

http://thepiratebay.org/torrent/5960827/ubuntu-10.10-netbook-i386.iso
http://github.com/mxcl/homebrew is my project. IMO anyone who is afraid of forking is actually just afraid of losing control. It's much easier now for people to do a better job than you. You have to work harder in order to keep your kudos. That guy who has submitted 20 patches a month since 2005 could in theory attract more attention than you and everyone would start using their fork.

I'm probably 50% right.
Dutch guy here..

I don't want to speculate as to why, but generally I agree that social relationships are strained.
I live in Delft where there is a substantial body of foreign students and phds and I love their social openness.

Dutch people tend to settle in small, rigid cliques. It's hard for anyone to mingle and make new friends. When you're having a beer with some people and one person announces he/she is leaving for a party don't expect to be invited to come along.

It may be a result of the 'Pillarisation' which is officially a thing of the past.(http://en.wikipedia.org/wiki/Pillarisation)
This looks kind of cool, but is there a practical aplication for this o is it js a joke?
This trick has been around for a very long time. I remember Tempus Editor on Atari ST (remember those?) using 8 bits of address registers for additional storage (as only 24 bits out of 32 were used for addressing).
inflation is defined as higher prices
As mentioned in the comments, there are already plenty of apps that do this. I use JuiceDefender (Wifi on/off is the only thing based on location but it has power source/battery level/time related features too) but Locale and Tasker will do much more based on more triggers like mute ringer based on device orientation.

A long time ago I thought how cool would it be if my Palm could HotSync over bluetooth automatically based on location (time was easy to do) but 3G and Google Calendar/Contacts have made that irrelevant.
I think that you are conflating optimistic speculative activity for traction.
Better than an overview, here is the full text of the bill:

A BILL

To ensure that certain Federal employees cannot hide behind immunity.

Be it enacted by the Senate and House of Representatives of the United States of America in Congress assembled,

SECTION 1. NO IMMUNITY FOR CERTAIN AIRPORT SCREENING METHODS.

No law of the United States shall be construed to confer any immunity for a Federal employee or agency or any individual or entity that receives Federal funds, who subjects an individual to any physical contact (including contact with any clothing the individual is wearing), x-rays, or millimeter waves, or aids in the creation of or views a representation of any part of a individual's body covered by clothing as a condition for such individual to be in an airport or to fly in an aircraft. The preceding sentence shall apply even if the individual or the individual's parent, guardian, or any other individual gives consent.
You are way off the mark here. How do you propose to use a resource lock to solve the distribution problem?
The OP is writing about transactions.

Of course distributed systems can be built, of course there are mechanisms to reach consensus between nodes.

However such a system needs to be designed from ground up to cope with partitioning. And one MUST accept that there will be conflicts in the system - and that some of them won't be resolvable automatically or in timely fashion. Its a trade off that cannot be avoided.

And I have sat in more than one meeting where customers and my bosses demanded that I violate laws of physics and provide them with a distributed solution that will have no errors whatsoever.

Edit: And work faster than a single node solution to top it off.
Neat and quite impressive, given how exotic OpenBSD seems to most people. One thing that bothers me though: why? I mean, why wouldn't they do it with any linux distribution? It would probably require less work, less custom tools (like these apps for automatic network configuration or scripts for automounting usb drives they mention), and with some security patches/kernel configurations it should give a similar security level OpenBSD does.

Or am I missing something?
For an overview of basic concepts in DB implementation, I quite like Database Systems: The Complete Book (By Widom I think...). You could do a lot worse than An Introduction to Database Systems (CJ Date), although many dislike his opinionated style :-).

If you're talking about actually implementing a full transactional database system, strong foundational books are:

Transaction Processing: Concepts and Techniques (Gray and Reuter)

Transactional Information Systems: Theory, Algorithms, and the Practice of Concurrency Control and Recovery (Vossen and Weikum)

Neither are exactly easy reading, but the concepts therein are really important.
I maintain a small search engine that allows users to search for any file in my organization's servers. I'm primarily looking for a tool that will help me model user's search queries and user characteristics. Specifically clustering their queries into groups like searching for Documents, movies, or music, as well as what the client's OS is. Can Seldon do this easily for me, or is not the right program for the job, or even overkill?
Yes this is true. If a site is not working and the only reasonable domain to allow is something from cloudflare, I resort to allowing it temporarily. Not many ways around that, I think.
The ominous part is that they blocked sites where you can easily share information in bulk.

Is the intention to prohibit such sharing in general? Such efforts are doomed to fail, but that doesn't mean it won't be a hell of a ride.
Probably one of the more relevant usernames to comment on my post :)

I have the feeling that you're right; there just isn't a market for it. The alternative would be to try and filter through the army of Fiverr, Upwork & Freelancer - but I fear the risk of spaghetti code or copypasta is high and there isn't much accountability on these platforms once the job is considered 'done'. Maybe I'm wrong though.
"assholes (or let just say criminals protected by respective government) are still assholes"

Given the choice, would you rather be a dissident in the USA or in Russia? Would you rather be Ed Snowden (the US politely asks that he come home to stand trial) or Alexei Navalny (nearly died after Russian agents slipped poison into his tea)? You say there is no difference, so maybe you would like to just flip a coin.

It is beyond absurd to claim that the US is just as bad as Russia, and it is equally ridiculous to claim that no comparisons can be drawn and all crimes are just as bad. Of course the US has done things that are wrong, but what Russia does is much worse. It is not a matter of being proud, it is a matter of being rational.
This is exactly the same criticism of Luddism. And equally right and wrong.
good point, that's another terrible overreach. It was surprising how much obama in particular was involved with choosing people to be killed with drones.

https://www.cfr.org/blog/obamas-final-drone-strike-data
Heh, yes, it has been quite a while. Pandemic pre-K has been quite the adventure so DC Python seems like a fairly distant memory ;-)
That pro-ISIS guy that was recently id'd from Bengaluru was posting on Twitter. Is Twitter banned? Major oversight or perhaps it is random.

This impacts the average person more than any terrorist - such a delusional policy.
I have used DisplayLink [0] to connect M1 to two monitors via DP and worked well. It not fully plug and play, I had to install displaylink software.
However I noticed that if I connect the other port to charger it would (sometimes) add some latency to running apps (for example safari might not respond immediately or vscode will take few seconds to load).

[0] WAVLINK USB C Laptop Universal Docking Station 5K (up to 5120x2880@60Hz) / Dual 4K Ultra HD video, 2x HDMI and DisplayPort, 6xUSB3.0, Gigabit Ethernet, Audio, Mic, Supports Windows, XP, Mac https://smile.amazon.co.uk/dp/B082SR6GMB/
Four people are dead and their blood is on the hands of everyone who promoted or allowed these conspiracy theories to spread for the past four years under the guise of civil discourse.

This includes every single Hacker News moderator.
Arrest all of the ones who illegal stepped foot on federal grounds. Antifa, Trumpets, BLM, Girl Scouts. All of them.
> Or developers will lose sight of the bigger architecture and end up specialising in only a few services.

This is unavoidable for many companies, since the code bases are far to large for any single person to grasp them all.

> But more importantly, I doubt micro-services will solve their problem of their monolith not being modular. That seems like an architectural problem that can also be solved in a monolith.

Try to run your monolith in kubernetes, it's possible but not much fun. Since single machines can not longer scale at large, we have to run distributed software, small pieces across hundreds or thousands of machines in order to scale efficiently.

> But in general, I have never seen a company that switched to micro-services, and didn’t end up regretting it a few years later

Netflix?
Every single comment on HN is political to varying degrees. The ones decrying politics are, ironically, among the most political; they specifically seek to perpetuate the status quo.
Not sure about software engineering, but if I have seen anyone absolutely master anything "programming" related, it'd be Martin Shkreli. The programming environment: Microsoft Excel.

https://www.youtube-nocookie.com/embed/fASInVKShnM
You can go to /r/conservative right now, and write any crap you want. You're conflating the notion of deplatforming with the notion of a place having a certain political leaning.

I can go comment liberal ideas on Breitbart and immediately be shouted down as a commie CCP bootlicker and be blocked. I guess by your logic that means liberals are getting deplatformed too!
Because for you to see something on twitter, twitter has to repeat what they said.

Forcing twitter to quote trump would be coerced speach rather than free speech.

Otherwise, I'm censoring trump right now my not putting his tweet content in this comment, and so are you because you didn't put it in yours
It's a ruling by the 9th Circuit Court, a step below the Supreme Court. The appellate courts have regional jurisdiction. As it happens, San Diego, where this incident occurred, is in the 9th Circuit, so this ruling would be the law unless or until it is overturned by the Supreme Court.
Civil disobedience is luckily not the only way to reverse policy decisions. The topic seems to pick up a lot of steam even without masses of people refusing to be scanned. (I was very surprised to see that Spiegel Online [1] – one of the most popular if not the most popular news website in Germany – has the planned Thanksgiving boycott as its top-story [2] at the moment. That’s irrelevant for the discussion in the US but it shows that it’s a hot topic.)

[1] http://www.spiegel.de

[2] Pilots and Passangers Revolt Against Check Lunacy: http://www.spiegel.de/reise/aktuell/0,1518,729012,00.html
yea, I would much rather the IRS be mandated to send out a Yearly Statement itemizing every dollar spend by Category in the previous year by the US government, at minimum at the Broad Category level (i.e Social Programs, Military, Administration, etc)
We don't need full immunity to see the effect tho.
Which EU countries have net salary in their employment contracts?

Employment contracts in Germany have gross salary (Bruttogehalt), all the social security, healthcare and taxes will be deducted from that amount.

Estonian employment contracts are a bit of a mix: the amount listed is gross (brutopalk), but the employer pays an additional 33+% on top of that gross salary for social security etc.
Who are Spotify’s artists? I thought the artists contracted with record labels
Can you elaborate further on why you think the parent is in favor of ripping people off or deceitful contracts? I didn’t read anything in their comment to suggest that, so I am genuinely curious how you came to that conclusion.
Less experienced, but I've never seen EU salaries quoted after tax, either.
It’s QtCustomPlot so if I cared I could easily support those things. Julia does not have a monopoly on static types.

In the meantime, Julia GR plots are missing basic features and insist on putting bold black outlines around everything by default, obscuring the data.
Well, as I saw in Luxembourg you surely can’t experience any of the vaccination effects yet.
Is there a government there or what is going on?
C# has it: https://docs.microsoft.com/en-us/dotnet/api/system.threading...

Of course when you start doing things in parallel there are automatically a number of caveats and risks.
My experience has told me that as an employee with no direct stake in the company, you should do little more than the minimum it takes to do what you're hired to do, and put all extra energy into literally anything else, like reducing your responsibility per dollar earned and total allotment of work hours. Anything else is a bad deal for you, but a great deal for real stakeholders.

I say this, because most of the time your employer wouldn't give two shits about you, beyond what they're required to, and your widgets being produced is the only thing they really care about. There are exceptions of course, like companies that obviously will give you that raise as you work to improve your skills etc.. which you should be doing. But usually it's just a Jason Bateman movie waiting to happen.
I am intrigued by this technology which allows people to remotely remove the actual heads of their enemies over the internet, but maybe I skipped that in the Twitter release notes.
Ah, fair enough, you’re making the distinction for others to understand.

The Overground has always worked well for me, it’s unreliable for you?
In the EU, the price indication directive helps consumers to deal with this. In addition to the item price, unit prices (e.g. per kilogram or per liter of product) must also be indicated.
I don't know about now, but ~4 years ago installing from scratch I tried SELinux and after hours of configuring it still wasn't recognizing some hardware. Then I tried OpenBSD or FreeBSD, and it was up and running with minimal configuration. YMMV.
Who said that there was something wrong with IntelliJ?
I don't think this means what this article says.

The important thing is that even though Oracle has said they will make Open Office a community-run project, no one knows what that will look like. Specifically, will they fix the things that made Open Office developers mad at Sun in the first place? (Refusal to merge peoples' patches was the big one, I think, but also copyright assignment.)

It's entirely possible they'll just give the Open Office trademark to the Document Foundation, in which case they could just rename LibreOffice.

Given that Oracle doesn't get open source at all, it's more likely that they'll just host some git servers with the Open Office code and hope that people will contribute to them under stupid terms. Then after a bit they'll realize that's not working and hopefully donate the Open Office trademark to LibreOffice.

Either way, though, the Document Foundation can't do anything about this right now because they don't know what exactly Oracle's plans are. If Oracle agreed to address all of the earlier problems with Open Office development, maybe the Document Foundation would be interested. For now, they're continuing to develop their software, which after all is the goal of all this.
I agree. Great design too. I think this has a lot of potential, as long as you keep it focused entirely on startups (and weekend apps/projects).
What is so unreadable about '#(+ %1 (* 2 %2))'? Can Scala use arguments in an order other than the order in which they're given? If not, then Scala's simplicity is at the cost of less flexibility.

If you find that too hairy, just write '(fn [a b] (+ a (* 2 b)))'. The shortcut syntax is intended for simple cases.
What are the significant differences between these two families that we shouldn't pretend to gloss over?

I grew up extremely poor, my father making around 18k a year at the time he was required to provide his tax statements for a student loan.

There were no high profile private schools in my area, and so I attended school with the children of doctors, lawyers, bankers, and the local newscaster. While they often had newer clothes, I don't think our childhood experience or family situation were much different.

And now, when I look to start a family of my own, I cant see how having a family income of 4x that of my parents is going to induce any significant change.

Perhaps if I make it to 10x my fathers wage I'll see these difference you speak of, but as of now I don't see them.
Apple to release all iOS libraries under LGPL?

... Rumors are circulating!
There is a stream of academic papers coming out that show the original estimates are extremely high. I’ve seen CFR estimates getting into the 0.6% range. It is not at all unreasonable to see that number go down even further with more testing.
The main problem I have with any kind of DSL (Python, Ruby, PHP, Go-based, whatever) is that it usually doesn't abstract enough of the underlying language away, meaning if you're not already a [language XYZ] developer or willing to learn some of the ins-and-outs of the underlying language, you're not going to be very productive.

With Ansible, you can go _very_ far before you have to know anything about Python (well, most of the time—annoyingly, there are situations like naming groups where Python's variable syntax leaks through currently).

It would be like making people know basic Go syntax just to write or edit a Kubernetes manifest—that immediately limits its appeal to those who have at least a passing interest in Go (which is a much smaller audience than 'willing to learn YAML, which is used all over the place').
Maybe she shouldn’t have bought it? When two parties consent to a transaction, the responsibility for that transaction occurring rests equally on both parties, as either one could have vetoed it.
Of course we're talking about decades. It took three decades for Amsterdam to become as bike friendly as it is today and they're still far from done.
The iMac is still shipping without the T2. I was last updated in 2019, so it's not a zombie by any stretch.
What is your opinion of Concrete Roman? [0]

>Concrete Roman is a slab serif typeface designed by Donald Knuth using his METAFONT program. It was intended to accompany the Euler mathematical font which it partners in Knuth's book Concrete Mathematics. It has a darker appearance than its more famous sibling, Computer Modern. Some favour it for use on the computer screen because of this, as the thinner strokes of Computer Modern can make it hard to read at low resolutions.

I have the referenced book Concrete Mathematics by Graham, Knuth and Patashnik. To my uninformed eye it looks pleasing.

[0] https://en.wikipedia.org/wiki/Concrete_Roman