skysight-inc/HackerNews huggingface dataset:
Hi, I am a university professor in one of Paris universities. I teach programming to both computer scientists and biologists. Fundamentals-first is of course my choice for CS students.

As for students in biology I will always go tools-first, at least for the first course (which is ~30 hours here). Then for further courses I would go fundamentals.

A lot of students of biology (unfortunately) don't really care about programming, and may consider it as some kind of black magic. Taking them quickly to do things that "works" is essential to break the ice. And this is just what I think the first course is for: to give them the intuition of what programming is.

Then, for a biologist to take a second course of programming (this is not mandatory here) means he/she really wants to learn something, so we can raise up the bar and go fundamentals.

Hope this helps.
What if you drop it at night?
>How do you know your network stack is not spying on you

Meh, that's true, but you can always monitor your device from an upstream router or network traffic monitor.
I'm about to get a new laptop. I had an MBP for 4 years now.
I just ordered the Razer Blade 15.
DELL's XPS 15 is also a very good choice, although the blade has a bit more recent hardware.
Both are upgradable. You can add RAM or SSD if you want.
Both run linux just fine.
Agen Poker Online Terpercaya Di Indonesia Uang Asli – Asiapoker303
I'm working with a plastic recycler in Kenya that may be solving issues in a novel way: https://make-it-initiative.org/africa/cpt_startup/gjenge-ent...

Contact me if you want an intro to them, they are seeking grant and equity funding to grow their ability to recycle plastic bottles into building blocks
Instead of crappy twitter you could use Mastodon. It feels like Twitter in the early days. Of course, if you used "crappy twitter" as a nickname for Mastodon I'm not going to disagree with you.
Thanks for that interesting thought. Yes I'm fairly positive this is about politics:

This "NGO" posted the pro-Trump "news" three days ago, and thereafter they started sending huge amounts of friend requests, including to me and to some people I know. The last three days the "NGO" has added 150+ friends. The 5 months before that, they added only about 4 friends per month.

So it's the Trump "news" they want everyone to see. (And there's an election later this year, so I suppose they do these things more often now this year)

I think they are talented, the people doing this propaganda.
It could probably deploy some more "eye friendly" prongs in the future. Probably some that weren't shaped like knifes.
Technically they are gone. But now the popular option are device payment plans spread out over 2 years so it’s essentially a contract as if you were to cancel your device the remaining amount is due immediately.

Another gotcha are how they discount $200 off a phone. The bill credits are applied over those 24 months so if you cancel early you don’t end up getting the full $200 off the total price.
I lived in China for three years. I speak Mandarin. The article you linked is a report in western media. Can you find the same story in Chinese media?
I'm just going to throw in my experience here as someone who never went to college but currently writes software for a living.

I do mainly frontend web development with EmberJS, and occasionally work on our backend which is also JS, and I've been doing that for a little over 2 years now.

I never went to college and so a lot of the stuff you guys have been talking about in this thread goes right over my head. I've never written a compiler, the last time I wrote any C++ was high school, and I would so easily fail a lot of these interviews if those were the questions being asked. With all of that said, I think I do a good job at what I do without all of that knowledge. The industry is increasingly heading towards web/app dev in a lot of positions as other people mentioned, and I think it's very elitist to judge people for not knowing everything you do, even if you think it's important. The fact that this industry is becoming so open to so many people is amazing. Me being able to find a good job without a college degree just because of my knowledge of computers is what I love about tech. I think mindsets like yours are what help drive people away from it because they think they need a ton of knowledge to get an entry-level job, and that's just simply not true.

I don't want to sound like I'm accusing you of being malicious, I just wanted to share my point of view as someone who is relatively new to the industry and never went to college and doesn't have the knowledge that you are suggesting is very relevant. Maybe it is relevant and I just haven't figured that out yet, but from where I'm sitting that feels like something that could be taught instead of a hard and fast rule for hiring.
In Python? I'd recommend behave. You can mix it with selenium if you're looking for some web coverage as well.
There is a fantastic video by Hans Rosling about the global population growth and why global population might actually stall around 10 billion people:

https://www.ted.com/talks/hans_rosling_on_global_population_...

This relates to fact 2 in the article.
Shit, now I actually have to come up with the money ;) In July the trustee is going to announce how the claims are supposed to be made. I'll send you another message when that's clear so we can set something up. If I forget or try to chicken out you can contact me on mail at tinco dot nl.
That sounds like another complex mechanism to break
Although its really difficult to fathom how loading a webpage takes billions of cycles anyhow. It never used to. Remember the Internet in 2000? Pages are getting slower despite broadband speeds going through the roof and processors getting faster and there being so much more RAM etc.
Using KiwiSDRs to locate HF radio transmitters and numbers stations
In Europe minimum mandatory warranty is 2 years.
They both have loud fans, along with every other pc laptop in that league it seems. MacBooks are virtually quiet most of the time.
I think the crossover between frontend and backend is less effective than you imagine. Generally a backend dev writes horrible frontend code and viceversa.

A very senior backend person will probably know many things about ops and frontend, but probably not about design.

A very senior frontend person will probably know a lot about design, UX and have a good enough experience with backend, but is probably not going to implement good ops practices.
I seem to recall that when the government repealed some telecom tax, Verizon added a surcharge of an equal amount, and pocketed more money without changing the total bill for anyone.
never thought of this before but i like your thinking
ORMs are good for 90% of your use cases, the rest I'm happy to use SQL for.

I could attempt to deconstruct the ORM problem, but Martin Fowler had a nice article [1] on replying to "ORM hate" a few years back which is worth the read for folks that question the usefulness of ORMs (and I believe questioning things is a healthy thing to do!)

[1] https://martinfowler.com/bliki/OrmHate.html
This should be translated for other back end languages, maybe followed by how to use a relational database as a relational database
I’ve experienced this issue just a tiny bit with my delivery of dip’n’dots with dry ice, but more noticeably when putting dry ice in a cocktail.

It is really noticeable in drinks with direct exposure to all that gas and ice. Solid food in a box? I don’t have as much experience with that, so I’m not sure.
It's safe to assume behaviour driven development when you see BDD. Bug driven development is just a term used to point out a project has little or no test suite and that the devs don't seem to care about testing.
maybe ageism will be stimgatized as form of bigotry
At first glance it looks fairly similar to the diagram in this one: https://patents.google.com/patent/US7059182B1/en

There was also this Bezos patent that made the news a few years back with actual airbags: https://patents.google.com/patent/US20110194230A1/en

I'm certainly no patent lawyer and don't have any sense of how different such a device would have to be to be non-infringing and novel enough to patent. In any case, congratulations to him for actually building a working prototype.
Scrolling is slowed down for me. I.e. I have to scroll 10 times as much as usual.
That’s a simplistic take, targetting favorite scapegoats. At most 25% of tuition costs can be attributed to administration and faculty. The remaining 75% is attributed to cuts in government funding of public universities. Ironically, cuts that are often justified as targetting college administrators.

https://fivethirtyeight.com/features/fancy-dorms-arent-the-m...
Wow, this is great!

Not sure why you ask for Chrome, however, as your site works perfectly in Firefox too. Let's not go back to the days of "Made for Internet Explorer 6", eh?
The obvious next step is to buy a fake expensive watch. It doesn't have to carry a brandname or even a fake name based on a brandname.

But there are dozens of luxury watch brands. So unless they are an aficionado, most people won't know that the one you wear is not a super-high-end brand which is so rare that they have never seen the name.
I like the idea of your first try, but it's not guaranteed to work on all implementations, even with the type promotion fixed. The problem is that the C standard doesn't specify a maximum size for int. It could be a 128 bit type.

"Portable C" doesn't exist.
Ask HN: What is the most challenging project you have ever worked upon?
I wonder if those wood cutters ever talked to Sir Roger Penrose. I have the feeling there is room for some optimizations.
From my experience, most of my waiting time is IO, not CPU load. Even simple stuff, such as SELECT COUNT(*) to display total count in grid on big table can take seconds. It does not have to be complicated.
Clearing user state is one of the reasons I prefer reboots - it helps keep my desktop clean and tidy. I cannot imagine the mess that would arise if my session lived months. I use shutdown as a shortcut for "close all application I don't use right now"
I find this question to be very weird. I have never seen ORMs as tools for completely abstracting away the database. I have always seen them as convenience APIs for using the database. They exist to make your code shorter, less repetitive, more readable, easier to reason about, and more maintainable; not to make you forget about the database altogether.

I also don't see ORMs as exclusive. It's fine to use ORMs for 95% of your use cases, but drop down to raw SQL for the remaining 5% where it's not a good match. That's still a win for the goals I mentioned above.
This happened to me when it was time to move on from my first real job.
A recruiter, who I spoke to briefly and had no interest in moving forward with, contacted my current manager and said he'd help fill my role after I left. My manager had no idea I was looking to leave at that point.
After confirming with me that I was indeed planning to leave, the manager wished me well, then ensured neither the recruiter nor their company would ever work with one of the largest engineering companies in Europe.
That felt righteous and worked out for the best, but could really have left me in the lurch.
Considering that everybody's talking about it online and GT (Global Times) just published an editorial I don't think it would be too difficult. (BTW, congrats on making it out alive. Millions of people weren't so fortunate and failed to escape from such totalitarian states.)
Linux 4.17 is apparently a big leap forward for laptop power management. I run it on a desktop, so I can't speak to it directly, but I've heard a number of folks singing its praises.
It's more of an economics issue. It does not make sense to optimize, because bandwidth and CPU power are so abundant. Optimizing will take time away from adding new features.
Or you could just spend 15 minutes learning how to avoid N+1 queries by using the includes() function, and some of the other super obvious performance optimization patterns that every junior Rails dev should know...
My roughly equivalent US plan on AT&T is ~10x that.

Don't get me started on the international. $60/GB for a pass or insanely $2,050/GB pay-per-use without a pass [1]. The rate is higher than that in some cases too [2]. It really should be illegal. Of course this is on top of the normal data plan charge.

They also have another day pass plan for $10/day that allows you to use your normal data plan internationally [3], however, only a subset of AT&T plans are eligible for it.

[1]: https://www.att.com/offers/international-plans/world.html

[2]: https://www.att.com/offers/international-plans/ppu-calling-m...

[3]: https://www.att.com/offers/international-plans/day-pass.html
The marketing is free, the "package manager" is not. While the fee is way to big in my opinion, i fully understand why they take this fee. Storage and bandwidth is not free, even when you have a peering contract.
Why You Should Tell Everyone They’re Honest – Issue 61: Coordinates
Both methods do not work for me...

Coming from google gives me the same result as clicking the link from here.

This is actually a recommendation i saw here a few time but that never worked for me.
What could the variables be? I am on Chrome/linux, outside of the US.

When I see this happening, I just want to flag every such wsj articles...

Edit :
and then I read that : http://www.niemanlab.org/2018/02/after-years-of-testing-the-...

"Non-subscribed visitors to WSJ.com now each receive a propensity score based on more than 60 signals, such as whether the reader is visiting for the first time, the operating system they’re using, the device they’re reading on, what they chose to click on, and their location (plus a whole host of other demographic info it infers from that location)"

OK, maybe I should not bother trying reading that profiling machine garbage anymore
I, too, scratched my head over that for a while, and eventually realized that I had probably misunderstood what the authors are trying to say.

I think what they mean is that if the compiler has analyzed the code, not shown in the example, that comes before the if statement, and concluded that unless something undefined happens, cond can only be 0 or 1, then it can optimize out the condition.

They are not saying that the code actually shown is enough to conclude that cond must be 0 or 1.
Here's the thing I don't really get about Mastodon (and by reverse extension ActivityPub):

Say I'm interested in Video Games, so I join a Mastodon instance all about video games. Also, I'm interested in FPV Drone Racing. Should I join a second Mastodon instance about FPV drone racing? If I do, then I have to switch back and forth to use them (and for every other interest I might have). Which isn't too difficult, but seems to defeat the purpose of federation. If I just follow FPV drone racers from my Video Gaming account, then I am polluting the federated timeline of the Gaming instance with stuff other people on it might not be interested in. Also I have to follow each account on the FPV Drone instance manually and don't get the local timeline of that instance.

It seems like federation would be more useful if accounts were federated as well - like once I have an account on one instance I can use that account to join other instances as well. Or if it were more like email where the server you're on doesn't really make you part of that 'community' - it's just a place to store your stuff. Maybe I'm using it wrong?
Corporate entities evolve and adapt akin to biological organisms competing for survival. Rather than a group of individuals (the illuminati) winning out through elaborate conspiracy over other individuals, it seems to me more likely that the diminishing power of individuals is coming as a result of non-directed evolutionary improvement by corporations.
Information about Data Security Incident by Third-Party Supplier
The value proposition of ORM's is they simplify data access code, making the application simpler to write and more maintainable.

I have never seen anybody claim ORMs would eliminate performance issues.
Thank you! You're right, though there are a few issues with the extra controls in FF right now, difficult to drag the volume sliders - only text input works.
You need to be able to link your pthread condition variable implementation to your pthread mutex implementation such that a pthread_cond_wait() does an atomic wait-on-condition-variable-and-unlock-mutex, noting that another thread can signal the condition variable without holding any mutex.

In addition, pthread mutexes can be statically initialised which requires some kind of initialise-on-first-use for those if you implement them using Critical Section objects.

I believe WaitOnAddress(), rather than being a "competitor" for futex was actually added (or at least, the underlying infrastructure was) in order to be able to implement futex() in the WSL.
3B1B has a nice visualization of "Riemann zeta function and analytic continuation" which might help in further understanding of this proof.

https://www.youtube.com/watch?v=sD0NjbwqlYw
Holiday season comes around and everybody gets Apple Watches. Doesn't mean they're good. It often means people feel compelled to buy things they don't want, because gift buying is hard. It happens every year.
That $50 number is misleading or not inclusive of fees. My grandfathered original iPhone unlimited plan is ~$80–100/line total bill cost all in for unlimited data on a handful of lines.
Tolls possible – Interstate Tolls
I recommend the X1C. I had a first-edition. It was wonderful, and lasted me for five years. Last year I upgraded to X1C5. It is far lighter still, the keyboard is good, it is just a joy to interact with. (debian stable)
True. I accept it. I don't think so he will pay but I feel karma is there.
Had exactly the same problem. A really obnoxious site
> Now who can we pay to invest a month hacking away at figuring out how to get all the bits of hardware working in Linux?

There is donation information at:

https://github.com/jakeday/linux-surface
Personally, my MBP's keyboard failing and Apple Store saying it wasn't a known problem made me switch to Lenovo (after 5 years with Apple).

I bought a 5kg-laptop that I bought with HDD and 8GB RAM and I upgraded myself to 24GB RAM and SSD alongside the HDD. It has Philips screws.
Not sure in my case since my laptop is a desktop replacement and thus stays plugged in 24/7.
Except code that needs to be scrolled 5km to the right, and text with little to no contrast. And the default font size is very small.

Neither of these are dealbreakers, but it definitely could be improved IMO.
It’s not that you’re unclear, it’s that it is irrelevant to the discussion, as you were talking about a fairly trivial and unrelated language feature — and it is also a feature that exists in many languages, hardly unique to python.
Give me an O! Give me an R! Give me an M!

What does that spell? SLOW PERFORMANCE!

Todays programmers dont understand data. They understand frameworks. To find the nr of all cars that are out of insurance they write:

10 Nr=0
20 Hey framework, give me all cars!
Framework: Ok, here are 8001093 business objects representing all the cars in our DB. Each has all the attributes the car has. Color, mileage etc.
30 Thanks!
40 Foreach Cars as Car
50 If Car->insurance_end_date < FancyDateLib.now() Nr++

I see variants of this everywhere. And the performance impact is just untoppable. It's often several million times slower then a simple sql query.

But beefy hardware with lots of ram and memory takes care of it. 'Our software is enterprise grade, so of course it cannot run on commodity hardware'.
Writing SQL by hand does not solve typical performance problems like n+1 queries. If on the other hand you know enough to avoid n+1 queries, then you can also avoid them when using an ORM, and save a lot of work.

If you like writing SQL by hand, by all means do so, but you will not automatically get better performance by handwritten SQL as compared to ORM generated SQL.
Most charitable explanation is that OP is just adding some color to their characterizations. Least charitable explanation is that subconciously or not OP perceives young "females" in positions of authority as being unfit for their positions and likes to add plausibly deniable fuel to that flame.
I've worked on moderately busy backend platforms (~10K-20k rps handled on a ~4 e5-2650 and aiming for 5ms 95p response times).

It greatly depends on what you're doing, but for the majority of systems which are read heavy (and that most certainly includes "dynamic" sites like Amazon or Wikipedia), I hold to two major beliefs:

1 - Have very long TTLs on your internal cache servers with a way to proactively purge (message queues) and refresh in the background. Caching shouldn't be a compromise between freshness and performance. Have both!

2 - Generate message/payloads/views asynchronously in background workers and have your synchronous path as streamlined as possible (select 1 column from 1 table with indexes filters). Avoid serialization. Precaculate and denormalize. Any personalization or truly dynamic content can be done:
1 - By having the client make separate requests for that data
2 - Merging the data into the payload with some composition.
3 - Glueing bytes together (easier/safer with protocol buffers than json)

Do things asynchronously. Use message queues / streams.

Beyond that, GC becomes noticeable. For example, Go's net/http used to (might still) allocate much more than other 3rd party options.
Rock-paper-scissors is strictly symmetrical. Diplomacy would be, if started on a symmetrical map.

Also, take any two-player game, and create a new game where the players play the original game twice, switching sides, and you end up with a symmetrical game.

If you play both games in parallel, where each player can choose in which source game to play on each turn, I think you still end up with a symmetrical game (in some sense)
My 2 cents are: if you don't know what queries your orm API is generating, you shouldn't use one. I mean, sometimes there are bugs here and there, but people should know the methods they call.

It's the equivalent of making a rest call and complaining about latency. Yeah, it's a method, why is it taking so long?
Mathematics with immediate payoff is usually called physics or computer science. For example the simplex method for linear programming made a lot of things more efficient.
"means means"?
It only saves development time for the first version in my experience unless it's being used by an highly capable team.

The months lost to the clueless developers massaging their horrible ORM code dominates in time.

In the long term properly factored code wins; and lightweight ORMs have a place. Heavy ORMs (Hibernate, old Entity Framework) should only be used if you absolutely must have specific features and are incapable of building that into a more logical place in your code.

Use a light weight ORM for simple CRUD actions (one with a small dependency graph). For performance critical create/update operations use stored procedures (just be careful with complex business logic; if you implement it, remember to test it). Use light weight ORM for mapping efficient SQL views to api/frontend. Use a workflow/async/job processing for anything which has to be long running or crosses system bounds (think credit card processing).
Have three of these Macs, apart from the occasional stuck key which releases when you tap the back of the Mac they've been solid.

I couldn't go back to a normal keyboard on a laptop now, the reduced range of travel on the butterfly keyboards takes a while to get used to but it's amazing once you're used to it you just don't want to mash keys through more than 1 mm of travel to type a letter anymore
Or enough shares to buy that expensive whiskey off of the ~$2 annual dividend yield.
For Tokyo you could also check out Vultr or M247/VPS247