Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petters
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
601.
▲
by
petters
8y ago
> Unsigned int should be used instead of int for "num", but many programmers use int as a generic type for everything. Yes, this is very common. For example, Google requires that C++ code always uses int instead of unsigned.
602.
▲
by
petters
8y ago
> it would take a good iOS developer just a few days to put in place code in both the Facebook and WhatsApp apps that could discretely copy this database from one app to the other, via their shared container. Weird article. If modifying
603.
▲
by
petters
8y ago
> There's only so many reasonable places you could put an antenna You have pretty good reception inside your car, right? So does your car.
604.
▲
by
petters
8y ago
I have conducted many interviews at Google and this article is not true, at the very least not generally so. > If you are not highly senior, you won't get asked system design This, for example, is not true.
605.
▲
by
petters
8y ago
How did the Windows ftp create the files with protected names? Shouldn't it have crashed, like the blue screen-causing <img src="C:/con/con">
606.
▲
by
petters
8y ago
>> being updated with the worst software practices you can think of. I can believe that. I have seen code in academia and it was all one or two-letter variables without even linebreaks between statements.
607.
▲
by
petters
8y ago
Thanks for this clarification! I agree it can be useful.
608.
▲
by
petters
8y ago
That's great! This sounds like a path into Rust for me.
609.
▲
by
petters
8y ago
Vårdinnovation | Software Engineer | Stockholm, Lund, Malmö, Sweden | Onsite | https://vardinnovation.se/ Vårdinnovation is a new Swedish company developing new, intelligent solutions for healthcare. We are looking for engi
610.
▲
by
petters
8y ago
Was using Rust in a Cmake project smooth? Can a C++ project with Cmake start using Rust incrementally?
611.
▲
by
petters
8y ago
I can see how `semi::map` could be useful, but `semi::static_map` just seems to be an alternate syntax for global variables.
612.
▲
by
petters
8y ago
> return createResponse(Status::CODE_200, "Hello World!"); Is "Status::CODE_200" a useful abstraction over just "200"?
613.
▲
by
petters
8y ago
Topological sort should be enough for spreadsheets.
614.
▲
by
petters
8y ago
I submitted this 1.5 years ago: https://news.ycombinator.com/item?id=13913015 I did not tell anyone and it made the front page for a little while. I think that, in general, stuff on the front page is pretty good. But as you
615.
▲
by
petters
8y ago
> But you can't mass-produce good tomatoes. I thought the whole point of this article was that you can, with gene editing.
616.
▲
by
petters
8y ago
> How do you git bisect a codebase where every 6th commit doesn’t build because it was jammed into the middle of a Pull Request? This I think is the main problem with pull requests. A better default would be squashing the commits into a
617.
▲
by
petters
8y ago
How can the last graph be correct? Shouldn't it look something like this: http://mathworld.wolfram.com/RiemannPrimeCountingFunction.ht... Because you define J(x) as https://cdn-images-1.medium.com/max&#
618.
▲
Quantum observers with knowledge of quantum mechanics break reality
(arstechnica.com)
126 points
by
petters
8y ago
|
154 comments
619.
▲
by
petters
8y ago
Could not agree more. Everyone who works for or have worked for Google in the last years knows that an excellent code search does not have to be fancy.
620.
▲
by
petters
8y ago
Something you use a lot every day is definitely worth spending money on. Myself, I am an Android guy, but if the new iPhone is only a little better than the previous, out may very well be worth buying.
621.
▲
by
petters
8y ago
It is worth adding that the C++ community has wanted to add something called "concepts" since a very long time. Rust traits sounds similar. So C++ will likely move in the direction of Rust here.
622.
▲
by
petters
8y ago
Does not really solve puzzles. Just locates a single piece with sift.
623.
▲
by
petters
8y ago
> And your ISP knows where you connect to anyways. So the data or information generated by their DNS server provides no additional information to them. This is not correct. Your ISP only knows what IP you are connecting to and that is no
624.
▲
by
petters
8y ago
You are correct. (I am very familiar with LP as well)
625.
▲
by
petters
8y ago
I often think of SAT as the assembly language of discrete optimization. I specify my problems in a higher-level DSL and a library then "compiles" it to SAT, where many solvers are available.
626.
▲
by
petters
8y ago
There could be some more fundamental differences due to the requirement that different objects require different pointers that prevent some optimizations.
627.
▲
by
petters
8y ago
Wasn't the first Google scraper written in Java? I saw an old Usenet post by Page from about 1997 asking about user agents in Java. Perhaps that was the second scraper.
628.
▲
by
petters
8y ago
I don't live in the US, so I Don't know, but as far as I understand, DVD.com can legally offer essentially every title that exists. This is because in the US, if you own a disc, you can rent it to someone. If true, this is awesome
629.
▲
by
petters
8y ago
> IOW, crawling is part of the "price of admission". Yes, but I think the comment you responded to were saying that it is an insignificant part these days.
630.
▲
by
petters
8y ago
Github supports U2F (two-factor auth). Please use it.
More ›